77e23f480a
this function fits the flare at peakIndex postion from a flattened lightcurve returns flattened Peak value, flare fit indices (in original lightcurve time), and the fit