fixed bug in hubble_observation_schedule.py and update sim_lightcurve_examples.py to use the new function