tweaked source fitter to fit data