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


Performing analysis on: 4FGL_J1008.0+0620_daily_bin1765
RA = 152.014, Dec = 6.3475
tmin = 696816001, tmax = 697075201
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='631283', job_status='RUN', time_executed='2023-02-03 00:49:13.340103', time_epoch_executed='1675414153.34' WHERE source_name='4FGL J1008.0+0620' and cadence='daily' and bin_id='1765'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/631283

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/631283/ft1_4FGL_J1008.0+0620_daily_bin1765.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/631283/ft2_4FGL_J1008.0+0620_daily_bin1765.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/631283/ft1_4FGL_J1008.0+0620_daily_bin1765.fits outfile=/scratch/kocevski/631283/ft1_filteredMKT_4FGL_J1008.0+0620_daily_bin1765.fits ra=152.014 dec=6.3475 rad=12.0 tmin=696816001.0 tmax=697075201.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.67
user 3.44
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/631283/ft2_4FGL_J1008.0+0620_daily_bin1765.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/631283/ft2_4FGL_J1008.0+0620_daily_bin1765.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/631283/ft1_filteredMKT_4FGL_J1008.0+0620_daily_bin1765.fits evtable="EVENTS" outfile="/scratch/kocevski/631283/ft1_filtered_4FGL_J1008.0+0620_daily_bin1765.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.34
sys 0.17

Number of photons that the gtmktime cut: 566

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/631283/ft1_filtered_4FGL_J1008.0+0620_daily_bin1765.fits" evtable="EVENTS" scfile=/scratch/kocevski/631283/ft2_4FGL_J1008.0+0620_daily_bin1765.fits sctable="SC_DATA" outfile=/scratch/kocevski/631283/ltcube_696816001_697075201_4FGL_J1008.0+0620_daily_bin1765.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/631283/ft2_4FGL_J1008.0+0620_daily_bin1765.fits
.....................!
real 16.29
user 15.85
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/631283/ft1_filtered_4FGL_J1008.0+0620_daily_bin1765.fits evtable="EVENTS" scfile=/scratch/kocevski/631283/ft2_4FGL_J1008.0+0620_daily_bin1765.fits sctable="SC_DATA" expcube=/scratch/kocevski/631283/ltcube_696816001_697075201_4FGL_J1008.0+0620_daily_bin1765.fits outfile=/scratch/kocevski/631283/expmap_696816001_697075201_4FGL_J1008.0+0620_daily_bin1765.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/631283/ltcube_696816001_697075201_4FGL_J1008.0+0620_daily_bin1765.fits
.....................!
real 192.25
user 186.82
sys 4.84

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

Setting source of interest to:
4FGL J1008.0+0620 @ 152.014 6.3475

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/631283/ft1_filtered_4FGL_J1008.0+0620_daily_bin1765.fits scfile=/scratch/kocevski/631283/ft2_4FGL_J1008.0+0620_daily_bin1765.fits outfile=/scratch/kocevski/631283/cmap_696816001_697075201_4FGL_J1008.0+0620_daily_bin1765.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=152.014 yref=6.3475 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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/631283/ft1_filtered_4FGL_J1008.0+0620_daily_bin1765.fits scfile=/scratch/kocevski/631283/ft2_4FGL_J1008.0+0620_daily_bin1765.fits outfile=/scratch/kocevski/631283/cmap_HighResolution_696816001_697075201_4FGL_J1008.0+0620_daily_bin1765.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=152.014 yref=6.3475 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.59
user 0.39
sys 0.19

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/631283/ft1_filtered_4FGL_J1008.0+0620_daily_bin1765.fits evtable="EVENTS" scfile=/scratch/kocevski/631283/ft2_4FGL_J1008.0+0620_daily_bin1765.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/631283/Model_4FGL_J1008.0+0620_daily_bin1765.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/631283/ft1_filtered_4FGL_J1008.0+0620_daily_bin1765.fits.....................!
real 63.64
user 62.22
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/631283/ft1_filtered_4FGL_J1008.0+0620_daily_bin1765.fits', '/scratch/kocevski/631283/ft2_4FGL_J1008.0+0620_daily_bin1765.fits', expMap='/scratch/kocevski/631283/expmap_696816001_697075201_4FGL_J1008.0+0620_daily_bin1765.fits', expCube='/scratch/kocevski/631283/ltcube_696816001_697075201_4FGL_J1008.0+0620_daily_bin1765.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/631283/Model_4FGL_J1008.0+0620_daily_bin1765.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1008.0+0620'

4FGL J1008.0+0620
   Spectrum: PowerLaw
200    Prefactor:  6.323e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
201        Index:  2.189e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
202        Scale:  1.356e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/631283/ft1_filtered_4FGL_J1008.0+0620_daily_bin1765.fits
Spacecraft file(s): /scratch/kocevski/631283/ft2_4FGL_J1008.0+0620_daily_bin1765.fits
Exposure map: /scratch/kocevski/631283/expmap_696816001_697075201_4FGL_J1008.0+0620_daily_bin1765.fits
Exposure cube: /scratch/kocevski/631283/ltcube_696816001_697075201_4FGL_J1008.0+0620_daily_bin1765.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/631283/Model_4FGL_J1008.0+0620_daily_bin1765.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) = 6383.60046022

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.804       1.0000          .0000       .10000E+07
     2 'norm      '    4.0152       1.0000          .0000       .10000E+07
     3 'norm      '    .87591E-01   1.0000          .0000       .10000E+07
     4 'Prefactor '    1.3676       1.0000          .0000       .10000E+07
     5 'Prefactor '    .33185E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    .14644E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .41336E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    6.7531       1.0000          .0000       .10000E+07
     9 'Prefactor '    .35990E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    .30621E-05   1.0000          .0000       .10000E+07
    11 'norm      '    .12793E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    10.036       1.0000          .0000       .10000E+07
    13 'Prefactor '    .11702       1.0000          .0000       .10000E+07
    14 'Prefactor '    .48081E-03   1.0000          .0000       .10000E+07
    15 'Normalizat'    .74906       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.1348       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4840E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6383.503     FROM MIGRAD    STATUS=CONVERGED    160 CALLS      966 TOTAL
                     EDM=   .82E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.806        4.9418       -.13536E-06    .89511E-02
   2  norm          4.0071        1.6803       -.10114E-06    .91152E-02
   3  norm          .86011E-01    .51335        .27647E-06** at limit **
   4  Prefactor     1.3690        18.307        .22950E-05    .76965E-03
   5  Prefactor      .0000        7.1432       -.45246E-05** at limit **
   6  Prefactor     .55511E-10    7.3740        .40206E-05** at limit **
   7  Prefactor     .11102E-09    4.8501        .16429E-06** at limit **
   8  Prefactor     4.3361        137.94        .12627E-04   -.13104E-03
   9  Prefactor     .61062E-09    24.204       -.26407E-06** at limit **
  10  Prefactor     .61062E-09    12.398       -.85764E-07** at limit **
  11  norm           .0000        2.4442        .20141E-06** at limit **
  12  Prefactor     9.8955        6.2719       -.36388E-06    .49004E-02
  13  Prefactor     .11374        7.3792       -.12456E-05** at limit **
  14  Prefactor      .0000        6.5378        .80506E-07** at limit **
  15  Normalizat    .75137        .20478        .67930E-05   -.47576E-04
  16  Prefactor     1.1346        .17139       -.47578E-05   -.70385E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.8058
  norm       = 4.00707
  norm       = 0.0860112
  Prefactor  = 1.36903
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 1.11022e-10
  Prefactor  = 4.33612
  Prefactor  = 6.10623e-10
  Prefactor  = 6.10623e-10
  norm       = 0
  Prefactor  = 9.89549
  Prefactor  = 0.113745
  Prefactor  = 0
  Normalizat = 0.751368
  Prefactor  = 1.13456
 **********
 **   18 **HESSE 
 **********

 FCN=   6383.503     FROM HESSE     STATUS=OK           243 CALLS     1209 TOTAL
                     EDM=   .20E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.806        4.9548        .27968E-03   -1.5636    
   2  norm          4.0071        1.6835        .50303E-03   -1.5668    
   3  norm          .86011E-01    .52072        .14275E-03   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.3690        18.359        .93241E-03   -1.5685    
   5  Prefactor      .0000        7.1755        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .55511E-10    7.4145        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .11102E-09    4.8813        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     4.3361        140.07        .38588E-03   -1.5666    
   9  Prefactor     .61062E-09    24.713        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .61062E-09    12.620        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        .90918        .24299E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     9.8955        6.3278        .31606E-03   -1.5645    
  13  Prefactor     .11374        1.2378        .47731E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        6.5362        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    .75137        .17736        .63910E-01   -1.0190    
  16  Prefactor     1.1346        .14707        .36392E-01   -.88370    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.99983e-07
Minuit parameter uncertainties:
  1  4.9548
  2  1.68352
  3  0.423263
  4  10.0268
  5  2.52892e-05
  6  4.37808e-05
  7  4.59537e-05
  8  49.2904
  9  0.000250103
  10  0.000176283
  11  6.29211e-06
  12  6.32782
  13  0.750456
  14  7.08994e-06
  15  0.177496
  16  0.147121
Done.

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

Extracting fit parameters...

4FGL J1008.0+0620
   Spectrum: PowerLaw
200    Prefactor:  1.369e+00  1.003e+01  0.000e+00  1.000e+06 ( 1.000e-13)
201        Index:  2.189e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
202        Scale:  1.356e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
481    Prefactor:  1.135e+00  1.471e-01  0.000e+00  1.000e+01 ( 1.000e+00)
482        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
483        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
480   Normalization:  7.514e-01  1.775e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.02
Ra Dec: 152.014 6.348
Photon Flux Upper Limit: 7.10e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.40e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/631283/likelihoodResults_696816001_697075201_4FGL_J1008.0+0620_daily_bin1765.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) = 6383.49965969
delta logL = 0.00355898860926

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6383.49734732
delta logL = 0.00587136569084

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .73873       1.0000          .0000       .10000E+07
     2 'Index     '    2.8110       1.0000          .0000       10.000    
     3 'Normalizat'    .74690       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1372       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4840E+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=   6383.497     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      261 TOTAL
                     EDM=   .99E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .73831        60.761        .23048E-04   -.60524E-03
   2  Index         2.8095        5.2928        .40635E-02   -.51095E-04
   3  Normalizat    .74691        .20265        .28352E-03   -.56217E-04
   4  Prefactor     1.1372        .17348        .20289E-03   -.17786E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.738305
  Index      = 2.80945
  Normalizat = 0.746913
  Prefactor  = 1.13719
 **********
 **   18 **HESSE 
 **********

 FCN=   6383.497     FROM HESSE     STATUS=OK            23 CALLS      284 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .73831        24.540        .92190E-06   -1.5691    
   2  Index         2.8095        6.3467        .16254E-03   -.45349    
   3  Normalizat    .74691        .20113        .11341E-04   -1.0207    
   4  Prefactor     1.1372        .17203        .40578E-04   -.88287    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.12006e-09
Minuit parameter uncertainties:
  1  8.51313
  2  5.99189
  3  0.201333
  4  0.172111
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/631283': 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) = 6383.49734714
delta logL = 0.00587153781544

Extracting fit parameters...

4FGL J1008.0+0620
   Spectrum: PowerLaw
200    Prefactor:  7.383e-01  8.513e+00  0.000e+00  1.000e+06 ( 1.000e-13)
201        Index:  2.809e+00  5.992e+00  0.000e+00  1.000e+01 (-1.000e+00)
202        Scale:  1.356e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
481    Prefactor:  1.137e+00  1.721e-01  0.000e+00  1.000e+01 ( 1.000e+00)
482        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
483        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
480   Normalization:  7.469e-01  2.013e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.02
Ra Dec: 152.014 6.348

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/631283/cmap_HighResolution_696816001_697075201_4FGL_J1008.0+0620_daily_bin1765.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.40e-03', job_status='DONE', photon_flux_upper_limit='7.10e-08', time_completed='2023-02-03 00:57:16.748232', job_id='631283', GAL2='1.14', fit_tolerance='1e-08', EG2='0.75', EG='0.75', time_epoch_completed='1675414636.75', return_code2='0', ts='0.02', comment='SUCCESS', return_code='0', GAL='1.13', dlogl='5.87e-03', ts2='0.03', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='1765' AND source_name='4FGL J1008.0+0620' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb  3 00:57:16 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0114>
Subject: Job 631283: <4FGL_J1008.0+0620_daily_bin1765> in cluster <slac> Done

Job <4FGL_J1008.0+0620_daily_bin1765> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Feb  3 00:45:16 2023
Job was executed on host(s) <bullet0114>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb  3 00:45:44 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb  3 00:45:44 2023
Terminated at Fri Feb  3 00:57:17 2023
Results reported at Fri Feb  3 00:57:17 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1008.0+0620_daily_bin1765 152.014 6.3475 696816001 697075201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1008.0+0620 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   485.32 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             254.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   693 sec.
    Turnaround time :                            721 sec.

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

