Description
When using get_simulated_dataset, the new HAL instance keep the name of the original instance for the Background normalization model
MWE and error
For any maptree and detector response:
hawc = HAL("HAWCCR",maptree,detres,roi)
hawc.set_active_measurements(bin_list=analysis_bins)
hawc.set_model(this_likelihood_model)
simhawc = hawc.get_simullated_dataset('SimHAWC')
thisdata = DataList(simhawc)
njl = JointLikelihood(this_likelihood_model,thisdata,verbose=False)
par,stats = njl.fit(quiet=True)
ERROR This is a bug of the plugin for <class 'hawc_hal.HAL.HAL'>: nuisance joint_likelihood.py:137
parameters must contain the instance name
Description When using
get_simulated_dataset
, the new HAL instance keep the name of the original instance for the Background normalization modelMWE and error
For any maptree and detector response:
If I check the
_nuisance_parameters
dict, I get:Expected behavior
Desktop (UMD-Fiesta)