I am having a little trouble when trying to fit a real case lens with FindLensSimple. Indeed, with the particular values that I am entering the fit sends me an exception which was encoded by myself in minEllip. This exception is necessary as well as the one implemented in ElliptisizeLens in order to do the fitting of the HaloFit in many random conditions (and to avoid going out of loops each time a strange case occurs and cannot be fitted). How can I keep this exception and still fit the HaloFit with these given positions ? It could be also that this exception is excluding a lot of cases when we are in the presence of substructure using Meth1 (i.e. moving image positions), hence decreasing our statistics.
I am having a little trouble when trying to fit a real case lens with FindLensSimple. Indeed, with the particular values that I am entering the fit sends me an exception which was encoded by myself in minEllip. This exception is necessary as well as the one implemented in ElliptisizeLens in order to do the fitting of the HaloFit in many random conditions (and to avoid going out of loops each time a strange case occurs and cannot be fitted). How can I keep this exception and still fit the HaloFit with these given positions ? It could be also that this exception is excluding a lot of cases when we are in the presence of substructure using Meth1 (i.e. moving image positions), hence decreasing our statistics.