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


Performing analysis on: 4FGL_J1338.9+1153_daily_bin1709
RA = 204.732, Dec = 11.8956
tmin = 682300801, tmax = 682560001
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='136476', job_status='RUN', time_executed='2022-09-16 17:49:23.181195', time_epoch_executed='1663375763.18' WHERE source_name='4FGL J1338.9+1153' and cadence='daily' and bin_id='1709'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/136476

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/136476/ft1_4FGL_J1338.9+1153_daily_bin1709.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/136476/ft2_4FGL_J1338.9+1153_daily_bin1709.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/136476/ft1_4FGL_J1338.9+1153_daily_bin1709.fits outfile=/scratch/kocevski/136476/ft1_filteredMKT_4FGL_J1338.9+1153_daily_bin1709.fits ra=204.732 dec=11.8956 rad=12.0 tmin=682300801.0 tmax=682560001.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 4.67
user 4.38
sys 0.25

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/136476/ft2_4FGL_J1338.9+1153_daily_bin1709.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/136476/ft2_4FGL_J1338.9+1153_daily_bin1709.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/136476/ft1_filteredMKT_4FGL_J1338.9+1153_daily_bin1709.fits evtable="EVENTS" outfile="/scratch/kocevski/136476/ft1_filtered_4FGL_J1338.9+1153_daily_bin1709.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.61
user 0.41
sys 0.18

Number of photons that the gtmktime cut: 561

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/136476/ft1_filtered_4FGL_J1338.9+1153_daily_bin1709.fits" evtable="EVENTS" scfile=/scratch/kocevski/136476/ft2_4FGL_J1338.9+1153_daily_bin1709.fits sctable="SC_DATA" outfile=/scratch/kocevski/136476/ltcube_682300801_682560001_4FGL_J1338.9+1153_daily_bin1709.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/136476/ft2_4FGL_J1338.9+1153_daily_bin1709.fits
.....................!
real 17.06
user 16.52
sys 0.39

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/136476/ft1_filtered_4FGL_J1338.9+1153_daily_bin1709.fits evtable="EVENTS" scfile=/scratch/kocevski/136476/ft2_4FGL_J1338.9+1153_daily_bin1709.fits sctable="SC_DATA" expcube=/scratch/kocevski/136476/ltcube_682300801_682560001_4FGL_J1338.9+1153_daily_bin1709.fits outfile=/scratch/kocevski/136476/expmap_682300801_682560001_4FGL_J1338.9+1153_daily_bin1709.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/136476/ltcube_682300801_682560001_4FGL_J1338.9+1153_daily_bin1709.fits
.....................!
real 239.14
user 232.00
sys 6.26

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

Setting source of interest to:
4FGL J1338.9+1153 @ 204.732 11.8956

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/136476/ft1_filtered_4FGL_J1338.9+1153_daily_bin1709.fits scfile=/scratch/kocevski/136476/ft2_4FGL_J1338.9+1153_daily_bin1709.fits outfile=/scratch/kocevski/136476/cmap_682300801_682560001_4FGL_J1338.9+1153_daily_bin1709.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=204.732 yref=11.8956 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.66
user 0.49
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/136476/ft1_filtered_4FGL_J1338.9+1153_daily_bin1709.fits scfile=/scratch/kocevski/136476/ft2_4FGL_J1338.9+1153_daily_bin1709.fits outfile=/scratch/kocevski/136476/cmap_HighResolution_682300801_682560001_4FGL_J1338.9+1153_daily_bin1709.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=204.732 yref=11.8956 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.67
user 0.47
sys 0.19

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/136476/ft1_filtered_4FGL_J1338.9+1153_daily_bin1709.fits evtable="EVENTS" scfile=/scratch/kocevski/136476/ft2_4FGL_J1338.9+1153_daily_bin1709.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/136476/Model_4FGL_J1338.9+1153_daily_bin1709.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/136476/ft1_filtered_4FGL_J1338.9+1153_daily_bin1709.fits.....................!
real 63.07
user 61.34
sys 1.57

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/136476/ft1_filtered_4FGL_J1338.9+1153_daily_bin1709.fits', '/scratch/kocevski/136476/ft2_4FGL_J1338.9+1153_daily_bin1709.fits', expMap='/scratch/kocevski/136476/expmap_682300801_682560001_4FGL_J1338.9+1153_daily_bin1709.fits', expCube='/scratch/kocevski/136476/ltcube_682300801_682560001_4FGL_J1338.9+1153_daily_bin1709.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/136476/Model_4FGL_J1338.9+1153_daily_bin1709.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1338.9+1153'

4FGL J1338.9+1153
   Spectrum: PowerLaw
309    Prefactor:  8.644e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
310        Index:  2.035e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
311        Scale:  2.291e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/136476/ft1_filtered_4FGL_J1338.9+1153_daily_bin1709.fits
Spacecraft file(s): /scratch/kocevski/136476/ft2_4FGL_J1338.9+1153_daily_bin1709.fits
Exposure map: /scratch/kocevski/136476/expmap_682300801_682560001_4FGL_J1338.9+1153_daily_bin1709.fits
Exposure cube: /scratch/kocevski/136476/ltcube_682300801_682560001_4FGL_J1338.9+1153_daily_bin1709.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/136476/Model_4FGL_J1338.9+1153_daily_bin1709.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) = 6379.85096746

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.2215       1.0000          .0000       .10000E+07
     2 'Prefactor '    3.8554       1.0000          .0000       .10000E+07
     3 'norm      '    5.0962       1.0000          .0000       .10000E+07
     4 'Prefactor '    11.685       1.0000          .0000       .10000E+07
     5 'Prefactor '    19.617       1.0000          .0000       .10000E+07
     6 'norm      '    .46286E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    .17764E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    2.1388       1.0000          .0000       .10000E+07
     9 'Prefactor '    .17167E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    4.5124       1.0000          .0000       .10000E+07
    11 'Prefactor '    13.121       1.0000          .0000       .10000E+07
    12 'Prefactor '    .37690E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    .76432E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    128.98       1.0000          .0000       .10000E+07
    15 'Prefactor '    .19879E-04   1.0000          .0000       .10000E+07
    16 'Normalizat'    1.1624       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .77292       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5220E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6379.844     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      949 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.2736        2.2567       -.61983E-08    .10719E-01
   2  Prefactor     3.7610        3.4025        .15367E-07   -.22606E-01
   3  norm          5.1028        5.7842        .14504E-06    .64788E-02
   4  Prefactor     11.701        8.4472        .28782E-07    .11078    
   5  Prefactor     19.171        21.573        .22723E-07    .38175E-01
   6  norm          .27756E-09    3.9836       -.97102E-07** at limit **
   7  Prefactor     .41028E-06    4.3688        .20679E-07** at limit **
   8  Prefactor     2.1354        3.9654       -.23340E-06   -.72080E-02
   9  Prefactor     .13323E-08    8.6456        .11467E-06** at limit **
  10  Prefactor     4.5155        3.8117        .32832E-07    .19258E-02
  11  Prefactor     13.127        1.1692        .44847E-08   -.17039E-01
  12  Prefactor     .55383E-06    7.5751        .26666E-07** at limit **
  13  Prefactor     .12397E-04    32.603        .31514E-06** at limit **
  14  Prefactor     128.93        1.9730       -.85075E-09    .10267    
  15  Prefactor     .11102E-09    2.9965       -.17791E-07** at limit **
  16  Normalizat    1.1627        .21485        .39881E-05    .78021E-04
  17  Prefactor     .77278        .16622       -.34192E-05   -.13728E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.27355
  Prefactor  = 3.76102
  norm       = 5.10276
  Prefactor  = 11.7006
  Prefactor  = 19.1708
  norm       = 2.77556e-10
  Prefactor  = 4.10283e-07
  Prefactor  = 2.13538
  Prefactor  = 1.33227e-09
  Prefactor  = 4.51548
  Prefactor  = 13.1266
  Prefactor  = 5.53835e-07
  Prefactor  = 1.23972e-05
  Prefactor  = 128.933
  Prefactor  = 1.11022e-10
  Normalizat = 1.16268
  Prefactor  = 0.772775
 **********
 **   18 **HESSE 
 **********

 FCN=   6379.844     FROM HESSE     STATUS=OK           265 CALLS     1214 TOTAL
                     EDM=   .76E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.2736        13.923        .43967E-03   -1.5662    
   2  Prefactor     3.7610        19.713        .51371E-03   -1.5669    
   3  norm          5.1028        5.7926        .44514E-03   -1.5663    
   4  Prefactor     11.701        10.115        .29281E-03   -1.5640    
   5  Prefactor     19.171        22.890        .22586E-03   -1.5620    
   6  norm          .27756E-09    3.9686        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .41028E-06    10.475        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.1354        4.0035        .70453E-03   -1.5679    
   9  Prefactor     .13323E-08    9.5834        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     4.5155        3.8239        .47371E-03   -1.5665    
  11  Prefactor     13.127        12.603        .27627E-03   -1.5636    
  12  Prefactor     .55383E-06    11.465        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .12397E-04    3.7477        .80301E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     128.93        42.690        .88058E-04   -1.5481    
  15  Prefactor     .11102E-09    2.9951        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.1627        .18610        .55509E-01   -.87764    
  17  Prefactor     .77278        .14038        .43364E-01   -1.0074    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.56492e-07
Minuit parameter uncertainties:
  1  13.9229
  2  17.221
  3  5.79262
  4  10.1146
  5  22.8904
  6  6.55321e-05
  7  0.00414626
  8  4.00354
  9  0.000226393
  10  3.82386
  11  12.6026
  12  0.00503973
  13  0.0136324
  14  42.6905
  15  4.01574e-05
  16  0.186206
  17  0.140448
Done.

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

Extracting fit parameters...

4FGL J1338.9+1153
   Spectrum: PowerLaw
309    Prefactor:  4.103e-07  4.146e-03  0.000e+00  1.000e+06 ( 1.000e-14)
310        Index:  2.035e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
311        Scale:  2.291e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
519    Prefactor:  7.728e-01  1.404e-01  0.000e+00  1.000e+01 ( 1.000e+00)
520        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
521        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
518   Normalization:  1.163e+00  1.862e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 204.732 11.896
Photon Flux Upper Limit: 3.34e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.51e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/136476/likelihoodResults_682300801_682560001_4FGL_J1338.9+1153_daily_bin1709.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6379.88904352
delta logL = -0.0455277520477

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6379.8435158
delta logL = -2.67255018116e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6379.844     FROM MIGRAD    STATUS=CONVERGED     29 CALLS      202 TOTAL
                     EDM=   .36E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-09    11.318       -.28003E-05** at limit **
   2  Index         1.9687        5.9276        .20875E-03    .10601E-09
   3  Normalizat    1.1627        .21185       -.91566E-06    .70749E-03
   4  Prefactor     .77278        .16553       -.27402E-05    .81359E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-10
  Index      = 1.96874
  Normalizat = 1.16268
  Prefactor  = 0.772779
 **********
 **   18 **HESSE 
 **********

 FCN=   6379.844     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      237 TOTAL
                     EDM=   .82E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-09    .13114        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9687        8.9760        .42340       -.65134    
   3  Normalizat    1.1627        .48355E-03    .55509E-01   -.87764    
   4  Prefactor     .77278        .37754E-03    .43361E-01   -1.0074    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.21176e-13
Minuit parameter uncertainties:
  1  1.69172e-05
  2  5312.09
  3  0.000483547
  4  0.000377541
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/136476': 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) = 6379.84351575
delta logL = 1.93595042219e-08

Extracting fit parameters...

4FGL J1338.9+1153
   Spectrum: PowerLaw
309    Prefactor:  5.551e-10  1.692e-05  0.000e+00  1.000e+06 ( 1.000e-14)
310        Index:  1.969e+00  5.312e+03  0.000e+00  1.000e+01 (-1.000e+00)
311        Scale:  2.291e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
519    Prefactor:  7.728e-01  3.775e-04  0.000e+00  1.000e+01 ( 1.000e+00)
520        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
521        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
518   Normalization:  1.163e+00  4.835e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 204.732 11.896

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/136476/cmap_HighResolution_682300801_682560001_4FGL_J1338.9+1153_daily_bin1709.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.51e-03', job_status='DONE', photon_flux_upper_limit='3.34e-08', time_completed='2022-09-16 17:59:17.396632', job_id='136476', GAL2='0.77', fit_tolerance='1e-08', EG2='1.16', EG='1.16', time_epoch_completed='1663376357.4', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.77', dlogl='1.94e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.04' WHERE bin_id='1709' AND source_name='4FGL J1338.9+1153' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 17:59:17 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0164>
Subject: Job 136476: <4FGL_J1338.9+1153_daily_bin1709> in cluster <slac> Done

Job <4FGL_J1338.9+1153_daily_bin1709> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Sep 16 17:45:18 2022
Job was executed on host(s) <bullet0164>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 17:46:48 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 17:46:48 2022
Terminated at Fri Sep 16 17:59:18 2022
Results reported at Fri Sep 16 17:59:18 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1338.9+1153_daily_bin1709 204.732 11.8956 682300801 682560001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1338.9+1153 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   597.38 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             319.80 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   749 sec.
    Turnaround time :                            840 sec.

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

