Changing analyzer to first fill the histograms and then perform the fit