lightcurve extraction ends at the minimum of the events list and the exptime.  This fixes a bug of events with extremely large times