aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 85 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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 = 7460
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1118.2-0415_daily_bin1711
RA = 169.575, Dec = -4.2539
tmin = 682819201, tmax = 683078401
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='101708', job_status='RUN', time_executed='2022-09-16 15:54:25.497236', time_epoch_executed='1663368865.5' WHERE source_name='4FGL J1118.2-0415' and cadence='daily' and bin_id='1711'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/101708

Creating custom pfile directory:
/scratch/kocevski/101708/pfiles/

Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=682819201.0 && nMetStart<683078401.0' /Data/Flight/Reprocess/P305

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=682819201.0 && nMetStart<683078401.0' /Data/Flight/Level1/LPA

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/101708/ft1_4FGL_J1118.2-0415_daily_bin1711.fits


Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=682819201.0 && nMetStart<683078401.0' /Data/Flight/Level1/LPA

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/101708/ft2_4FGL_J1118.2-0415_daily_bin1711.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/101708/ft1_4FGL_J1118.2-0415_daily_bin1711.fits outfile=/scratch/kocevski/101708/ft1_filteredMKT_4FGL_J1118.2-0415_daily_bin1711.fits ra=169.575 dec=-4.2539 rad=12.0 tmin=682819201.0 tmax=683078401.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.67
user 4.33
sys 0.26

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/101708/ft2_4FGL_J1118.2-0415_daily_bin1711.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/101708/ft2_4FGL_J1118.2-0415_daily_bin1711.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/101708/ft1_filteredMKT_4FGL_J1118.2-0415_daily_bin1711.fits evtable="EVENTS" outfile="/scratch/kocevski/101708/ft1_filtered_4FGL_J1118.2-0415_daily_bin1711.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.53
user 0.34
sys 0.16

Number of photons that the gtmktime cut: 702

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/101708/ft1_filtered_4FGL_J1118.2-0415_daily_bin1711.fits" evtable="EVENTS" scfile=/scratch/kocevski/101708/ft2_4FGL_J1118.2-0415_daily_bin1711.fits sctable="SC_DATA" outfile=/scratch/kocevski/101708/ltcube_682819201_683078401_4FGL_J1118.2-0415_daily_bin1711.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/101708/ft2_4FGL_J1118.2-0415_daily_bin1711.fits
.....................!
real 13.28
user 12.80
sys 0.43

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/101708/ft1_filtered_4FGL_J1118.2-0415_daily_bin1711.fits evtable="EVENTS" scfile=/scratch/kocevski/101708/ft2_4FGL_J1118.2-0415_daily_bin1711.fits sctable="SC_DATA" expcube=/scratch/kocevski/101708/ltcube_682819201_683078401_4FGL_J1118.2-0415_daily_bin1711.fits outfile=/scratch/kocevski/101708/expmap_682819201_683078401_4FGL_J1118.2-0415_daily_bin1711.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/101708/ltcube_682819201_683078401_4FGL_J1118.2-0415_daily_bin1711.fits
.....................!
real 192.30
user 186.68
sys 5.09

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 192 point sources and 0 extended sources

Setting source of interest to:
4FGL J1118.2-0415 @ 169.575 -4.2539

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/101708/ft1_filtered_4FGL_J1118.2-0415_daily_bin1711.fits scfile=/scratch/kocevski/101708/ft2_4FGL_J1118.2-0415_daily_bin1711.fits outfile=/scratch/kocevski/101708/cmap_682819201_683078401_4FGL_J1118.2-0415_daily_bin1711.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=169.575 yref=-4.2539 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.59
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/101708/ft1_filtered_4FGL_J1118.2-0415_daily_bin1711.fits scfile=/scratch/kocevski/101708/ft2_4FGL_J1118.2-0415_daily_bin1711.fits outfile=/scratch/kocevski/101708/cmap_HighResolution_682819201_683078401_4FGL_J1118.2-0415_daily_bin1711.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=169.575 yref=-4.2539 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.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/101708/ft1_filtered_4FGL_J1118.2-0415_daily_bin1711.fits evtable="EVENTS" scfile=/scratch/kocevski/101708/ft2_4FGL_J1118.2-0415_daily_bin1711.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/101708/Model_4FGL_J1118.2-0415_daily_bin1711.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/101708/ft1_filtered_4FGL_J1118.2-0415_daily_bin1711.fits.....................!
real 68.28
user 66.47
sys 1.58

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/101708/ft1_filtered_4FGL_J1118.2-0415_daily_bin1711.fits', '/scratch/kocevski/101708/ft2_4FGL_J1118.2-0415_daily_bin1711.fits', expMap='/scratch/kocevski/101708/expmap_682819201_683078401_4FGL_J1118.2-0415_daily_bin1711.fits', expCube='/scratch/kocevski/101708/ltcube_682819201_683078401_4FGL_J1118.2-0415_daily_bin1711.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/101708/Model_4FGL_J1118.2-0415_daily_bin1711.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1118.2-0415'

4FGL J1118.2-0415
   Spectrum: PowerLaw
282    Prefactor:  1.706e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
283        Index:  2.639e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
284        Scale:  6.866e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/101708/ft1_filtered_4FGL_J1118.2-0415_daily_bin1711.fits
Spacecraft file(s): /scratch/kocevski/101708/ft2_4FGL_J1118.2-0415_daily_bin1711.fits
Exposure map: /scratch/kocevski/101708/expmap_682819201_683078401_4FGL_J1118.2-0415_daily_bin1711.fits
Exposure cube: /scratch/kocevski/101708/ltcube_682819201_683078401_4FGL_J1118.2-0415_daily_bin1711.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/101708/Model_4FGL_J1118.2-0415_daily_bin1711.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) = 7582.11233238

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 7582.06747252

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .59897E-07   1.0000          .0000       .10000E+07
     2 'norm      '    2.5165       1.0000          .0000       .10000E+07
     3 'norm      '    5.8912       1.0000          .0000       .10000E+07
     4 'Prefactor '    7.7803       1.0000          .0000       .10000E+07
     5 'Prefactor '    .11077E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .16425E-04   1.0000          .0000       .10000E+07
     7 'norm      '    .42250E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    .38636E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    58.729       1.0000          .0000       .10000E+07
    10 'norm      '    .51505E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .80273       1.0000          .0000       .10000E+07
    12 'Prefactor '    .72612E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .27546E-02   1.0000          .0000       .10000E+07
    14 'norm      '    4.4996       1.0000          .0000       .10000E+07
    15 'Prefactor '    1.9847       1.0000          .0000       .10000E+07
    16 'Prefactor '    13.215       1.0000          .0000       .10000E+07
    17 'Prefactor '    14.146       1.0000          .0000       .10000E+07
    18 'Prefactor '    16.191       1.0000          .0000       .10000E+07
    19 'Normalizat'    1.0083       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .91700       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6130E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7582.063     FROM MIGRAD    STATUS=CONVERGED    166 CALLS     1554 TOTAL
                     EDM=   .74E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .60951E-07    9.0464       -.30503E-06** at limit **
   2  norm          2.5172        .63987       -.77761E-08   -.55659E-02
   3  norm          5.9085        5.3357       -.22026E-08   -.15992E-02
   4  Prefactor     7.9012        10.149        .38237E-09   -.41113E-02
   5  Prefactor     .23641E-05    508.85        .54865E-05** at limit **
   6  Prefactor     .77716E-09    12.563        .56800E-06** at limit **
   7  norm           .0000        1.7756       -.13271E-07** at limit **
   8  Prefactor      .0000        1.3401       -.21696E-08** at limit **
   9  Prefactor     58.727        11.077       -.13761E-06   -.78226E-01
  10  norm          .55511E-09    5.1729        .22228E-08** at limit **
  11  Prefactor     .80788        2.1278       -.52950E-08   -.21504E-02
  12  Prefactor     .43410E-07    8.2032        .40599E-06** at limit **
  13  Prefactor     .88818E-09    14.691       -.25350E-06** at limit **
  14  norm          4.5262        4.5654        .15661E-07    .47510E-03
  15  Prefactor     1.9748        2.3349       -.80945E-08   -.30969E-03
  16  Prefactor     13.196        10.261        .10824E-06    .14324E-01
  17  Prefactor     13.880        6.7474        .16191E-06   -.11001    
  18  Prefactor     19.710        40.958       -.59540E-06   -.12155E-01
  19  Normalizat    1.0084        .20525       -.16433E-05   -.43644E-03
  20  Prefactor     .91615        .15393       -.22171E-06   -.53416E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.09512e-08
  norm       = 2.5172
  norm       = 5.90846
  Prefactor  = 7.90119
  Prefactor  = 2.36411e-06
  Prefactor  = 7.77156e-10
  norm       = 0
  Prefactor  = 0
  Prefactor  = 58.7274
  norm       = 5.55112e-10
  Prefactor  = 0.807876
  Prefactor  = 4.34097e-08
  Prefactor  = 8.88178e-10
  norm       = 4.52618
  Prefactor  = 1.97484
  Prefactor  = 13.1963
  Prefactor  = 13.8801
  Prefactor  = 19.7097
  Normalizat = 1.00843
  Prefactor  = 0.916149
 **********
 **   18 **HESSE 
 **********

 FCN=   7582.063     FROM HESSE     STATUS=OK           339 CALLS     1893 TOTAL
                     EDM=   .20E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .60951E-07    9.3368        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.5172        .64081        .64377E-03   -1.5676    
   3  norm          5.9085        5.3505        .41351E-03   -1.5659    
   4  Prefactor     7.9012        10.195        .35926E-03   -1.5652    
   5  Prefactor     .23641E-05    2.7955        .48868E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .77716E-09    12.599        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        1.7779        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        1.3375        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     58.727        11.603        .13050E-03   -1.5555    
  10  norm          .55511E-09    5.1786        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .80788        2.1360        .52731E-03   -1.5690    
  12  Prefactor     .43410E-07    8.4372        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .88818E-09    14.699        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          4.5262        4.5953        .47440E-03   -1.5665    
  15  Prefactor     1.9748        2.3641        .73531E-03   -1.5680    
  16  Prefactor     13.196        10.314        .27528E-03   -1.5635    
  17  Prefactor     13.880        13.861        .26604E-03   -1.5633    
  18  Prefactor     19.710        41.051        .24864E-03   -1.5619    
  19  Normalizat    1.0084        .18118        .46271E-01   -.92749    
  20  Prefactor     .91615        .13307        .45221E-01   -.95579    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.01705e-07
Minuit parameter uncertainties:
  1  0.00150882
  2  0.640806
  3  5.35051
  4  10.1953
  5  0.00514153
  6  0.000196376
  7  5.85009e-06
  8  2.75738e-06
  9  11.6032
  10  0.000109234
  11  2.13599
  12  0.00121004
  13  0.000226205
  14  4.59535
  15  2.36413
  16  10.3142
  17  13.8606
  18  41.0519
  19  0.181291
  20  0.133121
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 7582.06300339

Extracting fit parameters...

4FGL J1118.2-0415
   Spectrum: PowerLaw
282    Prefactor:  2.364e-06  5.142e-03  0.000e+00  1.000e+06 ( 1.000e-12)
283        Index:  2.639e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
284        Scale:  6.866e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
610    Prefactor:  9.161e-01  1.331e-01  0.000e+00  1.000e+01 ( 1.000e+00)
611        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
612        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
609   Normalization:  1.008e+00  1.813e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 169.575 -4.254
Photon Flux Upper Limit: 8.57e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.72e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/101708/likelihoodResults_682819201_683078401_4FGL_J1118.2-0415_daily_bin1711.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): 102
logL (Free Index) = 7582.09911422
delta logL = -0.0361108288444

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7582.02644827
delta logL = 0.0365551227205

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.1094       1.0000          .0000       .10000E+07
     2 'Index     '    2.0468       1.0000          .0000       10.000    
     3 'Normalizat'    1.0097       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91175       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6130E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7582.026     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      262 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.1086        4.2983        .33890E-04   -.35257E-03
   2  Index         2.0496        1.3153        .14009E-01   -.37638E-04
   3  Normalizat    1.0098        .20047        .27920E-03    .20766E-05
   4  Prefactor     .91158        .15368        .22193E-03    .71204E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.10859
  Index      = 2.04956
  Normalizat = 1.00976
  Prefactor  = 0.911577
 **********
 **   18 **HESSE 
 **********

 FCN=   7582.026     FROM HESSE     STATUS=OK            25 CALLS      287 TOTAL
                     EDM=   .28E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.1086        4.2832        .13556E-05   -1.5687    
   2  Index         2.0496        1.3117        .28018E-02   -.63117    
   3  Normalizat    1.0098        .20064        .11168E-04   -.92704    
   4  Prefactor     .91158        .15379        .88773E-05   -.95738    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.78374e-12
Minuit parameter uncertainties:
  1  4.28322
  2  1.33596
  3  0.200788
  4  0.153864
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/101708': 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) = 7582.02644471
delta logL = 0.0365586825574

Extracting fit parameters...

4FGL J1118.2-0415
   Spectrum: PowerLaw
282    Prefactor:  1.109e+00  4.283e+00  0.000e+00  1.000e+06 ( 1.000e-12)
283        Index:  2.050e+00  1.336e+00  0.000e+00  1.000e+01 (-1.000e+00)
284        Scale:  6.866e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
610    Prefactor:  9.116e-01  1.539e-01  0.000e+00  1.000e+01 ( 1.000e+00)
611        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
612        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
609   Normalization:  1.010e+00  2.008e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 169.575 -4.254

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/101708/cmap_HighResolution_682819201_683078401_4FGL_J1118.2-0415_daily_bin1711.png

Cleaning up...

** Nuclear option initiated! **
rmdir /scratch/kocevski/101708

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.72e-03', job_status='DONE', photon_flux_upper_limit='8.57e-08', time_completed='2022-09-16 16:05:21.540827', job_id='101708', GAL2='0.91', fit_tolerance='1e-08', EG2='1.01', EG='1.01', time_epoch_completed='1663369521.54', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='3.66e-02', ts2='0.08', photon_index_error='0.00', photon_index='2.64' WHERE bin_id='1711' AND source_name='4FGL J1118.2-0415' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 16:05:21 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0272>
Subject: Job 101708: <4FGL_J1118.2-0415_daily_bin1711> in cluster <slac> Done

Job <4FGL_J1118.2-0415_daily_bin1711> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 16 15:50:25 2022
Job was executed on host(s) <bullet0272>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 15:52:50 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 15:52:50 2022
Terminated at Fri Sep 16 16:05:22 2022
Results reported at Fri Sep 16 16:05:22 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1118.2-0415_daily_bin1711 169.575 -4.2539 682819201 683078401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1118.2-0415 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   657.44 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             305.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   751 sec.
    Turnaround time :                            897 sec.

The output (if any) is above this job summary.

