AE: Add a few more debug statements and choose which detector we want to see them for
AE: Don't use the params vector to printout the parameter values in TemplateFitter
AE: Add convergence of templates. The ideas is that we check if the error on the peak bin has levelled off. I just want to tweak the n_bins_to_check and convergence_limit values a bit so that it doesn't take forever and gives us decent templates. Not all channels end up with convergd templates in run 2808 so we may need to run over a few runs