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


Performing analysis on: 4FGL_J1008.0+0620_daily_bin1779
RA = 152.014, Dec = 6.3475
tmin = 700444801, tmax = 700704001
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='17394', job_status='RUN', time_executed='2023-03-17 01:12:40.068433', time_epoch_executed='1679040760.07' WHERE source_name='4FGL J1008.0+0620' and cadence='daily' and bin_id='1779'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/17394

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/17394/ft1_4FGL_J1008.0+0620_daily_bin1779.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/17394/ft2_4FGL_J1008.0+0620_daily_bin1779.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/17394/ft1_4FGL_J1008.0+0620_daily_bin1779.fits outfile=/scratch/kocevski/17394/ft1_filteredMKT_4FGL_J1008.0+0620_daily_bin1779.fits ra=152.014 dec=6.3475 rad=12.0 tmin=700444801.0 tmax=700704001.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 5.32
user 5.07
sys 0.22

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

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

Number of photons that the gtmktime cut: 409

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/17394/ft1_filtered_4FGL_J1008.0+0620_daily_bin1779.fits evtable="EVENTS" scfile=/scratch/kocevski/17394/ft2_4FGL_J1008.0+0620_daily_bin1779.fits sctable="SC_DATA" expcube=/scratch/kocevski/17394/ltcube_700444801_700704001_4FGL_J1008.0+0620_daily_bin1779.fits outfile=/scratch/kocevski/17394/expmap_700444801_700704001_4FGL_J1008.0+0620_daily_bin1779.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/17394/ltcube_700444801_700704001_4FGL_J1008.0+0620_daily_bin1779.fits
.....................!
real 189.27
user 185.04
sys 3.89

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/17394/ft1_filtered_4FGL_J1008.0+0620_daily_bin1779.fits scfile=/scratch/kocevski/17394/ft2_4FGL_J1008.0+0620_daily_bin1779.fits outfile=/scratch/kocevski/17394/cmap_700444801_700704001_4FGL_J1008.0+0620_daily_bin1779.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.65
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/17394/ft1_filtered_4FGL_J1008.0+0620_daily_bin1779.fits scfile=/scratch/kocevski/17394/ft2_4FGL_J1008.0+0620_daily_bin1779.fits outfile=/scratch/kocevski/17394/cmap_HighResolution_700444801_700704001_4FGL_J1008.0+0620_daily_bin1779.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.58
user 0.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .26261E-05   1.0000          .0000       .10000E+07
     2 'norm      '    1.2006       1.0000          .0000       .10000E+07
     3 'norm      '     .0000       1.0000          .0000       .10000E+07
     4 'Prefactor '    .41356E-07   1.0000          .0000       .10000E+07
     5 'Prefactor '    49.753       1.0000          .0000       .10000E+07
     6 'Prefactor '    .81078E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    .22204E-09   1.0000          .0000       .10000E+07
     8 'Prefactor '    61.847       1.0000          .0000       .10000E+07
     9 'Prefactor '    .31040E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    3.7947       1.0000          .0000       .10000E+07
    11 'norm      '    2.7712       1.0000          .0000       .10000E+07
    12 'Prefactor '    5.1303       1.0000          .0000       .10000E+07
    13 'Prefactor '    .13212E-07   1.0000          .0000       .10000E+07
    14 'Prefactor '    .48553E-05   1.0000          .0000       .10000E+07
    15 'Normalizat'    .57082       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.2151       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=   4692.950     FROM MIGRAD    STATUS=CONVERGED    146 CALLS     1149 TOTAL
                     EDM=   .85E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.6924        .80970E-07** at limit **
   2  norm          1.2058        1.2198        .50147E-08    .81224E-03
   3  norm           .0000        .27682        .45585E-08** at limit **
   4  Prefactor      .0000        8.3231       -.49268E-07** at limit **
   5  Prefactor     51.488        49.633        .11136E-06    .14125E-04
   6  Prefactor      .0000        18.391       -.92056E-07** at limit **
   7  Prefactor      .0000        4.6297        .11654E-07** at limit **
   8  Prefactor     66.895        67.068        .18654E-06   -.90716E-04
   9  Prefactor     .16653E-09    74.732       -.24370E-05** at limit **
  10  Prefactor     3.7839        11.350        .98087E-07   -.34614E-03
  11  norm          2.7673        1.5406       -.24618E-08    .26187E-02
  12  Prefactor     5.1529        5.2916        .17316E-07    .14403E-03
  13  Prefactor      .0000        1.0491       -.14510E-08** at limit **
  14  Prefactor      .0000        17.579        .33877E-06** at limit **
  15  Normalizat    .56569        .24326        .28490E-05    .60914E-05
  16  Prefactor     1.2165        .20518       -.12825E-05    .12022E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 1.2058
  norm       = 0
  Prefactor  = 0
  Prefactor  = 51.4882
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 66.8952
  Prefactor  = 1.66533e-10
  Prefactor  = 3.78391
  norm       = 2.7673
  Prefactor  = 5.15294
  Prefactor  = 0
  Prefactor  = 0
  Normalizat = 0.565692
  Prefactor  = 1.21645
 **********
 **   18 **HESSE 
 **********

 FCN=   4692.950     FROM HESSE     STATUS=OK           233 CALLS     1382 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.6880        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.2058        1.2463        .10356E-02   -1.5686    
   3  norm           .0000        .26873        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        8.2920        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     51.488        49.681        .14178E-03   -1.5564    
   6  Prefactor      .0000        18.402        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        4.5975        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     66.895        66.551        .12716E-03   -1.5544    
   9  Prefactor     .16653E-09    74.779        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     3.7839        11.412        .51795E-03   -1.5669    
  11  norm          2.7673        1.5477        .61110E-03   -1.5675    
  12  Prefactor     5.1529        5.2899        .44363E-03   -1.5663    
  13  Prefactor      .0000        1.0482        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        17.499        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    .56569        .21274        .71039E-01   -1.0946    
  16  Prefactor     1.2165        .17761        .34284E-01   -.85826    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.00939e-08
Minuit parameter uncertainties:
  1  1.04044e-05
  2  1.24629
  3  5.67439e-07
  4  1.49591e-05
  5  49.6809
  6  1.26642e-05
  7  2.29567e-06
  8  66.5516
  9  0.000211613
  10  11.4116
  11  1.54775
  12  5.28995
  13  1.2168e-07
  14  1.78831e-05
  15  0.213047
  16  0.1777
Done.

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

Extracting fit parameters...

4FGL J1008.0+0620
   Spectrum: PowerLaw
200    Prefactor:  0.000e+00  1.496e-05  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.216e+00  1.777e-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:  5.657e-01  2.130e-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/17394/likelihoodResults_700444801_700704001_4FGL_J1008.0+0620_daily_bin1779.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) = 4693.0086857
delta logL = -0.0581866256434

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4692.95049982
delta logL = -7.45731085772e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .18768E-05   1.0000          .0000       .10000E+07
     2 'Index     '    1.1611       1.0000          .0000       10.000    
     3 'Normalizat'    .56577       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2165       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=   4692.950     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      193 TOTAL
                     EDM=   .66E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        6.7667        .70197E-07** at limit **
   2  Index         2.6955        3.5327       -.12136E-04     .0000    
   3  Normalizat    .56569        .23833       -.35894E-04   -.19314E-03
   4  Prefactor     1.2165        .20533        .35554E-04   -.20073E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.69554
  Normalizat = 0.56569
  Prefactor  = 1.21645
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   4692.950     FROM HESSE     STATUS=FAILED        11 CALLS      204 TOTAL
                     EDM=   .66E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        6.8590        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .82262        2.0176       -.12136E-04   -.47900    
   3  Normalizat    .56569        .90151       -.35894E-04   -1.0946    
   4  Prefactor     1.2165        1.0979        .35554E-04   -.85826    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 6.61512e-11
Minuit parameter uncertainties:
  1  2.66202e-05
  2  1.58072
  3  0.9266
  4  1.11962
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/17394': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 4692.95049908
delta logL = -5.36601874046e-11

Extracting fit parameters...

4FGL J1008.0+0620
   Spectrum: PowerLaw
200    Prefactor:  0.000e+00  2.662e-05  0.000e+00  1.000e+06 ( 1.000e-13)
201        Index:  2.696e+00  1.581e+00  0.000e+00  1.000e+01 (-1.000e+00)
202        Scale:  1.356e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
481    Prefactor:  1.216e+00  1.120e+00  0.000e+00  1.000e+01 ( 1.000e+00)
482        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
483        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
480   Normalization:  5.657e-01  9.266e-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/17394/cmap_HighResolution_700444801_700704001_4FGL_J1008.0+0620_daily_bin1779.png

Cleaning up...

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

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='2023-03-17 01:19:53.553810', job_id='17394', GAL2='1.22', fit_tolerance='1e-08', EG2='0.57', EG='0.57', time_epoch_completed='1679041193.55', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.22', dlogl='-5.37e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='1779' AND source_name='4FGL J1008.0+0620' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Mar 17 01:19:53 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0108>
Subject: Job 17394: <4FGL_J1008.0+0620_daily_bin1779> in cluster <slac> Done

Job <4FGL_J1008.0+0620_daily_bin1779> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Mar 17 01:10:18 2023
Job was executed on host(s) <bullet0108>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Mar 17 01:10:19 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Mar 17 01:10:19 2023
Terminated at Fri Mar 17 01:19:54 2023
Results reported at Fri Mar 17 01:19:54 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1008.0+0620_daily_bin1779 152.014 6.3475 700444801 700704001 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 :                                   435.24 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             330.15 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   574 sec.
    Turnaround time :                            576 sec.

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

