/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 22 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 = 7434 number of fields = 27 No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns. Done. Performing analysis on: 4FGL_J1158.5+4824_daily_bin189 RA = 179.637, Dec = 48.4161 tmin = 288316801, tmax = 288576001 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='195106', job_status='RUN', time_executed='2021-09-04 17:27:10.778671', time_epoch_executed='1630801630.78' WHERE source_name='4FGL J1158.5+4824' and cadence='daily' and bin_id='189' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/195106 Creating custom pfile directory: /scratch/kocevski/195106/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=288316801.0 && nMetStart<288576001.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=288316801.0 && nMetStart<288576001.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/195106/ft1_4FGL_J1158.5+4824_daily_bin189.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=288316801.0 && nMetStart<288576001.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Merged file saved to: /scratch/kocevski/195106/ft2_4FGL_J1158.5+4824_daily_bin189.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/195106/ft1_4FGL_J1158.5+4824_daily_bin189.fits outfile=/scratch/kocevski/195106/ft1_filteredMKT_4FGL_J1158.5+4824_daily_bin189.fits ra=179.637 dec=48.4161 rad=12.0 tmin=288316801.0 tmax=288576001.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.58 user 3.35 sys 0.19 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/195106/ft2_4FGL_J1158.5+4824_daily_bin189.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/195106/ft2_4FGL_J1158.5+4824_daily_bin189.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/195106/ft1_filteredMKT_4FGL_J1158.5+4824_daily_bin189.fits evtable="EVENTS" outfile="/scratch/kocevski/195106/ft1_filtered_4FGL_J1158.5+4824_daily_bin189.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.48 user 0.32 sys 0.15 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/195106/ft1_filtered_4FGL_J1158.5+4824_daily_bin189.fits" evtable="EVENTS" scfile=/scratch/kocevski/195106/ft2_4FGL_J1158.5+4824_daily_bin189.fits sctable="SC_DATA" outfile=/scratch/kocevski/195106/ltcube_288316801_288576001_4FGL_J1158.5+4824_daily_bin189.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/195106/ft2_4FGL_J1158.5+4824_daily_bin189.fits .....................! real 11.69 user 11.36 sys 0.30 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/195106/ft1_filtered_4FGL_J1158.5+4824_daily_bin189.fits evtable="EVENTS" scfile=/scratch/kocevski/195106/ft2_4FGL_J1158.5+4824_daily_bin189.fits sctable="SC_DATA" expcube=/scratch/kocevski/195106/ltcube_288316801_288576001_4FGL_J1158.5+4824_daily_bin189.fits outfile=/scratch/kocevski/195106/expmap_288316801_288576001_4FGL_J1158.5+4824_daily_bin189.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/195106/ltcube_288316801_288576001_4FGL_J1158.5+4824_daily_bin189.fits .....................! real 189.80 user 185.14 sys 4.34 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/195106/ft1_filtered_4FGL_J1158.5+4824_daily_bin189.fits scfile=/scratch/kocevski/195106/ft2_4FGL_J1158.5+4824_daily_bin189.fits outfile=/scratch/kocevski/195106/cmap_288316801_288576001_4FGL_J1158.5+4824_daily_bin189.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.15 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/195106/ft1_filtered_4FGL_J1158.5+4824_daily_bin189.fits scfile=/scratch/kocevski/195106/ft2_4FGL_J1158.5+4824_daily_bin189.fits outfile=/scratch/kocevski/195106/cmap_HighResolution_288316801_288576001_4FGL_J1158.5+4824_daily_bin189.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.53 user 0.39 sys 0.13 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/195106/ft1_filtered_4FGL_J1158.5+4824_daily_bin189.fits evtable="EVENTS" scfile=/scratch/kocevski/195106/ft2_4FGL_J1158.5+4824_daily_bin189.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/195106/Model_4FGL_J1158.5+4824_daily_bin189.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/195106/ft1_filtered_4FGL_J1158.5+4824_daily_bin189.fits.....................! real 52.78 user 51.54 sys 1.14 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/195106/ft1_filtered_4FGL_J1158.5+4824_daily_bin189.fits', '/scratch/kocevski/195106/ft2_4FGL_J1158.5+4824_daily_bin189.fits', expMap='/scratch/kocevski/195106/expmap_288316801_288576001_4FGL_J1158.5+4824_daily_bin189.fits', expCube='/scratch/kocevski/195106/ltcube_288316801_288576001_4FGL_J1158.5+4824_daily_bin189.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/195106/Model_4FGL_J1158.5+4824_daily_bin189.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/195106/ft1_filtered_4FGL_J1158.5+4824_daily_bin189.fits Spacecraft file(s): /scratch/kocevski/195106/ft2_4FGL_J1158.5+4824_daily_bin189.fits Exposure map: /scratch/kocevski/195106/expmap_288316801_288576001_4FGL_J1158.5+4824_daily_bin189.fits Exposure cube: /scratch/kocevski/195106/ltcube_288316801_288576001_4FGL_J1158.5+4824_daily_bin189.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/195106/Model_4FGL_J1158.5+4824_daily_bin189.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) = 6160.53641474 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 6160.53007858 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 125.17 1.0000 .10000E-03 10000. 2 'Prefactor ' 61.496 1.0000 .10000E-03 10000. 3 'Prefactor ' 79.796 1.0000 .10000E-03 10000. 4 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 5 'Prefactor ' .10068E-03 1.0000 .10000E-03 10000. 6 'norm ' .10002E-03 1.0000 .10000E-03 10000. 7 'Prefactor ' 8.5285 1.0000 .10000E-03 10000. 8 'Prefactor ' .10161E-03 1.0000 .10000E-03 10000. 9 'norm ' 2.0725 1.0000 .10000E-03 10000. 10 'Prefactor ' 43.952 1.0000 .10000E-03 10000. 11 'norm ' .32274 1.0000 .10000E-03 10000. 12 'norm ' 6.8472 1.0000 .10000E-03 10000. 13 'Prefactor ' 6.7682 1.0000 .10000E-03 10000. 14 'Prefactor ' 19.137 1.0000 .10000E-03 10000. 15 'norm ' 4.6250 1.0000 .10000E-03 10000. 16 'Prefactor ' 13.839 1.0000 .10000E-03 10000. 17 'norm ' 5.1982 1.0000 .10000E-03 10000. 18 'norm ' 8.0897 1.0000 .10000E-03 10000. 19 'Prefactor ' .10015E-03 1.0000 .10000E-03 10000. 20 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 21 'Prefactor ' .10067E-03 1.0000 .10000E-03 10000. 22 'norm ' 8.5742 1.0000 .10000E-03 10000. 23 'Prefactor ' 53.218 1.0000 .10000E-03 10000. 24 'Normalizat' .93500 1.0000 .10000E-01 10.000 25 'Prefactor ' 1.0613 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= 6160.530 FROM MIGRAD STATUS=CONVERGED 566 CALLS 2867 TOTAL EDM= .12E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .6% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 125.15 89.806 -.91511E-06 -.18205E-04 2 Prefactor 61.508 66.162 .15724E-05 .11910E-04 3 Prefactor 79.778 96.891 -.17295E-05 -.17638E-04 4 Prefactor .10000E-03 18.471 .20084E-06** at limit ** 5 Prefactor .10000E-03 73.107 -.19657E-05** at limit ** 6 norm .10000E-03 31.698 -.41469E-06** at limit ** 7 Prefactor 8.5232 7.2723 .13190E-06 -.12616E-03 8 Prefactor .10000E-03 61.051 .34213E-05** at limit ** 9 norm 2.0725 3.3398 -.84347E-06 -.53576E-03 10 Prefactor 44.017 43.978 .98457E-06 -.66992E-04 11 norm .32000 .85237 .16684E-05 -.48796E-03 12 norm 6.8492 8.2121 -.38307E-06 -.93796E-04 13 Prefactor 6.7672 4.7856 .15047E-06 -.76649E-04 14 Prefactor 19.163 36.433 -.72893E-06 -.45641E-04 15 norm 4.6239 6.9602 .13152E-05 .10298E-04 16 Prefactor 13.839 28.016 .12462E-06 -.22804E-04 17 norm 5.1978 2.4115 .11877E-06 -.73993E-04 18 norm 8.0911 6.6406 -.10787E-06 -.41177E-04 19 Prefactor .10000E-03 27.718 -.80871E-06** at limit ** 20 Prefactor .10000E-03 2.1049 -.52059E-08** at limit ** 21 Prefactor .10000E-03 32.163 -.43386E-06** at limit ** 22 norm 8.5738 3.1134 .92209E-07 -.15155E-04 23 Prefactor 53.213 55.485 -.23737E-06 -.10851E-04 24 Normalizat .93522 .18123 -.22967E-05 -.16435E-03 25 Prefactor 1.0611 .21367 .32960E-06 -.22254E-03 ERR DEF= .500 Final values: Prefactor = 125.152 Prefactor = 61.5085 Prefactor = 79.7781 Prefactor = 0.0001 Prefactor = 0.0001 norm = 0.0001 Prefactor = 8.52316 Prefactor = 0.0001 norm = 2.07249 Prefactor = 44.0167 norm = 0.320004 norm = 6.84923 Prefactor = 6.76717 Prefactor = 19.1631 norm = 4.62394 Prefactor = 13.8387 norm = 5.19779 norm = 8.09113 Prefactor = 0.0001 Prefactor = 0.0001 Prefactor = 0.0001 norm = 8.57384 Prefactor = 53.2132 Normalizat = 0.93522 Prefactor = 1.06114 ********** ** 18 **HESSE ********** FCN= 6160.530 FROM HESSE STATUS=OK 431 CALLS 3298 TOTAL EDM= .10E-07 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 125.15 89.919 .17990E-03 -1.3466 2 Prefactor 61.508 66.196 .51167E-04 -1.4138 3 Prefactor 79.778 97.016 .22480E-03 -1.3919 4 Prefactor .10000E-03 18.490 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .10000E-03 73.136 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 norm .10000E-03 31.713 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor 8.5232 7.2884 .13727E-03 -1.5124 8 Prefactor .10000E-03 61.764 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 norm 2.0725 3.3564 .16964E-03 -1.5420 10 Prefactor 44.017 44.320 .60473E-04 -1.4380 11 norm .32000 .86842 .10583E-02 -1.5595 12 norm 6.8492 8.2145 .15333E-03 -1.5184 13 Prefactor 6.7672 4.7690 .11532E-03 -1.5188 14 Prefactor 19.163 36.444 .91556E-04 -1.4832 15 norm 4.6239 6.9503 .18715E-03 -1.5278 16 Prefactor 13.839 27.946 .10767E-03 -1.4964 17 norm 5.1978 2.4130 .79067E-04 -1.5252 18 norm 8.0911 6.6301 .14096E-03 -1.5139 19 Prefactor .10000E-03 27.858 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Prefactor .10000E-03 2.1143 .11120E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 Prefactor .10000E-03 32.368 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 norm 8.5738 3.1143 .80448E-04 -1.5122 23 Prefactor 53.213 55.517 .54980E-04 -1.4248 24 Normalizat .93522 .21434 .24875E-03 -.95233 25 Prefactor 1.0611 .25361 .29054E-03 -.90718 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 9.98278e-09 Minuit parameter uncertainties: 1 90.0178 2 66.2758 3 97.2089 4 2.01926e-05 5 3.94487e-05 6 5.5864e-07 7 7.28919 8 0.000165665 9 3.35671 10 44.3529 11 0.86845 12 8.21586 13 4.76922 14 36.4861 15 6.9515 16 27.9725 17 2.41305 18 6.63073 19 0.000111451 20 2.37276e-06 21 0.000111644 22 3.11439 23 55.5712 24 0.214535 25 0.253895 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 6160.53007239 Extracting fit parameters... 4FGL J1158.5+4824 Spectrum: PowerLaw 349 Prefactor: 1.384e+01 2.797e+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.061e+00 2.539e-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.352e-01 2.145e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.39 Ra Dec: 179.637 48.416 Photon Flux Upper Limit: 1.08e-07 ph cm-2 s-1 Energy Flux Upper Limit: 8.37e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/195106/likelihoodResults_288316801_288576001_4FGL_J1158.5+4824_daily_bin189.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) = 6160.00455068 delta logL = 0.525521709265 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 6159.96773183 delta logL = 0.562340557643 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 3.7041 1.0000 .10000E-03 10000. 2 'Index ' 3.6819 1.0000 .0000 10.000 3 'Normalizat' .89616 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0934 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= 6159.968 FROM MIGRAD STATUS=FAILED 82 CALLS 287 TOTAL EDM= .44E-07 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 3.7025 152.32 .13079E-03 -.31257E-02 2 Index 3.6822 6.8382 .59297E-02 -.71267E-03 3 Normalizat .89633 .18167 .25330E-03 -.10004E-02 4 Prefactor 1.0932 .23096 .28671E-03 -.78876E-03 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 6159.968 FROM SIMPLEX STATUS=UNCHANGED 84 CALLS 371 TOTAL EDM= .15E-04 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 3.7025 152.32 .38300E-03 -.31257E-02 2 Index 3.6822 6.8382 .22405E-02 -.71267E-03 3 Normalizat .89633 .18167 .12494E-03 -.10004E-02 4 Prefactor 1.0932 .23096 .19845E-03 -.78876E-03 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 6159.968 FROM MIGRAD STATUS=CONVERGED 27 CALLS 398 TOTAL EDM= .37E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 3.7017 12.710 .52317E-05 -.34008E-02 2 Index 3.6823 1.7046 .23719E-03 -.60257E-03 3 Normalizat .89633 .20817 .50661E-04 -.95845E-03 4 Prefactor 1.0932 .25510 .57343E-04 -.76182E-03 ERR DEF= .500 Final values: Prefactor = 3.70173 Index = 3.68231 Normalizat = 0.896334 Prefactor = 1.09322 ********** ** 18 **HESSE ********** FCN= 6159.968 FROM HESSE STATUS=OK 23 CALLS 421 TOTAL EDM= .37E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 3.7017 12.283 .10463E-05 -1.5323 2 Index 3.6823 1.6499 .47438E-04 -.26669 3 Normalizat .89633 .20819 .10132E-04 -.96589 4 Prefactor 1.0932 .25508 .11469E-04 -.89683 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.71818e-09 Minuit parameter uncertainties: 1 12.2915 2 1.68391 3 0.208374 4 0.255369 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/195106': 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) = 6159.96773133 delta logL = 0.562341054874 Extracting fit parameters... 4FGL J1158.5+4824 Spectrum: PowerLaw 349 Prefactor: 3.702e+00 1.229e+01 1.000e-04 1.000e+04 ( 1.000e-13) 350 Index: 3.682e+00 1.684e+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.093e+00 2.554e-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.963e-01 2.084e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 1.57 Ra Dec: 179.637 48.416 Photon Index (Free Index): 3.68 +/- 1.68 Photon Flux (Free Index): 5.44e-08 +/- 4.99e-08 Energy Flux (Free Index): 8.66e-06 +/- 8.70e-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/195106/cmap_HighResolution_288316801_288576001_4FGL_J1158.5+4824_daily_bin189.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/195106 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.37e-03', comment='SUCCESS', energy_flux2='8.66e-06', dlogl='5.62e-01', photon_flux2='5.44e-08', job_status='DONE', time_completed='2021-09-04 17:40:24.794400', photon_index_error2='1.68', photon_index2='3.68', ts='0.39', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', photon_flux_upper_limit='1.08e-07', energy_flux_error2='8.70e-06', EG='0.94', time_epoch_completed='1630802424.79', return_code='0', job_id='195106', GAL2='1.09', EG2='0.90', return_code2='0', photon_flux_error2='4.99e-08', ts2='1.57', photon_index='2.44' WHERE bin_id='189' AND source_name='4FGL J1158.5+4824' AND cadence='daily'; Database successfully updated. Analysis Complete. Sat Sep 4 17:40:24 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 195106: <4FGL_J1158.5+4824_daily_bin189> in cluster Done Job <4FGL_J1158.5+4824_daily_bin189> was submitted from host by user in cluster at Sat Sep 4 17:26:36 2021 Job was executed on host(s) , in queue , as user in cluster at Sat Sep 4 17:26:37 2021 was used as the home directory. was used as the working directory. Started at Sat Sep 4 17:26:37 2021 Terminated at Sat Sep 4 17:40:25 2021 Results reported at Sat Sep 4 17:40:25 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1158.5+4824_daily_bin189 179.637 48.4161 288316801 288576001 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 : 780.29 sec. Max Memory : 1095 MB Average Memory : 341.04 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 828 sec. Turnaround time : 829 sec. The output (if any) is above this job summary.