How the marginalize_likelihoods_online program worked before is:
data
data
now contains the newly-created noise PDFS from (almost) every bindata
data
now contains not just the newly created noise PDFS, but also the noise PDFs from the start of the analysis till nowdata
to disk as the new version of the marg dist_stat_pdf fileWith these changes, the marginalize_likelihoods_online implements the new extinction model. This involves first-round-extinction of the bin-specific PDFs with the bin-specific zerolag, adding these singly-extincted PDFs together, and adding the clustered zerolag so that it's ready for second-round-extinction. Now, the marginalize_likelihoods_online job works as:
0. Now the marg job also saves the bin-specific dist_stat_pdf to disk since they're required for first-round extinction. The path is determined by DataCache.generate
, and not decided by the user. The filename of the marg dist_stat_pdf is still provided by the user
data
variabledata
, it contains the noise PDF from the start of the analysis to now. No need to do step 6 from the previous version of the code