made lots of changes. the current version works well with mag_spectrum_plot_excess.py. still there are issues with the excess fit plots.
this version goes with the version of mag_spectrum_fitting.py.  loader.py hasn't been changed.