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


Performing analysis on: 4FGL_J1300.4+1416_weekly_bin750
RA = 195.12, Dec = 14.2701
tmin = 692582401, tmax = 693187201
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='51558', job_status='RUN', time_executed='2022-12-20 03:16:06.251073', time_epoch_executed='1671534966.25' WHERE source_name='4FGL J1300.4+1416' and cadence='weekly' and bin_id='750'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/51558

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/51558/ft1_4FGL_J1300.4+1416_weekly_bin750.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/51558/ft2_4FGL_J1300.4+1416_weekly_bin750.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/51558/ft1_4FGL_J1300.4+1416_weekly_bin750.fits outfile=/scratch/kocevski/51558/ft1_filteredMKT_4FGL_J1300.4+1416_weekly_bin750.fits ra=195.12 dec=14.2701 rad=12.0 tmin=692582401.0 tmax=693187201.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 7.68
user 7.38
sys 0.28

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/51558/ft2_4FGL_J1300.4+1416_weekly_bin750.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/51558/ft1_filteredMKT_4FGL_J1300.4+1416_weekly_bin750.fits evtable="EVENTS" outfile="/scratch/kocevski/51558/ft1_filtered_4FGL_J1300.4+1416_weekly_bin750.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.35
sys 0.17

Number of photons that the gtmktime cut: 1472

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/51558/ft1_filtered_4FGL_J1300.4+1416_weekly_bin750.fits" evtable="EVENTS" scfile=/scratch/kocevski/51558/ft2_4FGL_J1300.4+1416_weekly_bin750.fits sctable="SC_DATA" outfile=/scratch/kocevski/51558/ltcube_692582401_693187201_4FGL_J1300.4+1416_weekly_bin750.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/51558/ft2_4FGL_J1300.4+1416_weekly_bin750.fits
.....................!
real 26.51
user 26.11
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/51558/ft1_filtered_4FGL_J1300.4+1416_weekly_bin750.fits evtable="EVENTS" scfile=/scratch/kocevski/51558/ft2_4FGL_J1300.4+1416_weekly_bin750.fits sctable="SC_DATA" expcube=/scratch/kocevski/51558/ltcube_692582401_693187201_4FGL_J1300.4+1416_weekly_bin750.fits outfile=/scratch/kocevski/51558/expmap_692582401_693187201_4FGL_J1300.4+1416_weekly_bin750.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/51558/ltcube_692582401_693187201_4FGL_J1300.4+1416_weekly_bin750.fits
.....................!
real 190.97
user 185.63
sys 5.00

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/51558/ft1_filtered_4FGL_J1300.4+1416_weekly_bin750.fits scfile=/scratch/kocevski/51558/ft2_4FGL_J1300.4+1416_weekly_bin750.fits outfile=/scratch/kocevski/51558/cmap_692582401_693187201_4FGL_J1300.4+1416_weekly_bin750.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.57
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/51558/ft1_filtered_4FGL_J1300.4+1416_weekly_bin750.fits scfile=/scratch/kocevski/51558/ft2_4FGL_J1300.4+1416_weekly_bin750.fits outfile=/scratch/kocevski/51558/cmap_HighResolution_692582401_693187201_4FGL_J1300.4+1416_weekly_bin750.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.58
user 0.40
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/51558/ft1_filtered_4FGL_J1300.4+1416_weekly_bin750.fits', '/scratch/kocevski/51558/ft2_4FGL_J1300.4+1416_weekly_bin750.fits', expMap='/scratch/kocevski/51558/expmap_692582401_693187201_4FGL_J1300.4+1416_weekly_bin750.fits', expCube='/scratch/kocevski/51558/ltcube_692582401_693187201_4FGL_J1300.4+1416_weekly_bin750.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/51558/Model_4FGL_J1300.4+1416_weekly_bin750.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/51558/ft1_filtered_4FGL_J1300.4+1416_weekly_bin750.fits
Spacecraft file(s): /scratch/kocevski/51558/ft2_4FGL_J1300.4+1416_weekly_bin750.fits
Exposure map: /scratch/kocevski/51558/expmap_692582401_693187201_4FGL_J1300.4+1416_weekly_bin750.fits
Exposure cube: /scratch/kocevski/51558/ltcube_692582401_693187201_4FGL_J1300.4+1416_weekly_bin750.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/51558/Model_4FGL_J1300.4+1416_weekly_bin750.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 16091.8862947

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .25707       1.0000          .0000       .10000E+07
     2 'Prefactor '    7.2003       1.0000          .0000       .10000E+07
     3 'norm      '    .74360E-01   1.0000          .0000       .10000E+07
     4 'Prefactor '    4.7841       1.0000          .0000       .10000E+07
     5 'norm      '    1.0799       1.0000          .0000       .10000E+07
     6 'Prefactor '    .64002E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    .89557E-01   1.0000          .0000       .10000E+07
     8 'Prefactor '    .23707E-02   1.0000          .0000       .10000E+07
     9 'norm      '    1.6688       1.0000          .0000       .10000E+07
    10 'norm      '    18.193       1.0000          .0000       .10000E+07
    11 'norm      '    31.183       1.0000          .0000       .10000E+07
    12 'Prefactor '    .17944       1.0000          .0000       .10000E+07
    13 'Prefactor '    .29388E-01   1.0000          .0000       .10000E+07
    14 'norm      '    2.3251       1.0000          .0000       .10000E+07
    15 'Prefactor '    .52312E-04   1.0000          .0000       .10000E+07
    16 'Normalizat'    1.2152       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .99961       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=   16091.78     FROM MIGRAD    STATUS=CONVERGED    127 CALLS     1021 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27229        2.4681       -.15296E-06    .35041E-03
   2  Prefactor     7.2863        5.8647        .99970E-06   -.19064E-01
   3  norm          .74316E-01    .10685        .37936E-07** at limit **
   4  Prefactor     4.7468        6.1639       -.21825E-07   -.38447E-02
   5  norm          1.0799        .78390       -.45150E-07    .76282E-02
   6  Prefactor      .0000        1.8262       -.28600E-06** at limit **
   7  Prefactor     .11328E-04    3.6373        .13320E-05** at limit **
   8  Prefactor     .48850E-08    80.338       -.23461E-05** at limit **
   9  norm          1.6688        1.6780       -.12057E-06    .46157E-02
  10  norm          18.271        5.6979        .65642E-06   -.14751E-01
  11  norm          31.143        6.2834        .43093E-07    .54764E-01
  12  Prefactor     .20718        12.886        .24655E-05** at limit **
  13  Prefactor     .24980E-08    157.76        .82779E-05** at limit **
  14  norm          2.3470        6.0799       -.19509E-05    .12071E-03
  15  Prefactor     .16098E-08    7.8047        .71132E-06** at limit **
  16  Normalizat    1.2155        .14113        .28532E-05    .97810E-03
  17  Prefactor     .99948        .12469       -.52867E-05    .10660E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.27229
  Prefactor  = 7.28626
  norm       = 0.0743157
  Prefactor  = 4.74683
  norm       = 1.07992
  Prefactor  = 0
  Prefactor  = 1.13284e-05
  Prefactor  = 4.88498e-09
  norm       = 1.66881
  norm       = 18.2714
  norm       = 31.1426
  Prefactor  = 0.20718
  Prefactor  = 2.498e-09
  norm       = 2.34697
  Prefactor  = 1.60982e-09
  Normalizat = 1.2155
  Prefactor  = 0.999476
 **********
 **   18 **HESSE 
 **********

 FCN=   16091.78     FROM HESSE     STATUS=OK           291 CALLS     1312 TOTAL
                     EDM=   .67E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27229        .83855        .55159E-02   -1.5718    
   2  Prefactor     7.2863        9.6101        .37358E-03   -1.5654    
   3  norm          .74316E-01    .11226        .10951E-02   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.7468        6.1712        .45974E-03   -1.5664    
   5  norm          1.0799        .81553        .11595E-02   -1.5687    
   6  Prefactor      .0000        1.8272        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .11328E-04    2.3469        .11184E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .48850E-08    5.0717        .67541E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.6688        1.7124        .81585E-03   -1.5682    
  10  norm          18.271        9.5191        .23454E-03   -1.5622    
  11  norm          31.143        7.0508        .17910E-03   -1.5596    
  12  Prefactor     .20718        3.0050        .70625E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .24980E-08    6.2662        .16483E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          2.3470        6.5227        .67236E-03   -1.5677    
  15  Prefactor     .16098E-08    7.9051        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.2155        .12081        .57007E-01   -.86125    
  17  Prefactor     .99948        .10466        .46262E-01   -.92747    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.70216e-08
Minuit parameter uncertainties:
  1  0.838554
  2  9.61008
  3  0.112259
  4  6.17125
  5  0.815525
  6  1.24423e-05
  7  0.0103126
  8  0.000314351
  9  1.71245
  10  9.51907
  11  7.05077
  12  1.57806
  13  0.000250549
  14  6.5227
  15  0.000226672
  16  0.120834
  17  0.104686
Done.

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

Extracting fit parameters...

4FGL J1300.4+1416
   Spectrum: PowerLaw
297    Prefactor:  4.885e-09  3.144e-04  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:  9.995e-01  1.047e-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.215e+00  1.208e-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: 5.37e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.23e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/51558/likelihoodResults_692582401_693187201_4FGL_J1300.4+1416_weekly_bin750.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) = 16091.7999646
delta logL = -0.0156183065337

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 16091.7843673
delta logL = -2.10688031075e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .28146E-02   1.0000          .0000       .10000E+07
     2 'Index     '    2.5281       1.0000          .0000       10.000    
     3 'Normalizat'    1.2158       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99944       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=   16091.78     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      235 TOTAL
                     EDM=   .14E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        21.809        .42118E-03** at limit **
   2  Index         3.0602        1.0702       -.18044E-04     .0000    
   3  Normalizat    1.2155        1.1010        .36362E-05   -.21496E-04
   4  Prefactor     .99947        1.3385       -.32593E-05   -.23334E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.06021
  Normalizat = 1.2155
  Prefactor  = 0.999475
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   16091.78     FROM HESSE     STATUS=FAILED         9 CALLS      244 TOTAL
                     EDM=   .14E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        21.809        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.0573        2.0559       -.18044E-04   -.39842    
   3  Normalizat    1.2155        1.1010        .36362E-05   -.86125    
   4  Prefactor     .99947        1.3385       -.32593E-05   -.92747    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.38063e-13
Minuit parameter uncertainties:
  1  2.15703e-06
  2  1.08009
  3  1.12317
  4  1.38748
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/51558': 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) = 16091.7843463
delta logL = 2.58296495304e-10

Extracting fit parameters...

4FGL J1300.4+1416
   Spectrum: PowerLaw
297    Prefactor:  0.000e+00  2.157e-06  0.000e+00  1.000e+06 ( 1.000e-12)
298        Index:  3.060e+00  1.080e+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:  9.995e-01  1.387e+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.215e+00  1.123e+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/51558/cmap_HighResolution_692582401_693187201_4FGL_J1300.4+1416_weekly_bin750.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.23e-03', job_status='DONE', photon_flux_upper_limit='5.37e-08', time_completed='2022-12-20 03:30:00.899244', job_id='51558', GAL2='1.00', fit_tolerance='1e-08', EG2='1.22', EG='1.22', time_epoch_completed='1671535800.9', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='2.58e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.74' WHERE bin_id='750' AND source_name='4FGL J1300.4+1416' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Dec 20 03:30:00 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0083>
Subject: Job 51558: <4FGL_J1300.4+1416_weekly_bin750> in cluster <slac> Done

Job <4FGL_J1300.4+1416_weekly_bin750> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Dec 20 03:15:24 2022
Job was executed on host(s) <bullet0083>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec 20 03:15:24 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec 20 03:15:24 2022
Terminated at Tue Dec 20 03:30:01 2022
Results reported at Tue Dec 20 03:30:01 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1300.4+1416_weekly_bin750 195.12 14.2701 692582401 693187201 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 :                                   835.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             350.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   907 sec.
    Turnaround time :                            877 sec.

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

