Roofit: Fit RooDataHist with uneven bins

Hi,
The result should be the same, maybe there is some normalisation factor that needs to be taken into account.
See for example this notebook http://hepcms-hn.umd.edu/~kakw/2020_03_09_RooFit_variablebins.html

and also this post Fitting and plotting variable bins histogram in roofit

Lorenzo