Fix bug. produced only timed light curves, now produces normal lc too