MadSpin error when decaying 100k events, in MG5 6.0

Asked by Marc de Beurs on 2017-11-07

Dear experts,

In the recent MG update (6.0) I run into an issue related to the decay in MadSpin.
When I try to generate about 100k events, an IndexError during the decay in MS occurs...
This problem does not present itself when about 5k events are generated and decayed.

The exact process that I am trying to produce is:

import model loop_sm-no_b_mass
generate p p > p w+ b $$ z a QED=3 QCD=0 [QCD]
output
launch
madspin=ON
order=LO
shower=OFF
set nevents 100000

Everything goes well, except during the decay in madspin it stops with:

INFO: Event nb 30000 48.5s
Command "launch auto " interrupted with error:
IndexError : list index out of range

It is not be a major problem, at the moment I am generating my 100k events in more runs of 5k. But I just wanted to let you guys know that this 'bug' has revealed itself.

Thanks for all the good efforts!
Cheers Marc

For completeness you can find the log below:

#************************************************************
#* MadGraph5_aMC@NLO *
#* *
#* * * *
#* * * * * *
#* * * * * 5 * * * * *
#* * * * * *
#* * * *
#* *
#* *
#* VERSION 2.6.0 2017-08-16 *
#* *
#* The MadGraph5_aMC@NLO Development Team - Find us at *
#* https://server06.fynu.ucl.ac.be/projects/madgraph *
#* and *
#* http://amcatnlo.cern.ch *
#* *
#************************************************************
#* *
#* Command File for aMCatNLO *
#* *
#* run as ./bin/aMCatNLO.py filename *
#* *
#************************************************************
launch auto
Traceback (most recent call last):
  File "/data/atlas/users/mdebeurs/hep/MG5_aMC_v2_6_0/madgraph/interface/extended_cmd.py", line 1438, in onecmd
    return self.onecmd_orig(line, **opt)
  File "/data/atlas/users/mdebeurs/hep/MG5_aMC_v2_6_0/madgraph/interface/extended_cmd.py", line 1392, in onecmd_orig
    return func(arg, **opt)
  File "/data/atlas/users/mdebeurs/hep/MG5_aMC_v2_6_0/madgraph/interface/amcatnlo_run_interface.py", line 1243, in do_launch
    self.exec_cmd('decay_events -from_cards', postcmd=False)
  File "/data/atlas/users/mdebeurs/hep/MG5_aMC_v2_6_0/madgraph/interface/extended_cmd.py", line 1465, in exec_cmd
    stop = Cmd.onecmd_orig(current_interface, line, **opt)
  File "/data/atlas/users/mdebeurs/hep/MG5_aMC_v2_6_0/madgraph/interface/extended_cmd.py", line 1392, in onecmd_orig
    return func(arg, **opt)
  File "/data/atlas/users/mdebeurs/hep/MG5_aMC_v2_6_0/madgraph/interface/common_run_interface.py", line 3463, in do_decay_events
    madspin_cmd.import_command_file(path)
  File "/data/atlas/users/mdebeurs/hep/MG5_aMC_v2_6_0/madgraph/interface/extended_cmd.py", line 1580, in import_command_file
    self.exec_cmd(line, precmd=True)
  File "/data/atlas/users/mdebeurs/hep/MG5_aMC_v2_6_0/madgraph/interface/extended_cmd.py", line 1465, in exec_cmd
    stop = Cmd.onecmd_orig(current_interface, line, **opt)
  File "/data/atlas/users/mdebeurs/hep/MG5_aMC_v2_6_0/madgraph/interface/extended_cmd.py", line 1392, in onecmd_orig
    return func(arg, **opt)
  File "/data/atlas/users/mdebeurs/hep/MG5_aMC_v2_6_0/madgraph/various/misc.py", line 99, in f_with_no_logger
    out = f(self, *args, **opt)
  File "/data/atlas/users/mdebeurs/hep/MG5_aMC_v2_6_0/MadSpin/interface_madspin.py", line 582, in do_launch
    generate_all.run()
  File "/data/atlas/users/mdebeurs/hep/MG5_aMC_v2_6_0/MadSpin/decay.py", line 2123, in run
    self.ending_run()
  File "/data/atlas/users/mdebeurs/hep/MG5_aMC_v2_6_0/MadSpin/decay.py", line 2129, in ending_run
    efficiency = self.decaying_events(self.inverted_decay_mapping)
  File "/data/atlas/users/mdebeurs/hep/MG5_aMC_v2_6_0/MadSpin/decay.py", line 2252, in decaying_events
    output = self.loadfortran( 'unweighting', decay_me['path'], stdin_text)
  File "/data/atlas/users/mdebeurs/hep/MG5_aMC_v2_6_0/MadSpin/decay.py", line 3356, in loadfortran
    nexternal=int(firstline[0])
IndexError: list index out of range
Value of current Options:
              text_editor : vim
      notification_center : False
                    pjfry : None
       cluster_local_path : None
       group_subprocesses : Auto
ignore_six_quark_processes : False
    loop_optimized_output : True
    cluster_status_update : (600, 30)
         fortran_compiler : None
               hepmc_path : None
                  collier : /data/atlas/users/mdebeurs/hep/MG5_aMC_v2_6_0/HEPTools/lib
              auto_update : 0
             pythia8_path : /data/atlas/users/mdebeurs/hep/MG5_aMC_v2_6_0/HEPTools/pythia8
                hwpp_path : None
low_mem_multicore_nlo_generation : False
                    golem : None
          pythia-pgs_path : None
                  td_path : None
             delphes_path : None
              thepeg_path : None
             cluster_type : pbs
        madanalysis5_path : None
      exrootanalysis_path : /data/atlas/users/mdebeurs/hep/MG5_aMC_v2_6_0/ExRootAnalysis
                      OLP : MadLoop
                 applgrid : applgrid-config
               eps_viewer : None
                  fastjet : /data/atlas/users/mdebeurs/hep/MG5_aMC_v2_6_0/HEPTools/fastjet-3.3.0/fastjet-install/bin/fastjet-config
                 run_mode : 2
              web_browser : None
   automatic_html_opening : False
        cluster_temp_path : None
             cluster_size : 100
            cluster_queue : generic
             syscalc_path : None
         madanalysis_path : None
                   lhapdf : /data/atlas/users/mdebeurs/hep/MG5_aMC_v2_6_0/HEPTools/lhapdf6/bin/lhapdf-config
             stdout_level : 20
                  nb_core : 8
            f2py_compiler : None
                    ninja : /data/atlas/users/mdebeurs/hep/MG5_aMC_v2_6_0/HEPTools/lib
                  amcfast : amcfast-config
       cluster_retry_wait : 300
      output_dependencies : external
           crash_on_error : False
mg5amc_py8_interface_path : /data/atlas/users/mdebeurs/hep/MG5_aMC_v2_6_0/HEPTools/MG5aMC_PY8_interface
         loop_color_flows : False
                  samurai : None
         cluster_nb_retry : 1
                 mg5_path : /data/atlas/users/mdebeurs/hep/MG5_aMC_v2_6_0
                  timeout : 60
                    gauge : unitary
      complex_mass_scheme : False
             cpp_compiler : None
   max_npoint_for_channel : 0
#************************************************************
#* MadGraph5_aMC@NLO *
#* *
#* * * *
#* * * * * *
#* * * * * 5 * * * * *
#* * * * * *
#* * * *
#* *
#* *
#* VERSION 2.6.0 2017-08-16 *
#* *
#* The MadGraph5_aMC@NLO Development Team - Find us at *
#* https://server06.fynu.ucl.ac.be/projects/madgraph *
#* *
#************************************************************
#* *
#* Command File for MadGraph5_aMC@NLO *
#* *
#* run as ./bin/mg5_aMC filename *
#* *
#************************************************************
set group_subprocesses Auto
set ignore_six_quark_processes False
set loop_optimized_output True
set low_mem_multicore_nlo_generation False
set loop_color_flows False
set gauge unitary
set complex_mass_scheme False
set max_npoint_for_channel 0
import model loop_sm-no_b_mass
define p = g u c d s u~ c~ d~ s~
define j = g u c d s u~ c~ d~ s~
define l+ = e+ mu+
define l- = e- mu-
define vl = ve vm vt
define vl~ = ve~ vm~ vt~
define p = 21 2 4 1 3 -2 -4 -1 -3 5 -5 # pass to 5 flavors
define j = p
generate p p > p w+ b $$ z a QED=3 QCD=0 [QCD]
output henk
######################################################################
## PARAM_CARD AUTOMATICALY GENERATED BY MG5 FOLLOWING UFO MODEL ####
######################################################################
## ##
## Width set on Auto will be computed following the information ##
## present in the decay.py files of the model. ##
## See arXiv:1402.1178 for more details. ##
## ##
######################################################################

###################################
## INFORMATION FOR LOOP
###################################
Block loop
    1 9.118800e+01 # MU_R

###################################
## INFORMATION FOR MASS
###################################
Block mass
    6 1.730000e+02 # MT
   15 1.777000e+00 # MTA
   23 9.118800e+01 # MZ
   25 1.250000e+02 # MH
## Dependent parameters, given by model restrictions.
## Those values should be edited following the
## analytical expression. MG5 ignores those values
## but they are important for interfacing the output of MG5
## to external program such as Pythia.
  1 0.000000 # d : 0.0
  2 0.000000 # u : 0.0
  3 0.000000 # s : 0.0
  4 0.000000 # c : 0.0
  5 0.000000 # b : 0.0
  11 0.000000 # e- : 0.0
  12 0.000000 # ve : 0.0
  13 0.000000 # mu- : 0.0
  14 0.000000 # vm : 0.0
  16 0.000000 # vt : 0.0
  21 0.000000 # g : 0.0
  22 0.000000 # a : 0.0
  24 80.419002 # w+ : cmath.sqrt(MZ__exp__2/2. + cmath.sqrt(MZ__exp__4/4. - (aEW*cmath.pi*MZ__exp__2)/(Gf*sqrt__2)))

###################################
## INFORMATION FOR SMINPUTS
###################################
Block sminputs
    1 1.325070e+02 # aEWM1
    2 1.166390e-05 # Gf
    3 1.180000e-01 # aS

###################################
## INFORMATION FOR YUKAWA
###################################
Block yukawa
    6 1.730000e+02 # ymt
   15 1.777000e+00 # ymtau

###################################
## INFORMATION FOR DECAY
###################################
DECAY 6 1.491500e+00 # WT
DECAY 23 2.441404e+00 # WZ
DECAY 24 2.047600e+00 # WW
DECAY 25 6.382339e-03 # WH
## Dependent parameters, given by model restrictions.
## Those values should be edited following the
## analytical expression. MG5 ignores those values
## but they are important for interfacing the output of MG5
## to external program such as Pythia.
DECAY 1 0.000000 # d : 0.0
DECAY 2 0.000000 # u : 0.0
DECAY 3 0.000000 # s : 0.0
DECAY 4 0.000000 # c : 0.0
DECAY 5 0.000000 # b : 0.0
DECAY 11 0.000000 # e- : 0.0
DECAY 12 0.000000 # ve : 0.0
DECAY 13 0.000000 # mu- : 0.0
DECAY 14 0.000000 # vm : 0.0
DECAY 15 0.000000 # ta- : 0.0
DECAY 16 0.000000 # vt : 0.0
DECAY 21 0.000000 # g : 0.0
DECAY 22 0.000000 # a : 0.0
#***********************************************************************
# MadGraph5_aMC@NLO *
# *
# run_card.dat aMC@NLO *
# *
# This file is used to set the parameters of the run. *
# *
# Some notation/conventions: *
# *
# Lines starting with a hash (#) are info or comments *
# *
# mind the format: value = variable ! comment *
# *
# Some of the values of variables can be list. These can either be *
# comma or space separated. *
#***********************************************************************
#
#*******************
# Running parameters
#*******************
#
#***********************************************************************
# Tag name for the run (one word) *
#***********************************************************************
  tag_1 = run_tag ! name of the run
#***********************************************************************
# Number of LHE events (and their normalization) and the required *
# (relative) accuracy on the Xsec. *
# These values are ignored for fixed order runs *
#***********************************************************************
  100000 = nevents ! Number of unweighted events requested
  -1.0 = req_acc ! Required accuracy (-1=auto determined from nevents)
  -1 = nevt_job ! Max number of events per job in event generation.
                 ! (-1= no split).
#***********************************************************************
# Normalize the weights of LHE events such that they sum or average to *
# the total cross section *
#***********************************************************************
  average = event_norm ! valid settings: average, sum, bias
#***********************************************************************
# Number of points per itegration channel (ignored for aMC@NLO runs) *
#***********************************************************************
  0.01 = req_acc_fo ! Required accuracy (-1=ignored, and use the
                     ! number of points and iter. below)
# These numbers are ignored except if req_acc_FO is equal to -1
  5000 = npoints_fo_grid ! number of points to setup grids
  4 = niters_fo_grid ! number of iter. to setup grids
  10000 = npoints_fo ! number of points to compute Xsec
  6 = niters_fo ! number of iter. to compute Xsec
#***********************************************************************
# Random number seed *
#***********************************************************************
  0 = iseed ! rnd seed (0=assigned automatically=default))
#***********************************************************************
# Collider type and energy *
#***********************************************************************
  1 = lpp1 ! beam 1 type (0 = no PDF)
  1 = lpp2 ! beam 2 type (0 = no PDF)
  6500.0 = ebeam1 ! beam 1 energy in GeV
  6500.0 = ebeam2 ! beam 2 energy in GeV
#***********************************************************************
# PDF choice: this automatically fixes also alpha_s(MZ) and its evol. *
#***********************************************************************
  nn23nlo = pdlabel ! PDF set
  244600 = lhaid ! If pdlabel=lhapdf, this is the lhapdf number. Only
              ! numbers for central PDF sets are allowed. Can be a list;
              ! PDF sets beyond the first are included via reweighting.
#***********************************************************************
# Include the NLO Monte Carlo subtr. terms for the following parton *
# shower (HERWIG6 | HERWIGPP | PYTHIA6Q | PYTHIA6PT | PYTHIA8) *
# WARNING: PYTHIA6PT works only for processes without FSR!!!! *
#***********************************************************************
  HERWIG6 = parton_shower
  1.0 = shower_scale_factor ! multiply default shower starting
                                  ! scale by this factor
#***********************************************************************
# Renormalization and factorization scales *
# (Default functional form for the non-fixed scales is the sum of *
# the transverse masses divided by two of all final state particles *
# and partons. This can be changed in SubProcesses/set_scales.f or via *
# dynamical_scale_choice option) *
#***********************************************************************
  False = fixed_ren_scale ! if .true. use fixed ren scale
  False = fixed_fac_scale ! if .true. use fixed fac scale
  91.118 = mur_ref_fixed ! fixed ren reference scale
  91.118 = muf_ref_fixed ! fixed fact reference scale
  -1 = dynamical_scale_choice ! Choose one (or more) of the predefined
           ! dynamical choices. Can be a list; scale choices beyond the
           ! first are included via reweighting
  1.0 = mur_over_ref ! ratio of current muR over reference muR
  1.0 = muf_over_ref ! ratio of current muF over reference muF
#***********************************************************************
# Reweight variables for scale dependence and PDF uncertainty *
#***********************************************************************
  1.0, 2.0, 0.5 = rw_rscale ! muR factors to be included by reweighting
  1.0, 2.0, 0.5 = rw_fscale ! muF factors to be included by reweighting
  True = reweight_scale ! Reweight to get scale variation using the
            ! rw_rscale and rw_fscale factors. Should be a list of
            ! booleans of equal length to dynamical_scale_choice to
            ! specify for which choice to include scale dependence.
  False = reweight_pdf ! Reweight to get PDF uncertainty. Should be a
            ! list booleans of equal length to lhaid to specify for
            ! which PDF set to include the uncertainties.
#***********************************************************************
# Store reweight information in the LHE file for off-line model- *
# parameter reweighting at NLO+PS accuracy *
#***********************************************************************
  False = store_rwgt_info ! Store info for reweighting in LHE file
#***********************************************************************
# ickkw parameter: *
# 0: No merging *
# 3: FxFx Merging - WARNING! Applies merging only at the hard-event *
# level. After showering an MLM-type merging should be applied as *
# well. See http://amcatnlo.cern.ch/FxFx_merging.htm for details. *
# 4: UNLOPS merging (with pythia8 only). No interface from within *
# MG5_aMC available, but available in Pythia8. *
# -1: NNLL+NLO jet-veto computation. See arxiv:1412.8408 [hep-ph]. *
#***********************************************************************
  0 = ickkw
#***********************************************************************
#
#***********************************************************************
# BW cutoff (M+/-bwcutoff*Gamma). Determines which resonances are *
# written in the LHE event file *
#***********************************************************************
  15.0 = bwcutoff
#***********************************************************************
# Cuts on the jets. Jet clustering is performed by FastJet. *
# - When matching to a parton shower, these generation cuts should be *
# considerably softer than the analysis cuts. *
# - More specific cuts can be specified in SubProcesses/cuts.f *
#***********************************************************************
  1.0 = jetalgo ! FastJet jet algorithm (1=kT, 0=C/A, -1=anti-kT)
  0.7 = jetradius ! The radius parameter for the jet algorithm
  10.0 = ptj ! Min jet transverse momentum
  -1.0 = etaj ! Max jet abs(pseudo-rap) (a value .lt.0 means no cut)
#***********************************************************************
# Cuts on the charged leptons (e+, e-, mu+, mu-, tau+ and tau-) *
# More specific cuts can be specified in SubProcesses/cuts.f *
#***********************************************************************
  0.0 = ptl ! Min lepton transverse momentum
  -1.0 = etal ! Max lepton abs(pseudo-rap) (a value .lt.0 means no cut)
  0.0 = drll ! Min distance between opposite sign lepton pairs
  0.0 = drll_sf ! Min distance between opp. sign same-flavor lepton pairs
  0.0 = mll ! Min inv. mass of all opposite sign lepton pairs
  30.0 = mll_sf ! Min inv. mass of all opp. sign same-flavor lepton pairs
#***********************************************************************
# Photon-isolation cuts, according to hep-ph/9801442. When ptgmin=0, *
# all the other parameters are ignored. *
# More specific cuts can be specified in SubProcesses/cuts.f *
#***********************************************************************
  20.0 = ptgmin ! Min photon transverse momentum
  -1.0 = etagamma ! Max photon abs(pseudo-rap)
  0.4 = r0gamma ! Radius of isolation code
  1.0 = xn ! n parameter of eq.(3.4) in hep-ph/9801442
  1.0 = epsgamma ! epsilon_gamma parameter of eq.(3.4) in hep-ph/9801442
  True = isoem ! isolate photons from EM energy (photons and leptons)
#***********************************************************************
# For aMCfast+APPLGRID use in PDF fitting (http://amcfast.hepforge.org)*
#***********************************************************************
  0 = iappl ! aMCfast switch (0=OFF, 1=prepare grids, 2=fill grids)
#***********************************************************************

Question information

Language:
English Edit question
Status:
Answered
For:
MadGraph5_aMC@NLO Edit question
Assignee:
No assignee Edit question
Last query:
2017-11-07
Last reply:
2017-12-04

Hi,

I actually do not know how you succeed to reach MadSpin stage for such process.
When I run such process, it starts by having a huge amount of warning when generating the code.

And when i run the code, it crash automatically with the message:

> DEBUG:
> Soft test 1 PASSED. Fraction of failures: 0.01
> Collinear test 1 PASSED. Fraction of failures: 0.00
> Soft test 2 PASSED. Fraction of failures: 0.00
> Collinear test 2 PASSED. Fraction of failures: 0.00
> Soft test 3 PASSED. Fraction of failures: 0.00
> Collinear test 3 PASSED. Fraction of failures: 0.01
> Soft test 4 PASSED. Fraction of failures: 0.02
> Collinear test 4 PASSED. Fraction of failures: 0.00
> Soft test 5 PASSED. Fraction of failures: 0.00
> Collinear test 5 PASSED. Fraction of failures: 0.00
> Soft test 6 PASSED. Fraction of failures: 0.00
> Collinear test 6 PASSED. Fraction of failures: 0.00
> INFO: Result for test_MC:
> INFO: Passed.
> DEBUG:
> Soft test 1 PASSED. Fraction of failures: 0.00
> Collinear test 1 PASSED. Fraction of failures: 0.00
> Soft test 2 PASSED. Fraction of failures: 0.00
> Collinear test 2 PASSED. Fraction of failures: 0.00
> Soft test 3 PASSED. Fraction of failures: 0.00
> Collinear test 3 PASSED. Fraction of failures: 0.00
> Soft test 4 PASSED. Fraction of failures: 0.00
> Collinear test 4 PASSED. Fraction of failures: 0.00
> Soft test 5 PASSED. Fraction of failures: 0.00
> Collinear test 5 PASSED. Fraction of failures: 0.00
> Soft test 6 PASSED. Fraction of failures: 0.00
> Collinear test 6 PASSED. Fraction of failures: 0.01
> INFO: Result for check_poles:
> Error detected in "launch auto "
> write debug file /Users/omatt/mgdev/2.6.1/PROCNLO_loop_sm-no_b_mass_0/run_01_tag_1_debug.log
> If you need help with this issue please contact us on https://answers.launchpad.net/mg5amcnlo
> aMCatNLOError : Poles do not cancel, run cannot continue

Thanks for reporting the bug on the MadSpin side, I guess it might be related to the above point, but I will run a full investigation.

Cheers,

Olivier

> On Nov 7, 2017, at 13:57, Marc de Beurs <email address hidden> wrote:
>
> New question #660445 on MadGraph5_aMC@NLO:
> https://answers.launchpad.net/mg5amcnlo/+question/660445
>
> Dear experts,
>
> In the recent MG update (6.0) I run into an issue related to the decay in MadSpin.
> When I try to generate about 100k events, an IndexError during the decay in MS occurs...
> This problem does not present itself when about 5k events are generated and decayed.
>
> The exact process that I am trying to produce is:
>
> import model loop_sm-no_b_mass
> generate p p > p w+ b $$ z a QED=3 QCD=0 [QCD]
> output
> launch
> madspin=ON
> order=LO
> shower=OFF
> set nevents 100000
>
> Everything goes well, except during the decay in madspin it stops with:
>
> INFO: Event nb 30000 48.5s
> Command "launch auto " interrupted with error:
> IndexError : list index out of range
>
> It is not be a major problem, at the moment I am generating my 100k events in more runs of 5k. But I just wanted to let you guys know that this 'bug' has revealed itself.
>
> Thanks for all the good efforts!
> Cheers Marc
>
> For completeness you can find the log below:
>
> #************************************************************
> #* MadGraph5_aMC@NLO *
> #* *
> #* * * *
> #* * * * * *
> #* * * * * 5 * * * * *
> #* * * * * *
> #* * * *
> #* *
> #* *
> #* VERSION 2.6.0 2017-08-16 *
> #* *
> #* The MadGraph5_aMC@NLO Development Team - Find us at *
> #* https://server06.fynu.ucl.ac.be/projects/madgraph *
> #* and *
> #* http://amcatnlo.cern.ch *
> #* *
> #************************************************************
> #* *
> #* Command File for aMCatNLO *
> #* *
> #* run as ./bin/aMCatNLO.py filename *
> #* *
> #************************************************************
> launch auto
> Traceback (most recent call last):
> File "/data/atlas/users/mdebeurs/hep/MG5_aMC_v2_6_0/madgraph/interface/extended_cmd.py", line 1438, in onecmd
> return self.onecmd_orig(line, **opt)
> File "/data/atlas/users/mdebeurs/hep/MG5_aMC_v2_6_0/madgraph/interface/extended_cmd.py", line 1392, in onecmd_orig
> return func(arg, **opt)
> File "/data/atlas/users/mdebeurs/hep/MG5_aMC_v2_6_0/madgraph/interface/amcatnlo_run_interface.py", line 1243, in do_launch
> self.exec_cmd('decay_events -from_cards', postcmd=False)
> File "/data/atlas/users/mdebeurs/hep/MG5_aMC_v2_6_0/madgraph/interface/extended_cmd.py", line 1465, in exec_cmd
> stop = Cmd.onecmd_orig(current_interface, line, **opt)
> File "/data/atlas/users/mdebeurs/hep/MG5_aMC_v2_6_0/madgraph/interface/extended_cmd.py", line 1392, in onecmd_orig
> return func(arg, **opt)
> File "/data/atlas/users/mdebeurs/hep/MG5_aMC_v2_6_0/madgraph/interface/common_run_interface.py", line 3463, in do_decay_events
> madspin_cmd.import_command_file(path)
> File "/data/atlas/users/mdebeurs/hep/MG5_aMC_v2_6_0/madgraph/interface/extended_cmd.py", line 1580, in import_command_file
> self.exec_cmd(line, precmd=True)
> File "/data/atlas/users/mdebeurs/hep/MG5_aMC_v2_6_0/madgraph/interface/extended_cmd.py", line 1465, in exec_cmd
> stop = Cmd.onecmd_orig(current_interface, line, **opt)
> File "/data/atlas/users/mdebeurs/hep/MG5_aMC_v2_6_0/madgraph/interface/extended_cmd.py", line 1392, in onecmd_orig
> return func(arg, **opt)
> File "/data/atlas/users/mdebeurs/hep/MG5_aMC_v2_6_0/madgraph/various/misc.py", line 99, in f_with_no_logger
> out = f(self, *args, **opt)
> File "/data/atlas/users/mdebeurs/hep/MG5_aMC_v2_6_0/MadSpin/interface_madspin.py", line 582, in do_launch
> generate_all.run()
> File "/data/atlas/users/mdebeurs/hep/MG5_aMC_v2_6_0/MadSpin/decay.py", line 2123, in run
> self.ending_run()
> File "/data/atlas/users/mdebeurs/hep/MG5_aMC_v2_6_0/MadSpin/decay.py", line 2129, in ending_run
> efficiency = self.decaying_events(self.inverted_decay_mapping)
> File "/data/atlas/users/mdebeurs/hep/MG5_aMC_v2_6_0/MadSpin/decay.py", line 2252, in decaying_events
> output = self.loadfortran( 'unweighting', decay_me['path'], stdin_text)
> File "/data/atlas/users/mdebeurs/hep/MG5_aMC_v2_6_0/MadSpin/decay.py", line 3356, in loadfortran
> nexternal=int(firstline[0])
> IndexError: list index out of range
> Value of current Options:
> text_editor : vim
> notification_center : False
> pjfry : None
> cluster_local_path : None
> group_subprocesses : Auto
> ignore_six_quark_processes : False
> loop_optimized_output : True
> cluster_status_update : (600, 30)
> fortran_compiler : None
> hepmc_path : None
> collier : /data/atlas/users/mdebeurs/hep/MG5_aMC_v2_6_0/HEPTools/lib
> auto_update : 0
> pythia8_path : /data/atlas/users/mdebeurs/hep/MG5_aMC_v2_6_0/HEPTools/pythia8
> hwpp_path : None
> low_mem_multicore_nlo_generation : False
> golem : None
> pythia-pgs_path : None
> td_path : None
> delphes_path : None
> thepeg_path : None
> cluster_type : pbs
> madanalysis5_path : None
> exrootanalysis_path : /data/atlas/users/mdebeurs/hep/MG5_aMC_v2_6_0/ExRootAnalysis
> OLP : MadLoop
> applgrid : applgrid-config
> eps_viewer : None
> fastjet : /data/atlas/users/mdebeurs/hep/MG5_aMC_v2_6_0/HEPTools/fastjet-3.3.0/fastjet-install/bin/fastjet-config
> run_mode : 2
> web_browser : None
> automatic_html_opening : False
> cluster_temp_path : None
> cluster_size : 100
> cluster_queue : generic
> syscalc_path : None
> madanalysis_path : None
> lhapdf : /data/atlas/users/mdebeurs/hep/MG5_aMC_v2_6_0/HEPTools/lhapdf6/bin/lhapdf-config
> stdout_level : 20
> nb_core : 8
> f2py_compiler : None
> ninja : /data/atlas/users/mdebeurs/hep/MG5_aMC_v2_6_0/HEPTools/lib
> amcfast : amcfast-config
> cluster_retry_wait : 300
> output_dependencies : external
> crash_on_error : False
> mg5amc_py8_interface_path : /data/atlas/users/mdebeurs/hep/MG5_aMC_v2_6_0/HEPTools/MG5aMC_PY8_interface
> loop_color_flows : False
> samurai : None
> cluster_nb_retry : 1
> mg5_path : /data/atlas/users/mdebeurs/hep/MG5_aMC_v2_6_0
> timeout : 60
> gauge : unitary
> complex_mass_scheme : False
> cpp_compiler : None
> max_npoint_for_channel : 0
> #************************************************************
> #* MadGraph5_aMC@NLO *
> #* *
> #* * * *
> #* * * * * *
> #* * * * * 5 * * * * *
> #* * * * * *
> #* * * *
> #* *
> #* *
> #* VERSION 2.6.0 2017-08-16 *
> #* *
> #* The MadGraph5_aMC@NLO Development Team - Find us at *
> #* https://server06.fynu.ucl.ac.be/projects/madgraph *
> #* *
> #************************************************************
> #* *
> #* Command File for MadGraph5_aMC@NLO *
> #* *
> #* run as ./bin/mg5_aMC filename *
> #* *
> #************************************************************
> set group_subprocesses Auto
> set ignore_six_quark_processes False
> set loop_optimized_output True
> set low_mem_multicore_nlo_generation False
> set loop_color_flows False
> set gauge unitary
> set complex_mass_scheme False
> set max_npoint_for_channel 0
> import model loop_sm-no_b_mass
> define p = g u c d s u~ c~ d~ s~
> define j = g u c d s u~ c~ d~ s~
> define l+ = e+ mu+
> define l- = e- mu-
> define vl = ve vm vt
> define vl~ = ve~ vm~ vt~
> define p = 21 2 4 1 3 -2 -4 -1 -3 5 -5 # pass to 5 flavors
> define j = p
> generate p p > p w+ b $$ z a QED=3 QCD=0 [QCD]
> output henk
> ######################################################################
> ## PARAM_CARD AUTOMATICALY GENERATED BY MG5 FOLLOWING UFO MODEL ####
> ######################################################################
> ## ##
> ## Width set on Auto will be computed following the information ##
> ## present in the decay.py files of the model. ##
> ## See arXiv:1402.1178 for more details. ##
> ## ##
> ######################################################################
>
> ###################################
> ## INFORMATION FOR LOOP
> ###################################
> Block loop
> 1 9.118800e+01 # MU_R
>
> ###################################
> ## INFORMATION FOR MASS
> ###################################
> Block mass
> 6 1.730000e+02 # MT
> 15 1.777000e+00 # MTA
> 23 9.118800e+01 # MZ
> 25 1.250000e+02 # MH
> ## Dependent parameters, given by model restrictions.
> ## Those values should be edited following the
> ## analytical expression. MG5 ignores those values
> ## but they are important for interfacing the output of MG5
> ## to external program such as Pythia.
> 1 0.000000 # d : 0.0
> 2 0.000000 # u : 0.0
> 3 0.000000 # s : 0.0
> 4 0.000000 # c : 0.0
> 5 0.000000 # b : 0.0
> 11 0.000000 # e- : 0.0
> 12 0.000000 # ve : 0.0
> 13 0.000000 # mu- : 0.0
> 14 0.000000 # vm : 0.0
> 16 0.000000 # vt : 0.0
> 21 0.000000 # g : 0.0
> 22 0.000000 # a : 0.0
> 24 80.419002 # w+ : cmath.sqrt(MZ__exp__2/2. + cmath.sqrt(MZ__exp__4/4. - (aEW*cmath.pi*MZ__exp__2)/(Gf*sqrt__2)))
>
> ###################################
> ## INFORMATION FOR SMINPUTS
> ###################################
> Block sminputs
> 1 1.325070e+02 # aEWM1
> 2 1.166390e-05 # Gf
> 3 1.180000e-01 # aS
>
> ###################################
> ## INFORMATION FOR YUKAWA
> ###################################
> Block yukawa
> 6 1.730000e+02 # ymt
> 15 1.777000e+00 # ymtau
>
> ###################################
> ## INFORMATION FOR DECAY
> ###################################
> DECAY 6 1.491500e+00 # WT
> DECAY 23 2.441404e+00 # WZ
> DECAY 24 2.047600e+00 # WW
> DECAY 25 6.382339e-03 # WH
> ## Dependent parameters, given by model restrictions.
> ## Those values should be edited following the
> ## analytical expression. MG5 ignores those values
> ## but they are important for interfacing the output of MG5
> ## to external program such as Pythia.
> DECAY 1 0.000000 # d : 0.0
> DECAY 2 0.000000 # u : 0.0
> DECAY 3 0.000000 # s : 0.0
> DECAY 4 0.000000 # c : 0.0
> DECAY 5 0.000000 # b : 0.0
> DECAY 11 0.000000 # e- : 0.0
> DECAY 12 0.000000 # ve : 0.0
> DECAY 13 0.000000 # mu- : 0.0
> DECAY 14 0.000000 # vm : 0.0
> DECAY 15 0.000000 # ta- : 0.0
> DECAY 16 0.000000 # vt : 0.0
> DECAY 21 0.000000 # g : 0.0
> DECAY 22 0.000000 # a : 0.0
> #***********************************************************************
> # MadGraph5_aMC@NLO *
> # *
> # run_card.dat aMC@NLO *
> # *
> # This file is used to set the parameters of the run. *
> # *
> # Some notation/conventions: *
> # *
> # Lines starting with a hash (#) are info or comments *
> # *
> # mind the format: value = variable ! comment *
> # *
> # Some of the values of variables can be list. These can either be *
> # comma or space separated. *
> #***********************************************************************
> #
> #*******************
> # Running parameters
> #*******************
> #
> #***********************************************************************
> # Tag name for the run (one word) *
> #***********************************************************************
> tag_1 = run_tag ! name of the run
> #***********************************************************************
> # Number of LHE events (and their normalization) and the required *
> # (relative) accuracy on the Xsec. *
> # These values are ignored for fixed order runs *
> #***********************************************************************
> 100000 = nevents ! Number of unweighted events requested
> -1.0 = req_acc ! Required accuracy (-1=auto determined from nevents)
> -1 = nevt_job ! Max number of events per job in event generation.
> ! (-1= no split).
> #***********************************************************************
> # Normalize the weights of LHE events such that they sum or average to *
> # the total cross section *
> #***********************************************************************
> average = event_norm ! valid settings: average, sum, bias
> #***********************************************************************
> # Number of points per itegration channel (ignored for aMC@NLO runs) *
> #***********************************************************************
> 0.01 = req_acc_fo ! Required accuracy (-1=ignored, and use the
> ! number of points and iter. below)
> # These numbers are ignored except if req_acc_FO is equal to -1
> 5000 = npoints_fo_grid ! number of points to setup grids
> 4 = niters_fo_grid ! number of iter. to setup grids
> 10000 = npoints_fo ! number of points to compute Xsec
> 6 = niters_fo ! number of iter. to compute Xsec
> #***********************************************************************
> # Random number seed *
> #***********************************************************************
> 0 = iseed ! rnd seed (0=assigned automatically=default))
> #***********************************************************************
> # Collider type and energy *
> #***********************************************************************
> 1 = lpp1 ! beam 1 type (0 = no PDF)
> 1 = lpp2 ! beam 2 type (0 = no PDF)
> 6500.0 = ebeam1 ! beam 1 energy in GeV
> 6500.0 = ebeam2 ! beam 2 energy in GeV
> #***********************************************************************
> # PDF choice: this automatically fixes also alpha_s(MZ) and its evol. *
> #***********************************************************************
> nn23nlo = pdlabel ! PDF set
> 244600 = lhaid ! If pdlabel=lhapdf, this is the lhapdf number. Only
> ! numbers for central PDF sets are allowed. Can be a list;
> ! PDF sets beyond the first are included via reweighting.
> #***********************************************************************
> # Include the NLO Monte Carlo subtr. terms for the following parton *
> # shower (HERWIG6 | HERWIGPP | PYTHIA6Q | PYTHIA6PT | PYTHIA8) *
> # WARNING: PYTHIA6PT works only for processes without FSR!!!! *
> #***********************************************************************
> HERWIG6 = parton_shower
> 1.0 = shower_scale_factor ! multiply default shower starting
> ! scale by this factor
> #***********************************************************************
> # Renormalization and factorization scales *
> # (Default functional form for the non-fixed scales is the sum of *
> # the transverse masses divided by two of all final state particles *
> # and partons. This can be changed in SubProcesses/set_scales.f or via *
> # dynamical_scale_choice option) *
> #***********************************************************************
> False = fixed_ren_scale ! if .true. use fixed ren scale
> False = fixed_fac_scale ! if .true. use fixed fac scale
> 91.118 = mur_ref_fixed ! fixed ren reference scale
> 91.118 = muf_ref_fixed ! fixed fact reference scale
> -1 = dynamical_scale_choice ! Choose one (or more) of the predefined
> ! dynamical choices. Can be a list; scale choices beyond the
> ! first are included via reweighting
> 1.0 = mur_over_ref ! ratio of current muR over reference muR
> 1.0 = muf_over_ref ! ratio of current muF over reference muF
> #***********************************************************************
> # Reweight variables for scale dependence and PDF uncertainty *
> #***********************************************************************
> 1.0, 2.0, 0.5 = rw_rscale ! muR factors to be included by reweighting
> 1.0, 2.0, 0.5 = rw_fscale ! muF factors to be included by reweighting
> True = reweight_scale ! Reweight to get scale variation using the
> ! rw_rscale and rw_fscale factors. Should be a list of
> ! booleans of equal length to dynamical_scale_choice to
> ! specify for which choice to include scale dependence.
> False = reweight_pdf ! Reweight to get PDF uncertainty. Should be a
> ! list booleans of equal length to lhaid to specify for
> ! which PDF set to include the uncertainties.
> #***********************************************************************
> # Store reweight information in the LHE file for off-line model- *
> # parameter reweighting at NLO+PS accuracy *
> #***********************************************************************
> False = store_rwgt_info ! Store info for reweighting in LHE file
> #***********************************************************************
> # ickkw parameter: *
> # 0: No merging *
> # 3: FxFx Merging - WARNING! Applies merging only at the hard-event *
> # level. After showering an MLM-type merging should be applied as *
> # well. See http://amcatnlo.cern.ch/FxFx_merging.htm for details. *
> # 4: UNLOPS merging (with pythia8 only). No interface from within *
> # MG5_aMC available, but available in Pythia8. *
> # -1: NNLL+NLO jet-veto computation. See arxiv:1412.8408 [hep-ph]. *
> #***********************************************************************
> 0 = ickkw
> #***********************************************************************
> #
> #***********************************************************************
> # BW cutoff (M+/-bwcutoff*Gamma). Determines which resonances are *
> # written in the LHE event file *
> #***********************************************************************
> 15.0 = bwcutoff
> #***********************************************************************
> # Cuts on the jets. Jet clustering is performed by FastJet. *
> # - When matching to a parton shower, these generation cuts should be *
> # considerably softer than the analysis cuts. *
> # - More specific cuts can be specified in SubProcesses/cuts.f *
> #***********************************************************************
> 1.0 = jetalgo ! FastJet jet algorithm (1=kT, 0=C/A, -1=anti-kT)
> 0.7 = jetradius ! The radius parameter for the jet algorithm
> 10.0 = ptj ! Min jet transverse momentum
> -1.0 = etaj ! Max jet abs(pseudo-rap) (a value .lt.0 means no cut)
> #***********************************************************************
> # Cuts on the charged leptons (e+, e-, mu+, mu-, tau+ and tau-) *
> # More specific cuts can be specified in SubProcesses/cuts.f *
> #***********************************************************************
> 0.0 = ptl ! Min lepton transverse momentum
> -1.0 = etal ! Max lepton abs(pseudo-rap) (a value .lt.0 means no cut)
> 0.0 = drll ! Min distance between opposite sign lepton pairs
> 0.0 = drll_sf ! Min distance between opp. sign same-flavor lepton pairs
> 0.0 = mll ! Min inv. mass of all opposite sign lepton pairs
> 30.0 = mll_sf ! Min inv. mass of all opp. sign same-flavor lepton pairs
> #***********************************************************************
> # Photon-isolation cuts, according to hep-ph/9801442. When ptgmin=0, *
> # all the other parameters are ignored. *
> # More specific cuts can be specified in SubProcesses/cuts.f *
> #***********************************************************************
> 20.0 = ptgmin ! Min photon transverse momentum
> -1.0 = etagamma ! Max photon abs(pseudo-rap)
> 0.4 = r0gamma ! Radius of isolation code
> 1.0 = xn ! n parameter of eq.(3.4) in hep-ph/9801442
> 1.0 = epsgamma ! epsilon_gamma parameter of eq.(3.4) in hep-ph/9801442
> True = isoem ! isolate photons from EM energy (photons and leptons)
> #***********************************************************************
> # For aMCfast+APPLGRID use in PDF fitting (http://amcfast.hepforge.org)*
> #***********************************************************************
> 0 = iappl ! aMCfast switch (0=OFF, 1=prepare grids, 2=fill grids)
> #***********************************************************************
>
>
>
> --
> You received this question notification because you are an answer
> contact for MadGraph5_aMC@NLO.

Marc de Beurs (mdebeurs) said : #2

Hi Olivier,

Sorry for getting back so late on this. But could your error be fixed when setting the complex mass scheme to true?

Cheers Marc

Hi Marc,

In your debug file, it is state that you are not in complex mass-scheme,
in top of that, the main problem that I see in your syntax is related to the fact that you have massless b.
But that you have a b in the final state, this is a statement which is badly define @NLO accuracy.

So I do not think that retying your run with complex mass scheme to ON will help.
But if it does, please tell me and I will run the check.

Cheers,

Olivier

Marc de Beurs (mdebeurs) said : #4

Hi Olivier,

I am a bit confused what you mean by this.
According to paper:
https://arxiv.org/pdf/1603.01178.pdf

My syntax should be fine if the complex mass scheme is implemented. I was running some tests to see why and when the madspin error occurred and that is the reason why the process above does not have a complex mass scheme. Sorry about that.
The madspin error is still present by the way.

Cheers Marc

Can you help with this problem?

Provide an answer of your own, or ask Marc de Beurs for more information if necessary.

To post a message you must log in.