minor changes to iterate_fits and save_figure
work on onset times