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


Performing analysis on: 4FGL_J1300.4+1416_weekly_bin763
RA = 195.12, Dec = 14.2701
tmin = 700444801, tmax = 701049601
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='427694', job_status='RUN', time_executed='2023-03-21 01:39:02.384452', time_epoch_executed='1679387942.38' WHERE source_name='4FGL J1300.4+1416' and cadence='weekly' and bin_id='763'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/427694

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/427694/ft1_4FGL_J1300.4+1416_weekly_bin763.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/427694/ft2_4FGL_J1300.4+1416_weekly_bin763.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/427694/ft1_4FGL_J1300.4+1416_weekly_bin763.fits outfile=/scratch/kocevski/427694/ft1_filteredMKT_4FGL_J1300.4+1416_weekly_bin763.fits ra=195.12 dec=14.2701 rad=12.0 tmin=700444801.0 tmax=701049601.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 9.54
user 9.22
sys 0.28

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

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

Number of photons that the gtmktime cut: 968

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/427694/ft1_filtered_4FGL_J1300.4+1416_weekly_bin763.fits evtable="EVENTS" scfile=/scratch/kocevski/427694/ft2_4FGL_J1300.4+1416_weekly_bin763.fits sctable="SC_DATA" expcube=/scratch/kocevski/427694/ltcube_700444801_701049601_4FGL_J1300.4+1416_weekly_bin763.fits outfile=/scratch/kocevski/427694/expmap_700444801_701049601_4FGL_J1300.4+1416_weekly_bin763.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/427694/ltcube_700444801_701049601_4FGL_J1300.4+1416_weekly_bin763.fits
.....................!
real 190.72
user 186.00
sys 4.37

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/427694/ft1_filtered_4FGL_J1300.4+1416_weekly_bin763.fits scfile=/scratch/kocevski/427694/ft2_4FGL_J1300.4+1416_weekly_bin763.fits outfile=/scratch/kocevski/427694/cmap_700444801_701049601_4FGL_J1300.4+1416_weekly_bin763.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.41
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/427694/ft1_filtered_4FGL_J1300.4+1416_weekly_bin763.fits scfile=/scratch/kocevski/427694/ft2_4FGL_J1300.4+1416_weekly_bin763.fits outfile=/scratch/kocevski/427694/cmap_HighResolution_700444801_701049601_4FGL_J1300.4+1416_weekly_bin763.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.57
user 0.42
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.2697       1.0000          .0000       .10000E+07
     2 'Prefactor '    .16725E-02   1.0000          .0000       .10000E+07
     3 'norm      '    .55511E-09   1.0000          .0000       .10000E+07
     4 'Prefactor '    5.4446       1.0000          .0000       .10000E+07
     5 'norm      '    .41095       1.0000          .0000       .10000E+07
     6 'Prefactor '    .38410E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    3.6381       1.0000          .0000       .10000E+07
     8 'Prefactor '    3.7960       1.0000          .0000       .10000E+07
     9 'norm      '    .19385       1.0000          .0000       .10000E+07
    10 'norm      '    .83774E-03   1.0000          .0000       .10000E+07
    11 'norm      '    19.847       1.0000          .0000       .10000E+07
    12 'Prefactor '    4.6105       1.0000          .0000       .10000E+07
    13 'Prefactor '    .22899E-05   1.0000          .0000       .10000E+07
    14 'norm      '    .17554E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    .12472E-02   1.0000          .0000       .10000E+07
    16 'Normalizat'    .99114       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.1342       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=   11189.14     FROM MIGRAD    STATUS=CONVERGED    107 CALLS     1250 TOTAL
                     EDM=   .42E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.2687        2.3260       -.37825E-06    .31829E-02
   2  Prefactor     .19172E-05    7.6851        .64926E-06** at limit **
   3  norm           .0000        .60900E-01   -.39261E-07** at limit **
   4  Prefactor     5.4436        5.3201        .90181E-06    .11276E-01
   5  norm          .41108        .66228       -.57210E-07    .12316E-02
   6  Prefactor      .0000        1.6465        .46066E-06** at limit **
   7  Prefactor     3.6515        1.1519        .52836E-07   -.39639E-02
   8  Prefactor     3.8064        1.1538       -.74529E-08   -.28611E-02
   9  norm          .19332        1.7608       -.63158E-06** at limit **
  10  norm          .55511E-10    3.4295       -.33814E-06** at limit **
  11  norm          19.769        5.7775       -.81648E-07    .68343E-03
  12  Prefactor     4.6099        6.5414        .12212E-05    .58880E-02
  13  Prefactor     .18319E-08    9.6486        .16689E-05** at limit **
  14  norm           .0000        4.8729        .13435E-05** at limit **
  15  Prefactor     .18054E-05    8.2719        .18974E-06** at limit **
  16  Normalizat    .99120        .16225        .50943E-05   -.87975E-04
  17  Prefactor     1.1342        .14389       -.46820E-05   -.64656E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.26867
  Prefactor  = 1.91724e-06
  norm       = 0
  Prefactor  = 5.4436
  norm       = 0.411078
  Prefactor  = 0
  Prefactor  = 3.65153
  Prefactor  = 3.80637
  norm       = 0.193319
  norm       = 5.55112e-11
  norm       = 19.7688
  Prefactor  = 4.60989
  Prefactor  = 1.83187e-09
  norm       = 0
  Prefactor  = 1.80539e-06
  Normalizat = 0.991205
  Prefactor  = 1.13424
 **********
 **   18 **HESSE 
 **********

 FCN=   11189.14     FROM HESSE     STATUS=OK           261 CALLS     1511 TOTAL
                     EDM=   .31E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.2687        2.3484        .68142E-03   -1.5678    
   2  Prefactor     .19172E-05    15.649        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        .43541E-01    .11098E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.4436        8.1975        .43040E-03   -1.5661    
   5  norm          .41108        .79416        .25412E-02   -1.5695    
   6  Prefactor      .0000        1.6517        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.6515        12.157        .52941E-03   -1.5670    
   8  Prefactor     3.8064        13.142        .51785E-03   -1.5669    
   9  norm          .19332        1.6843        .11886E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .55511E-10    3.4230        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          19.769        5.7765        .22454E-03   -1.5619    
  12  Prefactor     4.6099        8.3742        .46852E-03   -1.5665    
  13  Prefactor     .18319E-08    9.6653        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        4.8309        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .18054E-05    16.021        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .99120        .14770        .46056E-01   -.93326    
  17  Prefactor     1.1342        .12547        .36412E-01   -.88380    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.13393e-07
Minuit parameter uncertainties:
  1  2.34842
  2  0.0109549
  3  7.46922e-08
  4  8.1975
  5  0.794158
  6  8.16038e-06
  7  12.1568
  8  13.1418
  9  1.14122
  10  3.23594e-05
  11  5.77655
  12  8.37425
  13  0.000264251
  14  1.14046e-05
  15  0.010756
  16  0.147756
  17  0.125505
Done.

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

Extracting fit parameters...

4FGL J1300.4+1416
   Spectrum: PowerLaw
297    Prefactor:  3.806e+00  1.314e+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:  1.134e+00  1.255e-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:  9.912e-01  1.478e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/427694/likelihoodResults_700444801_701049601_4FGL_J1300.4+1416_weekly_bin763.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) = 11186.2684299
delta logL = 2.8676677513

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11185.9315081
delta logL = 3.20458960491

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .35361E-02   1.0000          .0000       .10000E+07
     2 'Index     '   10.0000       1.0000          .0000       10.000    
     3 'Normalizat'    .87454       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2076       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=   11185.93     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      495 TOTAL
                     EDM=   .80E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .35355E-02    .17404E-02    .64917E-04** at limit **
   2  Index        10.0000        .33731        .50000    ** at limit **
   3  Normalizat    .87459        .14426        .65114E-01   -.39903E-04
   4  Prefactor     1.2076        .12358        .50036E-01   -.76097E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00353553
  Index      = 10
  Normalizat = 0.874588
  Prefactor  = 1.20762
 **********
 **   18 **HESSE 
 **********

 FCN=   11185.93     FROM HESSE     STATUS=OK            35 CALLS      530 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .35355E-02    .21941E-02    .29166E-05   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index        10.0000        .75595        .36646        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .87459        .17039        .28803E-03   -.97359    
   4  Prefactor     1.2076        .14840        .22120E-03   -.86097    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.06925e-09
Minuit parameter uncertainties:
  1  0.00219412
  2  0.000123283
  3  0.170491
  4  0.148451
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/427694': 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) = 11185.9315076
delta logL = 3.20459002428

Extracting fit parameters...

4FGL J1300.4+1416
   Spectrum: PowerLaw
297    Prefactor:  3.536e-03  2.194e-03  0.000e+00  1.000e+06 ( 1.000e-12)
298        Index:  1.000e+01  1.233e-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:  1.208e+00  1.485e-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:  8.746e-01  1.705e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.03
Ra Dec: 195.120 14.270
Photon Index (Free Index): 10.00 +/- 0.00
Photon Flux (Free Index): 1.18e-07 +/- 7.11e-08
Energy Flux (Free Index): 1.32e-05 +/- 8.00e-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/427694/cmap_HighResolution_700444801_701049601_4FGL_J1300.4+1416_weekly_bin763.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.71e-03', comment='SUCCESS', energy_flux2='1.32e-05', dlogl='3.20e+00', photon_flux2='1.18e-07', job_status='DONE', time_completed='2023-03-21 01:51:09.416191', photon_index_error2='0.00', photon_index2='10.00', ts='0.11', fit_tolerance='1e-08', GAL='1.13', photon_index_error='0.00', photon_flux_upper_limit='9.77e-08', energy_flux_error2='8.00e-06', EG='0.99', time_epoch_completed='1679388669.42', return_code='0', job_id='427694', GAL2='1.21', EG2='0.87', return_code2='0', photon_flux_error2='7.11e-08', ts2='7.03', photon_index='2.74' WHERE bin_id='763' AND source_name='4FGL J1300.4+1416' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Mar 21 01:51:09 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0112>
Subject: Job 427694: <4FGL_J1300.4+1416_weekly_bin763> in cluster <slac> Done

Job <4FGL_J1300.4+1416_weekly_bin763> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Mar 21 01:35:27 2023
Job was executed on host(s) <bullet0112>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Mar 21 01:35:28 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Mar 21 01:35:28 2023
Terminated at Tue Mar 21 01:51:10 2023
Results reported at Tue Mar 21 01:51:10 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1300.4+1416_weekly_bin763 195.12 14.2701 700444801 701049601 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 :                                   726.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             256.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   941 sec.
    Turnaround time :                            943 sec.

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

