update LGR_flux and time_series.py