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


Performing analysis on: 4FGL_J1516.9+1934_daily_bin1714
RA = 229.244, Dec = 19.5805
tmin = 683596801, tmax = 683856001
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='159737', job_status='RUN', time_executed='2022-09-16 19:04:27.571701', time_epoch_executed='1663380267.57' WHERE source_name='4FGL J1516.9+1934' and cadence='daily' and bin_id='1714'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/159737

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/159737/ft1_4FGL_J1516.9+1934_daily_bin1714.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/159737/ft2_4FGL_J1516.9+1934_daily_bin1714.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/159737/ft1_4FGL_J1516.9+1934_daily_bin1714.fits outfile=/scratch/kocevski/159737/ft1_filteredMKT_4FGL_J1516.9+1934_daily_bin1714.fits ra=229.244 dec=19.5805 rad=12.0 tmin=683596801.0 tmax=683856001.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.52
user 3.26
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/159737/ft2_4FGL_J1516.9+1934_daily_bin1714.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/159737/ft2_4FGL_J1516.9+1934_daily_bin1714.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/159737/ft1_filteredMKT_4FGL_J1516.9+1934_daily_bin1714.fits evtable="EVENTS" outfile="/scratch/kocevski/159737/ft1_filtered_4FGL_J1516.9+1934_daily_bin1714.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: 651

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/159737/ft1_filtered_4FGL_J1516.9+1934_daily_bin1714.fits" evtable="EVENTS" scfile=/scratch/kocevski/159737/ft2_4FGL_J1516.9+1934_daily_bin1714.fits sctable="SC_DATA" outfile=/scratch/kocevski/159737/ltcube_683596801_683856001_4FGL_J1516.9+1934_daily_bin1714.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/159737/ft2_4FGL_J1516.9+1934_daily_bin1714.fits
.....................!
real 14.45
user 13.94
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/159737/ft1_filtered_4FGL_J1516.9+1934_daily_bin1714.fits evtable="EVENTS" scfile=/scratch/kocevski/159737/ft2_4FGL_J1516.9+1934_daily_bin1714.fits sctable="SC_DATA" expcube=/scratch/kocevski/159737/ltcube_683596801_683856001_4FGL_J1516.9+1934_daily_bin1714.fits outfile=/scratch/kocevski/159737/expmap_683596801_683856001_4FGL_J1516.9+1934_daily_bin1714.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/159737/ltcube_683596801_683856001_4FGL_J1516.9+1934_daily_bin1714.fits
.....................!
real 192.56
user 186.28
sys 5.44

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

Setting source of interest to:
4FGL J1516.9+1934 @ 229.244 19.5805

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/159737/ft1_filtered_4FGL_J1516.9+1934_daily_bin1714.fits scfile=/scratch/kocevski/159737/ft2_4FGL_J1516.9+1934_daily_bin1714.fits outfile=/scratch/kocevski/159737/cmap_683596801_683856001_4FGL_J1516.9+1934_daily_bin1714.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=229.244 yref=19.5805 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.55
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/159737/ft1_filtered_4FGL_J1516.9+1934_daily_bin1714.fits scfile=/scratch/kocevski/159737/ft2_4FGL_J1516.9+1934_daily_bin1714.fits outfile=/scratch/kocevski/159737/cmap_HighResolution_683596801_683856001_4FGL_J1516.9+1934_daily_bin1714.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=229.244 yref=19.5805 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/159737/ft1_filtered_4FGL_J1516.9+1934_daily_bin1714.fits evtable="EVENTS" scfile=/scratch/kocevski/159737/ft2_4FGL_J1516.9+1934_daily_bin1714.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/159737/Model_4FGL_J1516.9+1934_daily_bin1714.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/159737/ft1_filtered_4FGL_J1516.9+1934_daily_bin1714.fits.....................!
real 54.58
user 51.99
sys 1.33

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/159737/ft1_filtered_4FGL_J1516.9+1934_daily_bin1714.fits', '/scratch/kocevski/159737/ft2_4FGL_J1516.9+1934_daily_bin1714.fits', expMap='/scratch/kocevski/159737/expmap_683596801_683856001_4FGL_J1516.9+1934_daily_bin1714.fits', expCube='/scratch/kocevski/159737/ltcube_683596801_683856001_4FGL_J1516.9+1934_daily_bin1714.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/159737/Model_4FGL_J1516.9+1934_daily_bin1714.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1516.9+1934'

4FGL J1516.9+1934
   Spectrum: PowerLaw
225    Prefactor:  7.750e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
226        Index:  2.580e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
227        Scale:  7.139e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/159737/ft1_filtered_4FGL_J1516.9+1934_daily_bin1714.fits
Spacecraft file(s): /scratch/kocevski/159737/ft2_4FGL_J1516.9+1934_daily_bin1714.fits
Exposure map: /scratch/kocevski/159737/expmap_683596801_683856001_4FGL_J1516.9+1934_daily_bin1714.fits
Exposure cube: /scratch/kocevski/159737/ltcube_683596801_683856001_4FGL_J1516.9+1934_daily_bin1714.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/159737/Model_4FGL_J1516.9+1934_daily_bin1714.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) = 7034.77355978

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.4185       1.0000          .0000       .10000E+07
     2 'norm      '    2.3528       1.0000          .0000       .10000E+07
     3 'Prefactor '    11.566       1.0000          .0000       .10000E+07
     4 'Prefactor '    .39452E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    5.9096       1.0000          .0000       .10000E+07
     6 'norm      '    .27154       1.0000          .0000       .10000E+07
     7 'norm      '    .50404E-07   1.0000          .0000       .10000E+07
     8 'norm      '    7.1833       1.0000          .0000       .10000E+07
     9 'Prefactor '    .39246E-07   1.0000          .0000       .10000E+07
    10 'Prefactor '    .55511E-10   1.0000          .0000       .10000E+07
    11 'Prefactor '    12.134       1.0000          .0000       .10000E+07
    12 'Prefactor '     .0000       1.0000          .0000       .10000E+07
    13 'Prefactor '    .67113E-07   1.0000          .0000       .10000E+07
    14 'norm      '    9.4563       1.0000          .0000       .10000E+07
    15 'norm      '    .47518E-07   1.0000          .0000       .10000E+07
    16 'Prefactor '    11.741       1.0000          .0000       .10000E+07
    17 'Normalizat'    .62978       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.1987       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5030E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7034.749     FROM MIGRAD    STATUS=CONVERGED    118 CALLS     1285 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.4185        2.5273       -.16917E-06    .52697E-03
   2  norm          2.3528        2.5069        .29941E-06   -.48295E-02
   3  Prefactor     11.550        5.7879       -.25907E-06   -.11634    
   4  Prefactor     .36526E-07    19.248       -.50832E-06** at limit **
   5  Prefactor     5.9094        7.2276        .38373E-06   -.31558E-02
   6  norm          .27154        .18600       -.34797E-07    .49765E-02
   7  norm          .12212E-08    4.0631       -.14826E-05** at limit **
   8  norm          7.1904        1.0162        .84124E-08   -.97672E-03
   9  Prefactor     .90983E-06    30.716        .29692E-05** at limit **
  10  Prefactor      .0000        2.3726       -.13141E-06** at limit **
  11  Prefactor     12.133        1.3184       -.36270E-07   -.84106E-03
  12  Prefactor      .0000        .57132       -.24607E-06** at limit **
  13  Prefactor     .51864E-06    37.496        .87791E-06** at limit **
  14  norm          9.4561        3.4163       -.27543E-06    .64606E-02
  15  norm          .55511E-10    3.6767        .23752E-06** at limit **
  16  Prefactor     11.741        8.6042       -.51818E-06   -.73281E-02
  17  Normalizat    .62985        .22621        .12192E-04   -.18793E-03
  18  Prefactor     1.1986        .15017       -.16044E-05   -.27113E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.41853
  norm       = 2.35276
  Prefactor  = 11.5504
  Prefactor  = 3.65263e-08
  Prefactor  = 5.90944
  norm       = 0.271543
  norm       = 1.22125e-09
  norm       = 7.19045
  Prefactor  = 9.09828e-07
  Prefactor  = 0
  Prefactor  = 12.1332
  Prefactor  = 0
  Prefactor  = 5.18641e-07
  norm       = 9.45609
  norm       = 5.55112e-11
  Prefactor  = 11.7406
  Normalizat = 0.629848
  Prefactor  = 1.19863
 **********
 **   18 **HESSE 
 **********

 FCN=   7034.749     FROM HESSE     STATUS=OK           282 CALLS     1567 TOTAL
                     EDM=   .50E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.4185        2.5628        .90824E-03   -1.5684    
   2  norm          2.3528        2.5078        .66797E-03   -1.5677    
   3  Prefactor     11.550        19.644        .29432E-03   -1.5640    
   4  Prefactor     .36526E-07    19.320        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     5.9094        7.2514        .41285E-03   -1.5659    
   6  norm          .27154        .19317        .64733E-03   -1.5698    
   7  norm          .12212E-08    4.0614        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          7.1904        63.233        .37402E-03   -1.5654    
   9  Prefactor     .90983E-06    32.367        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        2.3687        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     12.133        25.283        .28732E-03   -1.5638    
  12  Prefactor      .0000        .57006        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .51864E-06    38.663        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          9.4561        3.4200        .32565E-03   -1.5646    
  15  norm          .55511E-10    3.6693        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     11.741        8.6206        .29211E-03   -1.5639    
  17  Normalizat    .62985        .20112        .80306E-01   -1.0673    
  18  Prefactor     1.1986        .13195        .34662E-01   -.86374    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.96723e-07
Minuit parameter uncertainties:
  1  2.56283
  2  2.50781
  3  19.6439
  4  0.00168037
  5  7.25145
  6  0.193169
  7  0.000142129
  8  42.6468
  9  0.0108534
  10  3.37961e-06
  11  25.2836
  12  7.92746e-06
  13  0.00895603
  14  3.41997
  15  2.39068e-05
  16  8.62065
  17  0.201356
  18  0.131982
Done.

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

Extracting fit parameters...

4FGL J1516.9+1934
   Spectrum: PowerLaw
225    Prefactor:  9.098e-07  1.085e-02  0.000e+00  1.000e+06 ( 1.000e-13)
226        Index:  2.580e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
227        Scale:  7.139e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
500    Prefactor:  1.199e+00  1.320e-01  0.000e+00  1.000e+01 ( 1.000e+00)
501        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
502        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
499   Normalization:  6.298e-01  2.014e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 229.244 19.581
Photon Flux Upper Limit: 8.08e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.32e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/159737/likelihoodResults_683596801_683856001_4FGL_J1516.9+1934_daily_bin1714.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) = 7034.76414212
delta logL = -0.0149397685409

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7034.72555921
delta logL = 0.023643140119

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7034.726     FROM MIGRAD    STATUS=CONVERGED     65 CALLS      243 TOTAL
                     EDM=   .45E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .22973E-01    .48167        .81521E-03** at limit **
   2  Index         6.1841        1.4018        .50000        .46686E-05
   3  Normalizat    .61841        .12209E-01    .81017E-01    .10580E-04
   4  Prefactor     1.2030        .81654E-02    .34560E-01   -.75070E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0229728
  Index      = 6.18408
  Normalizat = 0.618412
  Prefactor  = 1.20298
 **********
 **   18 **HESSE 
 **********

 FCN=   7034.726     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      278 TOTAL
                     EDM=   .46E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .22973E-01    22.510        .43854E-04   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         6.1841        6.7761        .92486E-02    .23909    
   3  Normalizat    .61841        .10857        .35877E-03   -1.0721    
   4  Prefactor     1.2030        .71842E-01    .17624E-03   -.86240    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.57028e-06
Minuit parameter uncertainties:
  1  1.43822
  2  34.0805
  3  0.108609
  4  0.0718477
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/159737': 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) = 7034.72555421
delta logL = 0.0236481391694

Extracting fit parameters...

4FGL J1516.9+1934
   Spectrum: PowerLaw
225    Prefactor:  2.297e-02  1.438e+00  0.000e+00  1.000e+06 ( 1.000e-13)
226        Index:  6.184e+00  3.408e+01  0.000e+00  1.000e+01 (-1.000e+00)
227        Scale:  7.139e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
500    Prefactor:  1.203e+00  7.185e-02  0.000e+00  1.000e+01 ( 1.000e+00)
501        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
502        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
499   Normalization:  6.184e-01  1.086e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 229.244 19.581

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/159737/cmap_HighResolution_683596801_683856001_4FGL_J1516.9+1934_daily_bin1714.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.32e-03', job_status='DONE', photon_flux_upper_limit='8.08e-08', time_completed='2022-09-16 19:13:06.454604', job_id='159737', GAL2='1.20', fit_tolerance='1e-08', EG2='0.62', EG='0.63', time_epoch_completed='1663380786.45', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.20', dlogl='2.36e-02', ts2='0.05', photon_index_error='0.00', photon_index='2.58' WHERE bin_id='1714' AND source_name='4FGL J1516.9+1934' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 19:13:06 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0203>
Subject: Job 159737: <4FGL_J1516.9+1934_daily_bin1714> in cluster <slac> Done

Job <4FGL_J1516.9+1934_daily_bin1714> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 16 19:00:22 2022
Job was executed on host(s) <bullet0203>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 19:01:36 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 19:01:36 2022
Terminated at Fri Sep 16 19:13:07 2022
Results reported at Fri Sep 16 19:13:07 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1516.9+1934_daily_bin1714 229.244 19.5805 683596801 683856001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1516.9+1934 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   519.19 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             272.61 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   690 sec.
    Turnaround time :                            765 sec.

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

