KeyError : 'id (999000006,) is not in mass' when calculating relic density
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MadDM |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I have installed maddm, and the internal installations were successful. I do the following
MadDM>import model MSSM_SLHA2
MadDM>generate relic_density
MadDM>add direct_detection
MadDM>add indirect_detection
MadDM>output RELIC_PROC
Then I copy the SLHA file I want to use to RELIC_PROC/
MadDM>launch
whereupon I get the error message
Command "launch" interrupted with error:
KeyError : 'id (999000006,) is not in mass'
Please report this bug on https:/
More information is found in 'MG5_debug'.
Please attach this file to your report.
Have I misunderstood the workflow?
All I want to do is to calculate the neutralino relic density from an SLHA file where the neutralino is the LSP.
Thank you!
affects: | mg5amcnlo → maddm |
Changed in maddm: | |
status: | New → In Progress |
Changed in maddm: | |
status: | In Progress → Invalid |
Hi,
Thanks for the report, this is indeed one of the problem of our solution if you use a pre-existing SLHA file.
The problem is that we update your model automatically to be able to do direct detection.
In that process, we unfortunatly add new particles (that atually does not contribute to anything) and you need those to be defined (mass/width) at run time in the param_card.
We will see how we can fix this issue in a future version (of either maddm or mg5amc),
but for the moment a (dirty) solution is to type "update missing" after having defined your SLHA:
(you can see below that it automatically fix the card by adding the additional required --but useless-- line)
Thanks for the valuable information.
Olivier
The following switches determine which programs are run: =====|= ======= ======= values ======= ======= =|===== === other options =========\ flux_earth| OFF | ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ====/ ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ==\ ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ==/
/=========== Description =======
| 1. Compute the Relic Density | relic = ON | OFF |
| 2. Compute direct(ional) detection | direct = directional | direct|OFF |
| 3. Compute indirect detection/flux | indirect = sigmav | flux_source|
| 4. Run Multinest scan | nestscan = OFF | Please install module |
\======
You can also edit the various input card:
* Enter the name/number to open the editor
* Enter a path to a file to replace the card
* Enter set NAME value to change any parameter to the requested value
/=====
| 5. Edit the model parameters [param] |
| 6. Edit the MadDM options [maddm] |
\=====
>update missing =====|= ======= ======= values ======= ======= =|===== === other options =========\ flux_earth| OFF | ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ====/ ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ==\
INFO: Adding 4 parameter(s) to block mass
INFO: Adding 5 parameter(s) to block decay
INFO: write new param_card with 9 new parameter(s).
The following switches determine which programs are run:
/=========== Description =======
| 1. Compute the Relic Density | relic = ON | OFF |
| 2. Compute direct(ional) detection | direct = directional | direct|OFF |
| 3. Compute indirect detection/flux | indirect = sigmav | flux_source|
| 4. Run Multinest scan | nestscan = OFF | Please install module |
\======
You can also edit the various input card:
* Enter the name/number to open the editor
* Enter a path to a file to replace the card
* Enter set NAME value to change any parameter to the requested value
/=====
| 5. Edit the model parameters [param] ...