/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 90 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 = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1158.5+4824_daily_bin905 RA = 179.637, Dec = 48.4161 tmin = 473904001, tmax = 474163201 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='198222', job_status='RUN', time_executed='2021-09-04 17:38:31.957331', time_epoch_executed='1630802311.96' WHERE source_name='4FGL J1158.5+4824' and cadence='daily' and bin_id='905' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/198222 Creating custom pfile directory: /scratch/kocevski/198222/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=473904001.0 && nMetStart<474163201.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=473904001.0 && nMetStart<474163201.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/198222/ft1_4FGL_J1158.5+4824_daily_bin905.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=473904001.0 && nMetStart<474163201.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Merged file saved to: /scratch/kocevski/198222/ft2_4FGL_J1158.5+4824_daily_bin905.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/198222/ft1_4FGL_J1158.5+4824_daily_bin905.fits outfile=/scratch/kocevski/198222/ft1_filteredMKT_4FGL_J1158.5+4824_daily_bin905.fits ra=179.637 dec=48.4161 rad=12.0 tmin=473904001.0 tmax=474163201.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.07 user 4.81 sys 0.22 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/198222/ft2_4FGL_J1158.5+4824_daily_bin905.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/198222/ft2_4FGL_J1158.5+4824_daily_bin905.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/198222/ft1_filteredMKT_4FGL_J1158.5+4824_daily_bin905.fits evtable="EVENTS" outfile="/scratch/kocevski/198222/ft1_filtered_4FGL_J1158.5+4824_daily_bin905.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.50 user 0.33 sys 0.14 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/198222/ft1_filtered_4FGL_J1158.5+4824_daily_bin905.fits" evtable="EVENTS" scfile=/scratch/kocevski/198222/ft2_4FGL_J1158.5+4824_daily_bin905.fits sctable="SC_DATA" outfile=/scratch/kocevski/198222/ltcube_473904001_474163201_4FGL_J1158.5+4824_daily_bin905.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/198222/ft2_4FGL_J1158.5+4824_daily_bin905.fits .....................! real 11.92 user 11.57 sys 0.31 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/198222/ft1_filtered_4FGL_J1158.5+4824_daily_bin905.fits evtable="EVENTS" scfile=/scratch/kocevski/198222/ft2_4FGL_J1158.5+4824_daily_bin905.fits sctable="SC_DATA" expcube=/scratch/kocevski/198222/ltcube_473904001_474163201_4FGL_J1158.5+4824_daily_bin905.fits outfile=/scratch/kocevski/198222/expmap_473904001_474163201_4FGL_J1158.5+4824_daily_bin905.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/198222/ltcube_473904001_474163201_4FGL_J1158.5+4824_daily_bin905.fits .....................! real 190.64 user 185.14 sys 5.02 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/198222/ft1_filtered_4FGL_J1158.5+4824_daily_bin905.fits scfile=/scratch/kocevski/198222/ft2_4FGL_J1158.5+4824_daily_bin905.fits outfile=/scratch/kocevski/198222/cmap_473904001_474163201_4FGL_J1158.5+4824_daily_bin905.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.36 sys 0.15 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/198222/ft1_filtered_4FGL_J1158.5+4824_daily_bin905.fits scfile=/scratch/kocevski/198222/ft2_4FGL_J1158.5+4824_daily_bin905.fits outfile=/scratch/kocevski/198222/cmap_HighResolution_473904001_474163201_4FGL_J1158.5+4824_daily_bin905.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.58 user 0.39 sys 0.14 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/198222/ft1_filtered_4FGL_J1158.5+4824_daily_bin905.fits evtable="EVENTS" scfile=/scratch/kocevski/198222/ft2_4FGL_J1158.5+4824_daily_bin905.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/198222/Model_4FGL_J1158.5+4824_daily_bin905.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/198222/ft1_filtered_4FGL_J1158.5+4824_daily_bin905.fits.....................! real 38.81 user 36.88 sys 1.20 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/198222/ft1_filtered_4FGL_J1158.5+4824_daily_bin905.fits', '/scratch/kocevski/198222/ft2_4FGL_J1158.5+4824_daily_bin905.fits', expMap='/scratch/kocevski/198222/expmap_473904001_474163201_4FGL_J1158.5+4824_daily_bin905.fits', expCube='/scratch/kocevski/198222/ltcube_473904001_474163201_4FGL_J1158.5+4824_daily_bin905.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/198222/Model_4FGL_J1158.5+4824_daily_bin905.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/198222/ft1_filtered_4FGL_J1158.5+4824_daily_bin905.fits Spacecraft file(s): /scratch/kocevski/198222/ft2_4FGL_J1158.5+4824_daily_bin905.fits Exposure map: /scratch/kocevski/198222/expmap_473904001_474163201_4FGL_J1158.5+4824_daily_bin905.fits Exposure cube: /scratch/kocevski/198222/ltcube_473904001_474163201_4FGL_J1158.5+4824_daily_bin905.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/198222/Model_4FGL_J1158.5+4824_daily_bin905.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) = 3801.65085554 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 3801.64514748 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10011E-03 1.0000 .10000E-03 10000. 2 'Prefactor ' .10005E-03 1.0000 .10000E-03 10000. 3 'Prefactor ' 64.432 1.0000 .10000E-03 10000. 4 'Prefactor ' 20.197 1.0000 .10000E-03 10000. 5 'Prefactor ' 46.385 1.0000 .10000E-03 10000. 6 'norm ' 93.501 1.0000 .10000E-03 10000. 7 'Prefactor ' 3.6341 1.0000 .10000E-03 10000. 8 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 9 'norm ' .11316E-03 1.0000 .10000E-03 10000. 10 'Prefactor ' 1.3829 1.0000 .10000E-03 10000. 11 'norm ' .10179E-03 1.0000 .10000E-03 10000. 12 'norm ' .10296E-03 1.0000 .10000E-03 10000. 13 'Prefactor ' 5.3735 1.0000 .10000E-03 10000. 14 'Prefactor ' 154.52 1.0000 .10000E-03 10000. 15 'norm ' .10000E-03 1.0000 .10000E-03 10000. 16 'Prefactor ' 9.3428 1.0000 .10000E-03 10000. 17 'norm ' .10002E-03 1.0000 .10000E-03 10000. 18 'norm ' 4.3446 1.0000 .10000E-03 10000. 19 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 20 'Prefactor ' .10012E-03 1.0000 .10000E-03 10000. 21 'Prefactor ' .10003E-03 1.0000 .10000E-03 10000. 22 'norm ' .10058E-03 1.0000 .10000E-03 10000. 23 'Prefactor ' .10023E-03 1.0000 .10000E-03 10000. 24 'Normalizat' .88224 1.0000 .10000E-01 10.000 25 'Prefactor ' 1.1925 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= 3801.645 FROM MIGRAD STATUS=CONVERGED 576 CALLS 2916 TOTAL EDM= .13E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.4% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 43.780 -.25789E-06** at limit ** 2 Prefactor .10000E-03 57.275 .85545E-06** at limit ** 3 Prefactor 64.370 101.46 -.12114E-04 -.28903E-03 4 Prefactor 20.188 39.060 -.17965E-05 -.11583E-03 5 Prefactor 46.378 73.440 -.13239E-05 -.60132E-04 6 norm 93.501 65.291 .74024E-07 -.28608E-05 7 Prefactor 3.6339 4.8907 .99592E-07 .54168E-05 8 Prefactor .10000E-03 17.049 -.63739E-06** at limit ** 9 norm .10000E-03 1.8183 .19861E-06** at limit ** 10 Prefactor 1.3925 843.65 .14287E-04 .10637E-04 11 norm .10000E-03 .81536 .22625E-06** at limit ** 12 norm .10000E-03 15.825 .10498E-05** at limit ** 13 Prefactor 5.3753 6.0908 .37745E-06 -.28311E-04 14 Prefactor 154.52 102.86 .62105E-06 .66750E-05 15 norm .10000E-03 3.2291 .26447E-07** at limit ** 16 Prefactor 9.3308 29.511 -.31709E-05 -.12601E-03 17 norm .10000E-03 1.1440 .69217E-08** at limit ** 18 norm 4.3443 8.4961 .59849E-05 -.74291E-03 19 Prefactor .10000E-03 12.581 -.76471E-06** at limit ** 20 Prefactor .10000E-03 7.6565 .65788E-07** at limit ** 21 Prefactor .10000E-03 10.456 .55325E-07** at limit ** 22 norm .10000E-03 2.2355 .43997E-07** at limit ** 23 Prefactor .10000E-03 60.101 -.31773E-06** at limit ** 24 Normalizat .88218 .20563 -.13332E-06 -.11231E-03 25 Prefactor 1.1926 .24966 -.83646E-06 -.59354E-04 ERR DEF= .500 Final values: Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 64.3695 Prefactor = 20.1881 Prefactor = 46.3779 norm = 93.5012 Prefactor = 3.63392 Prefactor = 0.0001 norm = 0.0001 Prefactor = 1.39245 norm = 0.0001 norm = 0.0001 Prefactor = 5.37527 Prefactor = 154.523 norm = 0.0001 Prefactor = 9.33078 norm = 0.0001 norm = 4.34431 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 norm = 0.0001 Prefactor = 0.0001 Normalizat = 0.882183 Prefactor = 1.1926 ********** ** 18 **HESSE ********** FCN= 3801.645 FROM HESSE STATUS=OK 417 CALLS 3333 TOTAL EDM= .31E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 43.805 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .10000E-03 57.308 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 64.370 108.80 .24998E-03 -1.4102 4 Prefactor 20.188 39.250 .89122E-04 -1.4809 5 Prefactor 46.378 73.576 .58872E-04 -1.4345 6 norm 93.501 65.299 .41562E-04 -1.3771 7 Prefactor 3.6339 4.8834 .15343E-03 -1.5327 8 Prefactor .10000E-03 17.075 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 norm .10000E-03 3.0551 .15882E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor 1.3925 771.68 .36999E-03 -1.5472 11 norm .10000E-03 .82043 .10705E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 norm .10000E-03 15.861 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 5.3753 6.0654 .13279E-03 -1.5244 14 Prefactor 154.52 100.56 .32430E-04 -1.3215 15 norm .10000E-03 3.2337 .10821E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor 9.3308 29.521 .13111E-03 -1.5097 17 norm .10000E-03 1.1557 .64366E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 norm 4.3443 8.9038 .96625E-03 -1.5291 19 Prefactor .10000E-03 12.625 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Prefactor .10000E-03 7.7501 .16660E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 Prefactor .10000E-03 10.464 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 norm .10000E-03 2.3392 .17995E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 Prefactor .10000E-03 60.155 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 Normalizat .88218 .24135 .23831E-03 -.97089 25 Prefactor 1.1926 .29439 .26268E-03 -.86559 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.05472e-09 Minuit parameter uncertainties: 1 5.60916e-05 2 0.000283443 3 109.135 4 39.3001 5 73.7203 6 65.3494 7 4.88391 8 0.000114562 9 7.02502e-05 10 66.4363 11 1.12295e-05 12 0.000101334 13 6.06607 14 100.675 15 3.12522e-07 16 29.5667 17 1.45751e-06 18 8.90649 19 0.000115302 20 1.50165e-06 21 2.62719e-06 22 1.5896e-06 23 0.000125249 24 0.241645 25 0.294792 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 3801.64514369 Extracting fit parameters... 4FGL J1158.5+4824 Spectrum: PowerLaw 349 Prefactor: 9.331e+00 2.957e+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.193e+00 2.948e-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.822e-01 2.416e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.16 Ra Dec: 179.637 48.416 Photon Flux Upper Limit: 1.28e-07 ph cm-2 s-1 Energy Flux Upper Limit: 9.90e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/198222/likelihoodResults_473904001_474163201_4FGL_J1158.5+4824_daily_bin905.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) = 3800.95825295 delta logL = 0.686890742447 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 3800.88479647 delta logL = 0.760347225096 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .61003 1.0000 .10000E-03 10000. 2 'Index ' 4.7967 1.0000 .0000 10.000 3 'Normalizat' .80866 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.2521 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= 3800.885 FROM MIGRAD STATUS=CONVERGED 55 CALLS 272 TOTAL EDM= .67E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .59820 9.5999 .90432E-02 .58685E-03 2 Index 4.8071 3.0282 .11634 .95591E-04 3 Normalizat .80840 .50608E-01 .43723E-01 .10335E-04 4 Prefactor 1.2522 .63945E-01 .58138E-01 .35739E-05 ERR DEF= .500 Final values: Prefactor = 0.598202 Index = 4.80713 Normalizat = 0.808395 Prefactor = 1.25221 ********** ** 18 **HESSE ********** FCN= 3800.885 FROM HESSE STATUS=NOT POSDEF 35 CALLS 307 TOTAL EDM= .59E-07 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .59820 22.745 .41117E-03 -1.5553 2 Index 4.8071 7.2942 .43185E-02 -.38584E-01 3 Normalizat .80840 .18604 .24747E-03 -.99758 4 Prefactor 1.2522 .23270 .25709E-03 -.84739 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 5.8998e-08 Minuit parameter uncertainties: 1 7.37971 2 6.17228 3 0.186187 4 0.23289 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/198222': 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) = 3800.88478745 delta logL = 0.76035624258 Extracting fit parameters... 4FGL J1158.5+4824 Spectrum: PowerLaw 349 Prefactor: 5.982e-01 7.380e+00 1.000e-04 1.000e+04 ( 1.000e-13) 350 Index: 4.807e+00 6.172e+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.252e+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.084e-01 1.862e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 1.79 Ra Dec: 179.637 48.416 Photon Index (Free Index): 4.81 +/- 6.17 Photon Flux (Free Index): 7.79e-08 +/- 6.61e-08 Energy Flux (Free Index): 1.05e-05 +/- 1.11e-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/198222/cmap_HighResolution_473904001_474163201_4FGL_J1158.5+4824_daily_bin905.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/198222 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.90e-03', comment='SUCCESS', energy_flux2='1.05e-05', dlogl='7.60e-01', photon_flux2='7.79e-08', job_status='DONE', time_completed='2021-09-04 17:48:47.017728', photon_index_error2='6.17', photon_index2='4.81', ts='0.16', fit_tolerance='1e-08', GAL='1.19', photon_index_error='0.00', photon_flux_upper_limit='1.28e-07', energy_flux_error2='1.11e-05', EG='0.88', time_epoch_completed='1630802927.02', return_code='0', job_id='198222', GAL2='1.25', EG2='0.81', return_code2='102', photon_flux_error2='6.61e-08', ts2='1.79', photon_index='2.44' WHERE bin_id='905' AND source_name='4FGL J1158.5+4824' AND cadence='daily'; Database successfully updated. Analysis Complete. Sat Sep 4 17:48:47 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 198222: <4FGL_J1158.5+4824_daily_bin905> in cluster Done Job <4FGL_J1158.5+4824_daily_bin905> was submitted from host by user in cluster at Sat Sep 4 17:36:52 2021 Job was executed on host(s) , in queue , as user in cluster at Sat Sep 4 17:36:53 2021 was used as the home directory. was used as the working directory. Started at Sat Sep 4 17:36:53 2021 Terminated at Sat Sep 4 17:48:47 2021 Results reported at Sat Sep 4 17:48:47 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1158.5+4824_daily_bin905 179.637 48.4161 473904001 474163201 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 : 613.00 sec. Max Memory : 618 MB Average Memory : 252.52 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 714 sec. Turnaround time : 715 sec. The output (if any) is above this job summary.