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


Performing analysis on: 4FGL_J1118.2-0415_daily_bin1753
RA = 169.575, Dec = -4.2539
tmin = 693705601, tmax = 693964801
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='452608', job_status='RUN', time_executed='2022-12-29 00:51:45.931237', time_epoch_executed='1672303905.93' WHERE source_name='4FGL J1118.2-0415' and cadence='daily' and bin_id='1753'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/452608

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/452608/ft1_4FGL_J1118.2-0415_daily_bin1753.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/452608/ft2_4FGL_J1118.2-0415_daily_bin1753.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/452608/ft1_4FGL_J1118.2-0415_daily_bin1753.fits outfile=/scratch/kocevski/452608/ft1_filteredMKT_4FGL_J1118.2-0415_daily_bin1753.fits ra=169.575 dec=-4.2539 rad=12.0 tmin=693705601.0 tmax=693964801.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.63
user 4.37
sys 0.24

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

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

Number of photons that the gtmktime cut: 523

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/452608/ft1_filtered_4FGL_J1118.2-0415_daily_bin1753.fits" evtable="EVENTS" scfile=/scratch/kocevski/452608/ft2_4FGL_J1118.2-0415_daily_bin1753.fits sctable="SC_DATA" outfile=/scratch/kocevski/452608/ltcube_693705601_693964801_4FGL_J1118.2-0415_daily_bin1753.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/452608/ft2_4FGL_J1118.2-0415_daily_bin1753.fits
.....................!
real 14.24
user 13.77
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/452608/ft1_filtered_4FGL_J1118.2-0415_daily_bin1753.fits evtable="EVENTS" scfile=/scratch/kocevski/452608/ft2_4FGL_J1118.2-0415_daily_bin1753.fits sctable="SC_DATA" expcube=/scratch/kocevski/452608/ltcube_693705601_693964801_4FGL_J1118.2-0415_daily_bin1753.fits outfile=/scratch/kocevski/452608/expmap_693705601_693964801_4FGL_J1118.2-0415_daily_bin1753.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/452608/ltcube_693705601_693964801_4FGL_J1118.2-0415_daily_bin1753.fits
.....................!
real 191.80
user 186.33
sys 5.00

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/452608/ft1_filtered_4FGL_J1118.2-0415_daily_bin1753.fits scfile=/scratch/kocevski/452608/ft2_4FGL_J1118.2-0415_daily_bin1753.fits outfile=/scratch/kocevski/452608/cmap_693705601_693964801_4FGL_J1118.2-0415_daily_bin1753.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.56
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/452608/ft1_filtered_4FGL_J1118.2-0415_daily_bin1753.fits scfile=/scratch/kocevski/452608/ft2_4FGL_J1118.2-0415_daily_bin1753.fits outfile=/scratch/kocevski/452608/cmap_HighResolution_693705601_693964801_4FGL_J1118.2-0415_daily_bin1753.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.55
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/452608/ft1_filtered_4FGL_J1118.2-0415_daily_bin1753.fits evtable="EVENTS" scfile=/scratch/kocevski/452608/ft2_4FGL_J1118.2-0415_daily_bin1753.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/452608/Model_4FGL_J1118.2-0415_daily_bin1753.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/452608/ft1_filtered_4FGL_J1118.2-0415_daily_bin1753.fits.....................!
real 55.21
user 53.92
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/452608/ft1_filtered_4FGL_J1118.2-0415_daily_bin1753.fits', '/scratch/kocevski/452608/ft2_4FGL_J1118.2-0415_daily_bin1753.fits', expMap='/scratch/kocevski/452608/expmap_693705601_693964801_4FGL_J1118.2-0415_daily_bin1753.fits', expCube='/scratch/kocevski/452608/ltcube_693705601_693964801_4FGL_J1118.2-0415_daily_bin1753.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/452608/Model_4FGL_J1118.2-0415_daily_bin1753.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/452608/ft1_filtered_4FGL_J1118.2-0415_daily_bin1753.fits
Spacecraft file(s): /scratch/kocevski/452608/ft2_4FGL_J1118.2-0415_daily_bin1753.fits
Exposure map: /scratch/kocevski/452608/expmap_693705601_693964801_4FGL_J1118.2-0415_daily_bin1753.fits
Exposure cube: /scratch/kocevski/452608/ltcube_693705601_693964801_4FGL_J1118.2-0415_daily_bin1753.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/452608/Model_4FGL_J1118.2-0415_daily_bin1753.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) = 5736.05812298

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .16123E-02   1.0000          .0000       .10000E+07
     2 'norm      '    .96236       1.0000          .0000       .10000E+07
     3 'norm      '    2.2538       1.0000          .0000       .10000E+07
     4 'Prefactor '    .25241E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    1.3816       1.0000          .0000       .10000E+07
     6 'Prefactor '    44.599       1.0000          .0000       .10000E+07
     7 'norm      '    1.4838       1.0000          .0000       .10000E+07
     8 'Prefactor '    .60369E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    77.636       1.0000          .0000       .10000E+07
    10 'norm      '    .45474E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    4.0464       1.0000          .0000       .10000E+07
    12 'Prefactor '    .11715E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .55138       1.0000          .0000       .10000E+07
    14 'norm      '    .13032E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    .81608E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    12.712       1.0000          .0000       .10000E+07
    17 'Prefactor '    48.637       1.0000          .0000       .10000E+07
    18 'Prefactor '    .10256       1.0000          .0000       .10000E+07
    19 'Normalizat'    1.0036       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .96247       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=   5736.054     FROM MIGRAD    STATUS=CONVERGED    159 CALLS     1582 TOTAL
                     EDM=   .51E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.3346        .23341E-05** at limit **
   2  norm          .96241        .49502        .30981E-06   -.64078E-03
   3  norm          2.2156        5.6955        .95549E-06   -.18629E-02
   4  Prefactor     .12212E-08    99.341        .20680E-05** at limit **
   5  Prefactor     1.3778        4.3736        .79732E-06    .51983E-03
   6  Prefactor     43.291        59.638       -.36079E-05   -.68905E-04
   7  norm          1.5005        10.642        .22239E-05    .17351E-03
   8  Prefactor      .0000        2.8988       -.15198E-05** at limit **
   9  Prefactor     77.640        2.1899        .13275E-06   -.43426E-02
  10  norm          .55511E-10    6.5039       -.10149E-05** at limit **
  11  Prefactor     4.0439        2.1154       -.21726E-06   -.10427E-02
  12  Prefactor     .55511E-10    13.721       -.63065E-06** at limit **
  13  Prefactor     .67656        1.7385       -.38757E-06    .93277E-04
  14  norm           .0000        1.9368       -.85815E-06** at limit **
  15  Prefactor      .0000        4.4285        .11275E-05** at limit **
  16  Prefactor     12.684        15.545        .45647E-06   -.39869E-04
  17  Prefactor     48.672        21.223        .15016E-05    .34832E-03
  18  Prefactor      .0000        30.665       -.81160E-06** at limit **
  19  Normalizat    1.0033        .24218        .24892E-04   -.36212E-04
  20  Prefactor     .96286        .18302       -.35427E-04   -.51813E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 0.962409
  norm       = 2.21559
  Prefactor  = 1.22125e-09
  Prefactor  = 1.37775
  Prefactor  = 43.2906
  norm       = 1.50052
  Prefactor  = 0
  Prefactor  = 77.6397
  norm       = 5.55112e-11
  Prefactor  = 4.04388
  Prefactor  = 5.55112e-11
  Prefactor  = 0.676562
  norm       = 0
  Prefactor  = 0
  Prefactor  = 12.6837
  Prefactor  = 48.672
  Prefactor  = 0
  Normalizat = 1.00328
  Prefactor  = 0.962863
 **********
 **   18 **HESSE 
 **********

 FCN=   5736.054     FROM HESSE     STATUS=OK           331 CALLS     1913 TOTAL
                     EDM=   .39E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.3271        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .96241        .49608        .42428E-03   -1.5688    
   3  norm          2.2156        5.7023        .68410E-03   -1.5678    
   4  Prefactor     .12212E-08    99.453        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.3778        4.4767        .92551E-03   -1.5684    
   6  Prefactor     43.291        59.705        .14975E-03   -1.5576    
   7  norm          1.5005        11.099        .88046E-03   -1.5683    
   8  Prefactor      .0000        2.8920        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     77.640        18.217        .11350E-03   -1.5532    
  10  norm          .55511E-10    6.5077        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     4.0439        2.1161        .50102E-03   -1.5668    
  12  Prefactor     .55511E-10    13.719        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .67656        218.71        .73701E-03   -1.5692    
  14  norm           .0000        1.9312        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        4.3629        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     12.684        15.561        .28069E-03   -1.5637    
  17  Prefactor     48.672        21.255        .14340E-03   -1.5568    
  18  Prefactor      .0000        30.629        .13861E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.0033        .21030        .46211E-01   -.92921    
  20  Prefactor     .96286        .15875        .45796E-01   -.93978    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.91597e-07
Minuit parameter uncertainties:
  1  1.36834e-06
  2  0.496079
  3  5.70236
  4  0.00069614
  5  4.47675
  6  59.7058
  7  8.162
  8  9.3413e-06
  9  18.217
  10  4.4094e-05
  11  2.11608
  12  6.03684e-05
  13  24.3297
  14  7.20028e-06
  15  3.36118e-07
  16  15.5607
  17  21.2551
  18  1.52598e-05
  19  0.210471
  20  0.158825
Done.

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

Extracting fit parameters...

4FGL J1118.2-0415
   Spectrum: PowerLaw
282    Prefactor:  1.378e+00  4.477e+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

GAL_V02
   Spectrum: PowerLaw
610    Prefactor:  9.629e-01  1.588e-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.003e+00  2.105e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.12
Ra Dec: 169.575 -4.254
Photon Flux Upper Limit: 1.17e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.18e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/452608/likelihoodResults_693705601_693964801_4FGL_J1118.2-0415_daily_bin1753.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) = 5736.01877137
delta logL = 0.0351742987814

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5736.00088237
delta logL = 0.0530632983618

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.3762       1.0000          .0000       .10000E+07
     2 'Index     '    2.2312       1.0000          .0000       10.000    
     3 'Normalizat'    1.0076       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95836       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.

 FCN=   5736.001     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      199 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.3738        5.9620        .66433E-03    .64564E-02
   2  Index         2.2312        1.1247        .24609E-01   -.40969E-04
   3  Normalizat    1.0076        .20454        .46262E-01    .25873E-03
   4  Prefactor     .95827        .15686        .45745E-01   -.13611E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.37384
  Index      = 2.23116
  Normalizat = 1.00764
  Prefactor  = 0.958268
 **********
 **   18 **HESSE 
 **********

 FCN=   5736.001     FROM HESSE     STATUS=OK            29 CALLS      228 TOTAL
                     EDM=   .92E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.3738        5.5145        .25653E-04   -1.5677    
   2  Index         2.2312        1.0470        .98436E-03   -.58688    
   3  Normalizat    1.0076        .23697        .28615E-03   -.92775    
   4  Prefactor     .95827        .18169        .22279E-03   -.94134    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.15817e-10
Minuit parameter uncertainties:
  1  5.51447
  2  1.05834
  3  0.237218
  4  0.181809
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/452608': 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) = 5736.00088201
delta logL = 0.0530636670173

Extracting fit parameters...

4FGL J1118.2-0415
   Spectrum: PowerLaw
282    Prefactor:  2.374e+00  5.514e+00  0.000e+00  1.000e+06 ( 1.000e-12)
283        Index:  2.231e+00  1.058e+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.583e-01  1.818e-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  2.372e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/452608/cmap_HighResolution_693705601_693964801_4FGL_J1118.2-0415_daily_bin1753.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.18e-03', job_status='DONE', photon_flux_upper_limit='1.17e-07', time_completed='2022-12-29 01:01:12.608234', job_id='452608', GAL2='0.96', fit_tolerance='1e-08', EG2='1.01', EG='1.00', time_epoch_completed='1672304472.61', return_code2='0', ts='0.12', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='5.31e-02', ts2='0.22', photon_index_error='0.00', photon_index='2.64' WHERE bin_id='1753' AND source_name='4FGL J1118.2-0415' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Dec 29 01:01:12 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0032>
Subject: Job 452608: <4FGL_J1118.2-0415_daily_bin1753> in cluster <slac> Done

Job <4FGL_J1118.2-0415_daily_bin1753> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Dec 29 00:45:18 2022
Job was executed on host(s) <bullet0032>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Dec 29 00:48:36 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Dec 29 00:48:36 2022
Terminated at Thu Dec 29 01:01:13 2022
Results reported at Thu Dec 29 01:01:13 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1118.2-0415_daily_bin1753 169.575 -4.2539 693705601 693964801 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 :                                   568.58 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             294.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   756 sec.
    Turnaround time :                            955 sec.

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

