/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 92 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 = 17379 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1158.5+4824_weekly_bin707 RA = 179.637, Dec = 48.4161 tmin = 666576001, tmax = 667180801 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='905070', job_status='RUN', time_executed='2022-02-22 00:19:01.544531', time_epoch_executed='1645517941.54' WHERE source_name='4FGL J1158.5+4824' and cadence='weekly' and bin_id='707' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/905070 Creating custom pfile directory: /scratch/kocevski/905070/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=666576001.0 && nMetStart<667180801.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=666576001.0 && nMetStart<667180801.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/905070/ft1_4FGL_J1158.5+4824_weekly_bin707.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=666576001.0 && nMetStart<667180801.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Merged file saved to: /scratch/kocevski/905070/ft2_4FGL_J1158.5+4824_weekly_bin707.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/905070/ft1_4FGL_J1158.5+4824_weekly_bin707.fits outfile=/scratch/kocevski/905070/ft1_filteredMKT_4FGL_J1158.5+4824_weekly_bin707.fits ra=179.637 dec=48.4161 rad=12.0 tmin=666576001.0 tmax=667180801.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 6.58 user 6.26 sys 0.24 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/905070/ft2_4FGL_J1158.5+4824_weekly_bin707.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/905070/ft2_4FGL_J1158.5+4824_weekly_bin707.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/905070/ft1_filteredMKT_4FGL_J1158.5+4824_weekly_bin707.fits evtable="EVENTS" outfile="/scratch/kocevski/905070/ft1_filtered_4FGL_J1158.5+4824_weekly_bin707.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.54 user 0.38 sys 0.15 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/905070/ft1_filtered_4FGL_J1158.5+4824_weekly_bin707.fits" evtable="EVENTS" scfile=/scratch/kocevski/905070/ft2_4FGL_J1158.5+4824_weekly_bin707.fits sctable="SC_DATA" outfile=/scratch/kocevski/905070/ltcube_666576001_667180801_4FGL_J1158.5+4824_weekly_bin707.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/905070/ft2_4FGL_J1158.5+4824_weekly_bin707.fits .....................! real 28.08 user 27.53 sys 0.32 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/905070/ft1_filtered_4FGL_J1158.5+4824_weekly_bin707.fits evtable="EVENTS" scfile=/scratch/kocevski/905070/ft2_4FGL_J1158.5+4824_weekly_bin707.fits sctable="SC_DATA" expcube=/scratch/kocevski/905070/ltcube_666576001_667180801_4FGL_J1158.5+4824_weekly_bin707.fits outfile=/scratch/kocevski/905070/expmap_666576001_667180801_4FGL_J1158.5+4824_weekly_bin707.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/905070/ltcube_666576001_667180801_4FGL_J1158.5+4824_weekly_bin707.fits .....................! real 191.70 user 185.35 sys 5.56 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/905070/ft1_filtered_4FGL_J1158.5+4824_weekly_bin707.fits scfile=/scratch/kocevski/905070/ft2_4FGL_J1158.5+4824_weekly_bin707.fits outfile=/scratch/kocevski/905070/cmap_666576001_667180801_4FGL_J1158.5+4824_weekly_bin707.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.57 user 0.39 sys 0.16 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/905070/ft1_filtered_4FGL_J1158.5+4824_weekly_bin707.fits scfile=/scratch/kocevski/905070/ft2_4FGL_J1158.5+4824_weekly_bin707.fits outfile=/scratch/kocevski/905070/cmap_HighResolution_666576001_667180801_4FGL_J1158.5+4824_weekly_bin707.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.40 sys 0.16 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/905070/ft1_filtered_4FGL_J1158.5+4824_weekly_bin707.fits evtable="EVENTS" scfile=/scratch/kocevski/905070/ft2_4FGL_J1158.5+4824_weekly_bin707.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/905070/Model_4FGL_J1158.5+4824_weekly_bin707.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/905070/ft1_filtered_4FGL_J1158.5+4824_weekly_bin707.fits.....................! real 36.88 user 35.06 sys 1.20 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/905070/ft1_filtered_4FGL_J1158.5+4824_weekly_bin707.fits', '/scratch/kocevski/905070/ft2_4FGL_J1158.5+4824_weekly_bin707.fits', expMap='/scratch/kocevski/905070/expmap_666576001_667180801_4FGL_J1158.5+4824_weekly_bin707.fits', expCube='/scratch/kocevski/905070/ltcube_666576001_667180801_4FGL_J1158.5+4824_weekly_bin707.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/905070/Model_4FGL_J1158.5+4824_weekly_bin707.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/905070/ft1_filtered_4FGL_J1158.5+4824_weekly_bin707.fits Spacecraft file(s): /scratch/kocevski/905070/ft2_4FGL_J1158.5+4824_weekly_bin707.fits Exposure map: /scratch/kocevski/905070/expmap_666576001_667180801_4FGL_J1158.5+4824_weekly_bin707.fits Exposure cube: /scratch/kocevski/905070/ltcube_666576001_667180801_4FGL_J1158.5+4824_weekly_bin707.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/905070/Model_4FGL_J1158.5+4824_weekly_bin707.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) = 3640.99142714 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 3639.71196344 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 6062.0 1.0000 .10000E-03 10000. 2 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 3 'Prefactor ' .10026E-03 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 ' 22.317 1.0000 .10000E-03 10000. 8 'Prefactor ' .10002E-03 1.0000 .10000E-03 10000. 9 'norm ' .10000E-03 1.0000 .10000E-03 10000. 10 'Prefactor ' .10002E-03 1.0000 .10000E-03 10000. 11 'norm ' 2.2035 1.0000 .10000E-03 10000. 12 'norm ' .10000E-03 1.0000 .10000E-03 10000. 13 'Prefactor ' 1.7142 1.0000 .10000E-03 10000. 14 'Prefactor ' .10039E-03 1.0000 .10000E-03 10000. 15 'norm ' 12.436 1.0000 .10000E-03 10000. 16 'Prefactor ' 135.06 1.0000 .10000E-03 10000. 17 'norm ' 2.0398 1.0000 .10000E-03 10000. 18 'norm ' 12.089 1.0000 .10000E-03 10000. 19 'Prefactor ' .12047 1.0000 .10000E-03 10000. 20 'Prefactor ' 5.5433 1.0000 .10000E-03 10000. 21 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 22 'norm ' 2.8089 1.0000 .10000E-03 10000. 23 'Prefactor ' .10017E-03 1.0000 .10000E-03 10000. 24 'Normalizat' .47247 1.0000 .10000E-01 10.000 25 'Prefactor ' 1.4937 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= 3639.712 FROM MIGRAD STATUS=CONVERGED 619 CALLS 4404 TOTAL EDM= .17E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 8.3% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 6061.5 7748.4 .80417E-05 .48717E-07 2 Prefactor .10000E-03 836.23 .86668E-06** at limit ** 3 Prefactor .10103E-03 8568.7 .19531E-04** at limit ** 4 Prefactor .10000E-03 203.36 .45461E-06** at limit ** 5 Prefactor .10002E-03 290.06 -.23791E-05** at limit ** 6 norm .10000E-03 85.171 .22032E-06** at limit ** 7 Prefactor 22.312 25.189 .11241E-06 -.69509E-04 8 Prefactor .10000E-03 123.42 -.14582E-05** at limit ** 9 norm .10000E-03 5.7553 .34520E-06** at limit ** 10 Prefactor .10000E-03 182.01 .78021E-05** at limit ** 11 norm 2.2024 3.6240 .60758E-06 .77241E-03 12 norm .10000E-03 21.420 .17290E-05** at limit ** 13 Prefactor 1.7136 7.8360 -.59054E-05 .73804E-04 14 Prefactor .10007E-03 503.68 .15385E-04** at limit ** 15 norm 12.435 7.9202 .61730E-07 -.32467E-04 16 Prefactor 135.07 75.549 .80074E-05 .30488E-03 17 norm 2.0394 3.0341 .71122E-06 .48489E-03 18 norm 12.106 11.183 -.39720E-05 -.33054E-03 19 Prefactor .12587E-03 9505.3 -.45302E-03** at limit ** 20 Prefactor 5.5423 6.3041 .40487E-06 .19878E-03 21 Prefactor .10000E-03 33.730 .12807E-05** at limit ** 22 norm 2.8088 1.6435 .26670E-07 -.91508E-04 23 Prefactor .10000E-03 109.66 .11671E-05** at limit ** 24 Normalizat .47259 .24479 -.22878E-05 .12519E-03 25 Prefactor 1.4936 .28272 -.22869E-06 .31427E-03 ERR DEF= .500 Final values: Prefactor = 6061.53 Prefactor = 0.000100003 Prefactor = 0.000101033 Prefactor = 0.000100001 Prefactor = 0.000100016 norm = 0.0001 Prefactor = 22.3123 Prefactor = 0.000100001 norm = 0.0001 Prefactor = 0.000100003 norm = 2.20235 norm = 0.0001 Prefactor = 1.71361 Prefactor = 0.000100066 norm = 12.4353 Prefactor = 135.071 norm = 2.03935 norm = 12.1057 Prefactor = 0.000125872 Prefactor = 5.54234 Prefactor = 0.0001 norm = 2.8088 Prefactor = 0.000100005 Normalizat = 0.47259 Prefactor = 1.49364 ********** ** 18 **HESSE ********** FCN= 3639.712 FROM HESSE STATUS=OK 429 CALLS 4833 TOTAL EDM= .16E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 6061.5 7748.8 .40934E-04 .21393 2 Prefactor .10000E-03 836.45 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .10103E-03 8585.2 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .10000E-03 203.44 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .10002E-03 291.22 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 norm .10000E-03 85.178 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor 22.312 25.187 .84788E-04 -1.4763 8 Prefactor .10000E-03 124.44 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 norm .10000E-03 5.7553 .14136E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor .10000E-03 182.44 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 norm 2.2024 3.6263 .14131E-03 -1.5411 12 norm .10000E-03 21.458 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 1.7136 8.0397 .27981E-03 -1.5446 14 Prefactor .10007E-03 505.43 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 norm 12.435 7.9162 .11359E-03 -1.5003 16 Prefactor 135.07 76.416 .34654E-04 -1.3378 17 norm 2.0394 3.0138 .11708E-03 -1.5422 18 norm 12.106 11.983 .11521E-03 -1.5012 19 Prefactor .12587E-03 77.793 .86714E-01 -1.5707 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Prefactor 5.5423 6.3023 .14987E-03 -1.5237 21 Prefactor .10000E-03 34.745 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 norm 2.8088 1.6431 .56870E-04 -1.5373 23 Prefactor .10000E-03 110.27 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 Normalizat .47259 .27115 .33880E-03 -1.1370 25 Prefactor 1.4936 .31843 .25278E-03 -.77718 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.55572e-09 Minuit parameter uncertainties: 1 6377.24 2 0.00343668 3 0.205245 4 0.00102553 5 0.00431467 6 0.000178143 7 25.1992 8 0.000683324 9 4.38958e-06 10 0.00136566 11 3.62666 12 8.13451e-05 13 7.42488 14 0.0116452 15 7.9169 16 76.4722 17 3.014 18 11.9854 19 0.0898424 20 6.30301 21 9.5935e-05 22 1.64311 23 0.00145249 24 0.271912 25 0.318856 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 3639.71195439 Extracting fit parameters... 4FGL J1158.5+4824 Spectrum: PowerLaw 349 Prefactor: 1.351e+02 7.647e+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.494e+00 3.189e-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: 4.726e-01 2.719e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 6.86 Ra Dec: 179.637 48.416 Photon Index (Fixed Index): 2.44 +/- 0.00 Photon Flux (Fixed Index): 2.27e-07 +/- 1.28e-07 Energy Flux (Fixed Index): 7.05e-05 +/- 3.99e-05 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) = 3637.82290153 delta logL = 1.88905285936 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 3637.80459509 delta logL = 1.90735930146 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 21.383 1.0000 .10000E-03 10000. 2 'Index ' 3.8556 1.0000 .0000 10.000 3 'Normalizat' .31633 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.6444 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= 3637.805 FROM MIGRAD STATUS=CONVERGED 60 CALLS 274 TOTAL EDM= .22E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 21.284 125.68 .21655E-02 -.99448E-04 2 Index 3.8582 2.5097 .56496E-01 .47176E-04 3 Normalizat .31607 .12535 .92598E-01 .26485E-04 4 Prefactor 1.6448 .14875 .54952E-01 -.12267E-03 ERR DEF= .500 Final values: Prefactor = 21.2837 Index = 3.85821 Normalizat = 0.316074 Prefactor = 1.64481 ********** ** 18 **HESSE ********** FCN= 3637.805 FROM HESSE STATUS=OK 31 CALLS 305 TOTAL EDM= .11E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 21.284 81.075 .86619E-04 -1.4785 2 Index 3.8582 2.0782 .24283E-02 -.23039 3 Normalizat .31607 .28101 .41010E-03 -1.2189 4 Prefactor 1.6448 .35359 .24292E-03 -.73561 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.0861e-10 Minuit parameter uncertainties: 1 81.4992 2 2.14719 3 0.282269 4 0.354126 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/905070': 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) = 3637.80459069 delta logL = 1.9073637006 Extracting fit parameters... 4FGL J1158.5+4824 Spectrum: PowerLaw 349 Prefactor: 2.128e+01 8.150e+01 1.000e-04 1.000e+04 ( 1.000e-13) 350 Index: 3.858e+00 2.147e+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.645e+00 3.541e-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: 3.161e-01 2.823e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 11.49 Ra Dec: 179.637 48.416 Photon Index (Free Index): 3.86 +/- 2.15 Photon Flux (Free Index): 4.36e-07 +/- 2.08e-07 Energy Flux (Free Index): 6.70e-05 +/- 2.82e-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/905070/cmap_HighResolution_666576001_667180801_4FGL_J1158.5+4824_weekly_bin707.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/905070 Updating database... UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.27e-07', energy_flux2='6.70e-05', photon_flux_error='1.28e-07', dlogl='1.91e+00', energy_flux='7.05e-05', photon_flux2='4.36e-07', job_status='DONE', time_completed='2022-02-22 00:29:47.350735', photon_index_error2='2.15', photon_index2='3.86', ts='6.86', fit_tolerance='1e-08', GAL='1.49', photon_index_error='0.00', energy_flux_error2='2.82e-05', EG='0.47', time_epoch_completed='1645518587.35', return_code='0', job_id='905070', GAL2='1.64', EG2='0.32', return_code2='0', energy_flux_error='3.99e-05', photon_flux_error2='2.08e-07', ts2='11.49', photon_index='2.44' WHERE bin_id='707' AND source_name='4FGL J1158.5+4824' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Feb 22 00:29:47 PST 2022 ------------------------------------------------------------ Sender: LSF System Subject: Job 904508: <4FGL_J1158.5+4824_weekly_bin707> in cluster Done Job <4FGL_J1158.5+4824_weekly_bin707> was submitted from host by user in cluster at Tue Feb 22 00:07:52 2022 Job was executed on host(s) , in queue , as user in cluster at Tue Feb 22 00:14:39 2022 was used as the home directory. was used as the working directory. Started at Tue Feb 22 00:14:39 2022 Terminated at Tue Feb 22 00:28:46 2022 Results reported at Tue Feb 22 00:28:46 2022 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1158.5+4824_weekly_bin707 179.637 48.4161 666576001 667180801 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 : 666.00 sec. Max Memory : 1257 MB Average Memory : 268.50 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 847 sec. Turnaround time : 1254 sec. The output (if any) is above this job summary. ------------------------------------------------------------ Sender: LSF System Subject: Job 905070: <4FGL_J1158.5+4824_weekly_bin707> in cluster Done Job <4FGL_J1158.5+4824_weekly_bin707> was submitted from host by user in cluster at Tue Feb 22 00:08:53 2022 Job was executed on host(s) , in queue , as user in cluster at Tue Feb 22 00:17:15 2022 was used as the home directory. was used as the working directory. Started at Tue Feb 22 00:17:15 2022 Terminated at Tue Feb 22 00:29:48 2022 Results reported at Tue Feb 22 00:29:48 2022 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1158.5+4824_weekly_bin707 179.637 48.4161 666576001 667180801 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 : 645.00 sec. Max Memory : 621 MB Average Memory : 258.19 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 752 sec. Turnaround time : 1255 sec. The output (if any) is above this job summary.