/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 107 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 = 7474 number of fields = 30 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1158.5+4824_daily_bin1150 RA = 179.637, Dec = 48.4161 tmin = 537408001, tmax = 537667201 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='199879', job_status='RUN', time_executed='2021-09-04 17:43:57.433543', time_epoch_executed='1630802637.43' WHERE source_name='4FGL J1158.5+4824' and cadence='daily' and bin_id='1150' Database successfully updated. Done. Creating custom output directory: /scratch/kocevski/199879 Creating custom pfile directory: /scratch/kocevski/199879/pfiles/ Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=537408001.0 && nMetStart<537667201.0' /Data/Flight/Reprocess/P305 Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=537408001.0 && nMetStart<537667201.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /scratch/kocevski/199879/ft1_4FGL_J1158.5+4824_daily_bin1150.fits Retrieving the FT1 file... Issuing command: /afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=537408001.0 && nMetStart<537667201.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Merged file saved to: /scratch/kocevski/199879/ft2_4FGL_J1158.5+4824_daily_bin1150.fits Selecting the photons: time -p gtselect infile=/scratch/kocevski/199879/ft1_4FGL_J1158.5+4824_daily_bin1150.fits outfile=/scratch/kocevski/199879/ft1_filteredMKT_4FGL_J1158.5+4824_daily_bin1150.fits ra=179.637 dec=48.4161 rad=12.0 tmin=537408001.0 tmax=537667201.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 4.56 user 4.28 sys 0.23 Adding sun position to ft2 file: /nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/199879/ft2_4FGL_J1158.5+4824_daily_bin1150.fits Selecting the good time intervals: time -p gtmktime scfile=/scratch/kocevski/199879/ft2_4FGL_J1158.5+4824_daily_bin1150.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/199879/ft1_filteredMKT_4FGL_J1158.5+4824_daily_bin1150.fits evtable="EVENTS" outfile="/scratch/kocevski/199879/ft1_filtered_4FGL_J1158.5+4824_daily_bin1150.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/199879/ft1_filtered_4FGL_J1158.5+4824_daily_bin1150.fits" evtable="EVENTS" scfile=/scratch/kocevski/199879/ft2_4FGL_J1158.5+4824_daily_bin1150.fits sctable="SC_DATA" outfile=/scratch/kocevski/199879/ltcube_537408001_537667201_4FGL_J1158.5+4824_daily_bin1150.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/199879/ft2_4FGL_J1158.5+4824_daily_bin1150.fits .....................! real 12.56 user 12.18 sys 0.34 Generating the exposure map: time -p gtexpmap evfile=/scratch/kocevski/199879/ft1_filtered_4FGL_J1158.5+4824_daily_bin1150.fits evtable="EVENTS" scfile=/scratch/kocevski/199879/ft2_4FGL_J1158.5+4824_daily_bin1150.fits sctable="SC_DATA" expcube=/scratch/kocevski/199879/ltcube_537408001_537667201_4FGL_J1158.5+4824_daily_bin1150.fits outfile=/scratch/kocevski/199879/expmap_537408001_537667201_4FGL_J1158.5+4824_daily_bin1150.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/199879/ltcube_537408001_537667201_4FGL_J1158.5+4824_daily_bin1150.fits .....................! real 191.88 user 185.76 sys 5.60 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/199879/ft1_filtered_4FGL_J1158.5+4824_daily_bin1150.fits scfile=/scratch/kocevski/199879/ft2_4FGL_J1158.5+4824_daily_bin1150.fits outfile=/scratch/kocevski/199879/cmap_537408001_537667201_4FGL_J1158.5+4824_daily_bin1150.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.37 sys 0.15 Creating the high resolution counts map: time -p gtbin evfile=/scratch/kocevski/199879/ft1_filtered_4FGL_J1158.5+4824_daily_bin1150.fits scfile=/scratch/kocevski/199879/ft2_4FGL_J1158.5+4824_daily_bin1150.fits outfile=/scratch/kocevski/199879/cmap_HighResolution_537408001_537667201_4FGL_J1158.5+4824_daily_bin1150.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.37 sys 0.16 Computing the diffuse response: time -p gtdiffrsp evfile=/scratch/kocevski/199879/ft1_filtered_4FGL_J1158.5+4824_daily_bin1150.fits evtable="EVENTS" scfile=/scratch/kocevski/199879/ft2_4FGL_J1158.5+4824_daily_bin1150.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/199879/Model_4FGL_J1158.5+4824_daily_bin1150.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/199879/ft1_filtered_4FGL_J1158.5+4824_daily_bin1150.fits.....................! real 53.81 user 52.31 sys 1.30 Creating the likelihood object... obs = UnbinnedObs('/scratch/kocevski/199879/ft1_filtered_4FGL_J1158.5+4824_daily_bin1150.fits', '/scratch/kocevski/199879/ft2_4FGL_J1158.5+4824_daily_bin1150.fits', expMap='/scratch/kocevski/199879/expmap_537408001_537667201_4FGL_J1158.5+4824_daily_bin1150.fits', expCube='/scratch/kocevski/199879/ltcube_537408001_537667201_4FGL_J1158.5+4824_daily_bin1150.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/scratch/kocevski/199879/Model_4FGL_J1158.5+4824_daily_bin1150.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/199879/ft1_filtered_4FGL_J1158.5+4824_daily_bin1150.fits Spacecraft file(s): /scratch/kocevski/199879/ft2_4FGL_J1158.5+4824_daily_bin1150.fits Exposure map: /scratch/kocevski/199879/expmap_537408001_537667201_4FGL_J1158.5+4824_daily_bin1150.fits Exposure cube: /scratch/kocevski/199879/ltcube_537408001_537667201_4FGL_J1158.5+4824_daily_bin1150.fits IRFs: P8R3_SOURCE_V2 Source model file: /scratch/kocevski/199879/Model_4FGL_J1158.5+4824_daily_bin1150.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) = 6210.53826046 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 6210.4606405 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .10466E-03 1.0000 .10000E-03 10000. 2 'Prefactor ' 17.926 1.0000 .10000E-03 10000. 3 'Prefactor ' 213.65 1.0000 .10000E-03 10000. 4 'Prefactor ' 24.439 1.0000 .10000E-03 10000. 5 'Prefactor ' .10021E-03 1.0000 .10000E-03 10000. 6 'norm ' .10006E-03 1.0000 .10000E-03 10000. 7 'Prefactor ' 6.5950 1.0000 .10000E-03 10000. 8 'Prefactor ' .39299 1.0000 .10000E-03 10000. 9 'norm ' .17649E-03 1.0000 .10000E-03 10000. 10 'Prefactor ' 42.505 1.0000 .10000E-03 10000. 11 'norm ' 1.8465 1.0000 .10000E-03 10000. 12 'norm ' .10000E-03 1.0000 .10000E-03 10000. 13 'Prefactor ' .10007E-03 1.0000 .10000E-03 10000. 14 'Prefactor ' 31.395 1.0000 .10000E-03 10000. 15 'norm ' 8.7366 1.0000 .10000E-03 10000. 16 'Prefactor ' 29.792 1.0000 .10000E-03 10000. 17 'norm ' 6.1983 1.0000 .10000E-03 10000. 18 'norm ' 1.4152 1.0000 .10000E-03 10000. 19 'Prefactor ' .13283 1.0000 .10000E-03 10000. 20 'Prefactor ' .10001E-03 1.0000 .10000E-03 10000. 21 'Prefactor ' .10000E-03 1.0000 .10000E-03 10000. 22 'norm ' 4.1364 1.0000 .10000E-03 10000. 23 'Prefactor ' .10010E-03 1.0000 .10000E-03 10000. 24 'Normalizat' 1.1061 1.0000 .10000E-01 10.000 25 'Prefactor ' .64932 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= 6210.461 FROM MIGRAD STATUS=CONVERGED 606 CALLS 3420 TOTAL EDM= .18E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 2.5% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .10000E-03 35.101 .13543E-07** at limit ** 2 Prefactor 17.950 183.53 -.33056E-06 .81736E-07 3 Prefactor 213.31 142.58 -.11374E-05 -.67356E-04 4 Prefactor 24.450 41.804 -.78068E-06 -.17043E-04 5 Prefactor .10000E-03 81.165 -.22797E-06** at limit ** 6 norm .10000E-03 17.974 .75633E-07** at limit ** 7 Prefactor 6.5992 6.1600 -.27540E-06 .28632E-04 8 Prefactor .25336 29.660 -.42366E-05 .29659E-03 9 norm .10000E-03 1.3691 .12036E-06** at limit ** 10 Prefactor 42.519 39.209 -.38890E-06 -.17010E-04 11 norm 1.8460 1.2857 .37551E-07 .94482E-04 12 norm .10000E-03 3.7663 .11352E-06** at limit ** 13 Prefactor .10000E-03 2.2707 .41668E-06** at limit ** 14 Prefactor 31.402 57.792 -.11448E-06 -.52402E-05 15 norm 8.7395 7.2527 -.27278E-06 .10369E-04 16 Prefactor 29.790 20.374 -.50728E-06 -.84877E-04 17 norm 6.1985 2.5789 -.13965E-06 -.72974E-04 18 norm 1.4146 4.4599 .24018E-05 .85650E-03 19 Prefactor .14060 15.111 -.45321E-05 .65973E-03 20 Prefactor .10000E-03 6.7020 .84255E-06** at limit ** 21 Prefactor .10000E-03 3.2123 .84609E-07** at limit ** 22 norm 4.1363 2.1964 .38862E-06 .13335E-02 23 Prefactor .10001E-03 91.373 .32434E-05** at limit ** 24 Normalizat 1.1060 .18025 .38197E-05 .17671E-04 25 Prefactor .64949 .20352 -.66859E-05 -.16949E-03 ERR DEF= .500 Final values: Prefactor = 0.0001 Prefactor = 17.9503 Prefactor = 213.312 Prefactor = 24.4503 Prefactor = 0.0001 norm = 0.0001 Prefactor = 6.59919 Prefactor = 0.25336 norm = 0.0001 Prefactor = 42.5195 norm = 1.84599 norm = 0.0001 Prefactor = 0.0001 Prefactor = 31.4018 norm = 8.73955 Prefactor = 29.7895 norm = 6.1985 norm = 1.4146 Prefactor = 0.140603 Prefactor = 0.0001 Prefactor = 0.0001 norm = 4.13628 Prefactor = 0.000100006 Normalizat = 1.10597 Prefactor = 0.649485 ********** ** 18 **HESSE ********** FCN= 6210.461 FROM HESSE STATUS=OK 449 CALLS 3869 TOTAL EDM= .67E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .10000E-03 35.110 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor 17.950 183.21 .94596E-04 -1.4860 3 Prefactor 213.31 142.83 .13832E-03 -1.2776 4 Prefactor 24.450 41.818 .81029E-04 -1.4719 5 Prefactor .10000E-03 81.235 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 norm .10000E-03 17.980 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor 6.5992 6.1574 .15626E-03 -1.5194 8 Prefactor .25336 26.405 .11740 -1.5607 9 norm .10000E-03 7.4192 .17599E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor 42.519 39.042 .61489E-04 -1.4403 11 norm 1.8460 1.2807 .61191E-04 -1.5436 12 norm .10000E-03 3.7704 .14934E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor .10000E-03 2.3681 .23130E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor 31.402 57.878 .71510E-04 -1.4587 15 norm 8.7395 7.2512 .13561E-03 -1.5117 16 Prefactor 29.790 20.315 .73404E-04 -1.4616 17 norm 6.1985 2.5800 .76540E-04 -1.5210 18 norm 1.4146 4.5194 .28321E-03 -1.5470 19 Prefactor .14060 11.032 .77579E-01 -1.5633 20 Prefactor .10000E-03 6.9515 .36285E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 Prefactor .10000E-03 3.2135 .13795E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 norm 4.1363 2.2155 .41466E-03 -1.5301 23 Prefactor .10001E-03 92.516 .18142E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 Normalizat 1.1060 .18755 .20913E-03 -.89561 25 Prefactor .64949 .21076 .31962E-03 -1.0554 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 6.66451e-09 Minuit parameter uncertainties: 1 4.50029e-06 2 115.151 3 143.061 4 41.8683 5 0.000160728 6 1.58318e-05 7 6.15804 8 5.17434 9 2.25575e-05 10 39.0651 11 1.28073 12 9.98335e-06 13 2.97724e-05 14 57.9822 15 7.25195 16 20.3194 17 2.58 18 4.52047 19 2.49044 20 8.22433e-05 21 6.47583e-06 22 2.21559 23 0.00143892 24 0.187665 25 0.211017 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 6210.46061331 Extracting fit parameters... 4FGL J1158.5+4824 Spectrum: PowerLaw 349 Prefactor: 2.979e+01 2.032e+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: 6.495e-01 2.110e-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.106e+00 1.877e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 3.41 Ra Dec: 179.637 48.416 Photon Index (Fixed Index): 2.44 +/- 0.00 Photon Flux (Fixed Index): 5.01e-08 +/- 3.41e-08 Energy Flux (Fixed Index): 1.55e-05 +/- 1.06e-05 TS (Fixed Index): 3.41 Ra Dec: 179.637 48.416 Photon Flux Upper Limit: 1.20e-07 ph cm-2 s-1 Energy Flux Upper Limit: 9.30e-03 MeV cm-2 s-1 Saving results to: /scratch/kocevski/199879/likelihoodResults_537408001_537667201_4FGL_J1158.5+4824_daily_bin1150.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) = 6210.35701394 delta logL = 0.103599376845 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 6210.34600179 delta logL = 0.11461152327 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 21.213 1.0000 .10000E-03 10000. 2 'Index ' 2.7723 1.0000 .0000 10.000 3 'Normalizat' 1.0891 1.0000 .10000E-01 10.000 4 'Prefactor ' .66379 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= 6210.346 FROM MIGRAD STATUS=CONVERGED 57 CALLS 258 TOTAL EDM= .58E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 21.172 257.39 .21741E-02 -.57885E-03 2 Index 2.7750 3.1591 .15566 -.14432E-03 3 Normalizat 1.0887 .59825E-01 .38463E-01 -.22506E-03 4 Prefactor .66485 .63993E-01 .71461E-01 -.86285E-04 ERR DEF= .500 Final values: Prefactor = 21.1721 Index = 2.77501 Normalizat = 1.08866 Prefactor = 0.664849 ********** ** 18 **HESSE ********** FCN= 6210.346 FROM HESSE STATUS=OK 29 CALLS 287 TOTAL EDM= .45E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 21.172 28.426 .86964E-04 -1.4787 2 Index 2.7750 .87089 .53550E-02 -.46117 3 Normalizat 1.0887 .17979 .21057E-03 -.90117 4 Prefactor .66485 .21287 .31629E-03 -1.0492 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 4.53317e-10 Minuit parameter uncertainties: 1 28.4445 2 0.876476 3 0.179891 4 0.213132 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory rmdir: failed to remove `/scratch/kocevski/199879': 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) = 6210.34596949 delta logL = 0.114643822905 Extracting fit parameters... 4FGL J1158.5+4824 Spectrum: PowerLaw 349 Prefactor: 2.117e+01 2.844e+01 1.000e-04 1.000e+04 ( 1.000e-13) 350 Index: 2.775e+00 8.765e-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: 6.648e-01 2.131e-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.089e+00 1.799e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 3.60 Ra Dec: 179.637 48.416 Photon Index (Free Index): 2.78 +/- 0.88 Photon Flux (Free Index): 6.11e-08 +/- 4.35e-08 Energy Flux (Free Index): 1.39e-05 +/- 9.97e-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/199879/cmap_HighResolution_537408001_537667201_4FGL_J1158.5+4824_daily_bin1150.png Cleaning up... ** Nuclear option initiated! ** rmdir /scratch/kocevski/199879 Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.30e-03', comment='SUCCESS', photon_flux='5.01e-08', energy_flux2='1.39e-05', photon_flux_error='3.41e-08', dlogl='1.15e-01', energy_flux='1.55e-05', photon_flux2='6.11e-08', job_status='DONE', time_completed='2021-09-04 17:58:14.047608', photon_index_error2='0.88', photon_index2='2.78', ts='3.41', fit_tolerance='1e-08', GAL='0.65', photon_index_error='0.00', photon_flux_upper_limit='1.20e-07', energy_flux_error2='9.97e-06', EG='1.11', time_epoch_completed='1630803494.05', return_code='0', job_id='199879', GAL2='0.66', EG2='1.09', return_code2='0', energy_flux_error='1.06e-05', photon_flux_error2='4.35e-08', ts2='3.60', photon_index='2.44' WHERE bin_id='1150' AND source_name='4FGL J1158.5+4824' AND cadence='daily'; Database successfully updated. Analysis Complete. Sat Sep 4 17:58:14 PDT 2021 ------------------------------------------------------------ Sender: LSF System Subject: Job 199879: <4FGL_J1158.5+4824_daily_bin1150> in cluster Done Job <4FGL_J1158.5+4824_daily_bin1150> was submitted from host by user in cluster at Sat Sep 4 17:41:47 2021 Job was executed on host(s) , in queue , as user in cluster at Sat Sep 4 17:41:48 2021 was used as the home directory. was used as the working directory. Started at Sat Sep 4 17:41:48 2021 Terminated at Sat Sep 4 17:58:14 2021 Results reported at Sat Sep 4 17:58:14 2021 Your job looked like: ------------------------------------------------------------ # LSBATCH: User input /nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1158.5+4824_daily_bin1150 179.637 48.4161 537408001 537667201 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 : 848.43 sec. Max Memory : 1256 MB Average Memory : 308.43 MB Total Requested Memory : - Delta Memory : - Max Swap : - Max Processes : 5 Max Threads : 21 Run time : 986 sec. Turnaround time : 987 sec. The output (if any) is above this job summary.