/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 29 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 = 7684 number of fields = 27 No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns. Done. Performing analysis on: 4FGL_J1158.5+4824_daily_bin316 RA = 179.637, Dec = 48.4161 tmin = 321235201, tmax = 321494401 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='195997', job_status='RUN', time_executed='2021-09-04 17:31:46.886815', time_epoch_executed='1630801906.89' WHERE source_name='4FGL J1158.5+4824' and cadence='daily' and bin_id='316' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/195997 Creating custom pfile directory: /scratch/kocevski/195997/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=321235201.0 && nMetStart<321494401.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=321235201.0 && nMetStart<321494401.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/195997/ft1_4FGL_J1158.5+4824_daily_bin316.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=321235201.0 && nMetStart<321494401.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Merged file saved to: /scratch/kocevski/195997/ft2_4FGL_J1158.5+4824_daily_bin316.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/195997/ft1_4FGL_J1158.5+4824_daily_bin316.fits outfile=/scratch/kocevski/195997/ft1_filteredMKT_4FGL_J1158.5+4824_daily_bin316.fits ra=179.637 dec=48.4161 rad=12.0 tmin=321235201.0 tmax=321494401.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.56 user 3.31 sys 0.21 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/195997/ft2_4FGL_J1158.5+4824_daily_bin316.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/195997/ft2_4FGL_J1158.5+4824_daily_bin316.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/195997/ft1_filteredMKT_4FGL_J1158.5+4824_daily_bin316.fits evtable="EVENTS" outfile="/scratch/kocevski/195997/ft1_filtered_4FGL_J1158.5+4824_daily_bin316.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.53 user 0.34 sys 0.15 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/195997/ft1_filtered_4FGL_J1158.5+4824_daily_bin316.fits" evtable="EVENTS" scfile=/scratch/kocevski/195997/ft2_4FGL_J1158.5+4824_daily_bin316.fits sctable="SC_DATA" outfile=/scratch/kocevski/195997/ltcube_321235201_321494401_4FGL_J1158.5+4824_daily_bin316.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/195997/ft2_4FGL_J1158.5+4824_daily_bin316.fits .....................! real 13.37 user 12.96 sys 0.36 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/195997/ft1_filtered_4FGL_J1158.5+4824_daily_bin316.fits evtable="EVENTS" scfile=/scratch/kocevski/195997/ft2_4FGL_J1158.5+4824_daily_bin316.fits sctable="SC_DATA" expcube=/scratch/kocevski/195997/ltcube_321235201_321494401_4FGL_J1158.5+4824_daily_bin316.fits outfile=/scratch/kocevski/195997/expmap_321235201_321494401_4FGL_J1158.5+4824_daily_bin316.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/195997/ltcube_321235201_321494401_4FGL_J1158.5+4824_daily_bin316.fits .....................! real 191.74 user 186.51 sys 4.82 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/195997/ft1_filtered_4FGL_J1158.5+4824_daily_bin316.fits scfile=/scratch/kocevski/195997/ft2_4FGL_J1158.5+4824_daily_bin316.fits outfile=/scratch/kocevski/195997/cmap_321235201_321494401_4FGL_J1158.5+4824_daily_bin316.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.37 sys 0.15 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/195997/ft1_filtered_4FGL_J1158.5+4824_daily_bin316.fits scfile=/scratch/kocevski/195997/ft2_4FGL_J1158.5+4824_daily_bin316.fits outfile=/scratch/kocevski/195997/cmap_HighResolution_321235201_321494401_4FGL_J1158.5+4824_daily_bin316.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.54 user 0.40 sys 0.14 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/195997/ft1_filtered_4FGL_J1158.5+4824_daily_bin316.fits evtable="EVENTS" scfile=/scratch/kocevski/195997/ft2_4FGL_J1158.5+4824_daily_bin316.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/195997/Model_4FGL_J1158.5+4824_daily_bin316.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/195997/ft1_filtered_4FGL_J1158.5+4824_daily_bin316.fits.....................! real 51.13 user 49.57 sys 1.29 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/195997/ft1_filtered_4FGL_J1158.5+4824_daily_bin316.fits', '/scratch/kocevski/195997/ft2_4FGL_J1158.5+4824_daily_bin316.fits', expMap='/scratch/kocevski/195997/expmap_321235201_321494401_4FGL_J1158.5+4824_daily_bin316.fits', expCube='/scratch/kocevski/195997/ltcube_321235201_321494401_4FGL_J1158.5+4824_daily_bin316.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/195997/Model_4FGL_J1158.5+4824_daily_bin316.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/195997/ft1_filtered_4FGL_J1158.5+4824_daily_bin316.fits Spacecraft file(s): /scratch/kocevski/195997/ft2_4FGL_J1158.5+4824_daily_bin316.fits Exposure map: /scratch/kocevski/195997/expmap_321235201_321494401_4FGL_J1158.5+4824_daily_bin316.fits Exposure cube: /scratch/kocevski/195997/ltcube_321235201_321494401_4FGL_J1158.5+4824_daily_bin316.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/195997/Model_4FGL_J1158.5+4824_daily_bin316.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) = 5761.36959949 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 5761.25171539 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .44208 1.0000 .10000E-03 10000. 2 'Prefactor ' .88697E-02 1.0000 .10000E-03 10000. 3 'Prefactor ' .58918E-02 1.0000 .10000E-03 10000. 4 'Prefactor ' 55.274 1.0000 .10000E-03 10000. 5 'Prefactor ' .68215E-03 1.0000 .10000E-03 10000. 6 'norm ' .17596E-02 1.0000 .10000E-03 10000. 7 'Prefactor ' .10080E-03 1.0000 .10000E-03 10000. 8 'Prefactor ' 26.356 1.0000 .10000E-03 10000. 9 'norm ' 1.6556 1.0000 .10000E-03 10000. 10 'Prefactor ' .15966E-02 1.0000 .10000E-03 10000. 11 'norm ' .42049 1.0000 .10000E-03 10000. 12 'norm ' 15.608 1.0000 .10000E-03 10000. 13 'Prefactor ' 5.7542 1.0000 .10000E-03 10000. 14 'Prefactor ' 7.3635 1.0000 .10000E-03 10000. 15 'norm ' 17.677 1.0000 .10000E-03 10000. 16 'Prefactor ' 36.066 1.0000 .10000E-03 10000. 17 'norm ' 1.9057 1.0000 .10000E-03 10000. 18 'norm ' 4.6422 1.0000 .10000E-03 10000. 19 'Prefactor ' 10.351 1.0000 .10000E-03 10000. 20 'Prefactor ' 3.3415 1.0000 .10000E-03 10000. 21 'Prefactor ' 28.269 1.0000 .10000E-03 10000. 22 'norm ' 6.1679 1.0000 .10000E-03 10000. 23 'Prefactor ' .19647E-01 1.0000 .10000E-03 10000. 24 'Normalizat' .76410 1.0000 .10000E-01 10.000 25 'Prefactor ' 1.1196 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= 5761.249 FROM MIGRAD STATUS=CONVERGED 624 CALLS 2512 TOTAL EDM= .43E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .2% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 275.79 -.19419E-04** at limit ** 2 Prefactor .10000E-03 64.988 -.27546E-04** at limit ** 3 Prefactor .10000E-03 44.558 .36120E-05** at limit ** 4 Prefactor 55.740 45.974 .17430E-04 .16717E-04 5 Prefactor .10000E-03 40.777 -.35226E-05** at limit ** 6 norm .10000E-03 14.950 .40200E-07** at limit ** 7 Prefactor .10000E-03 2.5669 .83346E-07** at limit ** 8 Prefactor 26.275 24.414 -.62542E-05 -.38957E-05 9 norm 1.6557 2.6548 -.23266E-06 -.63940E-03 10 Prefactor .10000E-03 19.681 -.54831E-07** at limit ** 11 norm .42087 .58805 -.38388E-06 -.17113E-02 12 norm 15.702 11.078 -.15788E-05 -.31997E-04 13 Prefactor 5.6586 4.7945 .46790E-06 -.22565E-03 14 Prefactor 6.9363 54.728 .44453E-04 .47547E-05 15 norm 17.777 8.3195 .13662E-06 -.75881E-03 16 Prefactor 37.245 30.983 -.21767E-05 -.16908E-04 17 norm 1.9052 1.6864 .10774E-06 -.91899E-04 18 norm 4.6007 8.4593 -.28871E-05 -.31813E-03 19 Prefactor 10.225 27.738 .11026E-04 -.24498E-05 20 Prefactor 3.3412 3.5060 .56586E-07 -.56536E-04 21 Prefactor 27.830 22.694 -.44397E-05 -.45746E-04 22 norm 6.1722 2.6509 .10532E-06 -.40265E-04 23 Prefactor .10000E-03 78.762 .38018E-04** at limit ** 24 Normalizat .76384 .17186 -.22363E-05 -.58607E-06 25 Prefactor 1.1198 .20536 .72012E-07 -.89120E-04 ERR DEF= .500 Final values: Prefactor = 0.000100001 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 55.7401 Prefactor = 0.0001 norm = 0.0001 Prefactor = 0.0001 Prefactor = 26.2748 norm = 1.65572 Prefactor = 0.0001 norm = 0.420868 norm = 15.7021 Prefactor = 5.65861 Prefactor = 6.93633 norm = 17.7766 Prefactor = 37.2447 norm = 1.90521 norm = 4.60066 Prefactor = 10.225 Prefactor = 3.34115 Prefactor = 27.8302 norm = 6.17221 Prefactor = 0.0001 Normalizat = 0.763836 Prefactor = 1.11978 ********** ** 18 **HESSE ********** FCN= 5761.249 FROM HESSE STATUS=OK 435 CALLS 2947 TOTAL EDM= .82E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 277.99 .22064E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .10000E-03 64.981 .18295E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .10000E-03 44.565 .18967E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor 55.740 45.979 .53954E-04 -1.4213 5 Prefactor .10000E-03 40.794 .20994E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 norm .10000E-03 14.950 .20341E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor .10000E-03 2.5999 .11873E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor 26.275 24.394 .78032E-04 -1.4682 9 norm 1.6557 2.6305 .15047E-03 -1.5451 10 Prefactor .10000E-03 19.710 .20421E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 norm .42087 .54342 .65849E-03 -1.5578 12 norm 15.702 11.074 .10138E-03 -1.4915 13 Prefactor 5.6586 4.7725 .12541E-03 -1.5232 14 Prefactor 6.9363 54.160 .14780E-03 -1.5181 15 norm 17.777 8.3223 .47630E-03 -1.4864 16 Prefactor 37.245 30.937 .66733E-04 -1.4487 17 norm 1.9052 1.6876 .88972E-04 -1.5432 18 norm 4.6007 8.3788 .18680E-03 -1.5279 19 Prefactor 10.225 27.515 .12454E-03 -1.5068 20 Prefactor 3.3412 3.5019 .14188E-03 -1.5342 21 Prefactor 27.830 22.731 .75350E-04 -1.4652 22 norm 6.1722 2.6506 .78335E-04 -1.5211 23 Prefactor .10000E-03 79.013 .18242E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 Normalizat .76384 .20285 .25345E-03 -1.0142 25 Prefactor 1.1198 .24299 .26657E-03 -.88837 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 8.24944e-10 Minuit parameter uncertainties: 1 0.00116832 2 8.21771e-05 3 9.88311e-06 4 46.0079 5 1.95642e-05 6 1.05913e-07 7 1.05689e-05 8 24.4032 9 2.63071 10 2.11354e-05 11 0.543429 12 11.0758 13 4.77281 14 38.8129 15 8.32281 16 30.9499 17 1.68761 18 8.38092 19 27.5493 20 3.50214 21 22.7382 22 2.65068 23 2.94216e-05 24 0.203053 25 0.243232 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 5761.2493505 Extracting fit parameters... 4FGL J1158.5+4824 Spectrum: PowerLaw 349 Prefactor: 3.724e+01 3.095e+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.120e+00 2.432e-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.638e-01 2.031e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 2.70 Ra Dec: 179.637 48.416 Photon Index (Fixed Index): 2.44 +/- 0.00 Photon Flux (Fixed Index): 6.26e-08 +/- 5.20e-08 Energy Flux (Fixed Index): 1.94e-05 +/- 1.61e-05 TS (Fixed Index): 2.70 Ra Dec: 179.637 48.416 Photon Flux Upper Limit: 1.52e-07 ph cm-2 s-1 Energy Flux Upper Limit: 1.18e-02 MeV cm-2 s-1 Saving results to: /scratch/kocevski/195997/likelihoodResults_321235201_321494401_4FGL_J1158.5+4824_daily_bin316.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) = 5760.52012035 delta logL = 0.729230154519 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 5760.51172954 delta logL = 0.737620958407 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 14.464 1.0000 .10000E-03 10000. 2 'Index ' 3.3062 1.0000 .0000 10.000 3 'Normalizat' .70697 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.1676 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= 5760.512 FROM MIGRAD STATUS=CONVERGED 55 CALLS 257 TOTAL EDM= .30E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 14.435 140.73 .26329E-02 .58855E-03 2 Index 3.3073 2.8777 .10837 .12930E-03 3 Normalizat .70691 .67477E-01 .42384E-01 -.97749E-04 4 Prefactor 1.1676 .76868E-01 .59183E-01 -.10886E-03 ERR DEF= .500 Final values: Prefactor = 14.4353 Index = 3.30726 Normalizat = 0.706909 Prefactor = 1.16762 ********** ** 18 **HESSE ********** FCN= 5760.512 FROM HESSE STATUS=OK 31 CALLS 288 TOTAL EDM= .11E-07 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 14.435 30.209 .10532E-03 -1.4948 2 Index 3.3073 1.1958 .41575E-02 -.34537 3 Normalizat .70691 .20268 .26232E-03 -1.0362 4 Prefactor 1.1676 .24798 .26172E-03 -.87334 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.12266e-08 Minuit parameter uncertainties: 1 30.241 2 1.20908 3 0.202891 4 0.248231 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/195997': 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): 0 logL (Free Index) = 5760.51172831 delta logL = 0.737622194447 Extracting fit parameters... 4FGL J1158.5+4824 Spectrum: PowerLaw 349 Prefactor: 1.444e+01 3.024e+01 1.000e-04 1.000e+04 ( 1.000e-13) 350 Index: 3.307e+00 1.209e+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.168e+00 2.482e-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.069e-01 2.029e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 4.36 Ra Dec: 179.637 48.416 Photon Index (Free Index): 3.31 +/- 1.21 Photon Flux (Free Index): 1.06e-07 +/- 6.30e-08 Energy Flux (Free Index): 1.87e-05 +/- 1.14e-05 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/195997/cmap_HighResolution_321235201_321494401_4FGL_J1158.5+4824_daily_bin316.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/195997 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.18e-02', comment='SUCCESS', photon_flux='6.26e-08', energy_flux2='1.87e-05', photon_flux_error='5.20e-08', dlogl='7.38e-01', energy_flux='1.94e-05', photon_flux2='1.06e-07', job_status='DONE', time_completed='2021-09-04 17:43:52.776349', photon_index_error2='1.21', photon_index2='3.31', ts='2.70', fit_tolerance='1e-08', GAL='1.12', photon_index_error='0.00', photon_flux_upper_limit='1.52e-07', energy_flux_error2='1.14e-05', EG='0.76', time_epoch_completed='1630802632.78', return_code='0', job_id='195997', GAL2='1.17', EG2='0.71', return_code2='0', energy_flux_error='1.61e-05', photon_flux_error2='6.30e-08', ts2='4.36', photon_index='2.44' WHERE bin_id='316' AND source_name='4FGL J1158.5+4824' AND cadence='daily'; Database successfully updated. Analysis Complete. Sat Sep 4 17:43:52 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 195997: <4FGL_J1158.5+4824_daily_bin316> in cluster Done Job <4FGL_J1158.5+4824_daily_bin316> was submitted from host by user in cluster at Sat Sep 4 17:31:07 2021 Job was executed on host(s) , in queue , as user in cluster at Sat Sep 4 17:31:09 2021 was used as the home directory. was used as the working directory. Started at Sat Sep 4 17:31:09 2021 Terminated at Sat Sep 4 17:43:53 2021 Results reported at Sat Sep 4 17:43:53 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1158.5+4824_daily_bin316 179.637 48.4161 321235201 321494401 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 : 718.00 sec. Max Memory : 783 MB Average Memory : 309.72 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 764 sec. Turnaround time : 766 sec. The output (if any) is above this job summary.