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


Performing analysis on: 4FGL_J0338.5+1302_daily_bin1723
RA = 54.6355, Dec = 13.0419
tmin = 685929601, tmax = 686188801
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='430459', job_status='RUN', time_executed='2022-09-30 00:07:40.110375', time_epoch_executed='1664521660.11' WHERE source_name='4FGL J0338.5+1302' and cadence='daily' and bin_id='1723'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/430459

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/430459/ft1_4FGL_J0338.5+1302_daily_bin1723.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/430459/ft2_4FGL_J0338.5+1302_daily_bin1723.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/430459/ft1_4FGL_J0338.5+1302_daily_bin1723.fits outfile=/scratch/kocevski/430459/ft1_filteredMKT_4FGL_J0338.5+1302_daily_bin1723.fits ra=54.6355 dec=13.0419 rad=12.0 tmin=685929601.0 tmax=686188801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 3.63
user 3.37
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/430459/ft2_4FGL_J0338.5+1302_daily_bin1723.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/430459/ft2_4FGL_J0338.5+1302_daily_bin1723.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/430459/ft1_filteredMKT_4FGL_J0338.5+1302_daily_bin1723.fits evtable="EVENTS" outfile="/scratch/kocevski/430459/ft1_filtered_4FGL_J0338.5+1302_daily_bin1723.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.52
user 0.35
sys 0.16

Number of photons that the gtmktime cut: 994

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/430459/ft1_filtered_4FGL_J0338.5+1302_daily_bin1723.fits" evtable="EVENTS" scfile=/scratch/kocevski/430459/ft2_4FGL_J0338.5+1302_daily_bin1723.fits sctable="SC_DATA" outfile=/scratch/kocevski/430459/ltcube_685929601_686188801_4FGL_J0338.5+1302_daily_bin1723.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/430459/ft2_4FGL_J0338.5+1302_daily_bin1723.fits
.....................!
real 17.80
user 17.33
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/430459/ft1_filtered_4FGL_J0338.5+1302_daily_bin1723.fits evtable="EVENTS" scfile=/scratch/kocevski/430459/ft2_4FGL_J0338.5+1302_daily_bin1723.fits sctable="SC_DATA" expcube=/scratch/kocevski/430459/ltcube_685929601_686188801_4FGL_J0338.5+1302_daily_bin1723.fits outfile=/scratch/kocevski/430459/expmap_685929601_686188801_4FGL_J0338.5+1302_daily_bin1723.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/430459/ltcube_685929601_686188801_4FGL_J0338.5+1302_daily_bin1723.fits
.....................!
real 191.07
user 185.30
sys 4.85

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

Setting source of interest to:
4FGL J0338.5+1302 @ 54.6355 13.0419

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/430459/ft1_filtered_4FGL_J0338.5+1302_daily_bin1723.fits scfile=/scratch/kocevski/430459/ft2_4FGL_J0338.5+1302_daily_bin1723.fits outfile=/scratch/kocevski/430459/cmap_685929601_686188801_4FGL_J0338.5+1302_daily_bin1723.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=54.6355 yref=13.0419 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.38
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/430459/ft1_filtered_4FGL_J0338.5+1302_daily_bin1723.fits scfile=/scratch/kocevski/430459/ft2_4FGL_J0338.5+1302_daily_bin1723.fits outfile=/scratch/kocevski/430459/cmap_HighResolution_685929601_686188801_4FGL_J0338.5+1302_daily_bin1723.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=54.6355 yref=13.0419 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.56
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/430459/ft1_filtered_4FGL_J0338.5+1302_daily_bin1723.fits evtable="EVENTS" scfile=/scratch/kocevski/430459/ft2_4FGL_J0338.5+1302_daily_bin1723.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/430459/Model_4FGL_J0338.5+1302_daily_bin1723.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/430459/ft1_filtered_4FGL_J0338.5+1302_daily_bin1723.fits.....................!
real 143.56
user 141.97
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/430459/ft1_filtered_4FGL_J0338.5+1302_daily_bin1723.fits', '/scratch/kocevski/430459/ft2_4FGL_J0338.5+1302_daily_bin1723.fits', expMap='/scratch/kocevski/430459/expmap_685929601_686188801_4FGL_J0338.5+1302_daily_bin1723.fits', expCube='/scratch/kocevski/430459/ltcube_685929601_686188801_4FGL_J0338.5+1302_daily_bin1723.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/430459/Model_4FGL_J0338.5+1302_daily_bin1723.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0338.5+1302'

4FGL J0338.5+1302
   Spectrum: LogParabola
285         norm:  1.629e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
286        alpha:  1.536e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
287         beta:  1.650e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
288           Eb:  3.451e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/430459/ft1_filtered_4FGL_J0338.5+1302_daily_bin1723.fits
Spacecraft file(s): /scratch/kocevski/430459/ft2_4FGL_J0338.5+1302_daily_bin1723.fits
Exposure map: /scratch/kocevski/430459/expmap_685929601_686188801_4FGL_J0338.5+1302_daily_bin1723.fits
Exposure cube: /scratch/kocevski/430459/ltcube_685929601_686188801_4FGL_J0338.5+1302_daily_bin1723.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/430459/Model_4FGL_J0338.5+1302_daily_bin1723.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) = 10413.0111819

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.0189       1.0000          .0000       .10000E+07
     2 'Prefactor '    .59062E-03   1.0000          .0000       .10000E+07
     3 'norm      '    .23967       1.0000          .0000       .10000E+07
     4 'Prefactor '    .37665E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    2.8525       1.0000          .0000       .10000E+07
     6 'Prefactor '    8.0382       1.0000          .0000       .10000E+07
     7 'norm      '    4.1742       1.0000          .0000       .10000E+07
     8 'Prefactor '    9.3494       1.0000          .0000       .10000E+07
     9 'norm      '    .72002E-05   1.0000          .0000       .10000E+07
    10 'norm      '    5.0935       1.0000          .0000       .10000E+07
    11 'Prefactor '    .89689E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    43.853       1.0000          .0000       .10000E+07
    13 'Prefactor '    .12997E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    .31772E-04   1.0000          .0000       .10000E+07
    15 'Normalizat'    .64105       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.0264       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10412.93     FROM MIGRAD    STATUS=CONVERGED    126 CALLS      925 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.0110        4.1349       -.81437E-08    .70314E-03
   2  Prefactor     .55511E-10    3.1471        .72062E-08** at limit **
   3  norm          .24629        49.249       -.11843E-05** at limit **
   4  Prefactor      .0000        3.1241       -.11312E-06** at limit **
   5  Prefactor     2.8930        5.5952       -.32293E-06   -.10572E-02
   6  Prefactor     7.8324        12.449        .90889E-07   -.56363E-01
   7  norm          4.1693        2.3239       -.35362E-07   -.26665E-02
   8  Prefactor     9.3415        10.232       -.34420E-06    .59904E-02
   9  norm          .55511E-10    10.924        .71326E-06** at limit **
  10  norm          4.5418        13.577        .39650E-08    .21036E-01
  11  Prefactor     .44409E-09    18.232       -.45030E-06** at limit **
  12  Prefactor     43.734        11.729       -.66678E-07    .25974    
  13  Prefactor     .78504E-06    81.050        .35154E-06** at limit **
  14  Prefactor     .16135E-05    59.187        .52273E-06** at limit **
  15  Normalizat    .64159        .24928       -.68361E-05    .27060E-04
  16  Prefactor     1.0264        .71869E-01    .29596E-05    .32988E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 7.011
  Prefactor  = 5.55112e-11
  norm       = 0.246294
  Prefactor  = 0
  Prefactor  = 2.89299
  Prefactor  = 7.83239
  norm       = 4.16928
  Prefactor  = 9.34154
  norm       = 5.55112e-11
  norm       = 4.54177
  Prefactor  = 4.44089e-10
  Prefactor  = 43.7343
  Prefactor  = 7.85039e-07
  Prefactor  = 1.61354e-06
  Normalizat = 0.64159
  Prefactor  = 1.02638
 **********
 **   18 **HESSE 
 **********

 FCN=   10412.93     FROM HESSE     STATUS=OK           241 CALLS     1166 TOTAL
                     EDM=   .15E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.0110        4.1458        .37842E-03   -1.5655    
   2  Prefactor     .55511E-10    3.1560        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .24629        5.0323        .78900E-02   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        3.1216        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.8930        5.6510        .60172E-03   -1.5674    
   6  Prefactor     7.8324        12.770        .35340E-03   -1.5652    
   7  norm          4.1693        2.3448        .49306E-03   -1.5667    
   8  Prefactor     9.3415        10.257        .32752E-03   -1.5647    
   9  norm          .55511E-10    10.661        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          4.5418        107.22        .44526E-03   -1.5665    
  11  Prefactor     .44409E-09    18.297        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     43.734        25.515        .15102E-03   -1.5576    
  13  Prefactor     .78504E-06    90.177        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .16135E-05    62.048        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    .64159        .24540        .12496       -1.0625    
  16  Prefactor     1.0264        .69187E-01    .29597E-01   -.91855    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.51819e-06
Minuit parameter uncertainties:
  1  4.14584
  2  1.95707e-05
  3  2.2266
  4  1.51662e-05
  5  5.65103
  6  12.7695
  7  2.34482
  8  10.2575
  9  3.56314e-05
  10  44.136
  11  0.000182046
  12  25.5148
  13  0.0168276
  14  0.0200118
  15  0.245823
  16  0.0691931
Done.

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

Extracting fit parameters...

4FGL J0338.5+1302
   Spectrum: LogParabola
285         norm:  5.551e-11  3.563e-05  0.000e+00  1.000e+06 ( 1.000e-13)
286        alpha:  1.536e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
287         beta:  1.650e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
288           Eb:  3.451e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
511    Prefactor:  1.026e+00  6.919e-02  0.000e+00  1.000e+01 ( 1.000e+00)
512        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
513        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
510   Normalization:  6.416e-01  2.458e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 54.636 13.042
Photon Flux Upper Limit: 2.66e-08 ph cm-2 s-1
Energy Flux Upper Limit: 8.27e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/430459/likelihoodResults_685929601_686188801_4FGL_J0338.5+1302_daily_bin1723.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) = 10412.926775
delta logL = -2.5832276151e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10412.9267492
delta logL = -7.60337570682e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .59397E-08   1.0000          .0000       .10000E+07
     2 'alpha     '    1.0113       1.0000          .0000       5.0000    
     3 'Normalizat'    .64161       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0264       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10412.93     FROM MIGRAD    STATUS=CONVERGED     30 CALLS      236 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .88818E-09    10.349       -.12812E-05** at limit **
   2  alpha         1.4538        1.6073        .30705E-04   -.90700E-10
   3  Normalizat    .64159        .24154        .92252E-04    .75507E-04
   4  Prefactor     1.0264        .71728E-01   -.24042E-04    .76273E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 8.88178e-10
  alpha      = 1.45377
  Normalizat = 0.641589
  Prefactor  = 1.02638
 **********
 **   18 **HESSE 
 **********

 FCN=   10412.93     FROM HESSE     STATUS=NOT POSDEF    37 CALLS      273 TOTAL
                     EDM=   .47E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .88818E-09    .39899        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.4538        3.1799        .50000       -.43178    
   3  Normalizat    .64159        .11993E-02    .12496       -1.0625    
   4  Prefactor     1.0264        .35321E-03    .29597E-01   -.91855    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.73527e-12
Minuit parameter uncertainties:
  1  3.77242e-05
  2  8876.85
  3  0.00119927
  4  0.00035321
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/430459': 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) = 10412.9267492
delta logL = -1.01863406599e-10

Extracting fit parameters...

4FGL J0338.5+1302
   Spectrum: LogParabola
285         norm:  8.882e-10  3.772e-05  0.000e+00  1.000e+06 ( 1.000e-13)
286        alpha:  1.454e+00  8.877e+03  0.000e+00  5.000e+00 ( 1.000e+00)
287         beta:  1.650e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
288           Eb:  3.451e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
511    Prefactor:  1.026e+00  3.532e-04  0.000e+00  1.000e+01 ( 1.000e+00)
512        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
513        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
510   Normalization:  6.416e-01  1.199e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 54.636 13.042

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/430459/cmap_HighResolution_685929601_686188801_4FGL_J0338.5+1302_daily_bin1723.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.27e-05', job_status='DONE', photon_flux_upper_limit='2.66e-08', time_completed='2022-09-30 00:18:47.342806', job_id='430459', GAL2='1.03', fit_tolerance='1e-08', EG2='0.64', EG='0.64', time_epoch_completed='1664522327.34', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='-1.02e-10', ts2='-0.00', photon_index_error='0.00', photon_index='1.54' WHERE bin_id='1723' AND source_name='4FGL J0338.5+1302' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 30 00:18:47 PDT 2022

------------------------------------------------------------
Sender: LSF System <lsf@bullet0214>
Subject: Job 430513: <4FGL_J0338.5+1302_daily_bin1723> in cluster <slac> Done

Job <4FGL_J0338.5+1302_daily_bin1723> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Sep 30 00:05:24 2022
Job was executed on host(s) <bullet0214>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 30 00:06:05 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 30 00:06:05 2022
Terminated at Fri Sep 30 00:18:28 2022
Results reported at Fri Sep 30 00:18:28 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0338.5+1302_daily_bin1723 54.6355 13.0419 685929601 686188801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0338.5+1302 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   658.42 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             322.40 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   743 sec.
    Turnaround time :                            784 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0098>
Subject: Job 430459: <4FGL_J0338.5+1302_daily_bin1723> in cluster <slac> Done

Job <4FGL_J0338.5+1302_daily_bin1723> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 30 00:05:21 2022
Job was executed on host(s) <bullet0098>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 30 00:05:54 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 30 00:05:54 2022
Terminated at Fri Sep 30 00:18:48 2022
Results reported at Fri Sep 30 00:18:48 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0338.5+1302_daily_bin1723 54.6355 13.0419 685929601 686188801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0338.5+1302 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   669.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             308.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   773 sec.
    Turnaround time :                            807 sec.

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

