Fitting a histogram

you probably should adjust the prior - but if you have access to the binning it would be easier to fit a GMM directly, unless I am missing something here?