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


Performing analysis on: 4FGL_J0118.7-0848_daily_bin1742
RA = 19.6884, Dec = -8.808
tmin = 690854401, tmax = 691113601
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='217299', job_status='RUN', time_executed='2022-11-26 00:13:38.969509', time_epoch_executed='1669450418.97' WHERE source_name='4FGL J0118.7-0848' and cadence='daily' and bin_id='1742'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/217299

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/217299/ft1_4FGL_J0118.7-0848_daily_bin1742.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/217299/ft2_4FGL_J0118.7-0848_daily_bin1742.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/217299/ft1_4FGL_J0118.7-0848_daily_bin1742.fits outfile=/scratch/kocevski/217299/ft1_filteredMKT_4FGL_J0118.7-0848_daily_bin1742.fits ra=19.6884 dec=-8.808 rad=12.0 tmin=690854401.0 tmax=691113601.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 2.93
user 2.70
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/217299/ft2_4FGL_J0118.7-0848_daily_bin1742.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/217299/ft2_4FGL_J0118.7-0848_daily_bin1742.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/217299/ft1_filteredMKT_4FGL_J0118.7-0848_daily_bin1742.fits evtable="EVENTS" outfile="/scratch/kocevski/217299/ft1_filtered_4FGL_J0118.7-0848_daily_bin1742.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.52
user 0.32
sys 0.18

Number of photons that the gtmktime cut: 396

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/217299/ft1_filtered_4FGL_J0118.7-0848_daily_bin1742.fits" evtable="EVENTS" scfile=/scratch/kocevski/217299/ft2_4FGL_J0118.7-0848_daily_bin1742.fits sctable="SC_DATA" outfile=/scratch/kocevski/217299/ltcube_690854401_691113601_4FGL_J0118.7-0848_daily_bin1742.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/217299/ft2_4FGL_J0118.7-0848_daily_bin1742.fits
.....................!
real 16.38
user 15.94
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/217299/ft1_filtered_4FGL_J0118.7-0848_daily_bin1742.fits evtable="EVENTS" scfile=/scratch/kocevski/217299/ft2_4FGL_J0118.7-0848_daily_bin1742.fits sctable="SC_DATA" expcube=/scratch/kocevski/217299/ltcube_690854401_691113601_4FGL_J0118.7-0848_daily_bin1742.fits outfile=/scratch/kocevski/217299/expmap_690854401_691113601_4FGL_J0118.7-0848_daily_bin1742.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/217299/ltcube_690854401_691113601_4FGL_J0118.7-0848_daily_bin1742.fits
.....................!
real 191.54
user 185.82
sys 5.27

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

Setting source of interest to:
4FGL J0118.7-0848 @ 19.6884 -8.808

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/217299/ft1_filtered_4FGL_J0118.7-0848_daily_bin1742.fits scfile=/scratch/kocevski/217299/ft2_4FGL_J0118.7-0848_daily_bin1742.fits outfile=/scratch/kocevski/217299/cmap_690854401_691113601_4FGL_J0118.7-0848_daily_bin1742.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=19.6884 yref=-8.808 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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/217299/ft1_filtered_4FGL_J0118.7-0848_daily_bin1742.fits scfile=/scratch/kocevski/217299/ft2_4FGL_J0118.7-0848_daily_bin1742.fits outfile=/scratch/kocevski/217299/cmap_HighResolution_690854401_691113601_4FGL_J0118.7-0848_daily_bin1742.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=19.6884 yref=-8.808 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/217299/ft1_filtered_4FGL_J0118.7-0848_daily_bin1742.fits evtable="EVENTS" scfile=/scratch/kocevski/217299/ft2_4FGL_J0118.7-0848_daily_bin1742.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/217299/Model_4FGL_J0118.7-0848_daily_bin1742.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/217299/ft1_filtered_4FGL_J0118.7-0848_daily_bin1742.fits.....................!
real 47.88
user 46.46
sys 1.31

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/217299/ft1_filtered_4FGL_J0118.7-0848_daily_bin1742.fits', '/scratch/kocevski/217299/ft2_4FGL_J0118.7-0848_daily_bin1742.fits', expMap='/scratch/kocevski/217299/expmap_690854401_691113601_4FGL_J0118.7-0848_daily_bin1742.fits', expCube='/scratch/kocevski/217299/ltcube_690854401_691113601_4FGL_J0118.7-0848_daily_bin1742.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/217299/Model_4FGL_J0118.7-0848_daily_bin1742.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0118.7-0848'

4FGL J0118.7-0848
   Spectrum: PowerLaw
294    Prefactor:  4.571e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
295        Index:  2.596e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
296        Scale:  7.178e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/217299/ft1_filtered_4FGL_J0118.7-0848_daily_bin1742.fits
Spacecraft file(s): /scratch/kocevski/217299/ft2_4FGL_J0118.7-0848_daily_bin1742.fits
Exposure map: /scratch/kocevski/217299/expmap_690854401_691113601_4FGL_J0118.7-0848_daily_bin1742.fits
Exposure cube: /scratch/kocevski/217299/ltcube_690854401_691113601_4FGL_J0118.7-0848_daily_bin1742.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/217299/Model_4FGL_J0118.7-0848_daily_bin1742.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) = 4583.61122795

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.8336       1.0000          .0000       .10000E+07
     2 'norm      '    2.0962       1.0000          .0000       .10000E+07
     3 'norm      '    .76402E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    3.8600       1.0000          .0000       .10000E+07
     5 'Prefactor '    .84526E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .26112E-01   1.0000          .0000       .10000E+07
     7 'norm      '    23.685       1.0000          .0000       .10000E+07
     8 'Prefactor '    9.2160       1.0000          .0000       .10000E+07
     9 'Prefactor '    .78986E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    .18716E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .16772E-04   1.0000          .0000       .10000E+07
    12 'norm      '    35.701       1.0000          .0000       .10000E+07
    13 'norm      '    .95426       1.0000          .0000       .10000E+07
    14 'norm      '    25.335       1.0000          .0000       .10000E+07
    15 'Normalizat'    .65674       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.1996       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5770E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4583.595     FROM MIGRAD    STATUS=CONVERGED     96 CALLS     1089 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.8392        4.3273        .88713E-08    .98036E-03
   2  norm          2.0974        3.3525       -.89529E-07   -.18081E-02
   3  norm           .0000        2.6280       -.71470E-07** at limit **
   4  Prefactor     3.7986        2.8410       -.45656E-08   -.54549E-01
   5  Prefactor     .58692E-05    14.776       -.36155E-06** at limit **
   6  Prefactor     .52180E-08    55.247       -.17625E-06** at limit **
   7  norm          23.691        4.1047       -.47606E-07   -.59248E-02
   8  Prefactor     9.2272        8.4084       -.11819E-07   -.53538E-01
   9  Prefactor     .11657E-08    5.4214        .10771E-06** at limit **
  10  Prefactor     .36876E-06    75.479       -.16991E-05** at limit **
  11  Prefactor     .11181E-04    15.149       -.26356E-06** at limit **
  12  norm          35.484        1.4814       -.81894E-08   -.11013    
  13  norm          .95444        .96455        .17815E-07    .35586E-02
  14  norm          25.355        6.3897       -.51427E-08   -.20201E-02
  15  Normalizat    .65692        .23674        .13022E-06    .68458E-04
  16  Prefactor     1.1996        .22890        .93459E-06    .10796E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.83918
  norm       = 2.09737
  norm       = 0
  Prefactor  = 3.79856
  Prefactor  = 5.86919e-06
  Prefactor  = 5.21805e-09
  norm       = 23.6914
  Prefactor  = 9.22725
  Prefactor  = 1.16573e-09
  Prefactor  = 3.68761e-07
  Prefactor  = 1.11808e-05
  norm       = 35.4842
  norm       = 0.954435
  norm       = 25.3554
  Normalizat = 0.656916
  Prefactor  = 1.19957
 **********
 **   18 **HESSE 
 **********

 FCN=   4583.595     FROM HESSE     STATUS=OK           237 CALLS     1326 TOTAL
                     EDM=   .18E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.8392        4.3370        .41557E-03   -1.5660    
   2  norm          2.0974        3.3968        .71260E-03   -1.5679    
   3  norm           .0000        2.6503        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.7986        38.113        .51339E-03   -1.5669    
   5  Prefactor     .58692E-05    25.613        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .52180E-08    54.013        .16664E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          23.691        4.1411        .20553E-03   -1.5611    
   8  Prefactor     9.2272        10.409        .32989E-03   -1.5647    
   9  Prefactor     .11657E-08    5.3762        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .36876E-06    76.001        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .11181E-04    34.499        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          35.484        46.027        .16738E-03   -1.5589    
  13  norm          .95444        .95998        .42139E-03   -1.5688    
  14  norm          25.355        11.225        .19872E-03   -1.5607    
  15  Normalizat    .65692        .21202        .72491E-01   -1.0562    
  16  Prefactor     1.1996        .19818        .53095E-01   -.86344    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.84426e-06
Minuit parameter uncertainties:
  1  4.33702
  2  3.39684
  3  5.73403e-06
  4  24.0645
  5  0.0245215
  6  0.00106381
  7  4.14109
  8  10.4088
  9  0.000159053
  10  0.0105879
  11  0.0392801
  12  46.0276
  13  0.959976
  14  11.2247
  15  0.212283
  16  0.198307
Done.

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

Extracting fit parameters...

4FGL J0118.7-0848
   Spectrum: PowerLaw
294    Prefactor:  3.688e-07  1.059e-02  0.000e+00  1.000e+06 ( 1.000e-13)
295        Index:  2.596e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
296        Scale:  7.178e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
574    Prefactor:  1.200e+00  1.983e-01  0.000e+00  1.000e+01 ( 1.000e+00)
575        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
576        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
573   Normalization:  6.569e-01  2.123e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 19.688 -8.808
Photon Flux Upper Limit: 1.08e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.43e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/217299/likelihoodResults_690854401_691113601_4FGL_J0118.7-0848_daily_bin1742.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) = 4583.60172959
delta logL = -0.00656001853986

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4583.56869259
delta logL = 0.0264769809846

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4583.569     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      276 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.7777        8615.4        .38517E-03   -.13547E-02
   2  Index         1.7696        8.7678        .33163       -.53018E-04
   3  Normalizat    .65997        .21008        .72336E-01    .61202E-04
   4  Prefactor     1.1940        .26778        .53200E-01   -.21134E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.77774
  Index      = 1.76964
  Normalizat = 0.659975
  Prefactor  = 1.19404
 **********
 **   18 **HESSE 
 **********

 FCN=   4583.569     FROM HESSE     STATUS=OK            31 CALLS      307 TOTAL
                     EDM=   .57E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.7777        37.512        .15407E-04   -1.5656    
   2  Index         1.7696        1.5775        .19667E-01   -.70243    
   3  Normalizat    .65997        .23416        .32020E-03   -1.0549    
   4  Prefactor     1.1940        .22761        .23520E-03   -.86515    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.66229e-10
Minuit parameter uncertainties:
  1  31.8905
  2  1.62632
  3  0.234514
  4  0.227801
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/217299': 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) = 4583.56869259
delta logL = 0.0264769810055

Extracting fit parameters...

4FGL J0118.7-0848
   Spectrum: PowerLaw
294    Prefactor:  6.778e+00  3.189e+01  0.000e+00  1.000e+06 ( 1.000e-13)
295        Index:  1.770e+00  1.626e+00  0.000e+00  1.000e+01 (-1.000e+00)
296        Scale:  7.178e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
574    Prefactor:  1.194e+00  2.278e-01  0.000e+00  1.000e+01 ( 1.000e+00)
575        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
576        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
573   Normalization:  6.600e-01  2.345e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 19.688 -8.808

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/217299/cmap_HighResolution_690854401_691113601_4FGL_J0118.7-0848_daily_bin1742.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.43e-03', job_status='DONE', photon_flux_upper_limit='1.08e-07', time_completed='2022-11-26 00:21:24.046944', job_id='217299', GAL2='1.19', fit_tolerance='1e-08', EG2='0.66', EG='0.66', time_epoch_completed='1669450884.05', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.20', dlogl='2.65e-02', ts2='0.05', photon_index_error='0.00', photon_index='2.60' WHERE bin_id='1742' AND source_name='4FGL J0118.7-0848' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Nov 26 00:21:24 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0114>
Subject: Job 217299: <4FGL_J0118.7-0848_daily_bin1742> in cluster <slac> Done

Job <4FGL_J0118.7-0848_daily_bin1742> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Nov 26 00:04:47 2022
Job was executed on host(s) <bullet0114>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Nov 26 00:10:10 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Nov 26 00:10:10 2022
Terminated at Sat Nov 26 00:21:24 2022
Results reported at Sat Nov 26 00:21:24 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0118.7-0848_daily_bin1742 19.6884 -8.808 690854401 691113601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0118.7-0848 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   467.28 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             258.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   674 sec.
    Turnaround time :                            997 sec.

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

