/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits PyFITSDeprecationWarning) # noqa Likelihood Analysis Tool Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov) Waiting 127 seconds before starting... Proceeding. Importing modules... This is make3FGLxml version 01r0. The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher. This is make4FGLxml version 01r04. The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher. WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). /nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead. warnings.warn(message, mplDeprecation, stacklevel=1) WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). number of points = 7435 number of fields = 29 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1158.5+4824_daily_bin476 RA = 179.637, Dec = 48.4161 tmin = 362707201, tmax = 362966401 emin = 100.0, emax = 100000.0 irfs = P8R3_SOURCE_V2 ROI = 12 zmax = 90 Fitting strategies: Fix sources to their catalog values = True Leave variable source normalizations free = True Perform pre-fit where ALL sources are frozen to catalog values = False Perform secondary fit with a free spectral index = True Remove all catalog sources = False Remove weak (TS < 2) catalog sources = False Freeze Galactic component = False Likelihood fit parameters: Statistic: UNBINNED Optimizer: MINUIT Catalog: 4FGL Repository Job = True LAT data Source: Data catalog Updating database... UPDATE lightcurve_data_v2 SET job_id='196266', job_status='RUN', time_executed='2021-09-04 17:34:13.667756', time_epoch_executed='1630802053.67' WHERE source_name='4FGL J1158.5+4824' and cadence='daily' and bin_id='476' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/196266 Creating custom pfile directory: /scratch/kocevski/196266/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=362707201.0 && nMetStart<362966401.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=362707201.0 && nMetStart<362966401.0' /Data/Flight/Level1/LPA Retrieving 50 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/196266/ft1_4FGL_J1158.5+4824_daily_bin476.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=362707201.0 && nMetStart<362966401.0' /Data/Flight/Level1/LPA Retrieving 50 files... Done. Merging files... Merged file saved to: /scratch/kocevski/196266/ft2_4FGL_J1158.5+4824_daily_bin476.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/196266/ft1_4FGL_J1158.5+4824_daily_bin476.fits outfile=/scratch/kocevski/196266/ft1_filteredMKT_4FGL_J1158.5+4824_daily_bin476.fits ra=179.637 dec=48.4161 rad=12.0 tmin=362707201.0 tmax=362966401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). Done. real 5.86 user 5.64 sys 0.20 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/196266/ft2_4FGL_J1158.5+4824_daily_bin476.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/196266/ft2_4FGL_J1158.5+4824_daily_bin476.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/scratch/kocevski/196266/ft1_filteredMKT_4FGL_J1158.5+4824_daily_bin476.fits evtable="EVENTS" outfile="/scratch/kocevski/196266/ft1_filtered_4FGL_J1158.5+4824_daily_bin476.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtmktime version HEAD Applying GTI filter: IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2)) real 0.49 user 0.35 sys 0.13 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/196266/ft1_filtered_4FGL_J1158.5+4824_daily_bin476.fits" evtable="EVENTS" scfile=/scratch/kocevski/196266/ft2_4FGL_J1158.5+4824_daily_bin476.fits sctable="SC_DATA" outfile=/scratch/kocevski/196266/ltcube_362707201_362966401_4FGL_J1158.5+4824_daily_bin476.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). Working on file /scratch/kocevski/196266/ft2_4FGL_J1158.5+4824_daily_bin476.fits .....................! real 11.47 user 11.15 sys 0.29 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/196266/ft1_filtered_4FGL_J1158.5+4824_daily_bin476.fits evtable="EVENTS" scfile=/scratch/kocevski/196266/ft2_4FGL_J1158.5+4824_daily_bin476.fits sctable="SC_DATA" expcube=/scratch/kocevski/196266/ltcube_362707201_362966401_4FGL_J1158.5+4824_daily_bin476.fits outfile=/scratch/kocevski/196266/expmap_362707201_362966401_4FGL_J1158.5+4824_daily_bin476.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). The exposure maps generated by this tool are meant to be used for *unbinned* likelihood analysis only. Do not use them for binned analyses. Computing the ExposureMap using /scratch/kocevski/196266/ltcube_362707201_362966401_4FGL_J1158.5+4824_daily_bin476.fits .....................! real 188.97 user 184.83 sys 3.78 Generating the xml model: radLim = 0.001 maxRad = 12 normsOnly = True freeVariableSources = True Fixing all sources to their catalog values, except variable sources Creating file and adding sources from 4FGL Added 213 point sources and 0 extended sources Setting source of interest to: 4FGL J1158.5+4824 @ 179.637 48.4161 Creating the counts map: time -p gtbin evfile=/scratch/kocevski/196266/ft1_filtered_4FGL_J1158.5+4824_daily_bin476.fits scfile=/scratch/kocevski/196266/ft2_4FGL_J1158.5+4824_daily_bin476.fits outfile=/scratch/kocevski/196266/cmap_362707201_362966401_4FGL_J1158.5+4824_daily_bin476.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=179.637 yref=48.4161 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 0.54 user 0.38 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/196266/ft1_filtered_4FGL_J1158.5+4824_daily_bin476.fits scfile=/scratch/kocevski/196266/ft2_4FGL_J1158.5+4824_daily_bin476.fits outfile=/scratch/kocevski/196266/cmap_HighResolution_362707201_362966401_4FGL_J1158.5+4824_daily_bin476.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=179.637 yref=48.4161 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 0.55 user 0.39 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/196266/ft1_filtered_4FGL_J1158.5+4824_daily_bin476.fits evtable="EVENTS" scfile=/scratch/kocevski/196266/ft2_4FGL_J1158.5+4824_daily_bin476.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/196266/Model_4FGL_J1158.5+4824_daily_bin476.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). adding source EG_v02 adding source GAL_V02 Working on... /scratch/kocevski/196266/ft1_filtered_4FGL_J1158.5+4824_daily_bin476.fits.....................! real 49.59 user 48.09 sys 1.14 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/196266/ft1_filtered_4FGL_J1158.5+4824_daily_bin476.fits', '/scratch/kocevski/196266/ft2_4FGL_J1158.5+4824_daily_bin476.fits', expMap='/scratch/kocevski/196266/expmap_362707201_362966401_4FGL_J1158.5+4824_daily_bin476.fits', expCube='/scratch/kocevski/196266/ltcube_362707201_362966401_4FGL_J1158.5+4824_daily_bin476.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/196266/Model_4FGL_J1158.5+4824_daily_bin476.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1158.5+4824' 4FGL J1158.5+4824 Spectrum: PowerLaw 349 Prefactor: 5.005e+00 0.000e+00 1.000e-04 1.000e+04 ( 1.000e-13) 350 Index: 2.443e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 351 Scale: 9.466e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /scratch/kocevski/196266/ft1_filtered_4FGL_J1158.5+4824_daily_bin476.fits Spacecraft file(s): /scratch/kocevski/196266/ft2_4FGL_J1158.5+4824_daily_bin476.fits Exposure map: /scratch/kocevski/196266/expmap_362707201_362966401_4FGL_J1158.5+4824_daily_bin476.fits Exposure cube: /scratch/kocevski/196266/ltcube_362707201_362966401_4FGL_J1158.5+4824_daily_bin476.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/196266/Model_4FGL_J1158.5+4824_daily_bin476.xml Optimizer: MINUIT Statistic: UNBINNED Performing an iterative likelihood fit... Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 5785.81529866 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 5785.80983207 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10036E-03 1.0000 .10000E-03 10000. 2 'Prefactor ' 103.20 1.0000 .10000E-03 10000. 3 'Prefactor ' 65.895 1.0000 .10000E-03 10000. 4 'Prefactor ' 90.591 1.0000 .10000E-03 10000. 5 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 6 'norm ' 4.6630 1.0000 .10000E-03 10000. 7 'Prefactor ' .10006E-03 1.0000 .10000E-03 10000. 8 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 9 'norm ' 2.4268 1.0000 .10000E-03 10000. 10 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 11 'norm ' 2.0608 1.0000 .10000E-03 10000. 12 'norm ' .10000E-03 1.0000 .10000E-03 10000. 13 'Prefactor ' .44056 1.0000 .10000E-03 10000. 14 'Prefactor ' 67.096 1.0000 .10000E-03 10000. 15 'norm ' 23.637 1.0000 .10000E-03 10000. 16 'Prefactor ' 8.7641 1.0000 .10000E-03 10000. 17 'norm ' .11930E-03 1.0000 .10000E-03 10000. 18 'norm ' .10005E-03 1.0000 .10000E-03 10000. 19 'Prefactor ' .10072E-03 1.0000 .10000E-03 10000. 20 'Prefactor ' .10007E-03 1.0000 .10000E-03 10000. 21 'Prefactor ' .10294E-03 1.0000 .10000E-03 10000. 22 'norm ' 4.2128 1.0000 .10000E-03 10000. 23 'Prefactor ' .10004E-03 1.0000 .10000E-03 10000. 24 'Normalizat' .79807 1.0000 .10000E-01 10.000 25 'Prefactor ' 1.1392 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6830E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. FCN= 5785.810 FROM MIGRAD STATUS=CONVERGED 575 CALLS 2879 TOTAL EDM= .17E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.6% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 26.369 -.52617E-07** at limit ** 2 Prefactor 103.21 106.06 .25859E-06 .15796E-04 3 Prefactor 65.933 117.59 .13335E-05 .37585E-04 4 Prefactor 90.581 68.268 .14317E-06 -.40743E-04 5 Prefactor .10000E-03 151.68 .85221E-07** at limit ** 6 norm 4.6083 87.174 -.23957E-05 -.55267E-04 7 Prefactor .10000E-03 2.4619 -.24999E-07** at limit ** 8 Prefactor .10000E-03 14.992 .14057E-07** at limit ** 9 norm 2.4266 2.3185 .57887E-07 -.38565E-04 10 Prefactor .10000E-03 16.661 .26279E-07** at limit ** 11 norm 2.0608 1.1161 .15552E-07 -.30698E-04 12 norm .10000E-03 3.1758 .16153E-07** at limit ** 13 Prefactor .44323 3.6671 .32989E-05 -.17471E-03 14 Prefactor 67.099 52.337 .11051E-06 .10238E-04 15 norm 23.642 10.025 .88113E-07 -.29616E-04 16 Prefactor 8.7546 21.484 -.40856E-05 -.14327E-03 17 norm .10000E-03 1.1865 .17556E-07** at limit ** 18 norm .10000E-03 2.0294 .15408E-07** at limit ** 19 Prefactor .10000E-03 16.254 .21503E-07** at limit ** 20 Prefactor .10000E-03 2.9031 .12904E-07** at limit ** 21 Prefactor .10000E-03 21.630 .74449E-09** at limit ** 22 norm 4.2131 2.1628 .16167E-07 -.16829E-04 23 Prefactor .10000E-03 20.362 .78883E-07** at limit ** 24 Normalizat .79741 .17127 -.16883E-05 -.35096E-04 25 Prefactor 1.1399 .20525 .12694E-05 -.19464E-03 ERR DEF= .500 Final values: Prefactor = 0.0001 Prefactor = 103.208 Prefactor = 65.933 Prefactor = 90.5812 Prefactor = 0.0001 norm = 4.60826 Prefactor = 0.0001 Prefactor = 0.0001 norm = 2.42663 Prefactor = 0.0001 norm = 2.06085 norm = 0.0001 Prefactor = 0.443233 Prefactor = 67.0995 norm = 23.6417 Prefactor = 8.7546 norm = 0.0001 norm = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 norm = 4.21307 Prefactor = 0.0001 Normalizat = 0.797406 Prefactor = 1.13995 ********** ** 18 **HESSE ********** FCN= 5785.810 FROM HESSE STATUS=OK 423 CALLS 3302 TOTAL EDM= .72E-07 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 26.371 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor 103.21 106.07 .19790E-03 -1.3673 3 Prefactor 65.933 117.77 .49440E-04 -1.4082 4 Prefactor 90.581 68.610 .42218E-04 -1.3802 5 Prefactor .10000E-03 152.05 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 norm 4.6083 88.369 .18637E-03 -1.5279 7 Prefactor .10000E-03 2.4806 .11652E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor .10000E-03 15.012 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 norm 2.4266 2.3091 .10974E-03 -1.5396 10 Prefactor .10000E-03 16.683 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 norm 2.0608 1.1145 .55249E-04 -1.5421 12 norm .10000E-03 3.1768 .13238E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor .44323 3.9050 .24908E-02 -1.5575 14 Prefactor 67.099 52.456 .48999E-04 -1.4068 15 norm 23.642 10.037 .82391E-04 -1.4735 16 Prefactor 8.7546 22.308 .13540E-03 -1.5116 17 norm .10000E-03 2.8449 .15936E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 norm .10000E-03 2.0335 .10581E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor .10000E-03 16.349 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Prefactor .10000E-03 2.9243 .12655E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 Prefactor .10000E-03 21.809 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 norm 4.2131 2.1622 .77716E-04 -1.5297 23 Prefactor .10000E-03 20.370 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 Normalizat .79741 .19907 .24402E-03 -1.0016 25 Prefactor 1.1399 .24063 .26127E-03 -.88200 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 7.21861e-08 Minuit parameter uncertainties: 1 1.23471e-05 2 106.268 3 118.187 4 68.6697 5 0.000420627 6 40.4283 7 2.62159e-06 8 1.06442e-05 9 2.30914 10 2.82642e-06 11 1.11448 12 4.32604e-08 13 2.63116 14 52.4919 15 10.0372 16 22.3291 17 1.24678e-05 18 1.22745e-06 19 2.22482e-06 20 1.83902e-06 21 1.73017e-05 22 2.16224 23 3.49155e-05 24 0.199253 25 0.240857 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 5785.80982128 Extracting fit parameters... 4FGL J1158.5+4824 Spectrum: PowerLaw 349 Prefactor: 8.755e+00 2.233e+01 1.000e-04 1.000e+04 ( 1.000e-13) 350 Index: 2.443e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 351 Scale: 9.466e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 680 Prefactor: 1.140e+00 2.409e-01 0.000e+00 1.000e+01 ( 1.000e+00) 681 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 682 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 679 Normalization: 7.974e-01 1.993e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.22 Ra Dec: 179.637 48.416 Photon Flux Upper Limit: 8.92e-08 ph cm-2 s-1 Energy Flux Upper Limit: 6.91e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/196266/likelihoodResults_362707201_362966401_4FGL_J1158.5+4824_daily_bin476.txt Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 5783.62912961 delta logL = 2.1806916727 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 5783.5885695 delta logL = 2.2212517823 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .62410E-01 1.0000 .10000E-03 10000. 2 'Index ' 5.9931 1.0000 .0000 10.000 3 'Normalizat' .68639 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.2353 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6830E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 5783.589 FROM MIGRAD STATUS=CONVERGED 53 CALLS 364 TOTAL EDM= .27E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .62150E-01 .54746 .23176E-02 .78736E-03 2 Index 5.9961 2.4588 .90599E-01 .12198E-03 3 Normalizat .68630 .49481E-01 .42109E-01 .36188E-04 4 Prefactor 1.2355 .62307E-01 .57039E-01 .21616E-04 ERR DEF= .500 Final values: Prefactor = 0.06215 Index = 5.99605 Normalizat = 0.686303 Prefactor = 1.23547 ********** ** 18 **HESSE ********** FCN= 5783.589 FROM HESSE STATUS=NOT POSDEF 33 CALLS 397 TOTAL EDM= .24E-06 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .62150E-01 1.0035 .10408E-04 -1.5658 2 Index 5.9961 3.4733 .36958E-02 .20055 3 Normalizat .68630 .17030 .26101E-03 -1.0444 4 Prefactor 1.2355 .21133 .25222E-03 -.85247 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 2.42446e-07 Minuit parameter uncertainties: 1 0.499088 2 3.86046 3 0.170427 4 0.211474 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/196266': No such file or directory shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 5783.58856207 delta logL = 2.22125921501 Extracting fit parameters... 4FGL J1158.5+4824 Spectrum: PowerLaw 349 Prefactor: 6.215e-02 4.991e-01 1.000e-04 1.000e+04 ( 1.000e-13) 350 Index: 5.996e+00 3.860e+00 0.000e+00 1.000e+01 (-1.000e+00) 351 Scale: 9.466e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 680 Prefactor: 1.235e+00 2.115e-01 0.000e+00 1.000e+01 ( 1.000e+00) 681 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 682 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 679 Normalization: 6.863e-01 1.704e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 5.02 Ra Dec: 179.637 48.416 Photon Index (Free Index): 6.00 +/- 3.86 Photon Flux (Free Index): 8.96e-08 +/- 5.08e-08 Energy Flux (Free Index): 1.12e-05 +/- 7.07e-06 Creating a high resolution counts map... INFO: Auto-setting vmin to 0.000e+00 [aplpy.core] INFO: Auto-setting vmax to 0.000e+00 [aplpy.core] Saving /scratch/kocevski/196266/cmap_HighResolution_362707201_362966401_4FGL_J1158.5+4824_daily_bin476.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/196266 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.91e-03', comment='SUCCESS', energy_flux2='1.12e-05', dlogl='2.22e+00', photon_flux2='8.96e-08', job_status='DONE', time_completed='2021-09-04 17:46:47.544109', photon_index_error2='3.86', photon_index2='6.00', ts='0.22', fit_tolerance='1e-08', GAL='1.14', photon_index_error='0.00', photon_flux_upper_limit='8.92e-08', energy_flux_error2='7.07e-06', EG='0.80', time_epoch_completed='1630802807.54', return_code='0', job_id='196266', GAL2='1.24', EG2='0.69', return_code2='102', photon_flux_error2='5.08e-08', ts2='5.02', photon_index='2.44' WHERE bin_id='476' AND source_name='4FGL J1158.5+4824' AND cadence='daily'; Database successfully updated. Analysis Complete. Sat Sep 4 17:46:47 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 196266: <4FGL_J1158.5+4824_daily_bin476> in cluster Done Job <4FGL_J1158.5+4824_daily_bin476> was submitted from host by user in cluster at Sat Sep 4 17:31:28 2021 Job was executed on host(s) , in queue , as user in cluster at Sat Sep 4 17:31:30 2021 was used as the home directory. was used as the working directory. Started at Sat Sep 4 17:31:30 2021 Terminated at Sat Sep 4 17:46:48 2021 Results reported at Sat Sep 4 17:46:48 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1158.5+4824_daily_bin476 179.637 48.4161 362707201 362966401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1158.5+4824 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False ------------------------------------------------------------ Successfully completed. Resource usage summary: CPU time : 751.33 sec. Max Memory : 1095 MB Average Memory : 270.75 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 917 sec. Turnaround time : 920 sec. The output (if any) is above this job summary.