/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 153 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 = 7449 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1158.5+4824_daily_bin844 RA = 179.637, Dec = 48.4161 tmin = 458092801, tmax = 458352001 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='198094', job_status='RUN', time_executed='2021-09-04 17:39:29.052752', time_epoch_executed='1630802369.05' WHERE source_name='4FGL J1158.5+4824' and cadence='daily' and bin_id='844' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/198094 Creating custom pfile directory: /scratch/kocevski/198094/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=458092801.0 && nMetStart<458352001.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=458092801.0 && nMetStart<458352001.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/198094/ft1_4FGL_J1158.5+4824_daily_bin844.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=458092801.0 && nMetStart<458352001.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Merged file saved to: /scratch/kocevski/198094/ft2_4FGL_J1158.5+4824_daily_bin844.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/198094/ft1_4FGL_J1158.5+4824_daily_bin844.fits outfile=/scratch/kocevski/198094/ft1_filteredMKT_4FGL_J1158.5+4824_daily_bin844.fits ra=179.637 dec=48.4161 rad=12.0 tmin=458092801.0 tmax=458352001.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.79 user 3.34 sys 0.20 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/198094/ft2_4FGL_J1158.5+4824_daily_bin844.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/198094/ft2_4FGL_J1158.5+4824_daily_bin844.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/198094/ft1_filteredMKT_4FGL_J1158.5+4824_daily_bin844.fits evtable="EVENTS" outfile="/scratch/kocevski/198094/ft1_filtered_4FGL_J1158.5+4824_daily_bin844.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.15 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/198094/ft1_filtered_4FGL_J1158.5+4824_daily_bin844.fits" evtable="EVENTS" scfile=/scratch/kocevski/198094/ft2_4FGL_J1158.5+4824_daily_bin844.fits sctable="SC_DATA" outfile=/scratch/kocevski/198094/ltcube_458092801_458352001_4FGL_J1158.5+4824_daily_bin844.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/198094/ft2_4FGL_J1158.5+4824_daily_bin844.fits .....................! real 11.97 user 11.62 sys 0.31 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/198094/ft1_filtered_4FGL_J1158.5+4824_daily_bin844.fits evtable="EVENTS" scfile=/scratch/kocevski/198094/ft2_4FGL_J1158.5+4824_daily_bin844.fits sctable="SC_DATA" expcube=/scratch/kocevski/198094/ltcube_458092801_458352001_4FGL_J1158.5+4824_daily_bin844.fits outfile=/scratch/kocevski/198094/expmap_458092801_458352001_4FGL_J1158.5+4824_daily_bin844.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/198094/ltcube_458092801_458352001_4FGL_J1158.5+4824_daily_bin844.fits .....................! real 190.15 user 184.97 sys 4.45 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/198094/ft1_filtered_4FGL_J1158.5+4824_daily_bin844.fits scfile=/scratch/kocevski/198094/ft2_4FGL_J1158.5+4824_daily_bin844.fits outfile=/scratch/kocevski/198094/cmap_458092801_458352001_4FGL_J1158.5+4824_daily_bin844.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.39 sys 0.13 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/198094/ft1_filtered_4FGL_J1158.5+4824_daily_bin844.fits scfile=/scratch/kocevski/198094/ft2_4FGL_J1158.5+4824_daily_bin844.fits outfile=/scratch/kocevski/198094/cmap_HighResolution_458092801_458352001_4FGL_J1158.5+4824_daily_bin844.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.37 sys 0.16 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/198094/ft1_filtered_4FGL_J1158.5+4824_daily_bin844.fits evtable="EVENTS" scfile=/scratch/kocevski/198094/ft2_4FGL_J1158.5+4824_daily_bin844.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/198094/Model_4FGL_J1158.5+4824_daily_bin844.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/198094/ft1_filtered_4FGL_J1158.5+4824_daily_bin844.fits....................! real 54.66 user 52.56 sys 1.25 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/198094/ft1_filtered_4FGL_J1158.5+4824_daily_bin844.fits', '/scratch/kocevski/198094/ft2_4FGL_J1158.5+4824_daily_bin844.fits', expMap='/scratch/kocevski/198094/expmap_458092801_458352001_4FGL_J1158.5+4824_daily_bin844.fits', expCube='/scratch/kocevski/198094/ltcube_458092801_458352001_4FGL_J1158.5+4824_daily_bin844.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/198094/Model_4FGL_J1158.5+4824_daily_bin844.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/198094/ft1_filtered_4FGL_J1158.5+4824_daily_bin844.fits Spacecraft file(s): /scratch/kocevski/198094/ft2_4FGL_J1158.5+4824_daily_bin844.fits Exposure map: /scratch/kocevski/198094/expmap_458092801_458352001_4FGL_J1158.5+4824_daily_bin844.fits Exposure cube: /scratch/kocevski/198094/ltcube_458092801_458352001_4FGL_J1158.5+4824_daily_bin844.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/198094/Model_4FGL_J1158.5+4824_daily_bin844.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) = 6181.0067384 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 6180.99236272 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 88.693 1.0000 .10000E-03 10000. 2 'Prefactor ' 73.785 1.0000 .10000E-03 10000. 3 'Prefactor ' 94.010 1.0000 .10000E-03 10000. 4 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 5 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 6 'norm ' .10000E-03 1.0000 .10000E-03 10000. 7 'Prefactor ' 7.8877 1.0000 .10000E-03 10000. 8 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 9 'norm ' 2.3103 1.0000 .10000E-03 10000. 10 'Prefactor ' .15698 1.0000 .10000E-03 10000. 11 'norm ' 1.5255 1.0000 .10000E-03 10000. 12 'norm ' .10000E-03 1.0000 .10000E-03 10000. 13 'Prefactor ' .10002E-03 1.0000 .10000E-03 10000. 14 'Prefactor ' .10002E-03 1.0000 .10000E-03 10000. 15 'norm ' .10001E-03 1.0000 .10000E-03 10000. 16 'Prefactor ' 28.134 1.0000 .10000E-03 10000. 17 'norm ' 3.8967 1.0000 .10000E-03 10000. 18 'norm ' 15.038 1.0000 .10000E-03 10000. 19 'Prefactor ' 46.219 1.0000 .10000E-03 10000. 20 'Prefactor ' 7.1999 1.0000 .10000E-03 10000. 21 'Prefactor ' .10068E-03 1.0000 .10000E-03 10000. 22 'norm ' 2.6946 1.0000 .10000E-03 10000. 23 'Prefactor ' .10009E-03 1.0000 .10000E-03 10000. 24 'Normalizat' .95299 1.0000 .10000E-01 10.000 25 'Prefactor ' .88227 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6830E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 6180.992 FROM MIGRAD STATUS=CONVERGED 132 CALLS 2851 TOTAL EDM= .16E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 3.4% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 88.706 2.4476 -.61706E-07 .22738E-02 2 Prefactor 73.749 6.2310 -.21394E-05 .59435E-03 3 Prefactor 94.016 1.4770 .18915E-06 .71875E-03 4 Prefactor .10000E-03 30.266 .35896E-04** at limit ** 5 Prefactor .10000E-03 23.682 -.25573E-04** at limit ** 6 norm .10000E-03 16.902 -.58233E-05** at limit ** 7 Prefactor 7.8886 1.1663 -.22350E-05 -.89651E-03 8 Prefactor .10000E-03 15.483 .16954E-04** at limit ** 9 norm 2.3092 2.9947 -.41230E-05 -.47487E-03 10 Prefactor .21539E-03 6801.0 -.34887E-03** at limit ** 11 norm 1.5254 .93393 -.29307E-05 .55096E-03 12 norm .10000E-03 2.2905 .33680E-06** at limit ** 13 Prefactor .10000E-03 3.0085 -.74869E-06** at limit ** 14 Prefactor .10000E-03 11.524 -.37531E-05** at limit ** 15 norm .10000E-03 2.6440 -.10103E-05** at limit ** 16 Prefactor 28.139 21.933 -.39309E-04 -.28771E-02 17 norm 3.8970 2.0945 -.19922E-06 -.29529E-03 18 norm 15.045 1.6062 -.75934E-06 .13447E-02 19 Prefactor 46.177 9.3968 .68416E-05 -.11214E-01 20 Prefactor 7.2001 5.4690 .10164E-04 .19370E-03 21 Prefactor .10000E-03 8.7957 .87073E-06** at limit ** 22 norm 2.6947 1.9892 -.80367E-06 .66435E-03 23 Prefactor .10000E-03 37.918 -.69005E-05** at limit ** 24 Normalizat .95287 .18031 -.15860E-05 .10915E-03 25 Prefactor .88241 .21526 .66881E-05 .59673E-05 ERR DEF= .500 Final values: Prefactor = 88.7064 Prefactor = 73.7486 Prefactor = 94.0162 Prefactor = 0.0001 Prefactor = 0.000100001 norm = 0.000100003 Prefactor = 7.88859 Prefactor = 0.0001 norm = 2.30916 Prefactor = 0.000215392 norm = 1.52537 norm = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 norm = 0.0001 Prefactor = 28.1395 norm = 3.89697 norm = 15.0451 Prefactor = 46.1774 Prefactor = 7.20006 Prefactor = 0.0001 norm = 2.69469 Prefactor = 0.000100005 Normalizat = 0.95287 Prefactor = 0.882415 ********** ** 18 **HESSE ********** FCN= 6180.992 FROM HESSE STATUS=OK 485 CALLS 3336 TOTAL EDM= .58E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 88.706 70.477 .10666E-02 -1.3821 2 Prefactor 73.749 112.02 .11685E-02 -1.3988 3 Prefactor 94.016 90.129 .10363E-02 -1.3766 4 Prefactor .10000E-03 30.333 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .10000E-03 23.737 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 norm .10000E-03 16.957 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor 7.8886 7.4670 .35693E-02 -1.5146 8 Prefactor .10000E-03 15.494 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 norm 2.3092 3.1120 .67483E-02 -1.5404 10 Prefactor .21539E-03 64.299 .12709 -1.5706 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 norm 1.5254 1.0175 .86438E-02 -1.5461 12 norm .10000E-03 2.2920 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor .10000E-03 2.9501 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor .10000E-03 11.526 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 norm .10000E-03 2.6233 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor 28.139 22.205 .18883E-02 -1.4647 17 norm 3.8970 2.0951 .51098E-02 -1.5313 18 norm 15.045 11.828 .25821E-02 -1.4932 19 Prefactor 46.177 38.671 .14744E-02 -1.4348 20 Prefactor 7.2001 5.4867 .37372E-02 -1.5171 21 Prefactor .10000E-03 8.7818 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 norm 2.6947 1.9933 .62046E-02 -1.5380 23 Prefactor .10000E-03 37.984 .90712E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 Normalizat .95287 .16396 .45575E-01 -.94626 25 Prefactor .88241 .18575 .65190E-01 -.96758 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 5.8023e-07 Minuit parameter uncertainties: 1 70.5434 2 112.34 3 90.2609 4 0.000229851 5 0.000222605 6 0.000442261 7 7.46787 8 9.74865e-05 9 3.11217 10 0.17246 11 1.01749 12 3.90702e-05 13 1.4288e-05 14 3.20565e-05 15 2.11551e-05 16 22.2114 17 2.09519 18 11.8302 19 38.6924 20 5.48709 21 3.66067e-05 22 1.99333 23 0.000844853 24 0.164048 25 0.185883 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 6180.99233584 Extracting fit parameters... 4FGL J1158.5+4824 Spectrum: PowerLaw 349 Prefactor: 2.814e+01 2.221e+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: 8.824e-01 1.859e-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.529e-01 1.640e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 3.00 Ra Dec: 179.637 48.416 Photon Index (Fixed Index): 2.44 +/- 0.00 Photon Flux (Fixed Index): 4.73e-08 +/- 3.73e-08 Energy Flux (Fixed Index): 1.47e-05 +/- 1.16e-05 TS (Fixed Index): 3.00 Ra Dec: 179.637 48.416 Photon Flux Upper Limit: 1.26e-07 ph cm-2 s-1 Energy Flux Upper Limit: 9.77e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/198094/likelihoodResults_458092801_458352001_4FGL_J1158.5+4824_daily_bin844.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) = 6179.72226843 delta logL = 1.27006741141 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 6179.57106378 delta logL = 1.42127205566 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .19023E-02 1.0000 .10000E-03 10000. 2 'Index ' 7.7843 1.0000 .0000 10.000 3 'Normalizat' .84320 1.0000 .10000E-01 10.000 4 'Prefactor ' .99936 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= 6179.571 FROM MIGRAD STATUS=CONVERGED 57 CALLS 363 TOTAL EDM= .39E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .18185E-02 .13849E-01 .42778E-03** at limit ** 2 Index 7.8055 2.1998 .97089E-01 -.26911E-03 3 Normalizat .84305 .48488E-01 .44172E-01 -.22738E-03 4 Prefactor .99954 .59558E-01 .46259E-01 .57551E-04 ERR DEF= .500 Final values: Prefactor = 0.00181851 Index = 7.80554 Normalizat = 0.843048 Prefactor = 0.999536 ********** ** 18 **HESSE ********** FCN= 6179.571 FROM HESSE STATUS=NOT POSDEF 33 CALLS 396 TOTAL EDM= .91E-09 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .18185E-02 .25268E-01 .17096E-05 -1.5700 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 7.8055 3.0167 .40696E-02 .59572 3 Normalizat .84305 .16136 .24061E-03 -.98491 4 Prefactor .99954 .19396 .27318E-03 -.92745 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 9.14589e-10 Minuit parameter uncertainties: 1 0.0131792 2 3.38016 3 0.161447 4 0.194093 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/198094': 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) = 6179.57105006 delta logL = 1.42128577847 Extracting fit parameters... 4FGL J1158.5+4824 Spectrum: PowerLaw 349 Prefactor: 1.819e-03 1.318e-02 1.000e-04 1.000e+04 ( 1.000e-13) 350 Index: 7.806e+00 3.380e+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: 9.995e-01 1.941e-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.430e-01 1.614e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 6.28 Ra Dec: 179.637 48.416 Photon Index (Free Index): 7.81 +/- 3.38 Photon Flux (Free Index): 1.13e-07 +/- 5.84e-08 Energy Flux (Free Index): 1.32e-05 +/- 7.20e-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/198094/cmap_HighResolution_458092801_458352001_4FGL_J1158.5+4824_daily_bin844.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/198094 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.77e-03', comment='SUCCESS', photon_flux='4.73e-08', energy_flux2='1.32e-05', photon_flux_error='3.73e-08', dlogl='1.42e+00', energy_flux='1.47e-05', photon_flux2='1.13e-07', job_status='DONE', time_completed='2021-09-04 17:52:34.868363', photon_index_error2='3.38', photon_index2='7.81', ts='3.00', fit_tolerance='1e-08', GAL='0.88', photon_index_error='0.00', photon_flux_upper_limit='1.26e-07', energy_flux_error2='7.20e-06', EG='0.95', time_epoch_completed='1630803154.87', return_code='0', job_id='198094', GAL2='1.00', EG2='0.84', return_code2='102', energy_flux_error='1.16e-05', photon_flux_error2='5.84e-08', ts2='6.28', photon_index='2.44' WHERE bin_id='844' AND source_name='4FGL J1158.5+4824' AND cadence='daily'; Database successfully updated. Analysis Complete. Sat Sep 4 17:52:34 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 198094: <4FGL_J1158.5+4824_daily_bin844> in cluster Done Job <4FGL_J1158.5+4824_daily_bin844> was submitted from host by user in cluster at Sat Sep 4 17:36:45 2021 Job was executed on host(s) , in queue , as user in cluster at Sat Sep 4 17:36:46 2021 was used as the home directory. was used as the working directory. Started at Sat Sep 4 17:36:46 2021 Terminated at Sat Sep 4 17:52:35 2021 Results reported at Sat Sep 4 17:52:35 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1158.5+4824_daily_bin844 179.637 48.4161 458092801 458352001 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 : 784.00 sec. Max Memory : 618 MB Average Memory : 263.43 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 949 sec. Turnaround time : 950 sec. The output (if any) is above this job summary.