added method to select time intervals before a fit
small changes to lightcurve readers