Cannot get energy spectra when using precise mode

Asked by Ridhauddinsabri

When I use precise mode, in my output folder there is no spectra energy from pythia8 even I already set save_output to all?
Is there anymore method to get spectra energy from precise mode?

Question information

Language:
English Edit question
Status:
Solved
For:
MadDM Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#1

Do you have the pythia8 log?

Cheers,

Olivier

Revision history for this message
Ridhauddinsabri (ridhauddin94) said :
#2

I don't have pythia8 log as well in my output folder.

On Mon, Dec 7, 2020 at 8:55 PM Olivier Mattelaer <
<email address hidden>> wrote:

> Your question #694391 on MadDM changed:
> https://answers.launchpad.net/maddm/+question/694391
>
> Status: Open => Answered
>
> Olivier Mattelaer proposed the following answer:
> Do you have the pythia8 log?
>
> Cheers,
>
> Olivier
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/maddm/+question/694391/+confirm?answer_id=0
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/maddm/+question/694391
>
> You received this question notification because you asked the question.
>

Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#3

Did you ask for the flux at the source or on earth? (or did you ask only for sigmav in which case PY8 is indeed not ran at all?

Cheers,

Olivier

Revision history for this message
Ridhauddinsabri (ridhauddin94) said :
#4

I did set the flux at the source using pythia8 when "launch" and flux at
the earth I think I just use the default setting. I get the sigmav and the
mass value for my model.

On Tue, Dec 8, 2020 at 5:30 AM Olivier Mattelaer <
<email address hidden>> wrote:

> Your question #694391 on MadDM changed:
> https://answers.launchpad.net/maddm/+question/694391
>
> Status: Open => Answered
>
> Olivier Mattelaer proposed the following answer:
> Did you ask for the flux at the source or on earth? (or did you ask only
> for sigmav in which case PY8 is indeed not ran at all?
>
> Cheers,
>
> Olivier
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/maddm/+question/694391/+confirm?answer_id=2
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/maddm/+question/694391
>
> You received this question notification because you asked the question.
>

Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#5

What are the files that you have in the output directory?
and more specifically in the one of indirect_output?

Olivier

> On 8 Dec 2020, at 07:55, Ridhauddinsabri <email address hidden> wrote:
>
> Question #694391 on MadDM changed:
> https://answers.launchpad.net/maddm/+question/694391
>
> Status: Answered => Open
>
> Ridhauddinsabri is still having a problem:
> I did set the flux at the source using pythia8 when "launch" and flux at
> the earth I think I just use the default setting. I get the sigmav and the
> mass value for my model.
>
> On Tue, Dec 8, 2020 at 5:30 AM Olivier Mattelaer <
> <email address hidden>> wrote:
>
>> Your question #694391 on MadDM changed:
>> https://answers.launchpad.net/maddm/+question/694391
>>
>> Status: Open => Answered
>>
>> Olivier Mattelaer proposed the following answer:
>> Did you ask for the flux at the source or on earth? (or did you ask only
>> for sigmav in which case PY8 is indeed not ran at all?
>>
>> Cheers,
>>
>> Olivier
>>
>> --
>> If this answers your question, please go to the following page to let us
>> know that it is solved:
>> https://answers.launchpad.net/maddm/+question/694391/+confirm?answer_id=2
>>
>> If you still need help, you can reply to this email or go to the
>> following page to enter your feedback:
>> https://answers.launchpad.net/maddm/+question/694391
>>
>> You received this question notification because you asked the question.
>>
>
> --
> You received this question notification because your team maddm is an
> answer contact for MadDM.

Revision history for this message
Ridhauddinsabri (ridhauddin94) said :
#6

I just have run_01_01_DM_banner.txt, rwgt_events_rwgt_1.lhe.gz,
unweighted_events.lhe.gz.
I also dont have maddmresult.txt, in the output folder.
I also tried to run with the older version of MG5 2.7 and I can get the
spectra energy but I dont get maddmresult.txt there.

On Tue, Dec 8, 2020 at 3:55 PM Olivier Mattelaer <
<email address hidden>> wrote:

> Your question #694391 on MadDM changed:
> https://answers.launchpad.net/maddm/+question/694391
>
> Status: Open => Answered
>
> Olivier Mattelaer proposed the following answer:
> What are the files that you have in the output directory?
> and more specifically in the one of indirect_output?
>
> Olivier
>
> > On 8 Dec 2020, at 07:55, Ridhauddinsabri <
> <email address hidden>> wrote:
> >
> > Question #694391 on MadDM changed:
> > https://answers.launchpad.net/maddm/+question/694391
> >
> > Status: Answered => Open
> >
> > Ridhauddinsabri is still having a problem:
> > I did set the flux at the source using pythia8 when "launch" and flux at
> > the earth I think I just use the default setting. I get the sigmav and
> the
> > mass value for my model.
> >
> > On Tue, Dec 8, 2020 at 5:30 AM Olivier Mattelaer <
> > <email address hidden>> wrote:
> >
> >> Your question #694391 on MadDM changed:
> >> https://answers.launchpad.net/maddm/+question/694391
> >>
> >> Status: Open => Answered
> >>
> >> Olivier Mattelaer proposed the following answer:
> >> Did you ask for the flux at the source or on earth? (or did you ask only
> >> for sigmav in which case PY8 is indeed not ran at all?
> >>
> >> Cheers,
> >>
> >> Olivier
> >>
> >> --
> >> If this answers your question, please go to the following page to let us
> >> know that it is solved:
> >>
> https://answers.launchpad.net/maddm/+question/694391/+confirm?answer_id=2
> >>
> >> If you still need help, you can reply to this email or go to the
> >> following page to enter your feedback:
> >> https://answers.launchpad.net/maddm/+question/694391
> >>
> >> You received this question notification because you asked the question.
> >>
> >
> > --
> > You received this question notification because your team maddm is an
> > answer contact for MadDM.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/maddm/+question/694391/+confirm?answer_id=4
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/maddm/+question/694391
>
> You received this question notification because you asked the question.
>

Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#7

Is this for all model/benchmanrk?
If not could you tell me the set of command that you run since I do not have that issue on my side.

Cheers,

Olivier

Revision history for this message
Ridhauddinsabri (ridhauddin94) said :
#8

I am not sure whether it is for all models or not, because I just use 1
model for MG5 2.8 and MG5 2.7. (MUED)

Here is my set of command:
1. I import model MUED_UFO from feynrules database (Minimal UED under
universal extra dimension)
2. Then I define darkmatter a1, one of the KK particles in the model.
3. I generate relic_density / bsm, because I don't want the bsm particle as
the final product.
4. Then I add indirect_detection e- e+, to specify the final product for my
indirect detection
5. Then output MyparticleName.
6. Before I launch, I edit the maddm.card, Halo average velocity to 1e-02
for cluster environment, I set save_output to all,
indirect_flux_from_source to pythia8, sigmav_method to reshuffling
7. Then, I edit param.card, set r to scan:[1/(x*100) for x in range (3,7)],
set lr to scan:[x*10 for x in range (1,11)].
8. Then I launch MyparticleName.

On Tue, Dec 8, 2020 at 4:15 PM Olivier Mattelaer <
<email address hidden>> wrote:

> Your question #694391 on MadDM changed:
> https://answers.launchpad.net/maddm/+question/694391
>
> Status: Open => Answered
>
> Olivier Mattelaer proposed the following answer:
> Is this for all model/benchmanrk?
> If not could you tell me the set of command that you run since I do not
> have that issue on my side.
>
> Cheers,
>
> Olivier
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/maddm/+question/694391/+confirm?answer_id=6
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/maddm/+question/694391
>
> You received this question notification because you asked the question.
>

Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#9

Could you run the following:

1. write the following in a file

import model MUED_UFO
define darkmatter a1
generate relic_density / bsm
add indirect_detection e- e+
output
launch
indirect=flux_source
set precise
set r scan:[1/(x*100) for x in range (3,7)]
set lr scan:[x*10 for x in range (1,11)]
set save_output all
set vave_indirect 1e-02

2. execute the file like this
./bin/maddm.py PATH_TO_YOUR_FILE

Such that we will have the exact same run.
I'm in particular not sure that you did not forget to switch the computation mode to
flux_source which would explain your issue

I'm running the above script and I will keep yyou informed.

Olivier

> On 8 Dec 2020, at 09:30, Ridhauddinsabri <email address hidden> wrote:
>
> Here is my set of command:
> 1. I import model MUED_UFO from feynrules database (Minimal UED under
> universal extra dimension)
> 2. Then I define darkmatter a1, one of the KK particles in the model.
> 3. I generate relic_density / bsm, because I don't want the bsm particle as
> the final product.
> 4. Then I add indirect_detection e- e+, to specify the final product for my
> indirect detection
> 5. Then output MyparticleName.
> 6. Before I launch, I edit the maddm.card, Halo average velocity to 1e-02
> for cluster environment, I set save_output to all,
> indirect_flux_from_source to pythia8, sigmav_method to reshuffling
> 7. Then, I edit param.card, set r to scan:[1/(x*100) for x in range (3,7)],
> set lr to scan:[x*10 for x in range (1,11)].
> 8. Then I launch MyparticleName.

Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#10

I confirm that I have the spectra with the above method:

[run_01_01]$ ls
Output_Indirect maddm.out
[run_01_01]$ cd Output_Indirect
[Output_Indirect]$ ls
antiprotons_spectrum_pythia8.dat pythia8.log
gammas_spectrum_pythia8.dat restx_spectrum_pythia8.dat
neutrinos_e_spectrum_pythia8.dat run_01_01_DM_banner.txt
neutrinos_mu_spectrum_pythia8.dat run_shower.sh
neutrinos_tau_spectrum_pythia8.dat rwgt_events_rwgt_1.lhe.gz
positrons_spectrum_pythia8.dat unweighted_events.lhe.gz

Revision history for this message
Ridhauddinsabri (ridhauddin94) said :
#11

Thank you for your help, I succeed to producing energy spectra using
pythia8 but I still dont have MadDMresult.txt.
Is there anything I should add in my command file?

On Tue, Dec 8, 2020 at 4:45 PM Olivier Mattelaer <
<email address hidden>> wrote:

> Your question #694391 on MadDM changed:
> https://answers.launchpad.net/maddm/+question/694391
>
> Status: Open => Answered
>
> Olivier Mattelaer proposed the following answer:
> Could you run the following:
>
> 1. write the following in a file
>
> import model MUED_UFO
> define darkmatter a1
> generate relic_density / bsm
> add indirect_detection e- e+
> output
> launch
> indirect=flux_source
> set precise
> set r scan:[1/(x*100) for x in range (3,7)]
> set lr scan:[x*10 for x in range (1,11)]
> set save_output all
> set vave_indirect 1e-02
>
>
> 2. execute the file like this
> ./bin/maddm.py PATH_TO_YOUR_FILE
>
>
> Such that we will have the exact same run.
> I'm in particular not sure that you did not forget to switch the
> computation mode to
> flux_source which would explain your issue
>
>
> I'm running the above script and I will keep yyou informed.
>
> Olivier
>
>
> > On 8 Dec 2020, at 09:30, Ridhauddinsabri <
> <email address hidden>> wrote:
> >
> > Here is my set of command:
> > 1. I import model MUED_UFO from feynrules database (Minimal UED under
> > universal extra dimension)
> > 2. Then I define darkmatter a1, one of the KK particles in the model.
> > 3. I generate relic_density / bsm, because I don't want the bsm particle
> as
> > the final product.
> > 4. Then I add indirect_detection e- e+, to specify the final product for
> my
> > indirect detection
> > 5. Then output MyparticleName.
> > 6. Before I launch, I edit the maddm.card, Halo average velocity to 1e-02
> > for cluster environment, I set save_output to all,
> > indirect_flux_from_source to pythia8, sigmav_method to reshuffling
> > 7. Then, I edit param.card, set r to scan:[1/(x*100) for x in range
> (3,7)],
> > set lr to scan:[x*10 for x in range (1,11)].
> > 8. Then I launch MyparticleName.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/maddm/+question/694391/+confirm?answer_id=8
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/maddm/+question/694391
>
> You received this question notification because you asked the question.
>

Revision history for this message
Ridhauddinsabri (ridhauddin94) said :
#12

I also succeeded in producing that, thanks a lot for your help but I dont
get MadDMresult.txt in the output file?

On Tue, Dec 8, 2020 at 5:31 PM Olivier Mattelaer <
<email address hidden>> wrote:

> Your question #694391 on MadDM changed:
> https://answers.launchpad.net/maddm/+question/694391
>
> Olivier Mattelaer proposed the following answer:
> I confirm that I have the spectra with the above method:
>
> [run_01_01]$ ls
> Output_Indirect maddm.out
> [run_01_01]$ cd Output_Indirect
> [Output_Indirect]$ ls
> antiprotons_spectrum_pythia8.dat pythia8.log
> gammas_spectrum_pythia8.dat restx_spectrum_pythia8.dat
> neutrinos_e_spectrum_pythia8.dat run_01_01_DM_banner.txt
> neutrinos_mu_spectrum_pythia8.dat run_shower.sh
> neutrinos_tau_spectrum_pythia8.dat rwgt_events_rwgt_1.lhe.gz
> positrons_spectrum_pythia8.dat unweighted_events.lhe.gz
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/maddm/+question/694391/+confirm?answer_id=9
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/maddm/+question/694391
>
> You received this question notification because you asked the question.
>

Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#13

For scan mode, this file is not genrated and is replaced by the scan summary file.

Cheers,

Olivier

> On 8 Dec 2020, at 10:45, Ridhauddinsabri <email address hidden> wrote:
>
> Question #694391 on MadDM changed:
> https://answers.launchpad.net/maddm/+question/694391
>
> Ridhauddinsabri gave more information on the question:
> I also succeeded in producing that, thanks a lot for your help but I dont
> get MadDMresult.txt in the output file?
>
> On Tue, Dec 8, 2020 at 5:31 PM Olivier Mattelaer <
> <email address hidden>> wrote:
>
>> Your question #694391 on MadDM changed:
>> https://answers.launchpad.net/maddm/+question/694391
>>
>> Olivier Mattelaer proposed the following answer:
>> I confirm that I have the spectra with the above method:
>>
>> [run_01_01]$ ls
>> Output_Indirect maddm.out
>> [run_01_01]$ cd Output_Indirect
>> [Output_Indirect]$ ls
>> antiprotons_spectrum_pythia8.dat pythia8.log
>> gammas_spectrum_pythia8.dat restx_spectrum_pythia8.dat
>> neutrinos_e_spectrum_pythia8.dat run_01_01_DM_banner.txt
>> neutrinos_mu_spectrum_pythia8.dat run_shower.sh
>> neutrinos_tau_spectrum_pythia8.dat rwgt_events_rwgt_1.lhe.gz
>> positrons_spectrum_pythia8.dat unweighted_events.lhe.gz
>>
>> --
>> If this answers your question, please go to the following page to let us
>> know that it is solved:
>> https://answers.launchpad.net/maddm/+question/694391/+confirm?answer_id=9
>>
>> If you still need help, you can reply to this email or go to the
>> following page to enter your feedback:
>> https://answers.launchpad.net/maddm/+question/694391
>>
>> You received this question notification because you asked the question.
>>
>
> --
> You received this question notification because your team maddm is an
> answer contact for MadDM.

Revision history for this message
Ridhauddinsabri (ridhauddin94) said :
#14

I see, Thank you a lot for your help. I solve my problems already.

On Tue, Dec 8, 2020 at 6:01 PM Olivier Mattelaer <
<email address hidden>> wrote:

> Your question #694391 on MadDM changed:
> https://answers.launchpad.net/maddm/+question/694391
>
> Status: Open => Answered
>
> Olivier Mattelaer proposed the following answer:
> For scan mode, this file is not genrated and is replaced by the scan
> summary file.
>
> Cheers,
>
> Olivier
>
> > On 8 Dec 2020, at 10:45, Ridhauddinsabri <
> <email address hidden>> wrote:
> >
> > Question #694391 on MadDM changed:
> > https://answers.launchpad.net/maddm/+question/694391
> >
> > Ridhauddinsabri gave more information on the question:
> > I also succeeded in producing that, thanks a lot for your help but I dont
> > get MadDMresult.txt in the output file?
> >
> > On Tue, Dec 8, 2020 at 5:31 PM Olivier Mattelaer <
> > <email address hidden>> wrote:
> >
> >> Your question #694391 on MadDM changed:
> >> https://answers.launchpad.net/maddm/+question/694391
> >>
> >> Olivier Mattelaer proposed the following answer:
> >> I confirm that I have the spectra with the above method:
> >>
> >> [run_01_01]$ ls
> >> Output_Indirect maddm.out
> >> [run_01_01]$ cd Output_Indirect
> >> [Output_Indirect]$ ls
> >> antiprotons_spectrum_pythia8.dat pythia8.log
> >> gammas_spectrum_pythia8.dat restx_spectrum_pythia8.dat
> >> neutrinos_e_spectrum_pythia8.dat run_01_01_DM_banner.txt
> >> neutrinos_mu_spectrum_pythia8.dat run_shower.sh
> >> neutrinos_tau_spectrum_pythia8.dat rwgt_events_rwgt_1.lhe.gz
> >> positrons_spectrum_pythia8.dat unweighted_events.lhe.gz
> >>
> >> --
> >> If this answers your question, please go to the following page to let us
> >> know that it is solved:
> >>
> https://answers.launchpad.net/maddm/+question/694391/+confirm?answer_id=9
> >>
> >> If you still need help, you can reply to this email or go to the
> >> following page to enter your feedback:
> >> https://answers.launchpad.net/maddm/+question/694391
> >>
> >> You received this question notification because you asked the question.
> >>
> >
> > --
> > You received this question notification because your team maddm is an
> > answer contact for MadDM.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/maddm/+question/694391/+confirm?answer_id=12
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/maddm/+question/694391
>
> You received this question notification because you asked the question.
>

Revision history for this message
Olivier Mattelaer (olivier-mattelaer) said :
#15