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


Performing analysis on: 4FGL_J1338.9+1153_daily_bin1744
RA = 204.732, Dec = 11.8956
tmin = 691372801, tmax = 691632001
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='582285', job_status='RUN', time_executed='2022-12-02 01:08:32.042154', time_epoch_executed='1669972112.04' WHERE source_name='4FGL J1338.9+1153' and cadence='daily' and bin_id='1744'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/582285

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/582285/ft1_4FGL_J1338.9+1153_daily_bin1744.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/582285/ft2_4FGL_J1338.9+1153_daily_bin1744.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/582285/ft1_4FGL_J1338.9+1153_daily_bin1744.fits outfile=/scratch/kocevski/582285/ft1_filteredMKT_4FGL_J1338.9+1153_daily_bin1744.fits ra=204.732 dec=11.8956 rad=12.0 tmin=691372801.0 tmax=691632001.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 5.70
user 2.34
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/582285/ft2_4FGL_J1338.9+1153_daily_bin1744.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/582285/ft1_filteredMKT_4FGL_J1338.9+1153_daily_bin1744.fits evtable="EVENTS" outfile="/scratch/kocevski/582285/ft1_filtered_4FGL_J1338.9+1153_daily_bin1744.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.53
user 0.33
sys 0.17

Number of photons that the gtmktime cut: 708

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/582285/ft1_filtered_4FGL_J1338.9+1153_daily_bin1744.fits" evtable="EVENTS" scfile=/scratch/kocevski/582285/ft2_4FGL_J1338.9+1153_daily_bin1744.fits sctable="SC_DATA" outfile=/scratch/kocevski/582285/ltcube_691372801_691632001_4FGL_J1338.9+1153_daily_bin1744.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/582285/ft2_4FGL_J1338.9+1153_daily_bin1744.fits
.....................!
real 12.50
user 12.10
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/582285/ft1_filtered_4FGL_J1338.9+1153_daily_bin1744.fits evtable="EVENTS" scfile=/scratch/kocevski/582285/ft2_4FGL_J1338.9+1153_daily_bin1744.fits sctable="SC_DATA" expcube=/scratch/kocevski/582285/ltcube_691372801_691632001_4FGL_J1338.9+1153_daily_bin1744.fits outfile=/scratch/kocevski/582285/expmap_691372801_691632001_4FGL_J1338.9+1153_daily_bin1744.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/582285/ltcube_691372801_691632001_4FGL_J1338.9+1153_daily_bin1744.fits
.....................!
real 193.07
user 187.15
sys 5.20

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/582285/ft1_filtered_4FGL_J1338.9+1153_daily_bin1744.fits scfile=/scratch/kocevski/582285/ft2_4FGL_J1338.9+1153_daily_bin1744.fits outfile=/scratch/kocevski/582285/cmap_691372801_691632001_4FGL_J1338.9+1153_daily_bin1744.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.54
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/582285/ft1_filtered_4FGL_J1338.9+1153_daily_bin1744.fits scfile=/scratch/kocevski/582285/ft2_4FGL_J1338.9+1153_daily_bin1744.fits outfile=/scratch/kocevski/582285/cmap_HighResolution_691372801_691632001_4FGL_J1338.9+1153_daily_bin1744.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 1.03
user 0.37
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.8630       1.0000          .0000       .10000E+07
     2 'Prefactor '    14.017       1.0000          .0000       .10000E+07
     3 'norm      '    10.680       1.0000          .0000       .10000E+07
     4 'Prefactor '    18.979       1.0000          .0000       .10000E+07
     5 'Prefactor '    .11658E-01   1.0000          .0000       .10000E+07
     6 'norm      '    3.0013       1.0000          .0000       .10000E+07
     7 'Prefactor '    33.031       1.0000          .0000       .10000E+07
     8 'Prefactor '    1.5770       1.0000          .0000       .10000E+07
     9 'Prefactor '    .71636E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .50976E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    6.5569       1.0000          .0000       .10000E+07
    12 'Prefactor '    3.1534       1.0000          .0000       .10000E+07
    13 'Prefactor '    2.0386       1.0000          .0000       .10000E+07
    14 'Prefactor '    56.754       1.0000          .0000       .10000E+07
    15 'Prefactor '    .65170E-07   1.0000          .0000       .10000E+07
    16 'Normalizat'    1.1844       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .81956       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=   7879.165     FROM MIGRAD    STATUS=CONVERGED    115 CALLS      967 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.9946        7.1233       -.35780E-06    .11248E-01
   2  Prefactor     13.870        11.295        .72589E-06    .19706E-01
   3  norm          10.632        6.9932        .13718E-05    .73249E-02
   4  Prefactor     18.929        6.8837        .29691E-06   -.20616E-01
   5  Prefactor     .11102E-09    13.228       -.51636E-07** at limit **
   6  norm          3.0437        7.0456       -.21248E-05   -.30828E-02
   7  Prefactor     33.951        31.899        .18181E-05   -.85285E-02
   8  Prefactor     1.5755        3.2694        .13091E-07   -.14811E-02
   9  Prefactor      .0000        24.837        .72932E-06** at limit **
  10  Prefactor      .0000        1.7786       -.56033E-07** at limit **
  11  Prefactor     6.3160        10.718       -.31544E-05   -.16174E-02
  12  Prefactor     3.1620        7.1441        .43935E-06    .17495E-03
  13  Prefactor     2.1190        7.7933        .26958E-05   -.69329E-02
  14  Prefactor     57.018        6.7795        .16565E-06    .49568E-01
  15  Prefactor      .0000        3.1719       -.38295E-06** at limit **
  16  Normalizat    1.1845        .20877        .17385E-05    .45407E-04
  17  Prefactor     .81939        .16067       -.21060E-05   -.30993E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.99458
  Prefactor  = 13.8699
  norm       = 10.6319
  Prefactor  = 18.9287
  Prefactor  = 1.11022e-10
  norm       = 3.04373
  Prefactor  = 33.9507
  Prefactor  = 1.57553
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 6.31604
  Prefactor  = 3.16199
  Prefactor  = 2.11896
  Prefactor  = 57.0178
  Prefactor  = 0
  Normalizat = 1.18452
  Prefactor  = 0.819394
 **********
 **   18 **HESSE 
 **********

 FCN=   7879.165     FROM HESSE     STATUS=OK           263 CALLS     1230 TOTAL
                     EDM=   .22E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.9946        9.7371        .41451E-03   -1.5659    
   2  Prefactor     13.870        12.930        .26727E-03   -1.5633    
   3  norm          10.632        7.3003        .30633E-03   -1.5643    
   4  Prefactor     18.929        9.2237        .22962E-03   -1.5621    
   5  Prefactor     .11102E-09    13.243        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.0437        7.3179        .58565E-03   -1.5673    
   7  Prefactor     33.951        32.664        .17402E-03   -1.5591    
   8  Prefactor     1.5755        3.3053        .84572E-03   -1.5683    
   9  Prefactor      .0000        24.857        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        1.7829        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     6.3160        10.923        .39167E-03   -1.5658    
  12  Prefactor     3.1620        7.1625        .57055E-03   -1.5672    
  13  Prefactor     2.1190        23.368        .72404E-03   -1.5679    
  14  Prefactor     57.018        28.182        .13275E-03   -1.5557    
  15  Prefactor      .0000        3.1707        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.1845        .17235        .55820E-01   -.87082    
  17  Prefactor     .81939        .13337        .43971E-01   -.99017    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.15523e-07
Minuit parameter uncertainties:
  1  9.73717
  2  12.9304
  3  7.30032
  4  9.22374
  5  8.28733e-05
  6  7.31791
  7  32.6646
  8  3.30532
  9  2.87056e-05
  10  1.73945e-06
  11  10.923
  12  7.16252
  13  14.0736
  14  28.1822
  15  1.74857e-05
  16  0.172435
  17  0.133426
Done.

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

Extracting fit parameters...

4FGL J1338.9+1153
   Spectrum: PowerLaw
309    Prefactor:  3.395e+01  3.266e+01  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:  8.194e-01  1.334e-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.185e+00  1.724e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.93
Ra Dec: 204.732 11.896
Photon Index (Fixed Index): 2.04 +/- 0.00
Photon Flux (Fixed Index): 1.92e-08 +/- 1.85e-08
Energy Flux (Fixed Index): 1.22e-05 +/- 1.17e-05

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

Saving results to:
/scratch/kocevski/582285/likelihoodResults_691372801_691632001_4FGL_J1338.9+1153_daily_bin1744.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) = 7879.04703618
delta logL = 0.118376275894

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7879.04281951
delta logL = 0.122592942088

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7879.043     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      302 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     44.172        44.077        .60198E-05    .20774E-03
   2  Index         1.7367        .58539        .10583E-01    .23344E-03
   3  Normalizat    1.1911        .20081        .24624E-03    .22623E-04
   4  Prefactor     .81658        .15976        .23064E-03   -.38103E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 44.1715
  Index      = 1.73673
  Normalizat = 1.19106
  Prefactor  = 0.816582
 **********
 **   18 **HESSE 
 **********

 FCN=   7879.043     FROM HESSE     STATUS=OK            25 CALLS      327 TOTAL
                     EDM=   .16E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     44.172        43.567        .12040E-05   -1.5575    
   2  Index         1.7367        .57882        .21166E-02   -.71108    
   3  Normalizat    1.1911        .20101        .98496E-05   -.86879    
   4  Prefactor     .81658        .15995        .92255E-05   -.99120    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.58886e-11
Minuit parameter uncertainties:
  1  43.5671
  2  0.581092
  3  0.201136
  4  0.160039
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/582285': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7879.04281929
delta logL = 0.122593165021

Extracting fit parameters...

4FGL J1338.9+1153
   Spectrum: PowerLaw
309    Prefactor:  4.417e+01  4.357e+01  0.000e+00  1.000e+06 ( 1.000e-14)
310        Index:  1.737e+00  5.811e-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:  8.166e-01  1.600e-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.191e+00  2.011e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.18
Ra Dec: 204.732 11.896
Photon Index (Free Index): 1.74 +/- 0.58
Photon Flux (Free Index): 1.37e-08 +/- 1.70e-08
Energy Flux (Free Index): 1.99e-05 +/- 2.79e-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/582285/cmap_HighResolution_691372801_691632001_4FGL_J1338.9+1153_daily_bin1744.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.99e-03', comment='SUCCESS', photon_flux='1.92e-08', energy_flux2='1.99e-05', photon_flux_error='1.85e-08', dlogl='1.23e-01', energy_flux='1.22e-05', photon_flux2='1.37e-08', job_status='DONE', time_completed='2022-12-02 01:17:17.963774', photon_index_error2='0.58', photon_index2='1.74', ts='1.93', fit_tolerance='1e-08', GAL='0.82', photon_index_error='0.00', photon_flux_upper_limit='6.64e-08', energy_flux_error2='2.79e-05', EG='1.18', time_epoch_completed='1669972637.96', return_code='0', job_id='582285', GAL2='0.82', EG2='1.19', return_code2='0', energy_flux_error='1.17e-05', photon_flux_error2='1.70e-08', ts2='2.18', photon_index='2.04' WHERE bin_id='1744' AND source_name='4FGL J1338.9+1153' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec  2 01:17:17 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0114>
Subject: Job 582285: <4FGL_J1338.9+1153_daily_bin1744> in cluster <slac> Done

Job <4FGL_J1338.9+1153_daily_bin1744> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Dec  2 01:05:14 2022
Job was executed on host(s) <bullet0114>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec  2 01:05:15 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec  2 01:05:15 2022
Terminated at Fri Dec  2 01:17:20 2022
Results reported at Fri Dec  2 01:17:20 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1338.9+1153_daily_bin1744 204.732 11.8956 691372801 691632001 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 :                                   520.12 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             263.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   724 sec.
    Turnaround time :                            726 sec.

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

