/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 226 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 = 7474 number of fields = 29 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1158.5+4824_daily_bin624 RA = 179.637, Dec = 48.4161 tmin = 401068801, tmax = 401328001 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='197728', job_status='RUN', time_executed='2021-09-04 17:40:14.581965', time_epoch_executed='1630802414.58' WHERE source_name='4FGL J1158.5+4824' and cadence='daily' and bin_id='624' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/197728 Creating custom pfile directory: /scratch/kocevski/197728/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=401068801.0 && nMetStart<401328001.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=401068801.0 && nMetStart<401328001.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/197728/ft1_4FGL_J1158.5+4824_daily_bin624.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=401068801.0 && nMetStart<401328001.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Merged file saved to: /scratch/kocevski/197728/ft2_4FGL_J1158.5+4824_daily_bin624.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/197728/ft1_4FGL_J1158.5+4824_daily_bin624.fits outfile=/scratch/kocevski/197728/ft1_filteredMKT_4FGL_J1158.5+4824_daily_bin624.fits ra=179.637 dec=48.4161 rad=12.0 tmin=401068801.0 tmax=401328001.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 3.37 user 3.15 sys 0.20 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/197728/ft2_4FGL_J1158.5+4824_daily_bin624.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/197728/ft2_4FGL_J1158.5+4824_daily_bin624.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/197728/ft1_filteredMKT_4FGL_J1158.5+4824_daily_bin624.fits evtable="EVENTS" outfile="/scratch/kocevski/197728/ft1_filtered_4FGL_J1158.5+4824_daily_bin624.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.32 sys 0.16 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/197728/ft1_filtered_4FGL_J1158.5+4824_daily_bin624.fits" evtable="EVENTS" scfile=/scratch/kocevski/197728/ft2_4FGL_J1158.5+4824_daily_bin624.fits sctable="SC_DATA" outfile=/scratch/kocevski/197728/ltcube_401068801_401328001_4FGL_J1158.5+4824_daily_bin624.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/197728/ft2_4FGL_J1158.5+4824_daily_bin624.fits .....................! real 11.92 user 11.58 sys 0.30 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/197728/ft1_filtered_4FGL_J1158.5+4824_daily_bin624.fits evtable="EVENTS" scfile=/scratch/kocevski/197728/ft2_4FGL_J1158.5+4824_daily_bin624.fits sctable="SC_DATA" expcube=/scratch/kocevski/197728/ltcube_401068801_401328001_4FGL_J1158.5+4824_daily_bin624.fits outfile=/scratch/kocevski/197728/expmap_401068801_401328001_4FGL_J1158.5+4824_daily_bin624.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/197728/ltcube_401068801_401328001_4FGL_J1158.5+4824_daily_bin624.fits .....................! real 190.46 user 185.60 sys 4.48 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/197728/ft1_filtered_4FGL_J1158.5+4824_daily_bin624.fits scfile=/scratch/kocevski/197728/ft2_4FGL_J1158.5+4824_daily_bin624.fits outfile=/scratch/kocevski/197728/cmap_401068801_401328001_4FGL_J1158.5+4824_daily_bin624.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.53 user 0.37 sys 0.15 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/197728/ft1_filtered_4FGL_J1158.5+4824_daily_bin624.fits scfile=/scratch/kocevski/197728/ft2_4FGL_J1158.5+4824_daily_bin624.fits outfile=/scratch/kocevski/197728/cmap_HighResolution_401068801_401328001_4FGL_J1158.5+4824_daily_bin624.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.38 sys 0.16 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/197728/ft1_filtered_4FGL_J1158.5+4824_daily_bin624.fits evtable="EVENTS" scfile=/scratch/kocevski/197728/ft2_4FGL_J1158.5+4824_daily_bin624.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/197728/Model_4FGL_J1158.5+4824_daily_bin624.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/197728/ft1_filtered_4FGL_J1158.5+4824_daily_bin624.fits.....................! real 48.19 user 46.72 sys 1.18 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/197728/ft1_filtered_4FGL_J1158.5+4824_daily_bin624.fits', '/scratch/kocevski/197728/ft2_4FGL_J1158.5+4824_daily_bin624.fits', expMap='/scratch/kocevski/197728/expmap_401068801_401328001_4FGL_J1158.5+4824_daily_bin624.fits', expCube='/scratch/kocevski/197728/ltcube_401068801_401328001_4FGL_J1158.5+4824_daily_bin624.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/197728/Model_4FGL_J1158.5+4824_daily_bin624.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/197728/ft1_filtered_4FGL_J1158.5+4824_daily_bin624.fits Spacecraft file(s): /scratch/kocevski/197728/ft2_4FGL_J1158.5+4824_daily_bin624.fits Exposure map: /scratch/kocevski/197728/expmap_401068801_401328001_4FGL_J1158.5+4824_daily_bin624.fits Exposure cube: /scratch/kocevski/197728/ltcube_401068801_401328001_4FGL_J1158.5+4824_daily_bin624.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/197728/Model_4FGL_J1158.5+4824_daily_bin624.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) = 5509.34023755 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 5509.32673676 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 14.198 1.0000 .10000E-03 10000. 2 'Prefactor ' .10154E-03 1.0000 .10000E-03 10000. 3 'Prefactor ' 39.400 1.0000 .10000E-03 10000. 4 'Prefactor ' 12.692 1.0000 .10000E-03 10000. 5 'Prefactor ' 72.211 1.0000 .10000E-03 10000. 6 'norm ' 65.383 1.0000 .10000E-03 10000. 7 'Prefactor ' .11992E-03 1.0000 .10000E-03 10000. 8 'Prefactor ' 8.5253 1.0000 .10000E-03 10000. 9 'norm ' 1.1251 1.0000 .10000E-03 10000. 10 'Prefactor ' .10023E-03 1.0000 .10000E-03 10000. 11 'norm ' 4.4062 1.0000 .10000E-03 10000. 12 'norm ' 7.2485 1.0000 .10000E-03 10000. 13 'Prefactor ' 7.0247 1.0000 .10000E-03 10000. 14 'Prefactor ' .10098E-03 1.0000 .10000E-03 10000. 15 'norm ' 5.2552 1.0000 .10000E-03 10000. 16 'Prefactor ' .38149E-03 1.0000 .10000E-03 10000. 17 'norm ' 3.9208 1.0000 .10000E-03 10000. 18 'norm ' 2.7490 1.0000 .10000E-03 10000. 19 'Prefactor ' .12195E-03 1.0000 .10000E-03 10000. 20 'Prefactor ' 5.9817 1.0000 .10000E-03 10000. 21 'Prefactor ' 2.1794 1.0000 .10000E-03 10000. 22 'norm ' 3.7906 1.0000 .10000E-03 10000. 23 'Prefactor ' .10876E-03 1.0000 .10000E-03 10000. 24 'Normalizat' .62210 1.0000 .10000E-01 10.000 25 'Prefactor ' 1.4368 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= 5509.327 FROM MIGRAD STATUS=CONVERGED 564 CALLS 2938 TOTAL EDM= .21E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 5.6% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 14.230 176.76 .92655E-06 .16173E-05 2 Prefactor .10000E-03 35.438 .14955E-06** at limit ** 3 Prefactor 39.600 130.90 -.83029E-06 .17042E-04 4 Prefactor 12.728 52.322 -.49683E-06 .88633E-05 5 Prefactor 72.213 81.001 .13731E-06 -.61214E-06 6 norm 65.361 73.071 .34486E-06 -.11114E-04 7 Prefactor .10000E-03 10.600 .30265E-06** at limit ** 8 Prefactor 8.5478 42.903 -.90923E-06 .27653E-05 9 norm 1.1251 1.9330 -.44901E-08 -.30338E-04 10 Prefactor .10000E-03 12.951 -.52457E-07** at limit ** 11 norm 4.4064 1.2658 .64921E-08 .78051E-05 12 norm 7.2479 6.9934 -.13543E-07 .22075E-04 13 Prefactor 7.0147 3.9957 .53252E-06 .67743E-03 14 Prefactor .10000E-03 12.113 -.11008E-07** at limit ** 15 norm 5.2513 8.4448 .15793E-06 -.57721E-04 16 Prefactor .10000E-03 166.96 -.44692E-05** at limit ** 17 norm 3.9221 2.8876 -.26348E-07 -.24724E-04 18 norm 2.7497 7.2202 -.77718E-07 .31937E-04 19 Prefactor .10000E-03 21.091 -.49205E-06** at limit ** 20 Prefactor 5.9847 7.6523 .25000E-07 -.53462E-04 21 Prefactor 2.1805 23.373 .43688E-06 -.34911E-04 22 norm 3.7907 2.2726 -.36563E-08 -.18153E-04 23 Prefactor .10000E-03 42.780 -.37925E-06** at limit ** 24 Normalizat .62148 .20766 .31545E-05 .16919E-04 25 Prefactor 1.4373 .25105 -.24457E-05 .21216E-03 ERR DEF= .500 Final values: Prefactor = 14.2299 Prefactor = 0.0001 Prefactor = 39.6002 Prefactor = 12.7283 Prefactor = 72.2131 norm = 65.3614 Prefactor = 0.0001 Prefactor = 8.54782 norm = 1.12515 Prefactor = 0.0001 norm = 4.40636 norm = 7.24788 Prefactor = 7.01466 Prefactor = 0.0001 norm = 5.25127 Prefactor = 0.0001 norm = 3.92212 norm = 2.74966 Prefactor = 0.0001 Prefactor = 5.9847 Prefactor = 2.18046 norm = 3.79073 Prefactor = 0.0001 Normalizat = 0.621483 Prefactor = 1.43731 ********** ** 18 **HESSE ********** FCN= 5509.327 FROM HESSE STATUS=OK 433 CALLS 3371 TOTAL EDM= .38E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 14.230 175.74 .10630E-03 -1.4953 2 Prefactor .10000E-03 35.444 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 39.600 131.20 .31928E-03 -1.4449 4 Prefactor 12.728 52.327 .11244E-03 -1.4994 5 Prefactor 72.213 80.993 .47244E-04 -1.4006 6 norm 65.361 73.152 .49633E-04 -1.4089 7 Prefactor .10000E-03 10.838 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor 8.5478 42.459 .13729E-03 -1.5123 9 norm 1.1251 1.8864 .13098E-03 -1.5496 10 Prefactor .10000E-03 12.961 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 norm 4.4064 1.2649 .42904E-04 -1.5288 12 norm 7.2479 6.9965 .74491E-03 -1.5169 13 Prefactor 7.0147 4.1139 .10822E-03 -1.5178 14 Prefactor .10000E-03 12.115 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 norm 5.2513 8.4108 .87669E-03 -1.5250 16 Prefactor .10000E-03 162.55 .57608E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 norm 3.9221 2.8803 .50297E-03 -1.5312 18 norm 2.7497 7.1772 .24553E-03 -1.5376 19 Prefactor .10000E-03 21.193 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Prefactor 5.9847 7.6450 .82089E-03 -1.5219 21 Prefactor 2.1805 23.570 .13944E-02 -1.5413 22 norm 3.7907 2.2722 .84158E-04 -1.5319 23 Prefactor .10000E-03 42.855 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 Normalizat .62148 .21397 .28077E-03 -1.0708 25 Prefactor 1.4373 .26063 .25114E-03 -.79311 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.76535e-10 Minuit parameter uncertainties: 1 100.382 2 4.67131e-05 3 132.174 4 51.6932 5 81.117 6 73.2526 7 4.53876e-05 8 38.1446 9 1.88648 10 7.57108e-06 11 1.26496 12 6.99726 13 4.11404 14 6.28754e-06 15 8.41274 16 3.36938e-06 17 2.88042 18 7.17948 19 2.78221e-05 20 7.64626 21 14.3448 22 2.27224 23 2.70481e-05 24 0.214254 25 0.260875 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 5509.32672399 Extracting fit parameters... 4FGL J1158.5+4824 Spectrum: PowerLaw 349 Prefactor: 1.000e-04 3.369e-06 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.437e+00 2.609e-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.215e-01 2.143e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 179.637 48.416 Photon Flux Upper Limit: 8.27e-08 ph cm-2 s-1 Energy Flux Upper Limit: 6.41e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/197728/likelihoodResults_401068801_401328001_4FGL_J1158.5+4824_daily_bin624.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): 102 logL (Free Index) = 5509.32675249 delta logL = -2.85015230475e-05 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 5509.32675248 delta logL = -2.84944253508e-05 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .96354E-02 1.0000 .10000E-03 10000. 2 'Index ' 2.4426 1.0000 .0000 10.000 3 'Normalizat' .62148 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.4373 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= 5507.889 FROM MIGRAD STATUS=CONVERGED 161 CALLS 335 TOTAL EDM= .12E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .45499E-03 .66128E-02 .29181E-03** at limit ** 2 Index 8.2318 2.5294 .13650 .10154E-03 3 Normalizat .53563 .43640E-01 .67857E-01 .90944E-04 4 Prefactor 1.5098 .57290E-01 .55602E-01 .10529E-03 ERR DEF= .500 Final values: Prefactor = 0.000454994 Index = 8.23179 Normalizat = 0.535626 Prefactor = 1.50979 ********** ** 18 **HESSE ********** FCN= 5507.889 FROM HESSE STATUS=NOT POSDEF 33 CALLS 368 TOTAL EDM= .18E-07 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .45499E-03 .14713E-01 .12555E-04 -1.5704 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 8.2318 7.8584 .55953E-02 .70280 3 Normalizat .53563 .15152 .30032E-03 -1.1079 4 Prefactor 1.5098 .19663 .24583E-03 -.77266 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 1.84586e-08 Minuit parameter uncertainties: 1 0.00457084 2 4.66577 3 0.151633 4 0.196725 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/197728': 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) = 5507.88884715 delta logL = 1.43787684043 Extracting fit parameters... 4FGL J1158.5+4824 Spectrum: PowerLaw 349 Prefactor: 4.550e-04 4.571e-03 1.000e-04 1.000e+04 ( 1.000e-13) 350 Index: 8.232e+00 4.666e+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.510e+00 1.967e-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: 5.356e-01 1.516e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 3.04 Ra Dec: 179.637 48.416 Photon Index (Free Index): 8.23 +/- 4.67 Photon Flux (Free Index): 6.97e-08 +/- 4.74e-08 Energy Flux (Free Index): 8.05e-06 +/- 5.76e-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/197728/cmap_HighResolution_401068801_401328001_4FGL_J1158.5+4824_daily_bin624.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/197728 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.41e-03', comment='SUCCESS', energy_flux2='8.05e-06', dlogl='1.44e+00', photon_flux2='6.97e-08', job_status='DONE', time_completed='2021-09-04 17:52:28.993729', photon_index_error2='4.67', photon_index2='8.23', ts='-0.00', fit_tolerance='1e-08', GAL='1.44', photon_index_error='0.00', photon_flux_upper_limit='8.27e-08', energy_flux_error2='5.76e-06', EG='0.62', time_epoch_completed='1630803148.99', return_code='0', job_id='197728', GAL2='1.51', EG2='0.54', return_code2='102', photon_flux_error2='4.74e-08', ts2='3.04', photon_index='2.44' WHERE bin_id='624' AND source_name='4FGL J1158.5+4824' AND cadence='daily'; Database successfully updated. Analysis Complete. Sat Sep 4 17:52:29 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 197728: <4FGL_J1158.5+4824_daily_bin624> in cluster Done Job <4FGL_J1158.5+4824_daily_bin624> was submitted from host by user in cluster at Sat Sep 4 17:36:16 2021 Job was executed on host(s) , in queue , as user in cluster at Sat Sep 4 17:36:18 2021 was used as the home directory. was used as the working directory. Started at Sat Sep 4 17:36:18 2021 Terminated at Sat Sep 4 17:52:29 2021 Results reported at Sat Sep 4 17:52:29 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1158.5+4824_daily_bin624 179.637 48.4161 401068801 401328001 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 : 734.12 sec. Max Memory : 618 MB Average Memory : 249.30 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 971 sec. Turnaround time : 973 sec. The output (if any) is above this job summary.