/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 115 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 = 7431 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1158.5+4824_daily_bin743 RA = 179.637, Dec = 48.4161 tmin = 431913601, tmax = 432172801 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='197919', job_status='RUN', time_executed='2021-09-04 17:38:37.870179', time_epoch_executed='1630802317.87' WHERE source_name='4FGL J1158.5+4824' and cadence='daily' and bin_id='743' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/197919 Creating custom pfile directory: /scratch/kocevski/197919/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=431913601.0 && nMetStart<432172801.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=431913601.0 && nMetStart<432172801.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/197919/ft1_4FGL_J1158.5+4824_daily_bin743.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=431913601.0 && nMetStart<432172801.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Merged file saved to: /scratch/kocevski/197919/ft2_4FGL_J1158.5+4824_daily_bin743.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/197919/ft1_4FGL_J1158.5+4824_daily_bin743.fits outfile=/scratch/kocevski/197919/ft1_filteredMKT_4FGL_J1158.5+4824_daily_bin743.fits ra=179.637 dec=48.4161 rad=12.0 tmin=431913601.0 tmax=432172801.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.22 user 4.95 sys 0.24 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/197919/ft2_4FGL_J1158.5+4824_daily_bin743.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/197919/ft2_4FGL_J1158.5+4824_daily_bin743.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/197919/ft1_filteredMKT_4FGL_J1158.5+4824_daily_bin743.fits evtable="EVENTS" outfile="/scratch/kocevski/197919/ft1_filtered_4FGL_J1158.5+4824_daily_bin743.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.34 sys 0.14 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/197919/ft1_filtered_4FGL_J1158.5+4824_daily_bin743.fits" evtable="EVENTS" scfile=/scratch/kocevski/197919/ft2_4FGL_J1158.5+4824_daily_bin743.fits sctable="SC_DATA" outfile=/scratch/kocevski/197919/ltcube_431913601_432172801_4FGL_J1158.5+4824_daily_bin743.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/197919/ft2_4FGL_J1158.5+4824_daily_bin743.fits .....................! real 12.20 user 11.74 sys 0.33 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/197919/ft1_filtered_4FGL_J1158.5+4824_daily_bin743.fits evtable="EVENTS" scfile=/scratch/kocevski/197919/ft2_4FGL_J1158.5+4824_daily_bin743.fits sctable="SC_DATA" expcube=/scratch/kocevski/197919/ltcube_431913601_432172801_4FGL_J1158.5+4824_daily_bin743.fits outfile=/scratch/kocevski/197919/expmap_431913601_432172801_4FGL_J1158.5+4824_daily_bin743.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/197919/ltcube_431913601_432172801_4FGL_J1158.5+4824_daily_bin743.fits .....................! real 190.93 user 186.10 sys 3.95 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/197919/ft1_filtered_4FGL_J1158.5+4824_daily_bin743.fits scfile=/scratch/kocevski/197919/ft2_4FGL_J1158.5+4824_daily_bin743.fits outfile=/scratch/kocevski/197919/cmap_431913601_432172801_4FGL_J1158.5+4824_daily_bin743.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.52 user 0.37 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/197919/ft1_filtered_4FGL_J1158.5+4824_daily_bin743.fits scfile=/scratch/kocevski/197919/ft2_4FGL_J1158.5+4824_daily_bin743.fits outfile=/scratch/kocevski/197919/cmap_HighResolution_431913601_432172801_4FGL_J1158.5+4824_daily_bin743.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/197919/ft1_filtered_4FGL_J1158.5+4824_daily_bin743.fits evtable="EVENTS" scfile=/scratch/kocevski/197919/ft2_4FGL_J1158.5+4824_daily_bin743.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/197919/Model_4FGL_J1158.5+4824_daily_bin743.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/197919/ft1_filtered_4FGL_J1158.5+4824_daily_bin743.fits.....................! real 49.12 user 47.59 sys 1.18 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/197919/ft1_filtered_4FGL_J1158.5+4824_daily_bin743.fits', '/scratch/kocevski/197919/ft2_4FGL_J1158.5+4824_daily_bin743.fits', expMap='/scratch/kocevski/197919/expmap_431913601_432172801_4FGL_J1158.5+4824_daily_bin743.fits', expCube='/scratch/kocevski/197919/ltcube_431913601_432172801_4FGL_J1158.5+4824_daily_bin743.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/197919/Model_4FGL_J1158.5+4824_daily_bin743.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/197919/ft1_filtered_4FGL_J1158.5+4824_daily_bin743.fits Spacecraft file(s): /scratch/kocevski/197919/ft2_4FGL_J1158.5+4824_daily_bin743.fits Exposure map: /scratch/kocevski/197919/expmap_431913601_432172801_4FGL_J1158.5+4824_daily_bin743.fits Exposure cube: /scratch/kocevski/197919/ltcube_431913601_432172801_4FGL_J1158.5+4824_daily_bin743.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/197919/Model_4FGL_J1158.5+4824_daily_bin743.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) = 5544.90855665 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 5544.87139366 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 32.076 1.0000 .10000E-03 10000. 2 'Prefactor ' .10396E-03 1.0000 .10000E-03 10000. 3 'Prefactor ' 71.117 1.0000 .10000E-03 10000. 4 'Prefactor ' 29.473 1.0000 .10000E-03 10000. 5 'Prefactor ' 163.04 1.0000 .10000E-03 10000. 6 'norm ' .10010E-03 1.0000 .10000E-03 10000. 7 'Prefactor ' .11918E-03 1.0000 .10000E-03 10000. 8 'Prefactor ' 52.172 1.0000 .10000E-03 10000. 9 'norm ' .10000E-03 1.0000 .10000E-03 10000. 10 'Prefactor ' .10037E-03 1.0000 .10000E-03 10000. 11 'norm ' 8.4226 1.0000 .10000E-03 10000. 12 'norm ' 11.438 1.0000 .10000E-03 10000. 13 'Prefactor ' 2.5772 1.0000 .10000E-03 10000. 14 'Prefactor ' 2.6945 1.0000 .10000E-03 10000. 15 'norm ' .10009E-03 1.0000 .10000E-03 10000. 16 'Prefactor ' .10025E-03 1.0000 .10000E-03 10000. 17 'norm ' 2.8503 1.0000 .10000E-03 10000. 18 'norm ' 10.672 1.0000 .10000E-03 10000. 19 'Prefactor ' .10022E-03 1.0000 .10000E-03 10000. 20 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 21 'Prefactor ' 31.479 1.0000 .10000E-03 10000. 22 'norm ' 5.4474 1.0000 .10000E-03 10000. 23 'Prefactor ' .10021E-03 1.0000 .10000E-03 10000. 24 'Normalizat' .93015 1.0000 .10000E-01 10.000 25 'Prefactor ' 1.1389 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= 5544.871 FROM MIGRAD STATUS=CONVERGED 574 CALLS 2922 TOTAL EDM= .13E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .1% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 32.073 96.471 -.44155E-05 -.89435E-05 2 Prefactor .10000E-03 78.735 .10800E-04** at limit ** 3 Prefactor 71.416 147.81 .34052E-03 .10943E-04 4 Prefactor 29.486 84.280 .25739E-04 -.16328E-04 5 Prefactor 162.92 143.45 -.86849E-04 -.20850E-04 6 norm .10000E-03 21.359 .11185E-05** at limit ** 7 Prefactor .10002E-03 5.2569 -.35823E-06** at limit ** 8 Prefactor 52.176 35.613 .38917E-05 .66476E-05 9 norm .10000E-03 .93390 -.40395E-07** at limit ** 10 Prefactor .10000E-03 13.969 .15988E-05** at limit ** 11 norm 8.4233 1.9493 .97209E-06 .81696E-03 12 norm 11.435 10.810 .13899E-05 .16612E-03 13 Prefactor 2.5778 2.8540 .63236E-06 -.32288E-03 14 Prefactor 2.6622 215.02 -.12409E-03 -.46898E-06 15 norm .10000E-03 5.2668 .16079E-06** at limit ** 16 Prefactor .10000E-03 9.4133 -.39162E-07** at limit ** 17 norm 2.8508 2.0056 .49964E-06 -.23824E-03 18 norm 10.673 7.9829 .80218E-06 -.13730E-03 19 Prefactor .10000E-03 11.829 .16066E-05** at limit ** 20 Prefactor .10000E-03 4.7747 .21838E-06** at limit ** 21 Prefactor 31.486 25.867 .38481E-05 -.43085E-04 22 norm 5.4475 2.8041 .31209E-06 -.87241E-04 23 Prefactor .10000E-03 40.858 -.43775E-05** at limit ** 24 Normalizat .92957 .19457 -.11920E-04 .45337E-03 25 Prefactor 1.1395 .22692 .24394E-05 -.19570E-03 ERR DEF= .500 Final values: Prefactor = 32.0729 Prefactor = 0.0001 Prefactor = 71.4163 Prefactor = 29.4864 Prefactor = 162.921 norm = 0.0001 Prefactor = 0.000100024 Prefactor = 52.1761 norm = 0.0001 Prefactor = 0.0001 norm = 8.42332 norm = 11.4351 Prefactor = 2.57778 Prefactor = 2.66219 norm = 0.0001 Prefactor = 0.0001 norm = 2.85082 norm = 10.6727 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 31.4859 norm = 5.44751 Prefactor = 0.0001 Normalizat = 0.929567 Prefactor = 1.13954 ********** ** 18 **HESSE ********** FCN= 5544.871 FROM HESSE STATUS=OK 423 CALLS 3345 TOTAL EDM= .47E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 32.073 96.425 .70749E-04 -1.4575 2 Prefactor .10000E-03 78.748 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 71.416 147.61 .23801E-03 -1.4016 4 Prefactor 29.486 85.024 .73800E-04 -1.4621 5 Prefactor 162.92 143.60 .15793E-03 -1.3148 6 norm .10000E-03 21.364 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor .10002E-03 13.079 .32033E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor 52.176 34.979 .55526E-04 -1.4262 9 norm .10000E-03 .93837 .70266E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor .10000E-03 13.973 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 norm 8.4233 1.9450 .45572E-04 -1.5127 12 norm 11.435 10.807 .11845E-03 -1.5032 13 Prefactor 2.5778 2.8428 .12696E-03 -1.5387 14 Prefactor 2.6622 216.06 .24819E-03 -1.5382 15 norm .10000E-03 5.3529 .16683E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor .10000E-03 9.4259 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 norm 2.8508 2.0055 .84671E-04 -1.5370 18 norm 10.673 7.9775 .12264E-03 -1.5054 19 Prefactor .10000E-03 11.843 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Prefactor .10000E-03 4.8567 .15887E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 Prefactor 31.486 25.921 .71415E-04 -1.4585 22 norm 5.4475 2.8040 .86523E-04 -1.5241 23 Prefactor .10000E-03 40.894 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 Normalizat .92957 .22932 .25473E-03 -.95429 25 Prefactor 1.1395 .26769 .29161E-03 -.88213 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 4.66287e-09 Minuit parameter uncertainties: 1 96.8985 2 1.33969e-05 3 148.375 4 85.3762 5 143.914 6 3.95144e-05 7 0.00113062 8 34.9927 9 3.61821e-06 10 1.45284e-05 11 1.94499 12 10.8093 13 2.84293 14 48.146 15 4.4789e-05 16 3.8017e-05 17 2.00551 18 7.97831 19 2.9485e-05 20 4.91167e-05 21 25.9307 22 2.80406 23 9.60906e-05 24 0.229559 25 0.268005 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 5544.87138688 Extracting fit parameters... 4FGL J1158.5+4824 Spectrum: PowerLaw 349 Prefactor: 1.000e-04 3.802e-05 1.000e-04 1.000e+04 ( 1.000e-13) 350 Index: 2.443e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 351 Scale: 9.466e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 680 Prefactor: 1.140e+00 2.680e-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: 9.296e-01 2.296e-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: 6.27e-08 ph cm-2 s-1 Energy Flux Upper Limit: 4.86e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/197919/likelihoodResults_431913601_432172801_4FGL_J1158.5+4824_daily_bin743.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) = 5544.87189205 delta logL = -0.000505166746734 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 5544.87138707 delta logL = -1.85243152373e-07 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10295E-03 1.0000 .10000E-03 10000. 2 'Index ' 2.4329 1.0000 .0000 10.000 3 'Normalizat' .92950 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.1396 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. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD TERMINATED WITHOUT CONVERGENCE. FCN= 5544.871 FROM MIGRAD STATUS=FAILED 88 CALLS 241 TOTAL EDM= .64E-07 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10176E-03 426.83 .18142E-02** at limit ** 2 Index 2.2966 7.1285 .50000 .58644E-05 3 Normalizat .92956 .31385E-01 .25473E-03 .57572E-05 4 Prefactor 1.1396 .39508E-01 .29161E-03 .41715E-05 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 5544.871 FROM SIMPLEX STATUS=UNCHANGED 142 CALLS 383 TOTAL EDM= .14E-04 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10176E-03 426.83 .56200E-03** at limit ** 2 Index 2.2966 7.1285 .72193E-04 .58644E-05 3 Normalizat .92956 .31385E-01 .11139E-05 .57572E-05 4 Prefactor 1.1396 .39508E-01 .60786E-06 .41715E-05 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT. MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 5544.871 FROM MIGRAD STATUS=CONVERGED 79 CALLS 462 TOTAL EDM= .10E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 10.896 .72569E-04** at limit ** 2 Index 2.0452 6.8298 .50000 -.52146E-06 3 Normalizat .92956 .20946 .20379E-05 -.11157E-05 4 Prefactor 1.1396 .26368 .23329E-05 -.19493E-06 ERR DEF= .500 Final values: Prefactor = 0.0001 Index = 2.04523 Normalizat = 0.929557 Prefactor = 1.13956 ********** ** 18 **HESSE ********** FCN= 5544.871 FROM HESSE STATUS=OK 27 CALLS 489 TOTAL EDM= .99E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 10.283 .14514E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 2.0452 8.8323 .50000 -.63224 3 Normalizat .92956 .20851 .40757E-06 -.95429 4 Prefactor 1.1396 .26325 .23329E-05 -.88212 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 9.87436e-10 Minuit parameter uncertainties: 1 6.27045e-06 2 243.167 3 0.208691 4 0.263554 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/197919': 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) = 5544.87138645 delta logL = 4.31827174907e-07 Extracting fit parameters... 4FGL J1158.5+4824 Spectrum: PowerLaw 349 Prefactor: 1.000e-04 6.270e-06 1.000e-04 1.000e+04 ( 1.000e-13) 350 Index: 2.045e+00 2.432e+02 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.140e+00 2.636e-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: 9.296e-01 2.087e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 179.637 48.416 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/197919/cmap_HighResolution_431913601_432172801_4FGL_J1158.5+4824_daily_bin743.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/197919 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.86e-03', job_status='DONE', photon_flux_upper_limit='6.27e-08', time_completed='2021-09-04 17:51:14.973507', job_id='197919', GAL2='1.14', fit_tolerance='1e-08', EG2='0.93', EG='0.93', time_epoch_completed='1630803074.97', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.14', dlogl='4.32e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.44' WHERE bin_id='743' AND source_name='4FGL J1158.5+4824' AND cadence='daily'; Database successfully updated. Analysis Complete. Sat Sep 4 17:51:15 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 197919: <4FGL_J1158.5+4824_daily_bin743> in cluster Done Job <4FGL_J1158.5+4824_daily_bin743> was submitted from host by user in cluster at Sat Sep 4 17:36:32 2021 Job was executed on host(s) , in queue , as user in cluster at Sat Sep 4 17:36:34 2021 was used as the home directory. was used as the working directory. Started at Sat Sep 4 17:36:34 2021 Terminated at Sat Sep 4 17:51:15 2021 Results reported at Sat Sep 4 17:51:15 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1158.5+4824_daily_bin743 179.637 48.4161 431913601 432172801 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 : 754.00 sec. Max Memory : 1137 MB Average Memory : 293.93 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 881 sec. Turnaround time : 883 sec. The output (if any) is above this job summary.