Closed moustakas closed 1 year ago
The first four crashes were the same underlying issue: high-redshift targets with a masked z-band camera, so that not even Lyman-alpha was in the wavelength range. #104 fixes this problem of not having any emission lines to optimize, during fitting and also when generating the QA plot.
The last crash (39627811564029314
) was a run-of-the-mill target but because of a somewhat odd spectrum, the lower bound on two of the Balmer emission lines ended up being zero and equal to the initial value, which least_squares
does not like / allow. The fix was straightforward and implemented in #104.
There are just 5 crashes in Iron all with a
scipy.optimize.least_squares
runtime error. Investigate and fix.