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


Performing analysis on: 4FGL_J1516.9+1934_daily_bin1756
RA = 229.244, Dec = 19.5805
tmin = 694483201, tmax = 694742401
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='17183', job_status='RUN', time_executed='2023-01-07 01:11:10.910941', time_epoch_executed='1673082670.91' WHERE source_name='4FGL J1516.9+1934' and cadence='daily' and bin_id='1756'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/17183

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/17183/ft1_4FGL_J1516.9+1934_daily_bin1756.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/17183/ft2_4FGL_J1516.9+1934_daily_bin1756.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/17183/ft1_4FGL_J1516.9+1934_daily_bin1756.fits outfile=/scratch/kocevski/17183/ft1_filteredMKT_4FGL_J1516.9+1934_daily_bin1756.fits ra=229.244 dec=19.5805 rad=12.0 tmin=694483201.0 tmax=694742401.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 2.99
user 2.74
sys 0.22

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

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

Number of photons that the gtmktime cut: 1122

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/17183/ft1_filtered_4FGL_J1516.9+1934_daily_bin1756.fits" evtable="EVENTS" scfile=/scratch/kocevski/17183/ft2_4FGL_J1516.9+1934_daily_bin1756.fits sctable="SC_DATA" outfile=/scratch/kocevski/17183/ltcube_694483201_694742401_4FGL_J1516.9+1934_daily_bin1756.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/17183/ft2_4FGL_J1516.9+1934_daily_bin1756.fits
.....................!
real 16.48
user 15.97
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/17183/ft1_filtered_4FGL_J1516.9+1934_daily_bin1756.fits evtable="EVENTS" scfile=/scratch/kocevski/17183/ft2_4FGL_J1516.9+1934_daily_bin1756.fits sctable="SC_DATA" expcube=/scratch/kocevski/17183/ltcube_694483201_694742401_4FGL_J1516.9+1934_daily_bin1756.fits outfile=/scratch/kocevski/17183/expmap_694483201_694742401_4FGL_J1516.9+1934_daily_bin1756.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/17183/ltcube_694483201_694742401_4FGL_J1516.9+1934_daily_bin1756.fits
.....................!
real 192.25
user 186.83
sys 4.95

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/17183/ft1_filtered_4FGL_J1516.9+1934_daily_bin1756.fits scfile=/scratch/kocevski/17183/ft2_4FGL_J1516.9+1934_daily_bin1756.fits outfile=/scratch/kocevski/17183/cmap_694483201_694742401_4FGL_J1516.9+1934_daily_bin1756.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.57
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/17183/ft1_filtered_4FGL_J1516.9+1934_daily_bin1756.fits scfile=/scratch/kocevski/17183/ft2_4FGL_J1516.9+1934_daily_bin1756.fits outfile=/scratch/kocevski/17183/cmap_HighResolution_694483201_694742401_4FGL_J1516.9+1934_daily_bin1756.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.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/17183/ft1_filtered_4FGL_J1516.9+1934_daily_bin1756.fits evtable="EVENTS" scfile=/scratch/kocevski/17183/ft2_4FGL_J1516.9+1934_daily_bin1756.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/17183/Model_4FGL_J1516.9+1934_daily_bin1756.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/17183/ft1_filtered_4FGL_J1516.9+1934_daily_bin1756.fits.....................!
real 83.19
user 81.74
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/17183/ft1_filtered_4FGL_J1516.9+1934_daily_bin1756.fits', '/scratch/kocevski/17183/ft2_4FGL_J1516.9+1934_daily_bin1756.fits', expMap='/scratch/kocevski/17183/expmap_694483201_694742401_4FGL_J1516.9+1934_daily_bin1756.fits', expCube='/scratch/kocevski/17183/ltcube_694483201_694742401_4FGL_J1516.9+1934_daily_bin1756.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/17183/Model_4FGL_J1516.9+1934_daily_bin1756.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/17183/ft1_filtered_4FGL_J1516.9+1934_daily_bin1756.fits
Spacecraft file(s): /scratch/kocevski/17183/ft2_4FGL_J1516.9+1934_daily_bin1756.fits
Exposure map: /scratch/kocevski/17183/expmap_694483201_694742401_4FGL_J1516.9+1934_daily_bin1756.fits
Exposure cube: /scratch/kocevski/17183/ltcube_694483201_694742401_4FGL_J1516.9+1934_daily_bin1756.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/17183/Model_4FGL_J1516.9+1934_daily_bin1756.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) = 12105.0436923

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .54068E-07   1.0000          .0000       .10000E+07
     2 'norm      '    1.9460       1.0000          .0000       .10000E+07
     3 'Prefactor '    6.7797       1.0000          .0000       .10000E+07
     4 'Prefactor '    .16830E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    13.886       1.0000          .0000       .10000E+07
     6 'norm      '    .40546       1.0000          .0000       .10000E+07
     7 'norm      '    7.2408       1.0000          .0000       .10000E+07
     8 'norm      '    .53229E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .11141       1.0000          .0000       .10000E+07
    10 'Prefactor '    .75845E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    .10905E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .83267E-07   1.0000          .0000       .10000E+07
    13 'Prefactor '    .61069E-03   1.0000          .0000       .10000E+07
    14 'norm      '    1.0554       1.0000          .0000       .10000E+07
    15 'norm      '    12.742       1.0000          .0000       .10000E+07
    16 'Prefactor '    .94271E-05   1.0000          .0000       .10000E+07
    17 'Normalizat'    .73221       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.2517       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=   12104.99     FROM MIGRAD    STATUS=CONVERGED    126 CALLS     1037 TOTAL
                     EDM=   .39E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        1.3726       -.24368E-07** at limit **
   2  norm          1.9449        2.1077       -.90223E-07   -.40528E-03
   3  Prefactor     6.5180        5.9734        .38355E-07   -.20111E-01
   4  Prefactor     .94924E-08    50.172       -.18865E-07** at limit **
   5  Prefactor     13.883        7.1206       -.59648E-08   -.31435E-02
   6  norm          .40537        .14193       -.11903E-07   -.23054E-02
   7  norm          7.2696        4.8961        .42204E-08   -.25753E-05
   8  norm          .34972E-08    10.592       -.65994E-07** at limit **
   9  Prefactor     .17203E-06    84.110       -.37200E-06** at limit **
  10  Prefactor      .0000        1.5610       -.47177E-07** at limit **
  11  Prefactor      .0000        5.4496        .17824E-08** at limit **
  12  Prefactor      .0000        .40742        .15461E-07** at limit **
  13  Prefactor      .0000        6.6032       -.35921E-07** at limit **
  14  norm          1.0550        1.1951       -.20129E-07    .28529E-04
  15  norm          12.755        6.6287       -.11064E-07   -.55398E-03
  16  Prefactor      .0000        2.8175       -.29730E-07** at limit **
  17  Normalizat    .73266        .18218        .10882E-05    .17231E-05
  18  Prefactor     1.2516        .12098       -.67290E-09    .66590E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 1.94489
  Prefactor  = 6.51797
  Prefactor  = 9.49241e-09
  Prefactor  = 13.8829
  norm       = 0.405371
  norm       = 7.2696
  norm       = 3.4972e-09
  Prefactor  = 1.72029e-07
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 1.05501
  norm       = 12.7554
  Prefactor  = 0
  Normalizat = 0.732655
  Prefactor  = 1.2516
 **********
 **   18 **HESSE 
 **********

 FCN=   12104.99     FROM HESSE     STATUS=OK           286 CALLS     1323 TOTAL
                     EDM=   .21E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        1.3615        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.9449        2.1125        .74376E-03   -1.5680    
   3  Prefactor     6.5180        18.233        .38511E-03   -1.5657    
   4  Prefactor     .94924E-08    50.372        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     13.883        7.1323        .26853E-03   -1.5633    
   6  norm          .40537        .14364        .53403E-03   -1.5695    
   7  norm          7.2696        4.8944        .37252E-03   -1.5654    
   8  norm          .34972E-08    10.776        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .17203E-06    11.639        .20771E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        1.5616        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        5.4584        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        .40631        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        6.6206        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.0550        1.4929        .28987E-02   -1.5687    
  15  norm          12.755        6.6534        .28036E-03   -1.5637    
  16  Prefactor      .0000        2.8180        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .73266        .16187        .79118E-01   -1.0262    
  18  Prefactor     1.2516        .10497        .33510E-01   -.84758    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.13943e-08
Minuit parameter uncertainties:
  1  8.98938e-07
  2  2.11248
  3  18.2328
  4  0.00138197
  5  7.13234
  6  0.143643
  7  4.89445
  8  0.000388276
  9  0.00282994
  10  3.87674e-07
  11  2.50069e-06
  12  1.79365e-07
  13  1.68699e-06
  14  1.49286
  15  6.65344
  16  5.76186e-07
  17  0.161978
  18  0.104992
Done.

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

Extracting fit parameters...

4FGL J1516.9+1934
   Spectrum: PowerLaw
225    Prefactor:  1.720e-07  2.830e-03  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.252e+00  1.050e-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:  7.327e-01  1.620e-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: 6.64e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.19e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/17183/likelihoodResults_694483201_694742401_4FGL_J1516.9+1934_daily_bin1756.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) = 12104.9956587
delta logL = -0.00575022921839

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12104.9890554
delta logL = 0.000853129593452

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .37879       1.0000          .0000       .10000E+07
     2 'Index     '    3.6343       1.0000          .0000       10.000    
     3 'Normalizat'    .73006       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2521       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=   12104.99     FROM MIGRAD    STATUS=CONVERGED     74 CALLS      270 TOTAL
                     EDM=   .60E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .42259        8.1390        .91987E-02    .45858E-02
   2  Index         3.5284        1.8033        .50000        .43096E-05
   3  Normalizat    .73090        .46718E-02    .79207E-01    .59615E-04
   4  Prefactor     1.2520        .31066E-02    .33501E-01    .34149E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.422588
  Index      = 3.52843
  Normalizat = 0.730904
  Prefactor  = 1.25203
 **********
 **   18 **HESSE 
 **********

 FCN=   12104.99     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      305 TOTAL
                     EDM=   .91E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .42259        7927.8        .49552E-03   -1.5695    
   2  Index         3.5284        5.1716        .33606E-01   -.29874    
   3  Normalizat    .73090        .82246E-01    .35068E-03   -1.0269    
   4  Prefactor     1.2520        .51163E-01    .18214E-03   -.84745    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.12797e-08
Minuit parameter uncertainties:
  1  115.915
  2  120.445
  3  0.0822594
  4  0.0511648
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/17183': 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) = 12104.9889933
delta logL = 0.000915248692763

Extracting fit parameters...

4FGL J1516.9+1934
   Spectrum: PowerLaw
225    Prefactor:  4.226e-01  1.159e+02  0.000e+00  1.000e+06 ( 1.000e-13)
226        Index:  3.528e+00  1.204e+02  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.252e+00  5.116e-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:  7.309e-01  8.226e-02  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/17183/cmap_HighResolution_694483201_694742401_4FGL_J1516.9+1934_daily_bin1756.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.19e-03', job_status='DONE', photon_flux_upper_limit='6.64e-08', time_completed='2023-01-07 01:21:52.422082', job_id='17183', GAL2='1.25', fit_tolerance='1e-08', EG2='0.73', EG='0.73', time_epoch_completed='1673083312.42', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.25', dlogl='9.15e-04', ts2='0.00', photon_index_error='0.00', photon_index='2.58' WHERE bin_id='1756' AND source_name='4FGL J1516.9+1934' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jan  7 01:21:52 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0241>
Subject: Job 17183: <4FGL_J1516.9+1934_daily_bin1756> in cluster <slac> Done

Job <4FGL_J1516.9+1934_daily_bin1756> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Jan  7 01:05:26 2023
Job was executed on host(s) <bullet0241>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jan  7 01:07:34 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jan  7 01:07:34 2023
Terminated at Sat Jan  7 01:21:53 2023
Results reported at Sat Jan  7 01:21:53 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1516.9+1934_daily_bin1756 229.244 19.5805 694483201 694742401 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 :                                   643.35 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             295.20 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   858 sec.
    Turnaround time :                            987 sec.

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

