added lightcurve method to magmap class