1: \begin{abstract}
2: We describe a general purpose method to reconstruct the intrinsic
3: properties of sources lensed by the gravitational potential of
4: foreground clusters of galaxies. The tool \ToolName\ is implemented
5: in the publicly available multi-purpose gravitational lensing software \textsc{Lenstronomy},
6: in order to
7: provide an easy and fast solution to this common astrophysical problem.
8: The tool is based on forward modeling the appearance
9: of the source in the image plane, taking into account the
10: distortion by lensing and the instrumental point spread function
11: (PSF).
12: For singly-imaged sources a global lens model in the
13: format of the Hubble Frontier Fields (HFF) lensing maps is required
14: as a starting point.
15: For multiply-imaged sources, the tool can also
16: fit and apply first (deflection), second (shear, convergence), and
17: third order (flexion) corrections to the local gravitational
18: potential to improve the reconstruction,
19: depending on the quality of the data. We illustrate
20: the performance and features of the code with two examples of
21: multiply-imaged systems taken from the Hubble Frontier Fields,
22: starting from five different publicly available cluster models.
23: We find that, after our correction, the relative
24: magnification - and other lensing properties - between the
25: multiple images become robustly constrained. Furthermore, we
26: find that scatter between models of the reconstructed source size
27: and magnitude is reduced. The code and jupyter notebooks are publicly available.
28: \end{abstract}
29: