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


Performing analysis on: 4FGL_J1300.4+1416_daily_bin1747
RA = 195.12, Dec = 14.2701
tmin = 692150401, tmax = 692409601
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='802173', job_status='RUN', time_executed='2022-12-11 00:56:49.093475', time_epoch_executed='1670749009.09' WHERE source_name='4FGL J1300.4+1416' and cadence='daily' and bin_id='1747'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/802173

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/802173/ft1_4FGL_J1300.4+1416_daily_bin1747.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/802173/ft2_4FGL_J1300.4+1416_daily_bin1747.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/802173/ft1_4FGL_J1300.4+1416_daily_bin1747.fits outfile=/scratch/kocevski/802173/ft1_filteredMKT_4FGL_J1300.4+1416_daily_bin1747.fits ra=195.12 dec=14.2701 rad=12.0 tmin=692150401.0 tmax=692409601.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.97
user 3.78
sys 0.17

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

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

Number of photons that the gtmktime cut: 650

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/802173/ft1_filtered_4FGL_J1300.4+1416_daily_bin1747.fits" evtable="EVENTS" scfile=/scratch/kocevski/802173/ft2_4FGL_J1300.4+1416_daily_bin1747.fits sctable="SC_DATA" outfile=/scratch/kocevski/802173/ltcube_692150401_692409601_4FGL_J1300.4+1416_daily_bin1747.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/802173/ft2_4FGL_J1300.4+1416_daily_bin1747.fits
.....................!
real 12.04
user 11.67
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/802173/ft1_filtered_4FGL_J1300.4+1416_daily_bin1747.fits evtable="EVENTS" scfile=/scratch/kocevski/802173/ft2_4FGL_J1300.4+1416_daily_bin1747.fits sctable="SC_DATA" expcube=/scratch/kocevski/802173/ltcube_692150401_692409601_4FGL_J1300.4+1416_daily_bin1747.fits outfile=/scratch/kocevski/802173/expmap_692150401_692409601_4FGL_J1300.4+1416_daily_bin1747.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/802173/ltcube_692150401_692409601_4FGL_J1300.4+1416_daily_bin1747.fits
.....................!
real 191.65
user 185.33
sys 5.52

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/802173/ft1_filtered_4FGL_J1300.4+1416_daily_bin1747.fits scfile=/scratch/kocevski/802173/ft2_4FGL_J1300.4+1416_daily_bin1747.fits outfile=/scratch/kocevski/802173/cmap_692150401_692409601_4FGL_J1300.4+1416_daily_bin1747.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.54
user 0.35
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/802173/ft1_filtered_4FGL_J1300.4+1416_daily_bin1747.fits scfile=/scratch/kocevski/802173/ft2_4FGL_J1300.4+1416_daily_bin1747.fits outfile=/scratch/kocevski/802173/cmap_HighResolution_692150401_692409601_4FGL_J1300.4+1416_daily_bin1747.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.55
user 0.39
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/802173/ft1_filtered_4FGL_J1300.4+1416_daily_bin1747.fits', '/scratch/kocevski/802173/ft2_4FGL_J1300.4+1416_daily_bin1747.fits', expMap='/scratch/kocevski/802173/expmap_692150401_692409601_4FGL_J1300.4+1416_daily_bin1747.fits', expCube='/scratch/kocevski/802173/ltcube_692150401_692409601_4FGL_J1300.4+1416_daily_bin1747.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/802173/Model_4FGL_J1300.4+1416_daily_bin1747.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/802173/ft1_filtered_4FGL_J1300.4+1416_daily_bin1747.fits
Spacecraft file(s): /scratch/kocevski/802173/ft2_4FGL_J1300.4+1416_daily_bin1747.fits
Exposure map: /scratch/kocevski/802173/expmap_692150401_692409601_4FGL_J1300.4+1416_daily_bin1747.fits
Exposure cube: /scratch/kocevski/802173/ltcube_692150401_692409601_4FGL_J1300.4+1416_daily_bin1747.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/802173/Model_4FGL_J1300.4+1416_daily_bin1747.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) = 7205.76416482

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .16578E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    .21483E-07   1.0000          .0000       .10000E+07
     3 'norm      '    .25702E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    .65831E-06   1.0000          .0000       .10000E+07
     5 'norm      '    .13586       1.0000          .0000       .10000E+07
     6 'Prefactor '    .26851E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    .12056E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    5.9619       1.0000          .0000       .10000E+07
     9 'norm      '    .12212E-07   1.0000          .0000       .10000E+07
    10 'norm      '    16.954       1.0000          .0000       .10000E+07
    11 'norm      '    24.046       1.0000          .0000       .10000E+07
    12 'Prefactor '    10.584       1.0000          .0000       .10000E+07
    13 'Prefactor '    37.926       1.0000          .0000       .10000E+07
    14 'norm      '    .25535E-08   1.0000          .0000       .10000E+07
    15 'Prefactor '    19.466       1.0000          .0000       .10000E+07
    16 'Normalizat'    1.2949       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .89771       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=   7205.660     FROM MIGRAD    STATUS=CONVERGED    156 CALLS     1043 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.3389       -.15234E-05** at limit **
   2  Prefactor     .34811E-06    16.264       -.18566E-05** at limit **
   3  norm           .0000        .45976        .13412E-06** at limit **
   4  Prefactor      .0000        8.8536       -.25155E-05** at limit **
   5  norm          .13509        2.0219       -.13276E-05** at limit **
   6  Prefactor      .0000        3.3893        .10423E-05** at limit **
   7  Prefactor     .61118E-06    19.355        .11803E-05** at limit **
   8  Prefactor     6.0760        12.676       -.14557E-05   -.13812E-01
   9  norm           .0000        1.7626        .19266E-05** at limit **
  10  norm          16.966        1.2031        .30380E-07    .23550E-02
  11  norm          24.008        7.8021        .19020E-06    .62277E-03
  12  Prefactor     10.600        10.472        .12019E-05    .93796E-02
  13  Prefactor     37.181        15.740       -.10450E-05   -.24931    
  14  norm           .0000        2.2071        .94767E-08** at limit **
  15  Prefactor     18.020        34.178       -.45283E-05    .76885E-01
  16  Normalizat    1.2945        .20895       -.26173E-04   -.13955E-05
  17  Prefactor     .89871        .18094        .33140E-04   -.33308E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 3.4811e-07
  norm       = 0
  Prefactor  = 0
  norm       = 0.135092
  Prefactor  = 0
  Prefactor  = 6.11178e-07
  Prefactor  = 6.07604
  norm       = 0
  norm       = 16.9663
  norm       = 24.0082
  Prefactor  = 10.5996
  Prefactor  = 37.1807
  norm       = 0
  Prefactor  = 18.0204
  Normalizat = 1.29449
  Prefactor  = 0.898712
 **********
 **   18 **HESSE 
 **********

 FCN=   7205.660     FROM HESSE     STATUS=OK           265 CALLS     1308 TOTAL
                     EDM=   .25E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.2960        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .34811E-06    16.386        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        .89392E-01    .13449E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        8.8387        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .13509        .86643        .26035E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        3.3873        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .61118E-06    19.520        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     6.0760        12.682        .41101E-03   -1.5659    
   9  norm           .0000        1.7593        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          16.966        14.066        .24297E-03   -1.5626    
  11  norm          24.008        7.8315        .20398E-03   -1.5610    
  12  Prefactor     10.600        10.470        .30772E-03   -1.5643    
  13  Prefactor     37.181        33.898        .16240E-03   -1.5586    
  14  norm           .0000        2.2109        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     18.020        38.466        .22673E-03   -1.5623    
  16  Normalizat    1.2945        .17718        .55560E-01   -.83731    
  17  Prefactor     .89871        .15323        .44976E-01   -.96186    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.49205e-06
Minuit parameter uncertainties:
  1  7.69411e-06
  2  0.0047767
  3  5.97374e-07
  4  2.5933e-05
  5  0.684244
  6  3.04479e-06
  7  0.0069081
  8  12.6823
  9  8.12945e-06
  10  14.0661
  11  7.83155
  12  10.4701
  13  33.8983
  14  3.26007e-06
  15  38.467
  16  0.177263
  17  0.153304
Done.

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

Extracting fit parameters...

4FGL J1300.4+1416
   Spectrum: PowerLaw
297    Prefactor:  6.076e+00  1.268e+01  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:  8.987e-01  1.533e-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.294e+00  1.773e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.26
Ra Dec: 195.120 14.270
Photon Flux Upper Limit: 1.15e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.11e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/802173/likelihoodResults_692150401_692409601_4FGL_J1300.4+1416_daily_bin1747.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) = 7205.48506639
delta logL = 0.174584281698

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7205.21150364
delta logL = 0.448147036081

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11860E-02   1.0000          .0000       .10000E+07
     2 'Index     '   10.0000       1.0000          .0000       10.000    
     3 'Normalizat'    1.2643       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92341       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.

 FCN=   7205.212     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      399 TOTAL
                     EDM=   .86E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11856E-02    .14900E-02    .74238E-04** at limit **
   2  Index        10.0000        1.7907        .50000    ** at limit **
   3  Normalizat    1.2644        .17714        .56095E-01    .75366E-03
   4  Prefactor     .92333        .15312        .45303E-01    .68083E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00118563
  Index      = 10
  Normalizat = 1.2644
  Prefactor  = 0.923331
 **********
 **   18 **HESSE 
 **********

 FCN=   7205.212     FROM HESSE     STATUS=OK            33 CALLS      432 TOTAL
                     EDM=   .54E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11856E-02    .14851E-02    .34946E-05   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index        10.0000        2.0707        .50000        1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.2644        .21103        .24805E-03   -.84635    
   4  Prefactor     .92333        .18256        .24944E-03   -.95331    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.40194e-10
Minuit parameter uncertainties:
  1  0.00148514
  2  0.000653059
  3  0.211172
  4  0.182682
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/802173': 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) = 7205.21150347
delta logL = 0.448147199804

Extracting fit parameters...

4FGL J1300.4+1416
   Spectrum: PowerLaw
297    Prefactor:  1.186e-03  1.485e-03  0.000e+00  1.000e+06 ( 1.000e-12)
298        Index:  1.000e+01  6.531e-04  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.233e-01  1.827e-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.264e+00  2.112e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.20
Ra Dec: 195.120 14.270
Photon Index (Free Index): 10.00 +/- 0.00
Photon Flux (Free Index): 3.97e-08 +/- 4.81e-08
Energy Flux (Free Index): 4.43e-06 +/- 5.41e-06

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/802173/cmap_HighResolution_692150401_692409601_4FGL_J1300.4+1416_daily_bin1747.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.11e-03', comment='SUCCESS', energy_flux2='4.43e-06', dlogl='4.48e-01', photon_flux2='3.97e-08', job_status='DONE', time_completed='2022-12-11 01:06:10.694761', photon_index_error2='0.00', photon_index2='10.00', ts='0.26', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', photon_flux_upper_limit='1.15e-07', energy_flux_error2='5.41e-06', EG='1.29', time_epoch_completed='1670749570.69', return_code='0', job_id='802173', GAL2='0.92', EG2='1.26', return_code2='0', photon_flux_error2='4.81e-08', ts2='1.20', photon_index='2.74' WHERE bin_id='1747' AND source_name='4FGL J1300.4+1416' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Dec 11 01:06:10 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0094>
Subject: Job 802173: <4FGL_J1300.4+1416_daily_bin1747> in cluster <slac> Done

Job <4FGL_J1300.4+1416_daily_bin1747> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Sun Dec 11 00:55:14 2022
Job was executed on host(s) <bullet0094>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Dec 11 00:55:16 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Dec 11 00:55:16 2022
Terminated at Sun Dec 11 01:06:11 2022
Results reported at Sun Dec 11 01:06:11 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1300.4+1416_daily_bin1747 195.12 14.2701 692150401 692409601 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 :                                   563.43 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             256.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   654 sec.
    Turnaround time :                            657 sec.

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

