/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 208 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 = 7670 number of fields = 29 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1158.5+4824_daily_bin548 RA = 179.637, Dec = 48.4161 tmin = 381369601, tmax = 381628801 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='196378', job_status='RUN', time_executed='2021-09-04 17:35:16.762228', time_epoch_executed='1630802116.76' WHERE source_name='4FGL J1158.5+4824' and cadence='daily' and bin_id='548' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/196378 Creating custom pfile directory: /scratch/kocevski/196378/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=381369601.0 && nMetStart<381628801.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=381369601.0 && nMetStart<381628801.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/196378/ft1_4FGL_J1158.5+4824_daily_bin548.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=381369601.0 && nMetStart<381628801.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Merged file saved to: /scratch/kocevski/196378/ft2_4FGL_J1158.5+4824_daily_bin548.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/196378/ft1_4FGL_J1158.5+4824_daily_bin548.fits outfile=/scratch/kocevski/196378/ft1_filteredMKT_4FGL_J1158.5+4824_daily_bin548.fits ra=179.637 dec=48.4161 rad=12.0 tmin=381369601.0 tmax=381628801.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.54 user 3.30 sys 0.21 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/196378/ft2_4FGL_J1158.5+4824_daily_bin548.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/196378/ft2_4FGL_J1158.5+4824_daily_bin548.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/196378/ft1_filteredMKT_4FGL_J1158.5+4824_daily_bin548.fits evtable="EVENTS" outfile="/scratch/kocevski/196378/ft1_filtered_4FGL_J1158.5+4824_daily_bin548.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.33 sys 0.14 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/196378/ft1_filtered_4FGL_J1158.5+4824_daily_bin548.fits" evtable="EVENTS" scfile=/scratch/kocevski/196378/ft2_4FGL_J1158.5+4824_daily_bin548.fits sctable="SC_DATA" outfile=/scratch/kocevski/196378/ltcube_381369601_381628801_4FGL_J1158.5+4824_daily_bin548.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/196378/ft2_4FGL_J1158.5+4824_daily_bin548.fits .....................! real 11.79 user 11.45 sys 0.30 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/196378/ft1_filtered_4FGL_J1158.5+4824_daily_bin548.fits evtable="EVENTS" scfile=/scratch/kocevski/196378/ft2_4FGL_J1158.5+4824_daily_bin548.fits sctable="SC_DATA" expcube=/scratch/kocevski/196378/ltcube_381369601_381628801_4FGL_J1158.5+4824_daily_bin548.fits outfile=/scratch/kocevski/196378/expmap_381369601_381628801_4FGL_J1158.5+4824_daily_bin548.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/196378/ltcube_381369601_381628801_4FGL_J1158.5+4824_daily_bin548.fits .....................! real 190.68 user 185.67 sys 4.65 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/196378/ft1_filtered_4FGL_J1158.5+4824_daily_bin548.fits scfile=/scratch/kocevski/196378/ft2_4FGL_J1158.5+4824_daily_bin548.fits outfile=/scratch/kocevski/196378/cmap_381369601_381628801_4FGL_J1158.5+4824_daily_bin548.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.36 sys 0.17 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/196378/ft1_filtered_4FGL_J1158.5+4824_daily_bin548.fits scfile=/scratch/kocevski/196378/ft2_4FGL_J1158.5+4824_daily_bin548.fits outfile=/scratch/kocevski/196378/cmap_HighResolution_381369601_381628801_4FGL_J1158.5+4824_daily_bin548.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.15 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/196378/ft1_filtered_4FGL_J1158.5+4824_daily_bin548.fits evtable="EVENTS" scfile=/scratch/kocevski/196378/ft2_4FGL_J1158.5+4824_daily_bin548.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/196378/Model_4FGL_J1158.5+4824_daily_bin548.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/196378/ft1_filtered_4FGL_J1158.5+4824_daily_bin548.fits.....................! real 51.46 user 50.06 sys 1.22 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/196378/ft1_filtered_4FGL_J1158.5+4824_daily_bin548.fits', '/scratch/kocevski/196378/ft2_4FGL_J1158.5+4824_daily_bin548.fits', expMap='/scratch/kocevski/196378/expmap_381369601_381628801_4FGL_J1158.5+4824_daily_bin548.fits', expCube='/scratch/kocevski/196378/ltcube_381369601_381628801_4FGL_J1158.5+4824_daily_bin548.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/196378/Model_4FGL_J1158.5+4824_daily_bin548.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/196378/ft1_filtered_4FGL_J1158.5+4824_daily_bin548.fits Spacecraft file(s): /scratch/kocevski/196378/ft2_4FGL_J1158.5+4824_daily_bin548.fits Exposure map: /scratch/kocevski/196378/expmap_381369601_381628801_4FGL_J1158.5+4824_daily_bin548.fits Exposure cube: /scratch/kocevski/196378/ltcube_381369601_381628801_4FGL_J1158.5+4824_daily_bin548.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/196378/Model_4FGL_J1158.5+4824_daily_bin548.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) = 5823.81077323 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 5823.78714859 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10022E-03 1.0000 .10000E-03 10000. 2 'Prefactor ' .10002E-03 1.0000 .10000E-03 10000. 3 'Prefactor ' 60.737 1.0000 .10000E-03 10000. 4 'Prefactor ' 13.915 1.0000 .10000E-03 10000. 5 'Prefactor ' .10004E-03 1.0000 .10000E-03 10000. 6 'norm ' .10001E-03 1.0000 .10000E-03 10000. 7 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 8 'Prefactor ' .10003E-03 1.0000 .10000E-03 10000. 9 'norm ' .10021E-03 1.0000 .10000E-03 10000. 10 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 11 'norm ' 1.2355 1.0000 .10000E-03 10000. 12 'norm ' 14.616 1.0000 .10000E-03 10000. 13 'Prefactor ' 1.7173 1.0000 .10000E-03 10000. 14 'Prefactor ' .10299E-03 1.0000 .10000E-03 10000. 15 'norm ' 2.1897 1.0000 .10000E-03 10000. 16 'Prefactor ' 2.4067 1.0000 .10000E-03 10000. 17 'norm ' .32741 1.0000 .10000E-03 10000. 18 'norm ' 1.7434 1.0000 .10000E-03 10000. 19 'Prefactor ' 15.585 1.0000 .10000E-03 10000. 20 'Prefactor ' .50588E-03 1.0000 .10000E-03 10000. 21 'Prefactor ' .10016E-03 1.0000 .10000E-03 10000. 22 'norm ' .97444 1.0000 .10000E-03 10000. 23 'Prefactor ' .10069E-03 1.0000 .10000E-03 10000. 24 'Normalizat' .86679 1.0000 .10000E-01 10.000 25 'Prefactor ' 1.1365 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= 5823.787 FROM MIGRAD STATUS=CONVERGED 581 CALLS 2906 TOTAL EDM= .18E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 2.0% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 101.87 -.44000E-05** at limit ** 2 Prefactor .10000E-03 43.735 -.11129E-05** at limit ** 3 Prefactor 60.581 100.23 -.17941E-04 -.25026E-03 4 Prefactor 13.895 52.126 -.23912E-05 -.37458E-04 5 Prefactor .10000E-03 85.951 .18401E-05** at limit ** 6 norm .10000E-03 19.670 -.58767E-08** at limit ** 7 Prefactor .10000E-03 1.2152 .11381E-07** at limit ** 8 Prefactor .10000E-03 8.5272 .22923E-07** at limit ** 9 norm .10000E-03 1.6556 .24319E-06** at limit ** 10 Prefactor .10000E-03 10.227 .41769E-07** at limit ** 11 norm 1.2357 .89355 .65790E-07 -.33979E-03 12 norm 14.618 10.563 .79192E-07 -.46639E-04 13 Prefactor 1.7138 3.4891 -.33965E-05 -.98357E-03 14 Prefactor .10000E-03 67.386 .45499E-05** at limit ** 15 norm 2.1880 6.2502 -.35919E-07 -.27146E-03 16 Prefactor 2.4041 47.430 .31695E-04 -.20698E-03 17 norm .32744 1.6400 .11064E-05 -.42327E-03 18 norm 1.7480 8.2511 .16163E-05 -.11178E-03 19 Prefactor 15.572 18.866 -.82588E-06 -.50261E-04 20 Prefactor .10057E-03 2.4982 .12102E-05** at limit ** 21 Prefactor .10000E-03 6.0902 .13285E-06** at limit ** 22 norm .97561 1.6455 .53633E-06 .26951E-03 23 Prefactor .10000E-03 47.046 -.32778E-07** at limit ** 24 Normalizat .86700 .16149 .13232E-07 -.42963E-03 25 Prefactor 1.1361 .19501 -.19018E-05 -.18364E-03 ERR DEF= .500 Final values: Prefactor = 0.000100002 Prefactor = 0.0001 Prefactor = 60.581 Prefactor = 13.8946 Prefactor = 0.000100001 norm = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 norm = 0.0001 Prefactor = 0.0001 norm = 1.23569 norm = 14.6179 Prefactor = 1.7138 Prefactor = 0.000100002 norm = 2.18797 Prefactor = 2.40415 norm = 0.327437 norm = 1.748 Prefactor = 15.572 Prefactor = 0.000100565 Prefactor = 0.0001 norm = 0.975615 Prefactor = 0.0001 Normalizat = 0.866997 Prefactor = 1.13612 ********** ** 18 **HESSE ********** FCN= 5823.787 FROM HESSE STATUS=OK 429 CALLS 3335 TOTAL EDM= .20E-07 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 102.18 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .10000E-03 43.746 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 60.581 104.53 .25742E-03 -1.4150 4 Prefactor 13.895 52.389 .10738E-03 -1.4962 5 Prefactor .10000E-03 86.105 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 norm .10000E-03 19.677 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor .10000E-03 1.2165 .82153E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor .10000E-03 8.5316 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 norm .10000E-03 2.9520 .18989E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor .10000E-03 10.231 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 norm 1.2357 .87633 .58513E-04 -1.5486 12 norm 14.618 10.556 .10476E-03 -1.4943 13 Prefactor 1.7138 3.4622 .17253E-03 -1.5446 14 Prefactor .10000E-03 67.832 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 norm 2.1880 6.2664 .27813E-03 -1.5412 16 Prefactor 2.4041 49.803 .13196E-02 -1.5398 17 norm .32744 1.6590 .18469E-03 -1.5594 18 norm 1.7480 7.8276 .31768E-03 -1.5444 19 Prefactor 15.572 18.474 .10146E-03 -1.4919 20 Prefactor .10057E-03 29.268 .23230E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 Prefactor .10000E-03 6.0961 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 norm .97561 1.4206 .12328E-02 -1.5510 23 Prefactor .10000E-03 47.125 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 Normalizat .86700 .19186 .22778E-03 -.97630 25 Prefactor 1.1361 .23272 .25599E-03 -.88320 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.03916e-08 Minuit parameter uncertainties: 1 0.000904496 2 0.000154025 3 104.851 4 52.5636 5 0.000444282 6 2.19659e-06 7 9.63312e-07 8 8.52012e-06 9 2.66429e-06 10 1.32237e-06 11 0.87634 12 10.5569 13 3.46264 14 0.00076987 15 6.26831 16 21.9049 17 1.4739 18 7.39943 19 18.4807 20 0.00813836 21 3.88226e-06 22 1.42069 23 7.11521e-05 24 0.192006 25 0.232933 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 5823.78713805 Extracting fit parameters... 4FGL J1158.5+4824 Spectrum: PowerLaw 349 Prefactor: 2.404e+00 2.190e+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.136e+00 2.329e-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: 8.670e-01 1.920e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.02 Ra Dec: 179.637 48.416 Photon Flux Upper Limit: 8.35e-08 ph cm-2 s-1 Energy Flux Upper Limit: 6.47e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/196378/likelihoodResults_381369601_381628801_4FGL_J1158.5+4824_daily_bin548.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) = 5823.33695644 delta logL = 0.45018160867 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 5823.2627483 delta logL = 0.524389755255 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .46365 1.0000 .10000E-03 10000. 2 'Index ' 4.7076 1.0000 .0000 10.000 3 'Normalizat' .80806 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.1819 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= 5823.263 FROM MIGRAD STATUS=CONVERGED 55 CALLS 246 TOTAL EDM= .32E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .46331 7.6808 .11121E-01 .16691E-02 2 Index 4.7081 3.0009 .11330 .17025E-03 3 Normalizat .80801 .32656E-01 .43715E-01 .83965E-05 4 Prefactor 1.1819 .41645E-01 .56894E-01 .25540E-05 ERR DEF= .500 Final values: Prefactor = 0.463312 Index = 4.70814 Normalizat = 0.808006 Prefactor = 1.18192 ********** ** 18 **HESSE ********** FCN= 5823.263 FROM HESSE STATUS=NOT POSDEF 35 CALLS 281 TOTAL EDM= .17E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .46331 22.984 .52264E-03 -1.5572 2 Index 4.7081 7.3416 .60809E-02 -.58406E-01 3 Normalizat .80801 .12957 .23505E-03 -.99772 4 Prefactor 1.1819 .16283 .25158E-03 -.86889 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 1.70401e-10 Minuit parameter uncertainties: 1 6.52847 2 7.05092 3 0.129618 4 0.162902 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/196378': 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) = 5823.26274822 delta logL = 0.524389837312 Extracting fit parameters... 4FGL J1158.5+4824 Spectrum: PowerLaw 349 Prefactor: 4.633e-01 6.528e+00 1.000e-04 1.000e+04 ( 1.000e-13) 350 Index: 4.708e+00 7.051e+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.182e+00 1.629e-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: 8.080e-01 1.296e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 1.16 Ra Dec: 179.637 48.416 Photon Index (Free Index): 4.71 +/- 7.05 Photon Flux (Free Index): 4.96e-08 +/- 4.84e-08 Energy Flux (Free Index): 6.77e-06 +/- 8.57e-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/196378/cmap_HighResolution_381369601_381628801_4FGL_J1158.5+4824_daily_bin548.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/196378 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.47e-03', comment='SUCCESS', energy_flux2='6.77e-06', dlogl='5.24e-01', photon_flux2='4.96e-08', job_status='DONE', time_completed='2021-09-04 17:47:42.642270', photon_index_error2='7.05', photon_index2='4.71', ts='0.02', fit_tolerance='1e-08', GAL='1.14', photon_index_error='0.00', photon_flux_upper_limit='8.35e-08', energy_flux_error2='8.57e-06', EG='0.87', time_epoch_completed='1630802862.64', return_code='0', job_id='196378', GAL2='1.18', EG2='0.81', return_code2='102', photon_flux_error2='4.84e-08', ts2='1.16', photon_index='2.44' WHERE bin_id='548' AND source_name='4FGL J1158.5+4824' AND cadence='daily'; Database successfully updated. Analysis Complete. Sat Sep 4 17:47:42 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 196378: <4FGL_J1158.5+4824_daily_bin548> in cluster Done Job <4FGL_J1158.5+4824_daily_bin548> was submitted from host by user in cluster at Sat Sep 4 17:31:37 2021 Job was executed on host(s) , in queue , as user in cluster at Sat Sep 4 17:31:39 2021 was used as the home directory. was used as the working directory. Started at Sat Sep 4 17:31:39 2021 Terminated at Sat Sep 4 17:47:43 2021 Results reported at Sat Sep 4 17:47:43 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1158.5+4824_daily_bin548 179.637 48.4161 381369601 381628801 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 : 745.24 sec. Max Memory : 1094 MB Average Memory : 265.84 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 963 sec. Turnaround time : 966 sec. The output (if any) is above this job summary.