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


Performing analysis on: 4FGL_J1351.3+1115_weekly_bin756
RA = 207.843, Dec = 11.2502
tmin = 696211201, tmax = 696816001
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='483055', job_status='RUN', time_executed='2023-01-31 03:09:08.921833', time_epoch_executed='1675163348.92' WHERE source_name='4FGL J1351.3+1115' and cadence='weekly' and bin_id='756'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/483055

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/483055/ft1_4FGL_J1351.3+1115_weekly_bin756.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/483055/ft2_4FGL_J1351.3+1115_weekly_bin756.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/483055/ft1_4FGL_J1351.3+1115_weekly_bin756.fits outfile=/scratch/kocevski/483055/ft1_filteredMKT_4FGL_J1351.3+1115_weekly_bin756.fits ra=207.843 dec=11.2502 rad=12.0 tmin=696211201.0 tmax=696816001.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.86
user 7.48
sys 0.30

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/483055/ft2_4FGL_J1351.3+1115_weekly_bin756.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/483055/ft2_4FGL_J1351.3+1115_weekly_bin756.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/483055/ft1_filteredMKT_4FGL_J1351.3+1115_weekly_bin756.fits evtable="EVENTS" outfile="/scratch/kocevski/483055/ft1_filtered_4FGL_J1351.3+1115_weekly_bin756.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.56
user 0.37
sys 0.17

Number of photons that the gtmktime cut: 1435

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/483055/ft1_filtered_4FGL_J1351.3+1115_weekly_bin756.fits" evtable="EVENTS" scfile=/scratch/kocevski/483055/ft2_4FGL_J1351.3+1115_weekly_bin756.fits sctable="SC_DATA" outfile=/scratch/kocevski/483055/ltcube_696211201_696816001_4FGL_J1351.3+1115_weekly_bin756.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/483055/ft2_4FGL_J1351.3+1115_weekly_bin756.fits
.....................!
real 33.64
user 33.17
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/483055/ft1_filtered_4FGL_J1351.3+1115_weekly_bin756.fits evtable="EVENTS" scfile=/scratch/kocevski/483055/ft2_4FGL_J1351.3+1115_weekly_bin756.fits sctable="SC_DATA" expcube=/scratch/kocevski/483055/ltcube_696211201_696816001_4FGL_J1351.3+1115_weekly_bin756.fits outfile=/scratch/kocevski/483055/expmap_696211201_696816001_4FGL_J1351.3+1115_weekly_bin756.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/483055/ltcube_696211201_696816001_4FGL_J1351.3+1115_weekly_bin756.fits
.....................!
real 193.00
user 187.85
sys 4.65

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

Setting source of interest to:
4FGL J1351.3+1115 @ 207.843 11.2502

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/483055/ft1_filtered_4FGL_J1351.3+1115_weekly_bin756.fits scfile=/scratch/kocevski/483055/ft2_4FGL_J1351.3+1115_weekly_bin756.fits outfile=/scratch/kocevski/483055/cmap_696211201_696816001_4FGL_J1351.3+1115_weekly_bin756.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=207.843 yref=11.2502 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.60
user 0.42
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/483055/ft1_filtered_4FGL_J1351.3+1115_weekly_bin756.fits scfile=/scratch/kocevski/483055/ft2_4FGL_J1351.3+1115_weekly_bin756.fits outfile=/scratch/kocevski/483055/cmap_HighResolution_696211201_696816001_4FGL_J1351.3+1115_weekly_bin756.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=207.843 yref=11.2502 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.42
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/483055/ft1_filtered_4FGL_J1351.3+1115_weekly_bin756.fits evtable="EVENTS" scfile=/scratch/kocevski/483055/ft2_4FGL_J1351.3+1115_weekly_bin756.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/483055/Model_4FGL_J1351.3+1115_weekly_bin756.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/483055/ft1_filtered_4FGL_J1351.3+1115_weekly_bin756.fits.....................!
real 107.83
user 106.26
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/483055/ft1_filtered_4FGL_J1351.3+1115_weekly_bin756.fits', '/scratch/kocevski/483055/ft2_4FGL_J1351.3+1115_weekly_bin756.fits', expMap='/scratch/kocevski/483055/expmap_696211201_696816001_4FGL_J1351.3+1115_weekly_bin756.fits', expCube='/scratch/kocevski/483055/ltcube_696211201_696816001_4FGL_J1351.3+1115_weekly_bin756.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/483055/Model_4FGL_J1351.3+1115_weekly_bin756.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1351.3+1115'

4FGL J1351.3+1115
   Spectrum: PowerLaw
263    Prefactor:  1.085e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
264        Index:  1.884e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
265        Scale:  2.645e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/483055/ft1_filtered_4FGL_J1351.3+1115_weekly_bin756.fits
Spacecraft file(s): /scratch/kocevski/483055/ft2_4FGL_J1351.3+1115_weekly_bin756.fits
Exposure map: /scratch/kocevski/483055/expmap_696211201_696816001_4FGL_J1351.3+1115_weekly_bin756.fits
Exposure cube: /scratch/kocevski/483055/ltcube_696211201_696816001_4FGL_J1351.3+1115_weekly_bin756.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/483055/Model_4FGL_J1351.3+1115_weekly_bin756.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) = 16155.9309392

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .17314E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    15.035       1.0000          .0000       .10000E+07
     3 'Prefactor '    .14665E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    .36537E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .75719E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    1.1863       1.0000          .0000       .10000E+07
     7 'Prefactor '    .43452E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    2.4281       1.0000          .0000       .10000E+07
     9 'Prefactor '    .25757E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    7.1274       1.0000          .0000       .10000E+07
    11 'Prefactor '    90.783       1.0000          .0000       .10000E+07
    12 'norm      '    8.4855       1.0000          .0000       .10000E+07
    13 'Prefactor '    2.0387       1.0000          .0000       .10000E+07
    14 'Normalizat'    1.4624       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .85262       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4920E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   16155.86     FROM MIGRAD    STATUS=CONVERGED    107 CALLS      845 TOTAL
                     EDM=   .77E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .38858E-09    1.6153       -.32427E-06** at limit **
   2  Prefactor     14.786        15.711        .24465E-06    .58648E-01
   3  Prefactor     .40196E-06    28.891       -.20734E-06** at limit **
   4  Prefactor     .28982E-06    4.0466        .21630E-06** at limit **
   5  Prefactor     .72164E-09    6.3387        .14683E-06** at limit **
   6  Prefactor     1.1832        3.5910        .56890E-07    .50348E-03
   7  Prefactor     .99920E-09    9.5201       -.44412E-06** at limit **
   8  Prefactor     2.4285        8.7086        .14833E-06    .39525E-03
   9  Prefactor     .22204E-09    4.1715        .67845E-06** at limit **
  10  Prefactor     7.1298        2.3742       -.24698E-07    .67414E-01
  11  Prefactor     90.036        12.563       -.90945E-07    .18618    
  12  norm          8.3993        7.4737       -.10929E-06   -.18638E-01
  13  Prefactor     2.0454        3.6164        .39984E-06   -.19466E-02
  14  Normalizat    1.4629        .15950        .19807E-06    .25923E-03
  15  Prefactor     .85274        .11836       -.40686E-05    .26862E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.88578e-10
  Prefactor  = 14.7862
  Prefactor  = 4.01956e-07
  Prefactor  = 2.89824e-07
  Prefactor  = 7.21645e-10
  Prefactor  = 1.18324
  Prefactor  = 9.99201e-10
  Prefactor  = 2.42853
  Prefactor  = 2.22045e-10
  Prefactor  = 7.12983
  Prefactor  = 90.036
  norm       = 8.3993
  Prefactor  = 2.04543
  Normalizat = 1.4629
  Prefactor  = 0.852741
 **********
 **   18 **HESSE 
 **********

 FCN=   16155.86     FROM HESSE     STATUS=OK           220 CALLS     1065 TOTAL
                     EDM=   .98E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .38858E-09    1.6297        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     14.786        19.074        .25804E-03   -1.5631    
   3  Prefactor     .40196E-06    29.992        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .28982E-06    1.1325        .49662E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .72164E-09    6.3848        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.1832        3.6019        .10470E-02   -1.5686    
   7  Prefactor     .99920E-09    9.5695        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.4285        8.7236        .65648E-03   -1.5677    
   9  Prefactor     .22204E-09    4.1943        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     7.1298        7.9448        .37550E-03   -1.5655    
  11  Prefactor     90.036        27.245        .10496E-03   -1.5518    
  12  norm          8.3993        7.7103        .34389E-03   -1.5650    
  13  Prefactor     2.0454        3.6666        .72402E-03   -1.5679    
  14  Normalizat    1.4629        .13292        .57649E-01   -.78826    
  15  Prefactor     .85274        .97952E-01    .44398E-01   -.97813    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.83352e-07
Minuit parameter uncertainties:
  1  4.87377e-05
  2  19.0745
  3  0.00694416
  4  0.00114588
  5  0.000138253
  6  3.60194
  7  0.000193306
  8  8.72369
  9  6.3331e-05
  10  7.94478
  11  27.2453
  12  7.71031
  13  3.66656
  14  0.132953
  15  0.0979719
Done.

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

Extracting fit parameters...

4FGL J1351.3+1115
   Spectrum: PowerLaw
263    Prefactor:  1.183e+00  3.602e+00  0.000e+00  1.000e+06 ( 1.000e-13)
264        Index:  1.884e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
265        Scale:  2.645e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
489    Prefactor:  8.527e-01  9.797e-02  0.000e+00  1.000e+01 ( 1.000e+00)
490        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
491        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
488   Normalization:  1.463e+00  1.330e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.12
Ra Dec: 207.843 11.250
Photon Flux Upper Limit: 5.04e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.74e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/483055/likelihoodResults_696211201_696816001_4FGL_J1351.3+1115_weekly_bin756.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) = 16151.0801467
delta logL = 4.78456886052

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 16151.0112287
delta logL = 4.85348687578

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   16151.01     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      240 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .33725        1.1509        .56249E-03    .36319E-01
   2  Index         3.5302        1.0293        .71332E-01    .61653E-03
   3  Normalizat    1.3118        .36588E-01    .60207E-01    .17163E-04
   4  Prefactor     .91275        .27073E-01    .45167E-01    .27389E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.337254
  Index      = 3.53021
  Normalizat = 1.31179
  Prefactor  = 0.91275
 **********
 **   18 **HESSE 
 **********

 FCN=   16151.01     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      273 TOTAL
                     EDM=   .80E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .33725        1.9787        .25278E-05   -1.5696    
   2  Index         3.5302        1.6975        .27669E-02   -.29837    
   3  Normalizat    1.3118        .15529        .26628E-03   -.83215    
   4  Prefactor     .91275        .11470        .23351E-03   -.95697    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.95798e-07
Minuit parameter uncertainties:
  1  1.63382
  2  1.73541
  3  0.15535
  4  0.114729
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/483055': 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): 102
logL (Free Index) = 16151.0112277
delta logL = 4.85348785599

Extracting fit parameters...

4FGL J1351.3+1115
   Spectrum: PowerLaw
263    Prefactor:  3.373e-01  1.634e+00  0.000e+00  1.000e+06 ( 1.000e-13)
264        Index:  3.530e+00  1.735e+00  0.000e+00  1.000e+01 (-1.000e+00)
265        Scale:  2.645e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
489    Prefactor:  9.127e-01  1.147e-01  0.000e+00  1.000e+01 ( 1.000e+00)
490        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
491        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
488   Normalization:  1.312e+00  1.554e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.38
Ra Dec: 207.843 11.250
Photon Index (Free Index): 3.53 +/- 1.74
Photon Flux (Free Index): 1.40e-07 +/- 5.58e-08
Energy Flux (Free Index): 2.32e-05 +/- 1.06e-05

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/483055/cmap_HighResolution_696211201_696816001_4FGL_J1351.3+1115_weekly_bin756.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.74e-03', comment='SUCCESS', energy_flux2='2.32e-05', dlogl='4.85e+00', photon_flux2='1.40e-07', job_status='DONE', time_completed='2023-01-31 03:21:05.810248', photon_index_error2='1.74', photon_index2='3.53', ts='0.12', fit_tolerance='1e-08', GAL='0.85', photon_index_error='0.00', photon_flux_upper_limit='5.04e-08', energy_flux_error2='1.06e-05', EG='1.46', time_epoch_completed='1675164065.81', return_code='0', job_id='483055', GAL2='0.91', EG2='1.31', return_code2='102', photon_flux_error2='5.58e-08', ts2='10.38', photon_index='1.88' WHERE bin_id='756' AND source_name='4FGL J1351.3+1115' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jan 31 03:21:05 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0240>
Subject: Job 483055: <4FGL_J1351.3+1115_weekly_bin756> in cluster <slac> Done

Job <4FGL_J1351.3+1115_weekly_bin756> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Jan 31 03:05:29 2023
Job was executed on host(s) <bullet0240>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan 31 03:08:10 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan 31 03:08:10 2023
Terminated at Tue Jan 31 03:21:06 2023
Results reported at Tue Jan 31 03:21:06 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1351.3+1115_weekly_bin756 207.843 11.2502 696211201 696816001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1351.3+1115 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   716.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             341.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   776 sec.
    Turnaround time :                            937 sec.

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

