Error with Chi^2 fitting to unbinned dataset

Hi,

In principle you cannot fit using a chi2 un unbinned data set. It might work if each point contains a weight and this value is interpreted as the bin content.
However, the pdf for fitting must be extended ( i.e. RooAbsPdf::canBeExtended() must return TRUE) and I guess this is your problem.

Lorenzo