Analysis and bkg estimation code synced