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


Performing analysis on: 4FGL_J1300.4+1416_weekly_bin741
RA = 195.12, Dec = 14.2701
tmin = 687139201, tmax = 687744001
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='388014', job_status='RUN', time_executed='2022-10-18 01:11:40.080878', time_epoch_executed='1666080700.08' WHERE source_name='4FGL J1300.4+1416' and cadence='weekly' and bin_id='741'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/388014

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/388014/ft1_4FGL_J1300.4+1416_weekly_bin741.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/388014/ft2_4FGL_J1300.4+1416_weekly_bin741.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/388014/ft1_4FGL_J1300.4+1416_weekly_bin741.fits outfile=/scratch/kocevski/388014/ft1_filteredMKT_4FGL_J1300.4+1416_weekly_bin741.fits ra=195.12 dec=14.2701 rad=12.0 tmin=687139201.0 tmax=687744001.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 6.73
user 6.47
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/388014/ft2_4FGL_J1300.4+1416_weekly_bin741.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/388014/ft2_4FGL_J1300.4+1416_weekly_bin741.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/388014/ft1_filteredMKT_4FGL_J1300.4+1416_weekly_bin741.fits evtable="EVENTS" outfile="/scratch/kocevski/388014/ft1_filtered_4FGL_J1300.4+1416_weekly_bin741.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.54
user 0.37
sys 0.16

Number of photons that the gtmktime cut: 1336

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/388014/ft1_filtered_4FGL_J1300.4+1416_weekly_bin741.fits" evtable="EVENTS" scfile=/scratch/kocevski/388014/ft2_4FGL_J1300.4+1416_weekly_bin741.fits sctable="SC_DATA" outfile=/scratch/kocevski/388014/ltcube_687139201_687744001_4FGL_J1300.4+1416_weekly_bin741.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/388014/ft2_4FGL_J1300.4+1416_weekly_bin741.fits
.....................!
real 26.94
user 26.57
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/388014/ft1_filtered_4FGL_J1300.4+1416_weekly_bin741.fits evtable="EVENTS" scfile=/scratch/kocevski/388014/ft2_4FGL_J1300.4+1416_weekly_bin741.fits sctable="SC_DATA" expcube=/scratch/kocevski/388014/ltcube_687139201_687744001_4FGL_J1300.4+1416_weekly_bin741.fits outfile=/scratch/kocevski/388014/expmap_687139201_687744001_4FGL_J1300.4+1416_weekly_bin741.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/388014/ltcube_687139201_687744001_4FGL_J1300.4+1416_weekly_bin741.fits
.....................!
real 191.34
user 185.94
sys 5.05

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

Setting source of interest to:
4FGL J1300.4+1416 @ 195.12 14.2701

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/388014/ft1_filtered_4FGL_J1300.4+1416_weekly_bin741.fits scfile=/scratch/kocevski/388014/ft2_4FGL_J1300.4+1416_weekly_bin741.fits outfile=/scratch/kocevski/388014/cmap_687139201_687744001_4FGL_J1300.4+1416_weekly_bin741.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=195.12 yref=14.2701 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.41
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/388014/ft1_filtered_4FGL_J1300.4+1416_weekly_bin741.fits scfile=/scratch/kocevski/388014/ft2_4FGL_J1300.4+1416_weekly_bin741.fits outfile=/scratch/kocevski/388014/cmap_HighResolution_687139201_687744001_4FGL_J1300.4+1416_weekly_bin741.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=195.12 yref=14.2701 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.41
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/388014/ft1_filtered_4FGL_J1300.4+1416_weekly_bin741.fits evtable="EVENTS" scfile=/scratch/kocevski/388014/ft2_4FGL_J1300.4+1416_weekly_bin741.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/388014/Model_4FGL_J1300.4+1416_weekly_bin741.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/388014/ft1_filtered_4FGL_J1300.4+1416_weekly_bin741.fits.....................!
real 116.04
user 114.62
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/388014/ft1_filtered_4FGL_J1300.4+1416_weekly_bin741.fits', '/scratch/kocevski/388014/ft2_4FGL_J1300.4+1416_weekly_bin741.fits', expMap='/scratch/kocevski/388014/expmap_687139201_687744001_4FGL_J1300.4+1416_weekly_bin741.fits', expCube='/scratch/kocevski/388014/ltcube_687139201_687744001_4FGL_J1300.4+1416_weekly_bin741.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/388014/Model_4FGL_J1300.4+1416_weekly_bin741.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1300.4+1416'

4FGL J1300.4+1416
   Spectrum: PowerLaw
297    Prefactor:  6.920e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
298        Index:  2.738e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
299        Scale:  4.431e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/388014/ft1_filtered_4FGL_J1300.4+1416_weekly_bin741.fits
Spacecraft file(s): /scratch/kocevski/388014/ft2_4FGL_J1300.4+1416_weekly_bin741.fits
Exposure map: /scratch/kocevski/388014/expmap_687139201_687744001_4FGL_J1300.4+1416_weekly_bin741.fits
Exposure cube: /scratch/kocevski/388014/ltcube_687139201_687744001_4FGL_J1300.4+1416_weekly_bin741.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/388014/Model_4FGL_J1300.4+1416_weekly_bin741.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) = 15326.6099209

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11685E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    .56972E-03   1.0000          .0000       .10000E+07
     3 'norm      '    .17715       1.0000          .0000       .10000E+07
     4 'Prefactor '    12.814       1.0000          .0000       .10000E+07
     5 'norm      '    .43044E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    .17220E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    7.3089       1.0000          .0000       .10000E+07
     8 'Prefactor '    .70164E-05   1.0000          .0000       .10000E+07
     9 'norm      '    1.1373       1.0000          .0000       .10000E+07
    10 'norm      '    15.734       1.0000          .0000       .10000E+07
    11 'norm      '    57.192       1.0000          .0000       .10000E+07
    12 'Prefactor '    9.7872       1.0000          .0000       .10000E+07
    13 'Prefactor '    .20335E-03   1.0000          .0000       .10000E+07
    14 'norm      '    7.4137       1.0000          .0000       .10000E+07
    15 'Prefactor '    25.802       1.0000          .0000       .10000E+07
    16 'Normalizat'    1.0107       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.1489       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15326.57     FROM MIGRAD    STATUS=CONVERGED    106 CALLS      968 TOTAL
                     EDM=   .59E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .55709       -.25230E-07** at limit **
   2  Prefactor      .0000        6.9186       -.88224E-07** at limit **
   3  norm          .17732        .13423       -.14342E-07** at limit **
   4  Prefactor     12.722        4.4405       -.12490E-07   -.29057E-01
   5  norm           .0000        .95287        .16906E-07** at limit **
   6  Prefactor      .0000        .60132        .18786E-07** at limit **
   7  Prefactor     7.1542        7.1948        .27508E-07   -.10988E-01
   8  Prefactor     .55511E-10    2.5524       -.54005E-07** at limit **
   9  norm          1.1385        1.6489       -.48505E-08   -.53454E-05
  10  norm          15.781        3.4214       -.14399E-07    .75502E-02
  11  norm          57.290        7.3241       -.29484E-07    .11823E-01
  12  Prefactor     9.7815        1.1112       -.37823E-08    .10551E-01
  13  Prefactor      .0000        5.8296       -.77228E-07** at limit **
  14  norm          7.3834        6.5706       -.45071E-07   -.50865E-02
  15  Prefactor     28.170        30.537        .22918E-06    .42027E-03
  16  Normalizat    1.0111        .15678        .13693E-05    .46395E-04
  17  Prefactor     1.1480        .13627       -.19264E-05    .66115E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0.177323
  Prefactor  = 12.7223
  norm       = 0
  Prefactor  = 0
  Prefactor  = 7.15416
  Prefactor  = 5.55112e-11
  norm       = 1.13851
  norm       = 15.7808
  norm       = 57.2895
  Prefactor  = 9.78152
  Prefactor  = 0
  norm       = 7.38344
  Prefactor  = 28.1703
  Normalizat = 1.01114
  Prefactor  = 1.14795
 **********
 **   18 **HESSE 
 **********

 FCN=   15326.57     FROM HESSE     STATUS=OK           261 CALLS     1229 TOTAL
                     EDM=   .81E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .55585        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        6.9121        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .17732        .14464        .85486E-03   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     12.722        7.6508        .27957E-03   -1.5637    
   5  norm           .0000        .93675        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        .60242        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     7.1542        7.9323        .37077E-03   -1.5654    
   8  Prefactor     .55511E-10    2.5564        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.1385        1.6861        .10914E-02   -1.5687    
  10  norm          15.781        10.931        .25224E-03   -1.5629    
  11  norm          57.290        8.4357        .13224E-03   -1.5557    
  12  Prefactor     9.7815        11.655        .32007E-03   -1.5645    
  13  Prefactor      .0000        5.8218        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          7.3834        7.2446        .36811E-03   -1.5654    
  15  Prefactor     28.170        30.395        .19691E-03   -1.5602    
  16  Normalizat    1.0111        .13205        .66532E-01   -.92658    
  17  Prefactor     1.1480        .11311        .55645E-01   -.87948    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.05295e-09
Minuit parameter uncertainties:
  1  5.00315e-07
  2  1.37538e-05
  3  0.144643
  4  7.65078
  5  3.0217e-07
  6  3.10457e-07
  7  7.93232
  8  1.86981e-05
  9  1.68611
  10  10.9311
  11  8.43574
  12  11.6548
  13  1.14809e-05
  14  7.24464
  15  30.3952
  16  0.132092
  17  0.113139
Done.

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

Extracting fit parameters...

4FGL J1300.4+1416
   Spectrum: PowerLaw
297    Prefactor:  5.551e-11  1.870e-05  0.000e+00  1.000e+06 ( 1.000e-12)
298        Index:  2.738e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
299        Scale:  4.431e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
568    Prefactor:  1.148e+00  1.131e-01  0.000e+00  1.000e+01 ( 1.000e+00)
569        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
570        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
567   Normalization:  1.011e+00  1.321e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 195.120 14.270
Photon Flux Upper Limit: 4.05e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.19e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/388014/likelihoodResults_687139201_687744001_4FGL_J1300.4+1416_weekly_bin741.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): 102
logL (Free Index) = 15326.5688726
delta logL = -0.000127422617879

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 15326.5687454
delta logL = -1.6013837012e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .24830E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.5381       1.0000          .0000       10.000    
     3 'Normalizat'    1.0112       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1480       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   15326.57     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      252 TOTAL
                     EDM=   .51E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .18491        .42118E-03** at limit **
   2  Index         5.6876        1.4346        .18234E-03     .0000    
   3  Normalizat    1.0111        1.3137        .65963E-05   -.61618E-04
   4  Prefactor     1.1480        1.1228        .85413E-05   -.19509E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 5.6876
  Normalizat = 1.01114
  Prefactor  = 1.14795
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   15326.57     FROM HESSE     STATUS=FAILED         9 CALLS      261 TOTAL
                     EDM=   .51E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .18491        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.1824        2.4757        .18234E-03    .13796    
   3  Normalizat    1.0111        1.3137        .65963E-05   -.92658    
   4  Prefactor     1.1480        1.1228        .85413E-05   -.87948    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.14526e-11
Minuit parameter uncertainties:
  1  1.3609e-06
  2  1.45544
  3  1.35981
  4  1.14745
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/388014': 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) = 15326.5687452
delta logL = -5.45696821064e-12

Extracting fit parameters...

4FGL J1300.4+1416
   Spectrum: PowerLaw
297    Prefactor:  0.000e+00  1.361e-06  0.000e+00  1.000e+06 ( 1.000e-12)
298        Index:  5.688e+00  1.455e+00  0.000e+00  1.000e+01 (-1.000e+00)
299        Scale:  4.431e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
568    Prefactor:  1.148e+00  1.147e+00  0.000e+00  1.000e+01 ( 1.000e+00)
569        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
570        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
567   Normalization:  1.011e+00  1.360e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 195.120 14.270

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/388014/cmap_HighResolution_687139201_687744001_4FGL_J1300.4+1416_weekly_bin741.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.19e-03', job_status='DONE', photon_flux_upper_limit='4.05e-08', time_completed='2022-10-18 01:24:41.932585', job_id='388014', GAL2='1.15', fit_tolerance='1e-08', EG2='1.01', EG='1.01', time_epoch_completed='1666081481.93', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.15', dlogl='-5.46e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.74' WHERE bin_id='741' AND source_name='4FGL J1300.4+1416' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Oct 18 01:24:41 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0216>
Subject: Job 388014: <4FGL_J1300.4+1416_weekly_bin741> in cluster <slac> Done

Job <4FGL_J1300.4+1416_weekly_bin741> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Oct 18 01:10:30 2022
Job was executed on host(s) <bullet0216>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Oct 18 01:10:31 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Oct 18 01:10:31 2022
Terminated at Tue Oct 18 01:24:42 2022
Results reported at Tue Oct 18 01:24:42 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1300.4+1416_weekly_bin741 195.12 14.2701 687139201 687744001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1300.4+1416 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   783.06 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             335.97 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   851 sec.
    Turnaround time :                            852 sec.

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

