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


Performing analysis on: 4FGL_J0118.7-0848_daily_bin1725
RA = 19.6884, Dec = -8.808
tmin = 686448001, tmax = 686707201
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='875382', job_status='RUN', time_executed='2022-10-06 00:11:36.588545', time_epoch_executed='1665040296.59' WHERE source_name='4FGL J0118.7-0848' and cadence='daily' and bin_id='1725'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/875382

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/875382/ft1_4FGL_J0118.7-0848_daily_bin1725.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/875382/ft2_4FGL_J0118.7-0848_daily_bin1725.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/875382/ft1_4FGL_J0118.7-0848_daily_bin1725.fits outfile=/scratch/kocevski/875382/ft1_filteredMKT_4FGL_J0118.7-0848_daily_bin1725.fits ra=19.6884 dec=-8.808 rad=12.0 tmin=686448001.0 tmax=686707201.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.60
user 4.34
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/875382/ft2_4FGL_J0118.7-0848_daily_bin1725.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/875382/ft1_filteredMKT_4FGL_J0118.7-0848_daily_bin1725.fits evtable="EVENTS" outfile="/scratch/kocevski/875382/ft1_filtered_4FGL_J0118.7-0848_daily_bin1725.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.50
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 329

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/875382/ft1_filtered_4FGL_J0118.7-0848_daily_bin1725.fits" evtable="EVENTS" scfile=/scratch/kocevski/875382/ft2_4FGL_J0118.7-0848_daily_bin1725.fits sctable="SC_DATA" outfile=/scratch/kocevski/875382/ltcube_686448001_686707201_4FGL_J0118.7-0848_daily_bin1725.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/875382/ft2_4FGL_J0118.7-0848_daily_bin1725.fits
.....................!
real 13.52
user 13.03
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/875382/ft1_filtered_4FGL_J0118.7-0848_daily_bin1725.fits evtable="EVENTS" scfile=/scratch/kocevski/875382/ft2_4FGL_J0118.7-0848_daily_bin1725.fits sctable="SC_DATA" expcube=/scratch/kocevski/875382/ltcube_686448001_686707201_4FGL_J0118.7-0848_daily_bin1725.fits outfile=/scratch/kocevski/875382/expmap_686448001_686707201_4FGL_J0118.7-0848_daily_bin1725.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/875382/ltcube_686448001_686707201_4FGL_J0118.7-0848_daily_bin1725.fits
.....................!
real 192.36
user 185.86
sys 5.74

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/875382/ft1_filtered_4FGL_J0118.7-0848_daily_bin1725.fits scfile=/scratch/kocevski/875382/ft2_4FGL_J0118.7-0848_daily_bin1725.fits outfile=/scratch/kocevski/875382/cmap_686448001_686707201_4FGL_J0118.7-0848_daily_bin1725.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/875382/ft1_filtered_4FGL_J0118.7-0848_daily_bin1725.fits scfile=/scratch/kocevski/875382/ft2_4FGL_J0118.7-0848_daily_bin1725.fits outfile=/scratch/kocevski/875382/cmap_HighResolution_686448001_686707201_4FGL_J0118.7-0848_daily_bin1725.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.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/875382/ft1_filtered_4FGL_J0118.7-0848_daily_bin1725.fits evtable="EVENTS" scfile=/scratch/kocevski/875382/ft2_4FGL_J0118.7-0848_daily_bin1725.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/875382/Model_4FGL_J0118.7-0848_daily_bin1725.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/875382/ft1_filtered_4FGL_J0118.7-0848_daily_bin1725.fits.....................!
real 43.32
user 42.01
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/875382/ft1_filtered_4FGL_J0118.7-0848_daily_bin1725.fits', '/scratch/kocevski/875382/ft2_4FGL_J0118.7-0848_daily_bin1725.fits', expMap='/scratch/kocevski/875382/expmap_686448001_686707201_4FGL_J0118.7-0848_daily_bin1725.fits', expCube='/scratch/kocevski/875382/ltcube_686448001_686707201_4FGL_J0118.7-0848_daily_bin1725.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/875382/Model_4FGL_J0118.7-0848_daily_bin1725.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/875382/ft1_filtered_4FGL_J0118.7-0848_daily_bin1725.fits
Spacecraft file(s): /scratch/kocevski/875382/ft2_4FGL_J0118.7-0848_daily_bin1725.fits
Exposure map: /scratch/kocevski/875382/expmap_686448001_686707201_4FGL_J0118.7-0848_daily_bin1725.fits
Exposure cube: /scratch/kocevski/875382/ltcube_686448001_686707201_4FGL_J0118.7-0848_daily_bin1725.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/875382/Model_4FGL_J0118.7-0848_daily_bin1725.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) = 3494.2728671

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11324E-07   1.0000          .0000       .10000E+07
     2 'norm      '    3.6986       1.0000          .0000       .10000E+07
     3 'norm      '    .17611E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    .34190E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .12558E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    5.2736       1.0000          .0000       .10000E+07
     7 'norm      '    61.782       1.0000          .0000       .10000E+07
     8 'Prefactor '    .56578E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .18159E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    19.598       1.0000          .0000       .10000E+07
    11 'Prefactor '    .11333E-02   1.0000          .0000       .10000E+07
    12 'norm      '    .13022E-02   1.0000          .0000       .10000E+07
    13 'norm      '    .29254E-04   1.0000          .0000       .10000E+07
    14 'norm      '    .22026E-02   1.0000          .0000       .10000E+07
    15 'Normalizat'    .70122       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .99996       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=   3494.268     FROM MIGRAD    STATUS=CONVERGED    153 CALLS     1177 TOTAL
                     EDM=   .95E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.9487        .61809E-08** at limit **
   2  norm          3.6921        4.3355       -.13534E-06   -.65540E-02
   3  norm          .55511E-10    3.9043        .83419E-07** at limit **
   4  Prefactor     .79492E-07    31.230       -.27665E-06** at limit **
   5  Prefactor     .18907E-06    19.281        .14859E-06** at limit **
   6  Prefactor     5.4247        6.4177       -.50786E-09    .55463E-01
   7  norm          61.770        6.2976       -.30938E-07   -.15607E-01
   8  Prefactor     .44784E-03    97.068       -.91828E-07** at limit **
   9  Prefactor      .0000        8.9579       -.11716E-06** at limit **
  10  Prefactor     21.650        41.772        .34645E-08    .86082E-01
  11  Prefactor     .55511E-10    6.7561        .44304E-07** at limit **
  12  norm          .98216E-06    20.902        .23704E-07** at limit **
  13  norm          .55511E-10    6.5401       -.32125E-07** at limit **
  14  norm          .47740E-08    9.9721        .60341E-07** at limit **
  15  Normalizat    .70036        .26412        .77441E-06   -.10056E-03
  16  Prefactor     .99965        .25491       -.13515E-05   -.16783E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 3.69212
  norm       = 5.55112e-11
  Prefactor  = 7.9492e-08
  Prefactor  = 1.89071e-07
  Prefactor  = 5.4247
  norm       = 61.7698
  Prefactor  = 0.000447841
  Prefactor  = 0
  Prefactor  = 21.6502
  Prefactor  = 5.55112e-11
  norm       = 9.82159e-07
  norm       = 5.55112e-11
  norm       = 4.77396e-09
  Normalizat = 0.700363
  Prefactor  = 0.999648
 **********
 **   18 **HESSE 
 **********

 FCN=   3494.268     FROM HESSE     STATUS=OK           241 CALLS     1418 TOTAL
                     EDM=   .19E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.9525        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.6921        4.3427        .52488E-03   -1.5670    
   3  norm          .55511E-10    3.9090        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .79492E-07    31.489        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .18907E-06    19.465        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     5.4247        60.189        .43745E-03   -1.5661    
   7  norm          61.770        6.3619        .12723E-03   -1.5551    
   8  Prefactor     .44784E-03    11.586        .57167E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        8.8587        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     21.650        54.213        .22597E-03   -1.5615    
  11  Prefactor     .55511E-10    6.7504        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .98216E-06    21.279        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .55511E-10    1.5039        .23917E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .47740E-08    9.8831        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    .70036        .22925        .69509E-01   -1.0388    
  16  Prefactor     .99965        .21981        .46267E-01   -.92741    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.93744e-06
Minuit parameter uncertainties:
  1  5.12608e-06
  2  4.3427
  3  2.83612e-05
  4  0.00316416
  5  0.00383695
  6  36.1393
  7  6.36191
  8  0.144065
  9  7.0457e-06
  10  54.2143
  11  4.65557e-05
  12  0.00914337
  13  1.51191e-05
  14  0.000434469
  15  0.229568
  16  0.22001
Done.

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

Extracting fit parameters...

4FGL J0118.7-0848
   Spectrum: PowerLaw
294    Prefactor:  2.165e+01  5.421e+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:  9.996e-01  2.200e-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:  7.004e-01  2.296e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.20
Ra Dec: 19.688 -8.808
Photon Flux Upper Limit: 1.69e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.32e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/875382/likelihoodResults_686448001_686707201_4FGL_J0118.7-0848_daily_bin1725.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) = 3494.26778812
delta logL = 0.000348333291186

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3494.26763461
delta logL = 0.000501840098423

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3494.268     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      271 TOTAL
                     EDM=   .93E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     22.805        72.970        .83846E-05    .48813E-04
   2  Index         2.5407        1.7946        .13746E-01    .75488E-05
   3  Normalizat    .70121        .26500        .30746E-03   -.42449E-04
   4  Prefactor     .99890        .25499        .24966E-03    .56485E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 22.805
  Index      = 2.54065
  Normalizat = 0.701215
  Prefactor  = 0.9989
 **********
 **   18 **HESSE 
 **********

 FCN=   3494.268     FROM HESSE     STATUS=OK            25 CALLS      296 TOTAL
                     EDM=   .81E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     22.805        67.406        .33538E-06   -1.5612    
   2  Index         2.5407        1.6649        .54985E-03   -.51424    
   3  Normalizat    .70121        .26503        .12298E-04   -1.0385    
   4  Prefactor     .99890        .25476        .49931E-04   -.92766    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.13869e-11
Minuit parameter uncertainties:
  1  67.4085
  2  1.70846
  3  0.265518
  4  0.255072
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/875382': 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) = 3494.26763344
delta logL = 0.000503005767314

Extracting fit parameters...

4FGL J0118.7-0848
   Spectrum: PowerLaw
294    Prefactor:  2.280e+01  6.741e+01  0.000e+00  1.000e+06 ( 1.000e-13)
295        Index:  2.541e+00  1.708e+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:  9.989e-01  2.551e-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:  7.012e-01  2.655e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.20
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/875382/cmap_HighResolution_686448001_686707201_4FGL_J0118.7-0848_daily_bin1725.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.32e-02', job_status='DONE', photon_flux_upper_limit='1.69e-07', time_completed='2022-10-06 00:18:57.754772', job_id='875382', GAL2='1.00', fit_tolerance='1e-08', EG2='0.70', EG='0.70', time_epoch_completed='1665040737.75', return_code2='0', ts='0.20', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='5.03e-04', ts2='0.20', photon_index_error='0.00', photon_index='2.60' WHERE bin_id='1725' AND source_name='4FGL J0118.7-0848' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Oct  6 00:18:57 PDT 2022

------------------------------------------------------------
Sender: LSF System <lsf@bullet0189>
Subject: Job 875385: <4FGL_J0118.7-0848_daily_bin1725> in cluster <slac> Done

Job <4FGL_J0118.7-0848_daily_bin1725> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Thu Oct  6 00:05:50 2022
Job was executed on host(s) <bullet0189>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Oct  6 00:07:55 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Oct  6 00:07:55 2022
Terminated at Thu Oct  6 00:14:37 2022
Results reported at Thu Oct  6 00:14:37 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0118.7-0848_daily_bin1725 19.6884 -8.808 686448001 686707201 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 :                                   352.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             304.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   402 sec.
    Turnaround time :                            527 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0021>
Subject: Job 875382: <4FGL_J0118.7-0848_daily_bin1725> in cluster <slac> Done

Job <4FGL_J0118.7-0848_daily_bin1725> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Thu Oct  6 00:05:50 2022
Job was executed on host(s) <bullet0021>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Oct  6 00:07:55 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Oct  6 00:07:55 2022
Terminated at Thu Oct  6 00:18:58 2022
Results reported at Thu Oct  6 00:18:58 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0118.7-0848_daily_bin1725 19.6884 -8.808 686448001 686707201 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 :                                   443.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             189.82 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   662 sec.
    Turnaround time :                            788 sec.

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

