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


Performing analysis on: 4FGL_J0118.7-0848_daily_bin1762
RA = 19.6884, Dec = -8.808
tmin = 696038401, tmax = 696297601
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='95853', job_status='RUN', time_executed='2023-01-25 00:11:07.522234', time_epoch_executed='1674634267.52' WHERE source_name='4FGL J0118.7-0848' and cadence='daily' and bin_id='1762'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/95853

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/95853/ft1_4FGL_J0118.7-0848_daily_bin1762.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/95853/ft2_4FGL_J0118.7-0848_daily_bin1762.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/95853/ft1_4FGL_J0118.7-0848_daily_bin1762.fits outfile=/scratch/kocevski/95853/ft1_filteredMKT_4FGL_J0118.7-0848_daily_bin1762.fits ra=19.6884 dec=-8.808 rad=12.0 tmin=696038401.0 tmax=696297601.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 3.75
user 3.47
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/95853/ft2_4FGL_J0118.7-0848_daily_bin1762.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/95853/ft1_filteredMKT_4FGL_J0118.7-0848_daily_bin1762.fits evtable="EVENTS" outfile="/scratch/kocevski/95853/ft1_filtered_4FGL_J0118.7-0848_daily_bin1762.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.35
sys 0.15

Number of photons that the gtmktime cut: 485

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/95853/ft1_filtered_4FGL_J0118.7-0848_daily_bin1762.fits" evtable="EVENTS" scfile=/scratch/kocevski/95853/ft2_4FGL_J0118.7-0848_daily_bin1762.fits sctable="SC_DATA" outfile=/scratch/kocevski/95853/ltcube_696038401_696297601_4FGL_J0118.7-0848_daily_bin1762.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/95853/ft2_4FGL_J0118.7-0848_daily_bin1762.fits
.....................!
real 14.82
user 14.34
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/95853/ft1_filtered_4FGL_J0118.7-0848_daily_bin1762.fits evtable="EVENTS" scfile=/scratch/kocevski/95853/ft2_4FGL_J0118.7-0848_daily_bin1762.fits sctable="SC_DATA" expcube=/scratch/kocevski/95853/ltcube_696038401_696297601_4FGL_J0118.7-0848_daily_bin1762.fits outfile=/scratch/kocevski/95853/expmap_696038401_696297601_4FGL_J0118.7-0848_daily_bin1762.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/95853/ltcube_696038401_696297601_4FGL_J0118.7-0848_daily_bin1762.fits
.....................!
real 193.50
user 186.73
sys 5.51

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/95853/ft1_filtered_4FGL_J0118.7-0848_daily_bin1762.fits scfile=/scratch/kocevski/95853/ft2_4FGL_J0118.7-0848_daily_bin1762.fits outfile=/scratch/kocevski/95853/cmap_696038401_696297601_4FGL_J0118.7-0848_daily_bin1762.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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/95853/ft1_filtered_4FGL_J0118.7-0848_daily_bin1762.fits scfile=/scratch/kocevski/95853/ft2_4FGL_J0118.7-0848_daily_bin1762.fits outfile=/scratch/kocevski/95853/cmap_HighResolution_696038401_696297601_4FGL_J0118.7-0848_daily_bin1762.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.56
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/95853/ft1_filtered_4FGL_J0118.7-0848_daily_bin1762.fits evtable="EVENTS" scfile=/scratch/kocevski/95853/ft2_4FGL_J0118.7-0848_daily_bin1762.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/95853/Model_4FGL_J0118.7-0848_daily_bin1762.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/95853/ft1_filtered_4FGL_J0118.7-0848_daily_bin1762.fits.....................!
real 58.17
user 55.84
sys 1.42

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/95853/ft1_filtered_4FGL_J0118.7-0848_daily_bin1762.fits', '/scratch/kocevski/95853/ft2_4FGL_J0118.7-0848_daily_bin1762.fits', expMap='/scratch/kocevski/95853/expmap_696038401_696297601_4FGL_J0118.7-0848_daily_bin1762.fits', expCube='/scratch/kocevski/95853/ltcube_696038401_696297601_4FGL_J0118.7-0848_daily_bin1762.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/95853/Model_4FGL_J0118.7-0848_daily_bin1762.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/95853/ft1_filtered_4FGL_J0118.7-0848_daily_bin1762.fits
Spacecraft file(s): /scratch/kocevski/95853/ft2_4FGL_J0118.7-0848_daily_bin1762.fits
Exposure map: /scratch/kocevski/95853/expmap_696038401_696297601_4FGL_J0118.7-0848_daily_bin1762.fits
Exposure cube: /scratch/kocevski/95853/ltcube_696038401_696297601_4FGL_J0118.7-0848_daily_bin1762.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/95853/Model_4FGL_J0118.7-0848_daily_bin1762.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 5240.25486265

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15214E-04   1.0000          .0000       .10000E+07
     2 'norm      '    .56066E-07   1.0000          .0000       .10000E+07
     3 'norm      '    8.0316       1.0000          .0000       .10000E+07
     4 'Prefactor '    .10023E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    40.383       1.0000          .0000       .10000E+07
     6 'Prefactor '    20.389       1.0000          .0000       .10000E+07
     7 'norm      '    29.794       1.0000          .0000       .10000E+07
     8 'Prefactor '    5.7589       1.0000          .0000       .10000E+07
     9 'Prefactor '    11.099       1.0000          .0000       .10000E+07
    10 'Prefactor '    67.810       1.0000          .0000       .10000E+07
    11 'Prefactor '    .13572E-02   1.0000          .0000       .10000E+07
    12 'norm      '    .34135E-02   1.0000          .0000       .10000E+07
    13 'norm      '    .22565       1.0000          .0000       .10000E+07
    14 'norm      '    19.252       1.0000          .0000       .10000E+07
    15 'Normalizat'    1.0308       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .68477       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=   5240.236     FROM MIGRAD    STATUS=CONVERGED    153 CALLS      922 TOTAL
                     EDM=   .13E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.9656        .48900E-07** at limit **
   2  norm           .0000        1.4281        .53285E-07** at limit **
   3  norm          7.9369        6.7411       -.31117E-08   -.64461E-04
   4  Prefactor      .0000        4.9348       -.11219E-06** at limit **
   5  Prefactor     41.376        36.686        .37037E-07   -.73321E-05
   6  Prefactor     21.641        27.385        .63708E-07   -.22906E-04
   7  norm          29.811        3.6294       -.19843E-07    .23838E-03
   8  Prefactor     5.7548        5.7629        .14218E-07    .10095E-04
   9  Prefactor     11.016        5.5933        .66827E-07   -.62864E-04
  10  Prefactor     70.809        46.641        .11013E-06    .48864E-06
  11  Prefactor      .0000        3.9525       -.65975E-07** at limit **
  12  norm           .0000        14.156       -.42617E-07** at limit **
  13  norm          .22963        1.5412       -.25869E-08** at limit **
  14  norm          19.265        7.2426       -.62380E-09   -.51353E-05
  15  Normalizat    1.0302        .21003       -.17226E-05   -.10847E-05
  16  Prefactor     .68327        .19270        .46697E-06   -.46503E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 0
  norm       = 7.93686
  Prefactor  = 0
  Prefactor  = 41.3763
  Prefactor  = 21.6406
  norm       = 29.8108
  Prefactor  = 5.7548
  Prefactor  = 11.0161
  Prefactor  = 70.8092
  Prefactor  = 0
  norm       = 0
  norm       = 0.229633
  norm       = 19.2646
  Normalizat = 1.03016
  Prefactor  = 0.683266
 **********
 **   18 **HESSE 
 **********

 FCN=   5240.236     FROM HESSE     STATUS=OK           241 CALLS     1163 TOTAL
                     EDM=   .59E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.9532        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        1.4260        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          7.9369        6.7362        .35355E-03   -1.5652    
   4  Prefactor      .0000        4.9372        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     41.376        36.672        .15738E-03   -1.5579    
   6  Prefactor     21.641        27.433        .22153E-03   -1.5615    
   7  norm          29.811        3.6276        .18323E-03   -1.5599    
   8  Prefactor     5.7548        5.7716        .41830E-03   -1.5660    
   9  Prefactor     11.016        5.5935        .30048E-03   -1.5642    
  10  Prefactor     70.809        46.560        .12144E-03   -1.5540    
  11  Prefactor      .0000        3.9427        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        14.115        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .22963        .89908        .25780E-02   -1.5718    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          19.265        7.2394        .22799E-03   -1.5620    
  15  Normalizat    1.0302        .18447        .42085E-01   -.92027    
  16  Prefactor     .68327        .17092        .64254E-01   -1.0419    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.92161e-09
Minuit parameter uncertainties:
  1  3.35763e-07
  2  2.21534e-07
  3  6.73617
  4  1.27881e-06
  5  36.6718
  6  27.4333
  7  3.62765
  8  5.77165
  9  5.59351
  10  46.5603
  11  1.66691e-06
  12  4.94558e-06
  13  0.899084
  14  7.2394
  15  0.184582
  16  0.171053
Done.

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

Extracting fit parameters...

4FGL J0118.7-0848
   Spectrum: PowerLaw
294    Prefactor:  7.081e+01  4.656e+01  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:  6.833e-01  1.711e-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:  1.030e+00  1.846e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.46
Ra Dec: 19.688 -8.808
Photon Index (Fixed Index): 2.60 +/- 0.00
Photon Flux (Fixed Index): 7.40e-08 +/- 4.86e-08
Energy Flux (Fixed Index): 1.95e-05 +/- 1.28e-05

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) = 5239.35720715
delta logL = 0.878799823668

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5239.3502888
delta logL = 0.885718168654

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    73.686       1.0000          .0000       .10000E+07
     2 'Index     '    1.8136       1.0000          .0000       10.000    
     3 'Normalizat'    1.0629       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .67057       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=   5239.350     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      200 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     73.686        54.427        .11650E-03    .19058E-01
   2  Index         1.8137        .42398        .20092       -.42441E-04
   3  Normalizat    1.0631        .17943        .57207E-01    .95728E-05
   4  Prefactor     .67059        .16562        .64849E-01    .19706E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 73.6858
  Index      = 1.81368
  Normalizat = 1.06309
  Prefactor  = 0.670585
 **********
 **   18 **HESSE 
 **********

 FCN=   5239.350     FROM HESSE     STATUS=OK            31 CALLS      231 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     73.686        62.316        .23300E-04   -1.5536    
   2  Index         1.8137        .55820        .76967E-02   -.69094    
   3  Normalizat    1.0631        .20591        .25296E-03   -.90946    
   4  Prefactor     .67059        .19006        .28692E-03   -1.0469    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.63687e-08
Minuit parameter uncertainties:
  1  62.3168
  2  0.560175
  3  0.206069
  4  0.190247
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/95853': 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) = 5239.35028745
delta logL = 0.885719518814

Extracting fit parameters...

4FGL J0118.7-0848
   Spectrum: PowerLaw
294    Prefactor:  7.369e+01  6.232e+01  0.000e+00  1.000e+06 ( 1.000e-13)
295        Index:  1.814e+00  5.602e-01  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:  6.706e-01  1.902e-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:  1.063e+00  2.061e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.23
Ra Dec: 19.688 -8.808
Photon Index (Free Index): 1.81 +/- 0.56
Photon Flux (Free Index): 3.22e-08 +/- 3.61e-08
Energy Flux (Free Index): 3.70e-05 +/- 4.06e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/95853/cmap_HighResolution_696038401_696297601_4FGL_J0118.7-0848_daily_bin1762.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.40e-08', energy_flux2='3.70e-05', photon_flux_error='4.86e-08', dlogl='8.86e-01', energy_flux='1.95e-05', photon_flux2='3.22e-08', job_status='DONE', time_completed='2023-01-25 00:18:48.537947', photon_index_error2='0.56', photon_index2='1.81', ts='6.46', fit_tolerance='1e-08', GAL='0.68', photon_index_error='0.00', energy_flux_error2='4.06e-05', EG='1.03', time_epoch_completed='1674634728.54', return_code='0', job_id='95853', GAL2='0.67', EG2='1.06', return_code2='0', energy_flux_error='1.28e-05', photon_flux_error2='3.61e-08', ts2='8.23', photon_index='2.60' WHERE bin_id='1762' AND source_name='4FGL J0118.7-0848' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jan 25 00:18:48 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0275>
Subject: Job 95853: <4FGL_J0118.7-0848_daily_bin1762> in cluster <slac> Done

Job <4FGL_J0118.7-0848_daily_bin1762> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Jan 25 00:05:00 2023
Job was executed on host(s) <bullet0275>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jan 25 00:10:50 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jan 25 00:10:50 2023
Terminated at Wed Jan 25 00:18:49 2023
Results reported at Wed Jan 25 00:18:49 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0118.7-0848_daily_bin1762 19.6884 -8.808 696038401 696297601 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 :                                   461.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             312.06 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   478 sec.
    Turnaround time :                            829 sec.

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

