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


Performing analysis on: 4FGL_J1008.0+0620_daily_bin1770
RA = 152.014, Dec = 6.3475
tmin = 698112001, tmax = 698371201
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='481844', job_status='RUN', time_executed='2023-02-18 00:32:59.685461', time_epoch_executed='1676709179.69' WHERE source_name='4FGL J1008.0+0620' and cadence='daily' and bin_id='1770'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/481844

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/481844/ft1_4FGL_J1008.0+0620_daily_bin1770.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/481844/ft2_4FGL_J1008.0+0620_daily_bin1770.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/481844/ft1_4FGL_J1008.0+0620_daily_bin1770.fits outfile=/scratch/kocevski/481844/ft1_filteredMKT_4FGL_J1008.0+0620_daily_bin1770.fits ra=152.014 dec=6.3475 rad=12.0 tmin=698112001.0 tmax=698371201.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.30
user 4.09
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/481844/ft2_4FGL_J1008.0+0620_daily_bin1770.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/481844/ft1_filteredMKT_4FGL_J1008.0+0620_daily_bin1770.fits evtable="EVENTS" outfile="/scratch/kocevski/481844/ft1_filtered_4FGL_J1008.0+0620_daily_bin1770.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.48
user 0.33
sys 0.14

Number of photons that the gtmktime cut: 267

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/481844/ft1_filtered_4FGL_J1008.0+0620_daily_bin1770.fits evtable="EVENTS" scfile=/scratch/kocevski/481844/ft2_4FGL_J1008.0+0620_daily_bin1770.fits sctable="SC_DATA" expcube=/scratch/kocevski/481844/ltcube_698112001_698371201_4FGL_J1008.0+0620_daily_bin1770.fits outfile=/scratch/kocevski/481844/expmap_698112001_698371201_4FGL_J1008.0+0620_daily_bin1770.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/481844/ltcube_698112001_698371201_4FGL_J1008.0+0620_daily_bin1770.fits
.....................!
real 189.94
user 185.56
sys 4.07

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/481844/ft1_filtered_4FGL_J1008.0+0620_daily_bin1770.fits scfile=/scratch/kocevski/481844/ft2_4FGL_J1008.0+0620_daily_bin1770.fits outfile=/scratch/kocevski/481844/cmap_698112001_698371201_4FGL_J1008.0+0620_daily_bin1770.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.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/481844/ft1_filtered_4FGL_J1008.0+0620_daily_bin1770.fits scfile=/scratch/kocevski/481844/ft2_4FGL_J1008.0+0620_daily_bin1770.fits outfile=/scratch/kocevski/481844/cmap_HighResolution_698112001_698371201_4FGL_J1008.0+0620_daily_bin1770.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.53
user 0.38
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.8417       1.0000          .0000       .10000E+07
     2 'norm      '    1.3526       1.0000          .0000       .10000E+07
     3 'norm      '    .84269       1.0000          .0000       .10000E+07
     4 'Prefactor '    9.3093       1.0000          .0000       .10000E+07
     5 'Prefactor '    20.130       1.0000          .0000       .10000E+07
     6 'Prefactor '    .18417E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    .18751E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    .16801E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .62262E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    .98077E-06   1.0000          .0000       .10000E+07
    11 'norm      '    1.8484       1.0000          .0000       .10000E+07
    12 'Prefactor '    .17747E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    2.2326       1.0000          .0000       .10000E+07
    14 'Prefactor '    19.325       1.0000          .0000       .10000E+07
    15 'Normalizat'    .89632       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.1237       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=   3040.780     FROM MIGRAD    STATUS=CONVERGED    120 CALLS     1301 TOTAL
                     EDM=   .85E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.8436        5.2196       -.29503E-06   -.91495E-03
   2  norm          1.3513        2.1116       -.92985E-07   -.57811E-02
   3  norm          .84220        .95306       -.41480E-07    .14419E-01
   4  Prefactor     9.3748        23.124        .38725E-05    .21545E-02
   5  Prefactor     20.085        1.3839       -.13796E-06    .73608E-02
   6  Prefactor     .29558E-04    7.1421        .43596E-05** at limit **
   7  Prefactor     .55511E-10    9.7486       -.18161E-06** at limit **
   8  Prefactor     .12329E-06    219.79       -.36027E-05** at limit **
   9  Prefactor     .21261E-07    42.944       -.44459E-06** at limit **
  10  Prefactor      .0000        11.437        .40569E-06** at limit **
  11  norm          1.8475        2.4247       -.72458E-07    .46232E-02
  12  Prefactor     .22204E-09    8.2676        .79355E-07** at limit **
  13  Prefactor     2.2331        3.6748        .48328E-06   -.72169E-02
  14  Prefactor     19.323        15.321       -.35840E-05   -.28235E-02
  15  Normalizat    .89652        .32040        .12642E-04   -.18096E-04
  16  Prefactor     1.1238        .26631       -.36094E-05    .60194E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.84357
  norm       = 1.3513
  norm       = 0.842201
  Prefactor  = 9.37479
  Prefactor  = 20.0849
  Prefactor  = 2.95577e-05
  Prefactor  = 5.55112e-11
  Prefactor  = 1.2329e-07
  Prefactor  = 2.12608e-08
  Prefactor  = 0
  norm       = 1.84745
  Prefactor  = 2.22045e-10
  Prefactor  = 2.23305
  Prefactor  = 19.3231
  Normalizat = 0.896525
  Prefactor  = 1.12379
 **********
 **   18 **HESSE 
 **********

 FCN=   3040.780     FROM HESSE     STATUS=OK           237 CALLS     1538 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.8436        5.2586        .76830E-03   -1.5681    
   2  norm          1.3513        2.1497        .94004E-03   -1.5685    
   3  norm          .84220        .96407        .49806E-03   -1.5690    
   4  Prefactor     9.3748        23.148        .32822E-03   -1.5647    
   5  Prefactor     20.085        59.763        .22295E-03   -1.5618    
   6  Prefactor     .29558E-04    63.613        .17143E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .55511E-10    9.7668        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .12329E-06    218.63        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .21261E-07    43.182        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        11.468        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.8475        2.4566        .76664E-03   -1.5681    
  12  Prefactor     .22204E-09    8.2457        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     2.2331        3.7160        .68772E-03   -1.5678    
  14  Prefactor     19.323        15.360        .22756E-03   -1.5620    
  15  Normalizat    .89652        .28439        .44855E-01   -.96582    
  16  Prefactor     1.1238        .23210        .36747E-01   -.88710    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.7796e-08
Minuit parameter uncertainties:
  1  5.25859
  2  2.14973
  3  0.964066
  4  23.1481
  5  59.7643
  6  0.0867249
  7  3.4509e-05
  8  0.010384
  9  0.00191573
  10  3.4513e-05
  11  2.45665
  12  8.79694e-05
  13  3.71604
  14  15.3598
  15  0.284864
  16  0.232314
Done.

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

Extracting fit parameters...

4FGL J1008.0+0620
   Spectrum: PowerLaw
200    Prefactor:  9.375e+00  2.315e+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.124e+00  2.323e-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:  8.965e-01  2.849e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.19
Ra Dec: 152.014 6.348
Photon Flux Upper Limit: 1.63e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.24e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/481844/likelihoodResults_698112001_698371201_4FGL_J1008.0+0620_daily_bin1770.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) = 3040.57131563
delta logL = 0.20867917223

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3040.56252831
delta logL = 0.217466489383

Fit tolerance = 1e-08

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

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

 FCN=   3040.563     FROM MIGRAD    STATUS=CONVERGED     61 CALLS      258 TOTAL
                     EDM=   .76E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.1568        213.91        .49289E-03    .22146E-02
   2  Index         3.0424        6.5210        .11139        .77942E-04
   3  Normalizat    .85353        .87196E-01    .64930E-01    .80779E-05
   4  Prefactor     1.1465        .72882E-01    .36024E-01    .46393E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.15682
  Index      = 3.04245
  Normalizat = 0.853534
  Prefactor  = 1.14655
 **********
 **   18 **HESSE 
 **********

 FCN=   3040.563     FROM HESSE     STATUS=OK            33 CALLS      291 TOTAL
                     EDM=   .83E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.1568        540.20        .14771E-04   -1.5667    
   2  Index         3.0424        5.0734        .59606E-02   -.40227    
   3  Normalizat    .85353        .35134        .28722E-03   -.98113    
   4  Prefactor     1.1465        .32098        .21565E-03   -.87992    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.34531e-10
Minuit parameter uncertainties:
  1  94.7821
  2  10.6046
  3  0.352282
  4  0.321522
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/481844': 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) = 3040.56252455
delta logL = 0.217470253212

Extracting fit parameters...

4FGL J1008.0+0620
   Spectrum: PowerLaw
200    Prefactor:  4.157e+00  9.478e+01  0.000e+00  1.000e+06 ( 1.000e-13)
201        Index:  3.042e+00  1.060e+01  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.147e+00  3.215e-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:  8.535e-01  3.523e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.19
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/481844/cmap_HighResolution_698112001_698371201_4FGL_J1008.0+0620_daily_bin1770.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.24e-02', job_status='DONE', photon_flux_upper_limit='1.63e-07', time_completed='2023-02-18 00:39:36.741710', job_id='481844', GAL2='1.15', fit_tolerance='1e-08', EG2='0.85', EG='0.90', time_epoch_completed='1676709576.74', return_code2='0', ts='0.19', comment='SUCCESS', return_code='0', GAL='1.12', dlogl='2.17e-01', ts2='0.65', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='1770' AND source_name='4FGL J1008.0+0620' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Feb 18 00:39:36 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0166>
Subject: Job 481844: <4FGL_J1008.0+0620_daily_bin1770> in cluster <slac> Done

Job <4FGL_J1008.0+0620_daily_bin1770> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Sat Feb 18 00:30:44 2023
Job was executed on host(s) <bullet0166>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Feb 18 00:30:48 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Feb 18 00:30:48 2023
Terminated at Sat Feb 18 00:39:37 2023
Results reported at Sat Feb 18 00:39:37 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1008.0+0620_daily_bin1770 152.014 6.3475 698112001 698371201 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 :                                   399.31 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             274.40 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   529 sec.
    Turnaround time :                            533 sec.

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

