/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 236 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J1008.0+0620_daily_bin609
RA = 152.014, Dec = 6.3475
tmin = 397180801, tmax = 397440001
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='682563', job_status='RUN', time_executed='2021-09-01 11:15:37.021537', time_epoch_executed='1630520137.02' WHERE source_name='4FGL J1008.0+0620' and cadence='daily' and bin_id='609'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/682563

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

Retrieving the FT1 file...

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

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

Retrieving 41 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/682563/ft1_4FGL_J1008.0+0620_daily_bin609.fits


Retrieving the FT1 file...

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

Retrieving 41 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/682563/ft2_4FGL_J1008.0+0620_daily_bin609.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/682563/ft1_4FGL_J1008.0+0620_daily_bin609.fits outfile=/scratch/kocevski/682563/ft1_filteredMKT_4FGL_J1008.0+0620_daily_bin609.fits ra=152.014 dec=6.3475 rad=12.0 tmin=397180801.0 tmax=397440001.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.01
user 3.74
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/682563/ft2_4FGL_J1008.0+0620_daily_bin609.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/682563/ft1_filteredMKT_4FGL_J1008.0+0620_daily_bin609.fits evtable="EVENTS" outfile="/scratch/kocevski/682563/ft1_filtered_4FGL_J1008.0+0620_daily_bin609.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.65
user 0.36
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/682563/ft1_filtered_4FGL_J1008.0+0620_daily_bin609.fits" evtable="EVENTS" scfile=/scratch/kocevski/682563/ft2_4FGL_J1008.0+0620_daily_bin609.fits sctable="SC_DATA" outfile=/scratch/kocevski/682563/ltcube_397180801_397440001_4FGL_J1008.0+0620_daily_bin609.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/682563/ft2_4FGL_J1008.0+0620_daily_bin609.fits
.....................!
real 14.62
user 12.36
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/682563/ft1_filtered_4FGL_J1008.0+0620_daily_bin609.fits evtable="EVENTS" scfile=/scratch/kocevski/682563/ft2_4FGL_J1008.0+0620_daily_bin609.fits sctable="SC_DATA" expcube=/scratch/kocevski/682563/ltcube_397180801_397440001_4FGL_J1008.0+0620_daily_bin609.fits outfile=/scratch/kocevski/682563/expmap_397180801_397440001_4FGL_J1008.0+0620_daily_bin609.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/682563/ltcube_397180801_397440001_4FGL_J1008.0+0620_daily_bin609.fits
.....................!
real 191.90
user 186.14
sys 4.30

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/682563/ft1_filtered_4FGL_J1008.0+0620_daily_bin609.fits scfile=/scratch/kocevski/682563/ft2_4FGL_J1008.0+0620_daily_bin609.fits outfile=/scratch/kocevski/682563/cmap_397180801_397440001_4FGL_J1008.0+0620_daily_bin609.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.59
user 0.40
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/682563/ft1_filtered_4FGL_J1008.0+0620_daily_bin609.fits scfile=/scratch/kocevski/682563/ft2_4FGL_J1008.0+0620_daily_bin609.fits outfile=/scratch/kocevski/682563/cmap_HighResolution_397180801_397440001_4FGL_J1008.0+0620_daily_bin609.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.60
user 0.40
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/682563/ft1_filtered_4FGL_J1008.0+0620_daily_bin609.fits', '/scratch/kocevski/682563/ft2_4FGL_J1008.0+0620_daily_bin609.fits', expMap='/scratch/kocevski/682563/expmap_397180801_397440001_4FGL_J1008.0+0620_daily_bin609.fits', expCube='/scratch/kocevski/682563/ltcube_397180801_397440001_4FGL_J1008.0+0620_daily_bin609.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/682563/Model_4FGL_J1008.0+0620_daily_bin609.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  1.000e-04  1.000e+04 ( 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/682563/ft1_filtered_4FGL_J1008.0+0620_daily_bin609.fits
Spacecraft file(s): /scratch/kocevski/682563/ft2_4FGL_J1008.0+0620_daily_bin609.fits
Exposure map: /scratch/kocevski/682563/expmap_397180801_397440001_4FGL_J1008.0+0620_daily_bin609.fits
Exposure cube: /scratch/kocevski/682563/ltcube_397180801_397440001_4FGL_J1008.0+0620_daily_bin609.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/682563/Model_4FGL_J1008.0+0620_daily_bin609.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) = 4507.35538966

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    7.2075       1.0000         .10000E-03   10000.    
     3 'norm      '    8.6391       1.0000         .10000E-03   10000.    
     4 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    18.184       1.0000         .10000E-03   10000.    
     6 'Prefactor '    19.961       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .63376       1.0000         .10000E-03   10000.    
     8 'norm      '    4.8520       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    107.59       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .15886E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    27.195       1.0000         .10000E-03   10000.    
    13 'norm      '    3.0706       1.0000         .10000E-03   10000.    
    14 'Prefactor '    18.675       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    4.5008       1.0000         .10000E-03   10000.    
    17 'Normalizat'    .82272       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.2129       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.

 FCN=   4507.338     FROM MIGRAD    STATUS=CONVERGED    378 CALLS     2077 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.5261       -.88686E-08** at limit **
   2  Prefactor     7.2038        18.795        .24571E-06   -.91424E-05
   3  norm          8.6390        2.3338        .37831E-07   -.13663E-04
   4  norm          .10000E-03    .59521        .78815E-07** at limit **
   5  Prefactor     18.187        15.040       -.10023E-05   -.12696E-03
   6  Prefactor     19.968        46.622       -.56827E-05   -.21093E-03
   7  Prefactor     .51583        73.732        .94647E-05   -.32898E-03
   8  norm          4.8550        22.337        .67955E-06    .44641E-05
   9  Prefactor     .10000E-03    7.0061       -.72882E-06** at limit **
  10  Prefactor     107.60        80.755       -.10486E-05   -.45435E-04
  11  Prefactor     .10017E-03    477.38       -.32852E-04** at limit **
  12  Prefactor     27.210        23.319       -.48694E-06   -.58287E-04
  13  norm          3.0706        1.8296        .14961E-07   -.24635E-03
  14  Prefactor     18.676        10.153        .13154E-06   -.18454E-03
  15  Prefactor     .10000E-03    3.2739        .19698E-06** at limit **
  16  Prefactor     4.4988        9.5563        .86395E-08    .76592E-05
  17  Normalizat    .82269        .23723       -.27476E-06   -.29379E-03
  18  Prefactor     1.2130        .19751       -.39026E-06   -.40540E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 7.20378
  norm       = 8.63902
  norm       = 0.0001
  Prefactor  = 18.1869
  Prefactor  = 19.9676
  Prefactor  = 0.515827
  norm       = 4.85503
  Prefactor  = 0.0001
  Prefactor  = 107.6
  Prefactor  = 0.000100174
  Prefactor  = 27.2105
  norm       = 3.07062
  Prefactor  = 18.6759
  Prefactor  = 0.0001
  Prefactor  = 4.49878
  Normalizat = 0.822691
  Prefactor  = 1.21302
 **********
 **   18 **HESSE 
 **********

 FCN=   4507.338     FROM HESSE     STATUS=OK           252 CALLS     2329 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.5308        .80991E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     7.2038        18.773        .14941E-03   -1.5171    
   3  norm          8.6390        2.3403        .50335E-04   -1.5120    
   4  norm          .10000E-03    1.7858        .99024E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     18.187        14.967        .93924E-04   -1.4855    
   6  Prefactor     19.968        46.762        .89648E-04   -1.4814    
   7  Prefactor     .51583        52.411        .13174       -1.5564    
   8  norm          4.8550        22.085        .18262E-03   -1.5267    
   9  Prefactor     .10000E-03    7.0017        .17324E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     107.60        80.478        .38773E-04   -1.3630    
  11  Prefactor     .10017E-03    463.57        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     27.210        22.708        .76821E-04   -1.4664    
  13  norm          3.0706        1.8264        .67077E-04   -1.5357    
  14  Prefactor     18.676        10.143        .92680E-04   -1.4843    
  15  Prefactor     .10000E-03    3.3778        .23680E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     4.4988        9.5573        .18978E-03   -1.5284    
  17  Normalizat    .82269        .27990        .30542E-03   -.99232    
  18  Prefactor     1.2130        .23426        .22543E-03   -.85932    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.65523e-09
Minuit parameter uncertainties:
  1  7.37945e-08
  2  18.7881
  3  2.34033
  4  1.63067e-06
  5  14.9697
  6  46.8479
  7  10.4074
  8  20.722
  9  3.15373e-05
  10  80.5601
  11  0.0181216
  12  22.715
  13  1.82638
  14  10.1438
  15  1.43027e-05
  16  9.56051
  17  0.280396
  18  0.234458
Done.

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

Extracting fit parameters...

4FGL J1008.0+0620
   Spectrum: PowerLaw
200    Prefactor:  1.819e+01  1.497e+01  1.000e-04  1.000e+04 ( 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.213e+00  2.345e-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.227e-01  2.804e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.94
Ra Dec: 152.014 6.348
Photon Index (Fixed Index): 2.19 +/- 0.00
Photon Flux (Fixed Index): 4.61e-08 +/- 3.79e-08
Energy Flux (Fixed Index): 2.11e-05 +/- 1.74e-05

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) = 4506.67071978
delta logL = 0.667013845027

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4506.65319844
delta logL = 0.684535194176

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    21.606       1.0000         .10000E-03   10000.    
     2 'Index     '    1.5746       1.0000          .0000       10.000    
     3 'Normalizat'    .84396       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2053       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=   4506.653     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      212 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     21.606        21.866        .21543E-02   -.27544E-02
   2  Index         1.5746        .50413        .20206       -.15589E-04
   3  Normalizat    .84403        .22257        .68270E-01    .15093E-04
   4  Prefactor     1.2053        .19582        .51157E-01    .15442E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 21.6063
  Index      = 1.57455
  Normalizat = 0.844032
  Prefactor  = 1.20525
 **********
 **   18 **HESSE 
 **********

 FCN=   4506.653     FROM HESSE     STATUS=OK            31 CALLS      243 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     21.606        20.330        .86170E-04   -1.4778    
   2  Index         1.5746        .53281        .78243E-02   -.75473    
   3  Normalizat    .84403        .26143        .30205E-03   -.98456    
   4  Prefactor     1.2053        .23093        .22616E-03   -.86170    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.4599e-08
Minuit parameter uncertainties:
  1  20.3368
  2  0.534727
  3  0.261823
  4  0.231125
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/682563': 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) = 4506.6531984
delta logL = 0.684535230086

Extracting fit parameters...

4FGL J1008.0+0620
   Spectrum: PowerLaw
200    Prefactor:  2.161e+01  2.034e+01  1.000e-04  1.000e+04 ( 1.000e-13)
201        Index:  1.575e+00  5.347e-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.205e+00  2.311e-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.440e-01  2.618e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.32
Ra Dec: 152.014 6.348
Photon Index (Free Index): 1.57 +/- 0.53
Photon Flux (Free Index): 2.24e-08 +/- 2.77e-08
Energy Flux (Free Index): 5.51e-05 +/- 6.96e-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/682563/cmap_HighResolution_397180801_397440001_4FGL_J1008.0+0620_daily_bin609.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.61e-08', energy_flux2='5.51e-05', photon_flux_error='3.79e-08', dlogl='6.85e-01', energy_flux='2.11e-05', photon_flux2='2.24e-08', job_status='DONE', time_completed='2021-09-01 11:23:26.091155', photon_index_error2='0.53', photon_index2='1.57', ts='7.94', fit_tolerance='1e-08', GAL='1.21', photon_index_error='0.00', energy_flux_error2='6.96e-05', EG='0.82', time_epoch_completed='1630520606.09', return_code='0', job_id='682563', GAL2='1.21', EG2='0.84', return_code2='0', energy_flux_error='1.74e-05', photon_flux_error2='2.77e-08', ts2='9.32', photon_index='2.19' WHERE bin_id='609' AND source_name='4FGL J1008.0+0620' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 11:23:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0244>
Subject: Job 682563: <4FGL_J1008.0+0620_daily_bin609> in cluster <slac> Done

Job <4FGL_J1008.0+0620_daily_bin609> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep  1 11:11:15 2021
Job was executed on host(s) <bullet0244>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 11:11:17 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  1 11:11:17 2021
Terminated at Wed Sep  1 11:23:27 2021
Results reported at Wed Sep  1 11:23:27 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1008.0+0620_daily_bin609 152.014 6.3475 397180801 397440001 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 :                                   465.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             294.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   729 sec.
    Turnaround time :                            732 sec.

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

