added class method to pull lightcurve from output fits file