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


Performing analysis on: 4FGL_J1008.7-2909_daily_bin1751
RA = 152.199, Dec = -29.1559
tmin = 693187201, tmax = 693446401
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='75106', job_status='RUN', time_executed='2022-12-23 00:30:54.812770', time_epoch_executed='1671784254.81' WHERE source_name='4FGL J1008.7-2909' and cadence='daily' and bin_id='1751'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/75106

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/75106/ft1_4FGL_J1008.7-2909_daily_bin1751.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/75106/ft2_4FGL_J1008.7-2909_daily_bin1751.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/75106/ft1_4FGL_J1008.7-2909_daily_bin1751.fits outfile=/scratch/kocevski/75106/ft1_filteredMKT_4FGL_J1008.7-2909_daily_bin1751.fits ra=152.199 dec=-29.1559 rad=12.0 tmin=693187201.0 tmax=693446401.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.70
user 3.41
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/75106/ft2_4FGL_J1008.7-2909_daily_bin1751.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/75106/ft2_4FGL_J1008.7-2909_daily_bin1751.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/75106/ft1_filteredMKT_4FGL_J1008.7-2909_daily_bin1751.fits evtable="EVENTS" outfile="/scratch/kocevski/75106/ft1_filtered_4FGL_J1008.7-2909_daily_bin1751.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.51
user 0.34
sys 0.16

Number of photons that the gtmktime cut: 855

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/75106/ft1_filtered_4FGL_J1008.7-2909_daily_bin1751.fits" evtable="EVENTS" scfile=/scratch/kocevski/75106/ft2_4FGL_J1008.7-2909_daily_bin1751.fits sctable="SC_DATA" outfile=/scratch/kocevski/75106/ltcube_693187201_693446401_4FGL_J1008.7-2909_daily_bin1751.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/75106/ft2_4FGL_J1008.7-2909_daily_bin1751.fits
.....................!
real 12.61
user 12.09
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/75106/ft1_filtered_4FGL_J1008.7-2909_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/75106/ft2_4FGL_J1008.7-2909_daily_bin1751.fits sctable="SC_DATA" expcube=/scratch/kocevski/75106/ltcube_693187201_693446401_4FGL_J1008.7-2909_daily_bin1751.fits outfile=/scratch/kocevski/75106/expmap_693187201_693446401_4FGL_J1008.7-2909_daily_bin1751.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/75106/ltcube_693187201_693446401_4FGL_J1008.7-2909_daily_bin1751.fits
.....................!
real 192.62
user 185.47
sys 5.17

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 171 point sources and 0 extended sources

Setting source of interest to:
4FGL J1008.7-2909 @ 152.199 -29.1559

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/75106/ft1_filtered_4FGL_J1008.7-2909_daily_bin1751.fits scfile=/scratch/kocevski/75106/ft2_4FGL_J1008.7-2909_daily_bin1751.fits outfile=/scratch/kocevski/75106/cmap_693187201_693446401_4FGL_J1008.7-2909_daily_bin1751.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.199 yref=-29.1559 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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/75106/ft1_filtered_4FGL_J1008.7-2909_daily_bin1751.fits scfile=/scratch/kocevski/75106/ft2_4FGL_J1008.7-2909_daily_bin1751.fits outfile=/scratch/kocevski/75106/cmap_HighResolution_693187201_693446401_4FGL_J1008.7-2909_daily_bin1751.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.199 yref=-29.1559 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.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/75106/ft1_filtered_4FGL_J1008.7-2909_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/75106/ft2_4FGL_J1008.7-2909_daily_bin1751.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/75106/Model_4FGL_J1008.7-2909_daily_bin1751.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/75106/ft1_filtered_4FGL_J1008.7-2909_daily_bin1751.fits.....................!
real 95.74
user 93.77
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/75106/ft1_filtered_4FGL_J1008.7-2909_daily_bin1751.fits', '/scratch/kocevski/75106/ft2_4FGL_J1008.7-2909_daily_bin1751.fits', expMap='/scratch/kocevski/75106/expmap_693187201_693446401_4FGL_J1008.7-2909_daily_bin1751.fits', expCube='/scratch/kocevski/75106/ltcube_693187201_693446401_4FGL_J1008.7-2909_daily_bin1751.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/75106/Model_4FGL_J1008.7-2909_daily_bin1751.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1008.7-2909'

4FGL J1008.7-2909
   Spectrum: PowerLaw
296    Prefactor:  3.409e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
297        Index:  2.483e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
298        Scale:  9.538e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/75106/ft1_filtered_4FGL_J1008.7-2909_daily_bin1751.fits
Spacecraft file(s): /scratch/kocevski/75106/ft2_4FGL_J1008.7-2909_daily_bin1751.fits
Exposure map: /scratch/kocevski/75106/expmap_693187201_693446401_4FGL_J1008.7-2909_daily_bin1751.fits
Exposure cube: /scratch/kocevski/75106/ltcube_693187201_693446401_4FGL_J1008.7-2909_daily_bin1751.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/75106/Model_4FGL_J1008.7-2909_daily_bin1751.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) = 9121.97301973

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .28281E-02   1.0000          .0000       .10000E+07
     2 'norm      '    .76472       1.0000          .0000       .10000E+07
     3 'norm      '    .48295E-07   1.0000          .0000       .10000E+07
     4 'norm      '    .96196       1.0000          .0000       .10000E+07
     5 'norm      '    .10580E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    3.2167       1.0000          .0000       .10000E+07
     7 'Prefactor '    .16169E-01   1.0000          .0000       .10000E+07
     8 'norm      '    .41255       1.0000          .0000       .10000E+07
     9 'norm      '    6.9630       1.0000          .0000       .10000E+07
    10 'Prefactor '    11.311       1.0000          .0000       .10000E+07
    11 'norm      '    .14738E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    .38552E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    8.6960       1.0000          .0000       .10000E+07
    14 'Prefactor '    2.3716       1.0000          .0000       .10000E+07
    15 'Normalizat'    1.0042       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.0308       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5690E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9121.145     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      851 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .62172E-08    7.7275       -.18054E-06** at limit **
   2  norm          .76477        2.2305       -.11380E-05   -.64344E-01
   3  norm          .55511E-10    2.3358       -.34593E-06** at limit **
   4  norm          .97283        1.2721        .33319E-07   -.24456E-02
   5  norm          .38858E-09    2.4947       -.23763E-06** at limit **
   6  Prefactor     3.3291        16.378        .27412E-05   -.35799E-01
   7  Prefactor      .0000        16.200       -.36267E-06** at limit **
   8  norm          .53391        1.8248        .30966E-06    .20244E-01
   9  norm          6.8870        3.4766        .27862E-06   -.36620E-01
  10  Prefactor     11.543        6.9374       -.30561E-06   -.92986E-01
  11  norm          .55511E-10    1.6162        .91792E-07** at limit **
  12  Prefactor     .16653E-09    4.8308       -.11456E-06** at limit **
  13  Prefactor     8.6749        4.3919        .19249E-07    .82372E-02
  14  Prefactor     2.3910        1.8600        .47059E-07   -.14227E-01
  15  Normalizat    1.0032        .23325       -.50409E-07   -.24339E-04
  16  Prefactor     1.0310        .10364       -.15896E-05    .14504E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.21725e-09
  norm       = 0.764765
  norm       = 5.55112e-11
  norm       = 0.972833
  norm       = 3.88578e-10
  Prefactor  = 3.32911
  Prefactor  = 0
  norm       = 0.533909
  norm       = 6.88704
  Prefactor  = 11.5435
  norm       = 5.55112e-11
  Prefactor  = 1.66533e-10
  Prefactor  = 8.67493
  Prefactor  = 2.39104
  Normalizat = 1.00316
  Prefactor  = 1.031
 **********
 **   18 **HESSE 
 **********

 FCN=   9121.145     FROM HESSE     STATUS=OK           241 CALLS     1092 TOTAL
                     EDM=   .37E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .62172E-08    7.7390        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .76477        2.5132        .55603E-03   -1.5690    
   3  norm          .55511E-10    2.3408        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .97283        1.2797        .42414E-03   -1.5688    
   5  norm          .38858E-09    2.5064        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.3291        32.975        .56460E-03   -1.5671    
   7  Prefactor      .0000        7.5392        .90340E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .53391        17.308        .88047E-03   -1.5693    
   9  norm          6.8870        7.3756        .37995E-03   -1.5655    
  10  Prefactor     11.543        10.948        .29763E-03   -1.5640    
  11  norm          .55511E-10    1.6091        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .16653E-09    4.8841        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     8.6749        4.6747        .33967E-03   -1.5649    
  14  Prefactor     2.3910        9.7301        .66504E-03   -1.5677    
  15  Normalizat    1.0032        .20715        .82570E-01   -.92925    
  16  Prefactor     1.0310        .89576E-01    .41193E-01   -.91703    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.71537e-07
Minuit parameter uncertainties:
  1  0.000439475
  2  2.51317
  3  2.58047e-05
  4  1.2797
  5  6.35217e-05
  6  20.9551
  7  6.45313e-07
  8  6.0798
  9  7.37557
  10  10.9482
  11  1.96009e-05
  12  5.56689e-05
  13  4.67469
  14  9.64681
  15  0.207315
  16  0.0895891
Done.

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

Extracting fit parameters...

4FGL J1008.7-2909
   Spectrum: PowerLaw
296    Prefactor:  3.329e+00  2.096e+01  0.000e+00  1.000e+06 ( 1.000e-13)
297        Index:  2.483e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
298        Scale:  9.538e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
566    Prefactor:  1.031e+00  8.959e-02  0.000e+00  1.000e+01 ( 1.000e+00)
567        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
568        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
565   Normalization:  1.003e+00  2.073e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.03
Ra Dec: 152.199 -29.156
Photon Flux Upper Limit: 9.89e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.68e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/75106/likelihoodResults_693187201_693446401_4FGL_J1008.7-2909_daily_bin1751.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) = 9121.07359635
delta logL = 0.0718647152917

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9121.07134016
delta logL = 0.0741209142925

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.3292       1.0000          .0000       .10000E+07
     2 'Index     '    3.1975       1.0000          .0000       10.000    
     3 'Normalizat'    .98608       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0348       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5690E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   9121.071     FROM MIGRAD    STATUS=FAILED        99 CALLS      251 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.3542        60.204        .11090E-03   -.89411E-03
   2  Index         3.1958        3.6070        .13254E-01    .36309E-03
   3  Normalizat    .98600        .23245        .36832E-03    .23026E-04
   4  Prefactor     1.0348        .10401        .16350E-03    .72370E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   9121.071     FROM SIMPLEX   STATUS=UNCHANGED     86 CALLS      337 TOTAL
                     EDM=   .16E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.3542        60.204        .33505E-04   -1.5671    
   2  Index         3.1958        3.6070        .19347E-02   -.36918    
   3  Normalizat    .98600        .23245        .28919E-03   -.93501    
   4  Prefactor     1.0348        .10401        .97144E-04   -.91577    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9121.071     FROM MIGRAD    STATUS=CONVERGED     33 CALLS      370 TOTAL
                     EDM=   .26E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.3542        13.078        .44361E-05   -.10764E-02
   2  Index         3.1958        1.8462        .26508E-02   -.13759E-04
   3  Normalizat    .98600        .23292        .14733E-04    .15124E-04
   4  Prefactor     1.0348        .10397        .32700E-04    .50481E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.35419
  Index      = 3.19576
  Normalizat = 0.985995
  Prefactor  = 1.03483
 **********
 **   18 **HESSE 
 **********

 FCN=   9121.071     FROM HESSE     STATUS=OK            23 CALLS      393 TOTAL
                     EDM=   .26E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.3542        12.395        .17744E-06   -1.5671    
   2  Index         3.1958        1.7548        .10603E-03   -.36918    
   3  Normalizat    .98600        .23312        .29466E-05   -.93501    
   4  Prefactor     1.0348        .10404        .65400E-05   -.91577    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.60205e-11
Minuit parameter uncertainties:
  1  12.3952
  2  1.79912
  3  0.233359
  4  0.104058
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/75106': 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) = 9121.07133775
delta logL = 0.0741233199697

Extracting fit parameters...

4FGL J1008.7-2909
   Spectrum: PowerLaw
296    Prefactor:  3.354e+00  1.240e+01  0.000e+00  1.000e+06 ( 1.000e-13)
297        Index:  3.196e+00  1.799e+00  0.000e+00  1.000e+01 (-1.000e+00)
298        Scale:  9.538e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
566    Prefactor:  1.035e+00  1.041e-01  0.000e+00  1.000e+01 ( 1.000e+00)
567        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
568        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
565   Normalization:  9.860e-01  2.334e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.03
Ra Dec: 152.199 -29.156

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/75106/cmap_HighResolution_693187201_693446401_4FGL_J1008.7-2909_daily_bin1751.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.68e-03', job_status='DONE', photon_flux_upper_limit='9.89e-08', time_completed='2022-12-23 00:41:01.445690', job_id='75106', GAL2='1.03', fit_tolerance='1e-08', EG2='0.99', EG='1.00', time_epoch_completed='1671784861.45', return_code2='0', ts='0.03', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='7.41e-02', ts2='0.18', photon_index_error='0.00', photon_index='2.48' WHERE bin_id='1751' AND source_name='4FGL J1008.7-2909' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec 23 00:41:01 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0159>
Subject: Job 75106: <4FGL_J1008.7-2909_daily_bin1751> in cluster <slac> Done

Job <4FGL_J1008.7-2909_daily_bin1751> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Dec 23 00:30:14 2022
Job was executed on host(s) <bullet0159>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec 23 00:30:15 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec 23 00:30:15 2022
Terminated at Fri Dec 23 00:41:02 2022
Results reported at Fri Dec 23 00:41:02 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1008.7-2909_daily_bin1751 152.199 -29.1559 693187201 693446401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1008.7-2909 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   605.17 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             361.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   646 sec.
    Turnaround time :                            648 sec.

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

