/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 197 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 = 7542 number of fields = 31 RA_SUN column already exists. File will not be modified.DDone. Performing analysis on: 4FGL_J1158.5+4824_daily_bin1658 RA = 179.637, Dec = 48.4161 tmin = 669081601, tmax = 669340801 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='696573', job_status='RUN', time_executed='2022-03-19 01:17:13.687237', time_epoch_executed='1647677833.69' WHERE source_name='4FGL J1158.5+4824' and cadence='daily' and bin_id='1658' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/696573 Creating custom pfile directory: /scratch/kocevski/696573/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=669081601.0 && nMetStart<669340801.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=669081601.0 && nMetStart<669340801.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/696573/ft1_4FGL_J1158.5+4824_daily_bin1658.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=669081601.0 && nMetStart<669340801.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Merged file saved to: /scratch/kocevski/696573/ft2_4FGL_J1158.5+4824_daily_bin1658.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/696573/ft1_4FGL_J1158.5+4824_daily_bin1658.fits outfile=/scratch/kocevski/696573/ft1_filteredMKT_4FGL_J1158.5+4824_daily_bin1658.fits ra=179.637 dec=48.4161 rad=12.0 tmin=669081601.0 tmax=669340801.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.37 user 5.13 sys 0.22 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/696573/ft2_4FGL_J1158.5+4824_daily_bin1658.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/696573/ft2_4FGL_J1158.5+4824_daily_bin1658.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/696573/ft1_filteredMKT_4FGL_J1158.5+4824_daily_bin1658.fits evtable="EVENTS" outfile="/scratch/kocevski/696573/ft1_filtered_4FGL_J1158.5+4824_daily_bin1658.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.32 sys 0.17 Number of photons that survived the gtmktime cut: 529 Generating the livetime cube: time -p gtltcube evfile="/scratch/kocevski/696573/ft1_filtered_4FGL_J1158.5+4824_daily_bin1658.fits" evtable="EVENTS" scfile=/scratch/kocevski/696573/ft2_4FGL_J1158.5+4824_daily_bin1658.fits sctable="SC_DATA" outfile=/scratch/kocevski/696573/ltcube_669081601_669340801_4FGL_J1158.5+4824_daily_bin1658.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/696573/ft2_4FGL_J1158.5+4824_daily_bin1658.fits .....................! real 12.39 user 11.85 sys 0.42 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/696573/ft1_filtered_4FGL_J1158.5+4824_daily_bin1658.fits evtable="EVENTS" scfile=/scratch/kocevski/696573/ft2_4FGL_J1158.5+4824_daily_bin1658.fits sctable="SC_DATA" expcube=/scratch/kocevski/696573/ltcube_669081601_669340801_4FGL_J1158.5+4824_daily_bin1658.fits outfile=/scratch/kocevski/696573/expmap_669081601_669340801_4FGL_J1158.5+4824_daily_bin1658.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/696573/ltcube_669081601_669340801_4FGL_J1158.5+4824_daily_bin1658.fits .....................! real 192.72 user 187.38 sys 4.71 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/696573/ft1_filtered_4FGL_J1158.5+4824_daily_bin1658.fits scfile=/scratch/kocevski/696573/ft2_4FGL_J1158.5+4824_daily_bin1658.fits outfile=/scratch/kocevski/696573/cmap_669081601_669340801_4FGL_J1158.5+4824_daily_bin1658.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.54 user 0.38 sys 0.15 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/696573/ft1_filtered_4FGL_J1158.5+4824_daily_bin1658.fits scfile=/scratch/kocevski/696573/ft2_4FGL_J1158.5+4824_daily_bin1658.fits outfile=/scratch/kocevski/696573/cmap_HighResolution_669081601_669340801_4FGL_J1158.5+4824_daily_bin1658.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.16 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/696573/ft1_filtered_4FGL_J1158.5+4824_daily_bin1658.fits evtable="EVENTS" scfile=/scratch/kocevski/696573/ft2_4FGL_J1158.5+4824_daily_bin1658.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/696573/Model_4FGL_J1158.5+4824_daily_bin1658.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/696573/ft1_filtered_4FGL_J1158.5+4824_daily_bin1658.fits.....................! real 51.95 user 50.57 sys 1.22 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/696573/ft1_filtered_4FGL_J1158.5+4824_daily_bin1658.fits', '/scratch/kocevski/696573/ft2_4FGL_J1158.5+4824_daily_bin1658.fits', expMap='/scratch/kocevski/696573/expmap_669081601_669340801_4FGL_J1158.5+4824_daily_bin1658.fits', expCube='/scratch/kocevski/696573/ltcube_669081601_669340801_4FGL_J1158.5+4824_daily_bin1658.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/696573/Model_4FGL_J1158.5+4824_daily_bin1658.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/696573/ft1_filtered_4FGL_J1158.5+4824_daily_bin1658.fits Spacecraft file(s): /scratch/kocevski/696573/ft2_4FGL_J1158.5+4824_daily_bin1658.fits Exposure map: /scratch/kocevski/696573/expmap_669081601_669340801_4FGL_J1158.5+4824_daily_bin1658.fits Exposure cube: /scratch/kocevski/696573/ltcube_669081601_669340801_4FGL_J1158.5+4824_daily_bin1658.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/696573/Model_4FGL_J1158.5+4824_daily_bin1658.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) = 5942.71104091 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 5942.68880098 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .93016E-03 1.0000 .10000E-03 10000. 2 'Prefactor ' 98.787 1.0000 .10000E-03 10000. 3 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 4 'Prefactor ' 45.847 1.0000 .10000E-03 10000. 5 'Prefactor ' 56.283 1.0000 .10000E-03 10000. 6 'norm ' .10002E-03 1.0000 .10000E-03 10000. 7 'Prefactor ' 6.6004 1.0000 .10000E-03 10000. 8 'Prefactor ' .10060E-03 1.0000 .10000E-03 10000. 9 'norm ' 3.1570 1.0000 .10000E-03 10000. 10 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 11 'norm ' .93900 1.0000 .10000E-03 10000. 12 'norm ' 6.4519 1.0000 .10000E-03 10000. 13 'Prefactor ' 1.1154 1.0000 .10000E-03 10000. 14 'Prefactor ' 52.520 1.0000 .10000E-03 10000. 15 'norm ' .10602E-03 1.0000 .10000E-03 10000. 16 'Prefactor ' 26.827 1.0000 .10000E-03 10000. 17 'norm ' 1.5472 1.0000 .10000E-03 10000. 18 'norm ' .10103E-03 1.0000 .10000E-03 10000. 19 'Prefactor ' .10069E-03 1.0000 .10000E-03 10000. 20 'Prefactor ' 2.8398 1.0000 .10000E-03 10000. 21 'Prefactor ' 19.099 1.0000 .10000E-03 10000. 22 'norm ' 2.7772 1.0000 .10000E-03 10000. 23 'Prefactor ' 77.447 1.0000 .10000E-03 10000. 24 'Normalizat' 1.0567 1.0000 .10000E-01 10.000 25 'Prefactor ' 1.1390 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= 5942.689 FROM MIGRAD STATUS=CONVERGED 546 CALLS 2848 TOTAL EDM= .14E-10 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .6% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 396.15 -.55605E-05** at limit ** 2 Prefactor 98.755 125.03 .22824E-06 -.60655E-05 3 Prefactor .10000E-03 31.141 .21879E-07** at limit ** 4 Prefactor 45.834 69.491 -.17461E-05 .73834E-05 5 Prefactor 56.278 67.555 -.24021E-06 -.66673E-06 6 norm .10000E-03 23.588 -.72755E-07** at limit ** 7 Prefactor 6.6018 5.7787 .12575E-06 -.19522E-04 8 Prefactor .10000E-03 29.898 .11976E-06** at limit ** 9 norm 3.1567 2.8982 .10421E-06 -.56376E-05 10 Prefactor .10000E-03 33.241 -.16749E-06** at limit ** 11 norm .93900 1.0906 -.48161E-07 .59080E-04 12 norm 6.4519 7.7803 .78463E-07 -.36706E-05 13 Prefactor 1.1100 3.5038 .21848E-05 -.37061E-04 14 Prefactor 52.487 51.774 .32421E-06 -.28008E-04 15 norm .10000E-03 8.0675 .39350E-07** at limit ** 16 Prefactor 26.853 21.888 -.10423E-05 -.52667E-04 17 norm 1.5465 2.3879 .30717E-06 -.10625E-03 18 norm .10000E-03 3.8693 .10914E-06** at limit ** 19 Prefactor .10000E-03 11.298 .16314E-06** at limit ** 20 Prefactor 2.8390 5.9468 .74338E-06 -.41126E-04 21 Prefactor 19.100 17.662 .15871E-06 -.79104E-05 22 norm 2.7772 1.6815 .51835E-08 -.64894E-05 23 Prefactor 77.503 97.058 .10204E-05 .12345E-04 24 Normalizat 1.0566 .18910 -.64559E-06 -.80683E-04 25 Prefactor 1.1392 .22018 -.89772E-06 -.39464E-04 ERR DEF= .500 Final values: Prefactor = 0.000100001 Prefactor = 98.7547 Prefactor = 0.0001 Prefactor = 45.8336 Prefactor = 56.2777 norm = 0.0001 Prefactor = 6.60181 Prefactor = 0.0001 norm = 3.15669 Prefactor = 0.0001 norm = 0.939002 norm = 6.45189 Prefactor = 1.10998 Prefactor = 52.4871 norm = 0.0001 Prefactor = 26.8526 norm = 1.54651 norm = 0.0001 Prefactor = 0.0001 Prefactor = 2.839 Prefactor = 19.1003 norm = 2.77721 Prefactor = 77.5032 Normalizat = 1.0566 Prefactor = 1.13924 ********** ** 18 **HESSE ********** FCN= 5942.689 FROM HESSE STATUS=OK 435 CALLS 3283 TOTAL EDM= .30E-10 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 396.96 .20809E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor 98.755 125.04 .20223E-03 -1.3717 3 Prefactor .10000E-03 31.143 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor 45.834 69.601 .59215E-04 -1.4353 5 Prefactor 56.278 67.554 .26735E-03 -1.4206 6 norm .10000E-03 23.596 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor 6.6018 5.7847 .15620E-03 -1.5194 8 Prefactor .10000E-03 30.132 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 norm 3.1567 2.8944 .12150E-03 -1.5353 10 Prefactor .10000E-03 33.309 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 norm .93900 1.0517 .80784E-03 -1.5514 12 norm 6.4519 7.7805 .15801E-03 -1.5200 13 Prefactor 1.1100 3.5084 .23571E-03 -1.5497 14 Prefactor 52.487 51.627 .27671E-03 -1.4258 15 norm .10000E-03 8.3457 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor 26.853 21.877 .77345E-04 -1.4671 17 norm 1.5465 2.3726 .13697E-03 -1.5459 18 norm .10000E-03 3.9070 .14807E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor .10000E-03 11.334 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Prefactor 2.8390 5.9308 .24130E-03 -1.5371 21 Prefactor 19.100 17.672 .91647E-04 -1.4834 22 norm 2.7772 1.6853 .75741E-04 -1.5375 23 Prefactor 77.503 97.116 .22815E-03 -1.3945 24 Normalizat 1.0566 .22226 .24593E-03 -.91158 25 Prefactor 1.1392 .25805 .29205E-03 -.88222 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.99701e-11 Minuit parameter uncertainties: 1 0.00101608 2 125.373 3 1.82802e-05 4 69.7251 5 67.6459 6 1.45612e-05 7 5.78519 8 3.56582e-05 9 2.89449 10 3.28115e-05 11 1.05172 12 7.78175 13 3.50906 14 51.6706 15 1.32654e-05 16 21.8838 17 2.37278 18 9.71245e-07 19 2.92746e-06 20 5.93201 21 17.6768 22 1.68534 23 97.3157 24 0.222454 25 0.258338 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 5942.68879666 Extracting fit parameters... 4FGL J1158.5+4824 Spectrum: PowerLaw 349 Prefactor: 2.685e+01 2.188e+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.139e+00 2.583e-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: 1.057e+00 2.225e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 2.99 Ra Dec: 179.637 48.416 Photon Index (Fixed Index): 2.44 +/- 0.00 Photon Flux (Fixed Index): 4.51e-08 +/- 3.68e-08 Energy Flux (Fixed Index): 1.40e-05 +/- 1.14e-05 TS (Fixed Index): 2.99 Ra Dec: 179.637 48.416 Photon Flux Upper Limit: 1.26e-07 ph cm-2 s-1 Energy Flux Upper Limit: 9.74e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/696573/likelihoodResults_669081601_669340801_4FGL_J1158.5+4824_daily_bin1658.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) = 5942.6470488 delta logL = 0.0417478537765 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 5942.64543772 delta logL = 0.0433589338054 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 31.800 1.0000 .10000E-03 10000. 2 'Index ' 2.2234 1.0000 .0000 10.000 3 'Normalizat' 1.0673 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.1294 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= 5942.645 FROM MIGRAD STATUS=CONVERGED 60 CALLS 264 TOTAL EDM= .43E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 31.833 796.89 .17764E-02 -.13587E-04 2 Index 2.2245 5.6590 .16708 .36344E-04 3 Normalizat 1.0674 .14159 .39524E-01 .16639E-04 4 Prefactor 1.1291 .11487 .66267E-01 .16084E-04 ERR DEF= .500 Final values: Prefactor = 31.8327 Index = 2.22447 Normalizat = 1.06741 Prefactor = 1.12911 ********** ** 18 **HESSE ********** FCN= 5942.645 FROM HESSE STATUS=OK 33 CALLS 297 TOTAL EDM= .84E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 31.833 28.958 .71055E-04 -1.4579 2 Index 2.2245 .70943 .90484E-02 -.58849 3 Normalizat 1.0674 .20928 .24482E-03 -.90805 4 Prefactor 1.1291 .25591 .29314E-03 -.88542 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 8.37294e-10 Minuit parameter uncertainties: 1 28.9705 2 0.712913 3 0.209444 4 0.256185 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/696573': 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) = 5942.64543364 delta logL = 0.0433630196076 Extracting fit parameters... 4FGL J1158.5+4824 Spectrum: PowerLaw 349 Prefactor: 3.183e+01 2.897e+01 1.000e-04 1.000e+04 ( 1.000e-13) 350 Index: 2.224e+00 7.129e-01 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.129e+00 2.562e-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: 1.067e+00 2.094e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 3.07 Ra Dec: 179.637 48.416 Photon Index (Free Index): 2.22 +/- 0.71 Photon Flux (Free Index): 3.86e-08 +/- 3.72e-08 Energy Flux (Free Index): 1.66e-05 +/- 1.75e-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/696573/cmap_HighResolution_669081601_669340801_4FGL_J1158.5+4824_daily_bin1658.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/696573 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.74e-03', comment='SUCCESS', photon_flux='4.51e-08', energy_flux2='1.66e-05', photon_flux_error='3.68e-08', dlogl='4.34e-02', energy_flux='1.40e-05', photon_flux2='3.86e-08', job_status='DONE', time_completed='2022-03-19 01:29:50.903702', photon_index_error2='0.71', photon_index2='2.22', ts='2.99', fit_tolerance='1e-08', GAL='1.14', photon_index_error='0.00', photon_flux_upper_limit='1.26e-07', energy_flux_error2='1.75e-05', EG='1.06', time_epoch_completed='1647678590.9', return_code='0', job_id='696573', GAL2='1.13', EG2='1.07', return_code2='0', energy_flux_error='1.14e-05', photon_flux_error2='3.72e-08', ts2='3.07', photon_index='2.44' WHERE bin_id='1658' AND source_name='4FGL J1158.5+4824' AND cadence='daily'; Database successfully updated. Analysis Complete. Sat Mar 19 01:29:50 PDT 2022 ------------------------------------------------------------ Sender: LSF System Subject: Job 696624: <4FGL_J1158.5+4824_daily_bin1658> in cluster Done Job <4FGL_J1158.5+4824_daily_bin1658> was submitted from host by user in cluster at Sat Mar 19 00:07:17 2022 Job was executed on host(s) , in queue , as user in cluster at Sat Mar 19 01:14:00 2022 was used as the home directory. was used as the working directory. Started at Sat Mar 19 01:14:00 2022 Terminated at Sat Mar 19 01:27:53 2022 Results reported at Sat Mar 19 01:27:53 2022 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1158.5+4824_daily_bin1658 179.637 48.4161 669081601 669340801 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 : 764.00 sec. Max Memory : 1136 MB Average Memory : 323.54 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 835 sec. Turnaround time : 4836 sec. The output (if any) is above this job summary. ------------------------------------------------------------ Sender: LSF System Subject: Job 696573: <4FGL_J1158.5+4824_daily_bin1658> in cluster Done Job <4FGL_J1158.5+4824_daily_bin1658> was submitted from host by user in cluster at Sat Mar 19 00:07:15 2022 Job was executed on host(s) , in queue , as user in cluster at Sat Mar 19 01:13:47 2022 was used as the home directory. was used as the working directory. Started at Sat Mar 19 01:13:47 2022 Terminated at Sat Mar 19 01:29:51 2022 Results reported at Sat Mar 19 01:29:51 2022 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1158.5+4824_daily_bin1658 179.637 48.4161 669081601 669340801 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 : 758.16 sec. Max Memory : 791 MB Average Memory : 273.53 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 964 sec. Turnaround time : 4956 sec. The output (if any) is above this job summary.