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


Performing analysis on: 4FGL_J1338.9+1153_daily_bin1780
RA = 204.732, Dec = 11.8956
tmin = 700704001, tmax = 700963201
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='65226', job_status='RUN', time_executed='2023-03-20 01:01:37.471630', time_epoch_executed='1679299297.47' WHERE source_name='4FGL J1338.9+1153' and cadence='daily' and bin_id='1780'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/65226

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/65226/ft1_4FGL_J1338.9+1153_daily_bin1780.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/65226/ft2_4FGL_J1338.9+1153_daily_bin1780.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/65226/ft1_4FGL_J1338.9+1153_daily_bin1780.fits outfile=/scratch/kocevski/65226/ft1_filteredMKT_4FGL_J1338.9+1153_daily_bin1780.fits ra=204.732 dec=11.8956 rad=12.0 tmin=700704001.0 tmax=700963201.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.11
user 3.87
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/65226/ft2_4FGL_J1338.9+1153_daily_bin1780.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/65226/ft1_filteredMKT_4FGL_J1338.9+1153_daily_bin1780.fits evtable="EVENTS" outfile="/scratch/kocevski/65226/ft1_filtered_4FGL_J1338.9+1153_daily_bin1780.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: 413

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/65226/ft1_filtered_4FGL_J1338.9+1153_daily_bin1780.fits" evtable="EVENTS" scfile=/scratch/kocevski/65226/ft2_4FGL_J1338.9+1153_daily_bin1780.fits sctable="SC_DATA" outfile=/scratch/kocevski/65226/ltcube_700704001_700963201_4FGL_J1338.9+1153_daily_bin1780.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/65226/ft2_4FGL_J1338.9+1153_daily_bin1780.fits
.....................!
real 12.64
user 12.28
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/65226/ft1_filtered_4FGL_J1338.9+1153_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/65226/ft2_4FGL_J1338.9+1153_daily_bin1780.fits sctable="SC_DATA" expcube=/scratch/kocevski/65226/ltcube_700704001_700963201_4FGL_J1338.9+1153_daily_bin1780.fits outfile=/scratch/kocevski/65226/expmap_700704001_700963201_4FGL_J1338.9+1153_daily_bin1780.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/65226/ltcube_700704001_700963201_4FGL_J1338.9+1153_daily_bin1780.fits
.....................!
real 191.30
user 185.07
sys 5.88

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/65226/ft1_filtered_4FGL_J1338.9+1153_daily_bin1780.fits scfile=/scratch/kocevski/65226/ft2_4FGL_J1338.9+1153_daily_bin1780.fits outfile=/scratch/kocevski/65226/cmap_700704001_700963201_4FGL_J1338.9+1153_daily_bin1780.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.53
user 0.35
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/65226/ft1_filtered_4FGL_J1338.9+1153_daily_bin1780.fits scfile=/scratch/kocevski/65226/ft2_4FGL_J1338.9+1153_daily_bin1780.fits outfile=/scratch/kocevski/65226/cmap_HighResolution_700704001_700963201_4FGL_J1338.9+1153_daily_bin1780.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.54
user 0.37
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/65226/ft1_filtered_4FGL_J1338.9+1153_daily_bin1780.fits', '/scratch/kocevski/65226/ft2_4FGL_J1338.9+1153_daily_bin1780.fits', expMap='/scratch/kocevski/65226/expmap_700704001_700963201_4FGL_J1338.9+1153_daily_bin1780.fits', expCube='/scratch/kocevski/65226/ltcube_700704001_700963201_4FGL_J1338.9+1153_daily_bin1780.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/65226/Model_4FGL_J1338.9+1153_daily_bin1780.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/65226/ft1_filtered_4FGL_J1338.9+1153_daily_bin1780.fits
Spacecraft file(s): /scratch/kocevski/65226/ft2_4FGL_J1338.9+1153_daily_bin1780.fits
Exposure map: /scratch/kocevski/65226/expmap_700704001_700963201_4FGL_J1338.9+1153_daily_bin1780.fits
Exposure cube: /scratch/kocevski/65226/ltcube_700704001_700963201_4FGL_J1338.9+1153_daily_bin1780.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/65226/Model_4FGL_J1338.9+1153_daily_bin1780.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) = 4811.56892916

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.9910       1.0000          .0000       .10000E+07
     2 'Prefactor '    25.735       1.0000          .0000       .10000E+07
     3 'norm      '    34.762       1.0000          .0000       .10000E+07
     4 'Prefactor '    14.023       1.0000          .0000       .10000E+07
     5 'Prefactor '    .59961E-02   1.0000          .0000       .10000E+07
     6 'norm      '    .92855E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    .46801E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .25496E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .80911E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    .20480E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .10386E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    6.7998       1.0000          .0000       .10000E+07
    13 'Prefactor '    .86016       1.0000          .0000       .10000E+07
    14 'Prefactor '    72.772       1.0000          .0000       .10000E+07
    15 'Prefactor '    .10484E-04   1.0000          .0000       .10000E+07
    16 'Normalizat'    .58063       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.3935       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=   4811.509     FROM MIGRAD    STATUS=CONVERGED    145 CALLS     1249 TOTAL
                     EDM=   .22E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.0352        20.329        .35979E-07    .24014E-01
   2  Prefactor     26.129        22.834        .56908E-07   -.57189E-02
   3  norm          34.716        10.305        .10168E-06   -.31537E-02
   4  Prefactor     14.084        14.299        .90794E-08    .12581E-01
   5  Prefactor     .11863E-05    180.29       -.15944E-05** at limit **
   6  norm          .10708        41.147        .55925E-06** at limit **
   7  Prefactor     .27756E-08    36.091       -.33308E-06** at limit **
   8  Prefactor     .55511E-10    4.8607       -.23500E-06** at limit **
   9  Prefactor     .47207E-06    85.100       -.23958E-06** at limit **
  10  Prefactor      .0000        4.2399       -.14904E-06** at limit **
  11  Prefactor     .16653E-09    7.4401       -.29114E-06** at limit **
  12  Prefactor     6.8226        13.803        .35443E-07    .43866E-02
  13  Prefactor     .41541        4.6175       -.12309E-06   -.16451E-01
  14  Prefactor     73.379        13.406       -.27695E-08   -.13550    
  15  Prefactor     .55511E-10    9.3986        .10860E-06** at limit **
  16  Normalizat    .58030        .28570       -.14200E-05   -.87284E-06
  17  Prefactor     1.3934        .22580        .46433E-06    .45311E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.03524
  Prefactor  = 26.1292
  norm       = 34.7164
  Prefactor  = 14.0844
  Prefactor  = 1.18627e-06
  norm       = 0.107083
  Prefactor  = 2.77556e-09
  Prefactor  = 5.55112e-11
  Prefactor  = 4.72067e-07
  Prefactor  = 0
  Prefactor  = 1.66533e-10
  Prefactor  = 6.82259
  Prefactor  = 0.415415
  Prefactor  = 73.3794
  Prefactor  = 5.55112e-11
  Normalizat = 0.580304
  Prefactor  = 1.39341
 **********
 **   18 **HESSE 
 **********

 FCN=   4811.509     FROM HESSE     STATUS=OK           263 CALLS     1512 TOTAL
                     EDM=   .73E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.0352        20.971        .35445E-03   -1.5651    
   2  Prefactor     26.129        23.180        .19716E-03   -1.5606    
   3  norm          34.716        12.291        .16963E-03   -1.5590    
   4  Prefactor     14.084        15.991        .26721E-03   -1.5633    
   5  Prefactor     .11863E-05    181.59        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10708        5.9413        .91868E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .27756E-08    36.127        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .55511E-10    4.8436        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .47207E-06    89.875        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        4.2269        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .16653E-09    7.4339        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     6.8226        13.864        .38454E-03   -1.5656    
  13  Prefactor     .41541        206.19        .48554E-03   -1.5695    
  14  Prefactor     73.379        41.987        .11723E-03   -1.5537    
  15  Prefactor     .55511E-10    9.3849        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .58030        .25446        .83271E-01   -1.0883    
  17  Prefactor     1.3934        .19392        .45240E-01   -.80570    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.2598e-07
Minuit parameter uncertainties:
  1  20.971
  2  23.1802
  3  12.2909
  4  15.9914
  5  0.0293546
  6  1.59526
  7  0.000631143
  8  2.50324e-05
  9  0.0130278
  10  1.50603e-05
  11  7.13659e-05
  12  13.864
  13  18.5104
  14  41.9868
  15  4.54824e-05
  16  0.254976
  17  0.194022
Done.

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

Extracting fit parameters...

4FGL J1338.9+1153
   Spectrum: PowerLaw
309    Prefactor:  2.776e-09  6.311e-04  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:  1.393e+00  1.940e-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:  5.803e-01  2.550e-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: 7.10e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.34e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/65226/likelihoodResults_700704001_700963201_4FGL_J1338.9+1153_daily_bin1780.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) = 4811.52205181
delta logL = -0.0132790090993

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4811.50877284
delta logL = -4.23096935265e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .81485E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.9865       1.0000          .0000       10.000    
     3 'Normalizat'    .58035       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3934       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=   4811.509     FROM MIGRAD    STATUS=CONVERGED     33 CALLS      203 TOTAL
                     EDM=   .26E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16653E-09    36.908        .23448E-05** at limit **
   2  Index         2.0104        5.0686       -.98212E-04    .50540E-11
   3  Normalizat    .58030        .27544       -.68351E-05   -.32044E-05
   4  Prefactor     1.3934        .22399        .12218E-04   -.17835E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.66533e-10
  Index      = 2.01045
  Normalizat = 0.580304
  Prefactor  = 1.39341
 **********
 **   18 **HESSE 
 **********

 FCN=   4811.509     FROM HESSE     STATUS=NOT POSDEF    39 CALLS      242 TOTAL
                     EDM=   .88E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16653E-09    8290.7        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0104        6.4853        .50000       -.64089    
   3  Normalizat    .58030        .16026        .83271E-01   -1.0883    
   4  Prefactor     1.3934        .13002        .45240E-01   -.80570    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.75572e-10
Minuit parameter uncertainties:
  1  0.00216395
  2  60.3709
  3  0.160386
  4  0.130051
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/65226': 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) = 4811.5087728
delta logL = 3.54702933691e-11

Extracting fit parameters...

4FGL J1338.9+1153
   Spectrum: PowerLaw
309    Prefactor:  1.665e-10  2.164e-03  0.000e+00  1.000e+06 ( 1.000e-14)
310        Index:  2.010e+00  6.037e+01  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:  1.393e+00  1.301e-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:  5.803e-01  1.604e-01  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/65226/cmap_HighResolution_700704001_700963201_4FGL_J1338.9+1153_daily_bin1780.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.34e-03', job_status='DONE', photon_flux_upper_limit='7.10e-08', time_completed='2023-03-20 01:09:04.259142', job_id='65226', GAL2='1.39', fit_tolerance='1e-08', EG2='0.58', EG='0.58', time_epoch_completed='1679299744.26', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.39', dlogl='3.55e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.04' WHERE bin_id='1780' AND source_name='4FGL J1338.9+1153' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Mar 20 01:09:04 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0252>
Subject: Job 65226: <4FGL_J1338.9+1153_daily_bin1780> in cluster <slac> Done

Job <4FGL_J1338.9+1153_daily_bin1780> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Mon Mar 20 01:00:25 2023
Job was executed on host(s) <bullet0252>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Mar 20 01:00:25 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Mar 20 01:00:25 2023
Terminated at Mon Mar 20 01:09:05 2023
Results reported at Mon Mar 20 01:09:05 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1338.9+1153_daily_bin1780 204.732 11.8956 700704001 700963201 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 :                                   449.35 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             361.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   519 sec.
    Turnaround time :                            520 sec.

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

