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


Performing analysis on: 4FGL_J1008.0+0620_daily_bin1776
RA = 152.014, Dec = 6.3475
tmin = 699667201, tmax = 699926401
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='830128', job_status='RUN', time_executed='2023-03-08 00:27:10.426481', time_epoch_executed='1678264030.43' WHERE source_name='4FGL J1008.0+0620' and cadence='daily' and bin_id='1776'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/830128

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/830128/ft1_4FGL_J1008.0+0620_daily_bin1776.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/830128/ft2_4FGL_J1008.0+0620_daily_bin1776.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/830128/ft1_4FGL_J1008.0+0620_daily_bin1776.fits outfile=/scratch/kocevski/830128/ft1_filteredMKT_4FGL_J1008.0+0620_daily_bin1776.fits ra=152.014 dec=6.3475 rad=12.0 tmin=699667201.0 tmax=699926401.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.86
user 3.65
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/830128/ft2_4FGL_J1008.0+0620_daily_bin1776.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/830128/ft1_filteredMKT_4FGL_J1008.0+0620_daily_bin1776.fits evtable="EVENTS" outfile="/scratch/kocevski/830128/ft1_filtered_4FGL_J1008.0+0620_daily_bin1776.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.49
user 0.32
sys 0.16

Number of photons that the gtmktime cut: 486

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/830128/ft1_filtered_4FGL_J1008.0+0620_daily_bin1776.fits" evtable="EVENTS" scfile=/scratch/kocevski/830128/ft2_4FGL_J1008.0+0620_daily_bin1776.fits sctable="SC_DATA" outfile=/scratch/kocevski/830128/ltcube_699667201_699926401_4FGL_J1008.0+0620_daily_bin1776.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/830128/ft2_4FGL_J1008.0+0620_daily_bin1776.fits
.....................!
real 11.70
user 11.37
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/830128/ft1_filtered_4FGL_J1008.0+0620_daily_bin1776.fits evtable="EVENTS" scfile=/scratch/kocevski/830128/ft2_4FGL_J1008.0+0620_daily_bin1776.fits sctable="SC_DATA" expcube=/scratch/kocevski/830128/ltcube_699667201_699926401_4FGL_J1008.0+0620_daily_bin1776.fits outfile=/scratch/kocevski/830128/expmap_699667201_699926401_4FGL_J1008.0+0620_daily_bin1776.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/830128/ltcube_699667201_699926401_4FGL_J1008.0+0620_daily_bin1776.fits
.....................!
real 191.22
user 185.46
sys 5.44

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/830128/ft1_filtered_4FGL_J1008.0+0620_daily_bin1776.fits scfile=/scratch/kocevski/830128/ft2_4FGL_J1008.0+0620_daily_bin1776.fits outfile=/scratch/kocevski/830128/cmap_699667201_699926401_4FGL_J1008.0+0620_daily_bin1776.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/830128/ft1_filtered_4FGL_J1008.0+0620_daily_bin1776.fits scfile=/scratch/kocevski/830128/ft2_4FGL_J1008.0+0620_daily_bin1776.fits outfile=/scratch/kocevski/830128/cmap_HighResolution_699667201_699926401_4FGL_J1008.0+0620_daily_bin1776.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.55
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .31808E-07   1.0000          .0000       .10000E+07
     2 'norm      '    2.2553       1.0000          .0000       .10000E+07
     3 'norm      '    .68738       1.0000          .0000       .10000E+07
     4 'Prefactor '    14.639       1.0000          .0000       .10000E+07
     5 'Prefactor '    .75721E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .46931E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .66058E-08   1.0000          .0000       .10000E+07
     8 'Prefactor '    .83406E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .33386E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    .30889E-05   1.0000          .0000       .10000E+07
    11 'norm      '    3.1652       1.0000          .0000       .10000E+07
    12 'Prefactor '    2.9817       1.0000          .0000       .10000E+07
    13 'Prefactor '    2.1026       1.0000          .0000       .10000E+07
    14 'Prefactor '    .21295E-03   1.0000          .0000       .10000E+07
    15 'Normalizat'    1.1810       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .94260       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=   5475.547     FROM MIGRAD    STATUS=CONVERGED     79 CALLS      848 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.8530       -.48749E-06** at limit **
   2  norm          2.2549        1.3377       -.25226E-06    .11961E-02
   3  norm          .68730        .58445        .17307E-06   -.31731E-03
   4  Prefactor     14.523        1.4613       -.10336E-06    .93688E-01
   5  Prefactor     .15186E-05    3.8670        .49532E-06** at limit **
   6  Prefactor     .24186E-05    9.1927        .25745E-07** at limit **
   7  Prefactor     .16653E-09    5.0706        .44657E-06** at limit **
   8  Prefactor     .27904E-05    3.6904        .72705E-06** at limit **
   9  Prefactor     .26738E-05    12.559        .12236E-05** at limit **
  10  Prefactor     .17764E-08    5.5143       -.19177E-05** at limit **
  11  norm          3.1671        1.6653        .41939E-07    .13619E-02
  12  Prefactor     2.9047        7.5076       -.23170E-06   -.11899E-04
  13  Prefactor     2.1044        3.1661        .13078E-06    .27647E-03
  14  Prefactor     .71942E-07    2.2913        .36725E-06** at limit **
  15  Normalizat    1.1813        .22529       -.12165E-04   -.38085E-05
  16  Prefactor     .94267        .19122        .67718E-05   -.39734E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 2.25488
  norm       = 0.687304
  Prefactor  = 14.5226
  Prefactor  = 1.51862e-06
  Prefactor  = 2.41857e-06
  Prefactor  = 1.66533e-10
  Prefactor  = 2.79038e-06
  Prefactor  = 2.67375e-06
  Prefactor  = 1.77636e-09
  norm       = 3.16708
  Prefactor  = 2.90468
  Prefactor  = 2.10438
  Prefactor  = 7.19425e-08
  Normalizat = 1.18131
  Prefactor  = 0.942674
 **********
 **   18 **HESSE 
 **********

 FCN=   5475.547     FROM HESSE     STATUS=OK           233 CALLS     1081 TOTAL
                     EDM=   .88E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.8565        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.2549        1.3412        .68384E-03   -1.5678    
   3  norm          .68730        .59713        .61738E-03   -1.5691    
   4  Prefactor     14.523        13.333        .26151E-03   -1.5632    
   5  Prefactor     .15186E-05    14.779        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .24186E-05    13.806        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .16653E-09    5.0984        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .27904E-05    15.375        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .26738E-05    17.103        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .17764E-08    5.5402        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          3.1671        1.6742        .56942E-03   -1.5672    
  12  Prefactor     2.9047        7.5329        .58770E-03   -1.5674    
  13  Prefactor     2.1044        3.1781        .71137E-03   -1.5679    
  14  Prefactor     .71942E-07    21.421        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    1.1813        .19404        .57092E-01   -.87182    
  16  Prefactor     .94267        .16372        .45546E-01   -.94665    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.82717e-07
Minuit parameter uncertainties:
  1  8.76359e-06
  2  1.34116
  3  0.597131
  4  13.3328
  5  0.00947507
  6  0.011557
  7  5.33287e-05
  8  0.0130999
  9  0.0135247
  10  0.000197003
  11  1.67421
  12  7.53288
  13  3.17807
  14  0.00248252
  15  0.194156
  16  0.163803
Done.

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

Extracting fit parameters...

4FGL J1008.0+0620
   Spectrum: PowerLaw
200    Prefactor:  1.452e+01  1.333e+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:  9.427e-01  1.638e-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:  1.181e+00  1.942e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.82
Ra Dec: 152.014 6.348
Photon Index (Fixed Index): 2.19 +/- 0.00
Photon Flux (Fixed Index): 3.68e-08 +/- 3.38e-08
Energy Flux (Fixed Index): 1.68e-05 +/- 1.55e-05

TS (Fixed Index): 1.82
Ra Dec: 152.014 6.348
Photon Flux Upper Limit: 1.13e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.59e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/830128/likelihoodResults_699667201_699926401_4FGL_J1008.0+0620_daily_bin1776.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) = 5475.42384263
delta logL = 0.122926883404

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5475.42003828
delta logL = 0.126731234978

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.362       1.0000          .0000       .10000E+07
     2 'Index     '    2.5414       1.0000          .0000       10.000    
     3 'Normalizat'    1.1647       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95114       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=   5475.420     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      295 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.360        15.136        .12441E-04    .32029E-02
   2  Index         2.5409        .81588        .61984E-02    .89368E-04
   3  Normalizat    1.1647        .22707        .25393E-03   -.33892E-03
   4  Prefactor     .95117        .19084        .23540E-03   -.40486E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.3598
  Index      = 2.54089
  Normalizat = 1.16474
  Prefactor  = 0.951166
 **********
 **   18 **HESSE 
 **********

 FCN=   5475.420     FROM HESSE     STATUS=OK            25 CALLS      320 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.360        13.363        .49764E-06   -1.5644    
   2  Index         2.5409        .72079        .24794E-03   -.51418    
   3  Normalizat    1.1647        .22698        .50785E-04   -.87700    
   4  Prefactor     .95117        .19079        .47080E-04   -.94375    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.9445e-10
Minuit parameter uncertainties:
  1  13.3626
  2  0.724122
  3  0.227167
  4  0.19093
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/830128': 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) = 5475.42003723
delta logL = 0.126732283314

Extracting fit parameters...

4FGL J1008.0+0620
   Spectrum: PowerLaw
200    Prefactor:  1.036e+01  1.336e+01  0.000e+00  1.000e+06 ( 1.000e-13)
201        Index:  2.541e+00  7.241e-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:  9.512e-01  1.909e-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:  1.165e+00  2.272e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.08
Ra Dec: 152.014 6.348
Photon Index (Free Index): 2.54 +/- 0.72
Photon Flux (Free Index): 5.07e-08 +/- 4.72e-08
Energy Flux (Free Index): 1.41e-05 +/- 1.25e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/830128/cmap_HighResolution_699667201_699926401_4FGL_J1008.0+0620_daily_bin1776.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.59e-03', comment='SUCCESS', photon_flux='3.68e-08', energy_flux2='1.41e-05', photon_flux_error='3.38e-08', dlogl='1.27e-01', energy_flux='1.68e-05', photon_flux2='5.07e-08', job_status='DONE', time_completed='2023-03-08 00:34:28.985143', photon_index_error2='0.72', photon_index2='2.54', ts='1.82', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', photon_flux_upper_limit='1.13e-07', energy_flux_error2='1.25e-05', EG='1.18', time_epoch_completed='1678264468.99', return_code='0', job_id='830128', GAL2='0.95', EG2='1.16', return_code2='0', energy_flux_error='1.55e-05', photon_flux_error2='4.72e-08', ts2='2.08', photon_index='2.19' WHERE bin_id='1776' AND source_name='4FGL J1008.0+0620' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Mar  8 00:34:29 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0152>
Subject: Job 830128: <4FGL_J1008.0+0620_daily_bin1776> in cluster <slac> Done

Job <4FGL_J1008.0+0620_daily_bin1776> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Mar  8 00:25:35 2023
Job was executed on host(s) <bullet0152>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Mar  8 00:25:40 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Mar  8 00:25:40 2023
Terminated at Wed Mar  8 00:34:29 2023
Results reported at Wed Mar  8 00:34:29 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1008.0+0620_daily_bin1776 152.014 6.3475 699667201 699926401 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 :                                   441.00 sec.
    Max Memory :                                 1231 MB
    Average Memory :                             252.28 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   529 sec.
    Turnaround time :                            534 sec.

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

