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


Performing analysis on: 4FGL_J1008.0+0620_weekly_bin754
RA = 152.014, Dec = 6.3475
tmin = 695001601, tmax = 695606401
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='949801', job_status='RUN', time_executed='2023-01-17 00:56:12.605099', time_epoch_executed='1673945772.61' WHERE source_name='4FGL J1008.0+0620' and cadence='weekly' and bin_id='754'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/949801

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/949801/ft1_4FGL_J1008.0+0620_weekly_bin754.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/949801/ft2_4FGL_J1008.0+0620_weekly_bin754.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/949801/ft1_4FGL_J1008.0+0620_weekly_bin754.fits outfile=/scratch/kocevski/949801/ft1_filteredMKT_4FGL_J1008.0+0620_weekly_bin754.fits ra=152.014 dec=6.3475 rad=12.0 tmin=695001601.0 tmax=695606401.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.74
user 4.46
sys 0.22

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

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

Number of photons that the gtmktime cut: 635

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/949801/ft1_filtered_4FGL_J1008.0+0620_weekly_bin754.fits" evtable="EVENTS" scfile=/scratch/kocevski/949801/ft2_4FGL_J1008.0+0620_weekly_bin754.fits sctable="SC_DATA" outfile=/scratch/kocevski/949801/ltcube_695001601_695606401_4FGL_J1008.0+0620_weekly_bin754.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/949801/ft2_4FGL_J1008.0+0620_weekly_bin754.fits
.....................!
real 32.81
user 32.27
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/949801/ft1_filtered_4FGL_J1008.0+0620_weekly_bin754.fits evtable="EVENTS" scfile=/scratch/kocevski/949801/ft2_4FGL_J1008.0+0620_weekly_bin754.fits sctable="SC_DATA" expcube=/scratch/kocevski/949801/ltcube_695001601_695606401_4FGL_J1008.0+0620_weekly_bin754.fits outfile=/scratch/kocevski/949801/expmap_695001601_695606401_4FGL_J1008.0+0620_weekly_bin754.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/949801/ltcube_695001601_695606401_4FGL_J1008.0+0620_weekly_bin754.fits
.....................!
real 156.71
user 152.71
sys 3.66

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/949801/ft1_filtered_4FGL_J1008.0+0620_weekly_bin754.fits scfile=/scratch/kocevski/949801/ft2_4FGL_J1008.0+0620_weekly_bin754.fits outfile=/scratch/kocevski/949801/cmap_695001601_695606401_4FGL_J1008.0+0620_weekly_bin754.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.53
user 0.36
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/949801/ft1_filtered_4FGL_J1008.0+0620_weekly_bin754.fits scfile=/scratch/kocevski/949801/ft2_4FGL_J1008.0+0620_weekly_bin754.fits outfile=/scratch/kocevski/949801/cmap_HighResolution_695001601_695606401_4FGL_J1008.0+0620_weekly_bin754.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.54
user 0.37
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/949801/ft1_filtered_4FGL_J1008.0+0620_weekly_bin754.fits', '/scratch/kocevski/949801/ft2_4FGL_J1008.0+0620_weekly_bin754.fits', expMap='/scratch/kocevski/949801/expmap_695001601_695606401_4FGL_J1008.0+0620_weekly_bin754.fits', expCube='/scratch/kocevski/949801/ltcube_695001601_695606401_4FGL_J1008.0+0620_weekly_bin754.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/949801/Model_4FGL_J1008.0+0620_weekly_bin754.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/949801/ft1_filtered_4FGL_J1008.0+0620_weekly_bin754.fits
Spacecraft file(s): /scratch/kocevski/949801/ft2_4FGL_J1008.0+0620_weekly_bin754.fits
Exposure map: /scratch/kocevski/949801/expmap_695001601_695606401_4FGL_J1008.0+0620_weekly_bin754.fits
Exposure cube: /scratch/kocevski/949801/ltcube_695001601_695606401_4FGL_J1008.0+0620_weekly_bin754.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/949801/Model_4FGL_J1008.0+0620_weekly_bin754.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) = 7648.4228622

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14256E-02   1.0000          .0000       .10000E+07
     2 'norm      '    .59632       1.0000          .0000       .10000E+07
     3 'norm      '    .16312       1.0000          .0000       .10000E+07
     4 'Prefactor '    .29728E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .73256E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .24151E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .40907E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    107.33       1.0000          .0000       .10000E+07
     9 'Prefactor '    .56750E-01   1.0000          .0000       .10000E+07
    10 'Prefactor '    11.396       1.0000          .0000       .10000E+07
    11 'norm      '    2.3427       1.0000          .0000       .10000E+07
    12 'Prefactor '    6.5986       1.0000          .0000       .10000E+07
    13 'Prefactor '    2.4464       1.0000          .0000       .10000E+07
    14 'Prefactor '    .94343E-05   1.0000          .0000       .10000E+07
    15 'Normalizat'    .79541       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.1563       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=   7648.379     FROM MIGRAD    STATUS=CONVERGED    137 CALLS     1147 TOTAL
                     EDM=   .12E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        15.788       -.59053E-07** at limit **
   2  norm          .59661        1.5731       -.17068E-06    .20453E-03
   3  norm          .16385        .45058        .21954E-07** at limit **
   4  Prefactor      .0000        9.3758       -.13811E-06** at limit **
   5  Prefactor      .0000        16.195       -.14317E-06** at limit **
   6  Prefactor      .0000        8.8133       -.34307E-06** at limit **
   7  Prefactor      .0000        6.7294        .68733E-06** at limit **
   8  Prefactor     111.36        68.647        .79060E-07    .11816E-04
   9  Prefactor      .0000        29.285        .43398E-07** at limit **
  10  Prefactor     11.203        12.123        .77146E-07   -.87202E-05
  11  norm          2.3433        1.2190        .44839E-07   -.54246E-03
  12  Prefactor     6.6259        5.8229        .10007E-06    .16933E-03
  13  Prefactor     2.4444        2.2090       -.81567E-07    .26737E-03
  14  Prefactor      .0000        3.1198       -.16028E-06** at limit **
  15  Normalizat    .79256        .20942       -.33414E-05    .17067E-04
  16  Prefactor     1.1573        .16760        .41805E-05    .18558E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 0.596611
  norm       = 0.163847
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 111.359
  Prefactor  = 0
  Prefactor  = 11.2033
  norm       = 2.34331
  Prefactor  = 6.62593
  Prefactor  = 2.44443
  Prefactor  = 0
  Normalizat = 0.79256
  Prefactor  = 1.15725
 **********
 **   18 **HESSE 
 **********

 FCN=   7648.379     FROM HESSE     STATUS=OK           235 CALLS     1382 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        15.568        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .59661        1.5812        .69559E-03   -1.5693    
   3  norm          .16385        .39460        .20089E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        9.3303        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        16.189        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        8.7884        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        6.7151        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     111.36        68.114        .96532E-04   -1.5497    
   9  Prefactor      .0000        28.802        .15281E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     11.203        12.134        .29651E-03   -1.5641    
  11  norm          2.3433        1.2271        .66955E-03   -1.5677    
  12  Prefactor     6.6259        5.8413        .39042E-03   -1.5656    
  13  Prefactor     2.4444        2.2132        .65379E-03   -1.5677    
  14  Prefactor      .0000        3.1109        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    .79256        .18261        .69960E-01   -1.0035    
  16  Prefactor     1.1573        .14420        .35757E-01   -.87657    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.28937e-09
Minuit parameter uncertainties:
  1  1.52865e-05
  2  1.58117
  3  0.394603
  4  2.85694e-06
  5  5.71337e-06
  6  2.66401e-06
  7  1.62006e-06
  8  68.1145
  9  2.22974e-05
  10  12.1345
  11  1.22712
  12  5.84131
  13  2.21321
  14  5.69588e-06
  15  0.182752
  16  0.144248
Done.

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

Extracting fit parameters...

4FGL J1008.0+0620
   Spectrum: PowerLaw
200    Prefactor:  0.000e+00  2.857e-06  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.157e+00  1.442e-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.926e-01  1.828e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/949801/likelihoodResults_695001601_695606401_4FGL_J1008.0+0620_weekly_bin754.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) = 7648.43270622
delta logL = -0.0538543551356

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 7648.37885186
delta logL = 9.09494701773e-13

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '     .0000       1.0000          .0000       .10000E+07
     2 'Index     '    1.0652       1.0000          .0000       10.000    
     3 'Normalizat'    .79256       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1573       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7648.379     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      233 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .74626        .23658E-02** at limit **
   2  Index         3.7261        1.8422        .29108E-03     .0000    
   3  Normalizat    .79256        1.1315        .16656E-04    .10266E-02
   4  Prefactor     1.1573        1.1188       -.33243E-04    .19076E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.72609
  Normalizat = 0.792558
  Prefactor  = 1.15726
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7648.379     FROM HESSE     STATUS=FAILED         9 CALLS      242 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .74626        .23658E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.5279        2.2943        .29108E-03   -.25762    
   3  Normalizat    .79256        1.1315        .16656E-04   -1.0035    
   4  Prefactor     1.1573        1.1188       -.33243E-04   -.87657    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.54075e-09
Minuit parameter uncertainties:
  1  3.13274e-07
  2  1.88999
  3  1.16801
  4  1.14297
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/949801': 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): 101
logL (Free Index) = 7648.37885186
delta logL = -1.1777956388e-09

Extracting fit parameters...

4FGL J1008.0+0620
   Spectrum: PowerLaw
200    Prefactor:  0.000e+00  3.133e-07  0.000e+00  1.000e+06 ( 1.000e-13)
201        Index:  3.726e+00  1.890e+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.157e+00  1.143e+00  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.926e-01  1.168e+00  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/949801/cmap_HighResolution_695001601_695606401_4FGL_J1008.0+0620_weekly_bin754.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.74e-03', job_status='DONE', photon_flux_upper_limit='6.22e-08', time_completed='2023-01-17 01:03:50.968250', job_id='949801', GAL2='1.16', fit_tolerance='1e-08', EG2='0.79', EG='0.79', time_epoch_completed='1673946230.97', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.16', dlogl='-1.18e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='754' AND source_name='4FGL J1008.0+0620' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jan 17 01:03:50 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0086>
Subject: Job 949801: <4FGL_J1008.0+0620_weekly_bin754> in cluster <slac> Done

Job <4FGL_J1008.0+0620_weekly_bin754> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Jan 17 00:50:24 2023
Job was executed on host(s) <bullet0086>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan 17 00:53:08 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan 17 00:53:08 2023
Terminated at Tue Jan 17 01:03:51 2023
Results reported at Tue Jan 17 01:03:51 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1008.0+0620_weekly_bin754 152.014 6.3475 695001601 695606401 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 :                                   459.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             249.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   643 sec.
    Turnaround time :                            807 sec.

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

