Open Yong2Sheng opened 1 month ago
We also added a very small number 1e-12
to the likelihood to avoid expectation_bin == 0
while data_bin != 0
, which might distort the total likelihood.
When this is solved, we will need to update the spectral fit unit test, which fits data generated by the source injector
This is a reminder about the current issue with the spectral fitting.
So, our current summary is that the response we used in DC2 is not smooth enough. The data binned in
Em
,Phi
andPsiChi
suffers from low statistics.Maybe this can be verified when we have a more populated response.