I am fitting a mass spectrum using pdf(M)=Ns×S(M)+Nb×B(M; a, b) to determine the yield with the extended maximum likelihood fit, where Ns and Nb are the number of signal and background events, S(M) is the function for the signal, B(M;a, b) is the function for the background with parameters a and...