/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 126 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 = 7487
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1008.0+0620_daily_bin37
RA = 152.014, Dec = 6.3475
tmin = 248918401, tmax = 249177601
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='679211', job_status='RUN', time_executed='2021-09-01 11:03:20.652697', time_epoch_executed='1630519400.65' WHERE source_name='4FGL J1008.0+0620' and cadence='daily' and bin_id='37'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/679211

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/679211/ft1_4FGL_J1008.0+0620_daily_bin37.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/679211/ft2_4FGL_J1008.0+0620_daily_bin37.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/679211/ft1_4FGL_J1008.0+0620_daily_bin37.fits outfile=/scratch/kocevski/679211/ft1_filteredMKT_4FGL_J1008.0+0620_daily_bin37.fits ra=152.014 dec=6.3475 rad=12.0 tmin=248918401.0 tmax=249177601.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 1.93
user 1.73
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/679211/ft1_filtered_4FGL_J1008.0+0620_daily_bin37.fits" evtable="EVENTS" scfile=/scratch/kocevski/679211/ft2_4FGL_J1008.0+0620_daily_bin37.fits sctable="SC_DATA" outfile=/scratch/kocevski/679211/ltcube_248918401_249177601_4FGL_J1008.0+0620_daily_bin37.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/679211/ft2_4FGL_J1008.0+0620_daily_bin37.fits
.....................!
real 12.51
user 12.11
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/679211/ft1_filtered_4FGL_J1008.0+0620_daily_bin37.fits evtable="EVENTS" scfile=/scratch/kocevski/679211/ft2_4FGL_J1008.0+0620_daily_bin37.fits sctable="SC_DATA" expcube=/scratch/kocevski/679211/ltcube_248918401_249177601_4FGL_J1008.0+0620_daily_bin37.fits outfile=/scratch/kocevski/679211/expmap_248918401_249177601_4FGL_J1008.0+0620_daily_bin37.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/679211/ltcube_248918401_249177601_4FGL_J1008.0+0620_daily_bin37.fits
.....................!
real 193.04
user 187.38
sys 4.85

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/679211/ft1_filtered_4FGL_J1008.0+0620_daily_bin37.fits scfile=/scratch/kocevski/679211/ft2_4FGL_J1008.0+0620_daily_bin37.fits outfile=/scratch/kocevski/679211/cmap_248918401_249177601_4FGL_J1008.0+0620_daily_bin37.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.63
user 0.36
sys 0.17

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.7574       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .24907       1.0000         .10000E-03   10000.    
     4 'norm      '    3.4914       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .79970       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    19.668       1.0000         .10000E-03   10000.    
     8 'norm      '    9.5862       1.0000         .10000E-03   10000.    
     9 'Prefactor '    53.580       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    25.473       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.5377       1.0000         .10000E-03   10000.    
    15 'Prefactor '    10.031       1.0000         .10000E-03   10000.    
    16 'Prefactor '    12.227       1.0000         .10000E-03   10000.    
    17 'Normalizat'    .96193       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .90961       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=   6539.265     FROM MIGRAD    STATUS=CONVERGED    357 CALLS     1780 TOTAL
                     EDM=   .82E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.7574        3.2536        .79036E-02    .60876E-03
   2  Prefactor     .10000E-03    13.322        .90712E-02** at limit **
   3  norm          .24909        .67859        .24677E-01    .21558E-02
   4  norm          3.4914        .80424        .54098E-02    .15783E-02
   5  Prefactor     .79918        15.091        .88390E-01    .21670E-03
   6  Prefactor     .10000E-03    14.683        .90712E-02** at limit **
   7  Prefactor     19.668        22.796        .22578E-02    .88989E-04
   8  norm          9.5820        22.104        .32358E-02    .90112E-04
   9  Prefactor     53.581        17.018        .13699E-02    .13278E-04
  10  Prefactor     .10000E-03    94.883        .90712E-02** at limit **
  11  Prefactor     25.474        40.669        .19843E-02   -.77714E-03
  12  Prefactor     .10000E-03    5.5056        .90712E-02** at limit **
  13  norm          .10000E-03    .42704        .26206E-01** at limit **
  14  Prefactor     3.5374        6.3040        .53727E-02    .78347E-03
  15  Prefactor     10.031        4.5648        .31630E-02    .30093E-03
  16  Prefactor     12.227        10.460        .28640E-02    .15587E-02
  17  Normalizat    .96196        .18627        .45688E-01    .14367E-03
  18  Prefactor     .90958        .15134        .45127E-01    .18206E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.75742
  Prefactor  = 0.0001
  norm       = 0.249086
  norm       = 3.49137
  Prefactor  = 0.799177
  Prefactor  = 0.0001
  Prefactor  = 19.6675
  norm       = 9.58205
  Prefactor  = 53.5811
  Prefactor  = 0.0001
  Prefactor  = 25.4743
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 3.53741
  Prefactor  = 10.0306
  Prefactor  = 12.2268
  Normalizat = 0.96196
  Prefactor  = 0.909578
 **********
 **   18 **HESSE 
 **********

 FCN=   6539.265     FROM HESSE     STATUS=OK           252 CALLS     2032 TOTAL
                     EDM=   .47E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.7574        3.2283        .19064E-03   -1.5443    
   2  Prefactor     .10000E-03    13.559        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .24909        .66174        .10421E-03   -1.5608    
   4  norm          3.4914        .80442        .32960E-04   -1.5334    
   5  Prefactor     .79918        85.807        .47872E-02   -1.5529    
   6  Prefactor     .10000E-03    14.698        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     19.668        22.790        .90312E-04   -1.4821    
   8  norm          9.5820        25.163        .12943E-03   -1.5089    
   9  Prefactor     53.581        16.925        .54795E-04   -1.4243    
  10  Prefactor     .10000E-03    95.398        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     25.474        40.669        .79370E-04   -1.4698    
  12  Prefactor     .10000E-03    5.5064        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    .56898        .10240E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.5374        6.2747        .21491E-03   -1.5332    
  15  Prefactor     10.031        4.5620        .10626E-03   -1.5074    
  16  Prefactor     12.227        10.453        .57281E-03   -1.5008    
  17  Normalizat    .96196        .21316        .26910E-03   -.94316    
  18  Prefactor     .90958        .17523        .23329E-03   -.95807    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.6976e-09
Minuit parameter uncertainties:
  1  3.22866
  2  1.15235e-05
  3  0.661764
  4  0.804426
  5  16.5854
  6  1.901e-05
  7  22.7997
  8  25.1908
  9  16.9267
  10  0.000136586
  11  40.7136
  12  3.02275e-05
  13  1.16954e-06
  14  6.27584
  15  4.56215
  16  10.455
  17  0.213345
  18  0.175337
Done.

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

Extracting fit parameters...

4FGL J1008.0+0620
   Spectrum: PowerLaw
200    Prefactor:  7.992e-01  1.659e+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:  9.096e-01  1.753e-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:  9.620e-01  2.133e-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: 8.08e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.15e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/679211/likelihoodResults_248918401_249177601_4FGL_J1008.0+0620_daily_bin37.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) = 6539.26149204
delta logL = 0.00301598992701

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6539.26130515
delta logL = 0.00320288343937

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .93975       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4110       1.0000          .0000       10.000    
     3 'Normalizat'    .96082       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90985       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=   6539.261     FROM MIGRAD    STATUS=CONVERGED     64 CALLS      239 TOTAL
                     EDM=   .44E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .97909        22.541        .70214E-01    .81751E-03
   2  Index         2.3909        .65134        .50000        .73668E-04
   3  Normalizat    .96077        .76695E-02    .45674E-01    .30108E-03
   4  Prefactor     .90987        .65182E-02    .45130E-01    .21410E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.97909
  Index      = 2.3909
  Normalizat = 0.960768
  Prefactor  = 0.909873
 **********
 **   18 **HESSE 
 **********

 FCN=   6539.261     FROM HESSE     STATUS=OK            31 CALLS      270 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .97909        34.746        .43819E-02   -1.5510    
   2  Index         2.3909        2.6292        .70714E-02   -.54898    
   3  Normalizat    .96077        .20621        .26924E-03   -.94357    
   4  Prefactor     .90987        .17420        .23324E-03   -.95797    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.68774e-09
Minuit parameter uncertainties:
  1  11.6719
  2  2.83298
  3  0.206379
  4  0.174308
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/679211': 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) = 6539.26126911
delta logL = 0.00323892195775

Extracting fit parameters...

4FGL J1008.0+0620
   Spectrum: PowerLaw
200    Prefactor:  9.791e-01  1.167e+01  1.000e-04  1.000e+04 ( 1.000e-13)
201        Index:  2.391e+00  2.833e+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:  9.099e-01  1.743e-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:  9.608e-01  2.064e-01  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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/679211/cmap_HighResolution_248918401_249177601_4FGL_J1008.0+0620_daily_bin37.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.15e-03', job_status='DONE', photon_flux_upper_limit='8.08e-08', time_completed='2021-09-01 11:12:23.909479', job_id='679211', GAL2='0.91', fit_tolerance='1e-08', EG2='0.96', EG='0.96', time_epoch_completed='1630519943.91', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='3.24e-03', ts2='0.01', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='37' AND source_name='4FGL J1008.0+0620' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 11:12:23 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0049>
Subject: Job 679211: <4FGL_J1008.0+0620_daily_bin37> in cluster <slac> Done

Job <4FGL_J1008.0+0620_daily_bin37> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep  1 11:00:58 2021
Job was executed on host(s) <bullet0049>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 11:00:59 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:00:59 2021
Terminated at Wed Sep  1 11:12:24 2021
Results reported at Wed Sep  1 11:12:24 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1008.0+0620_daily_bin37 152.014 6.3475 248918401 249177601 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 :                                   537.16 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             291.91 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   685 sec.
    Turnaround time :                            686 sec.

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

