IDL Lightcurve generator