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


Performing analysis on: 4FGL_J1516.9+1934_daily_bin1758
RA = 229.244, Dec = 19.5805
tmin = 695001601, tmax = 695260801
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='369251', job_status='RUN', time_executed='2023-01-13 00:59:30.425103', time_epoch_executed='1673600370.43' WHERE source_name='4FGL J1516.9+1934' and cadence='daily' and bin_id='1758'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/369251

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/369251/ft1_4FGL_J1516.9+1934_daily_bin1758.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/369251/ft2_4FGL_J1516.9+1934_daily_bin1758.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/369251/ft1_4FGL_J1516.9+1934_daily_bin1758.fits outfile=/scratch/kocevski/369251/ft1_filteredMKT_4FGL_J1516.9+1934_daily_bin1758.fits ra=229.244 dec=19.5805 rad=12.0 tmin=695001601.0 tmax=695260801.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.76
user 2.54
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/369251/ft2_4FGL_J1516.9+1934_daily_bin1758.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/369251/ft1_filteredMKT_4FGL_J1516.9+1934_daily_bin1758.fits evtable="EVENTS" outfile="/scratch/kocevski/369251/ft1_filtered_4FGL_J1516.9+1934_daily_bin1758.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.50
user 0.36
sys 0.14

Number of photons that the gtmktime cut: 991

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/369251/ft1_filtered_4FGL_J1516.9+1934_daily_bin1758.fits" evtable="EVENTS" scfile=/scratch/kocevski/369251/ft2_4FGL_J1516.9+1934_daily_bin1758.fits sctable="SC_DATA" outfile=/scratch/kocevski/369251/ltcube_695001601_695260801_4FGL_J1516.9+1934_daily_bin1758.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/369251/ft2_4FGL_J1516.9+1934_daily_bin1758.fits
.....................!
real 16.07
user 15.61
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/369251/ft1_filtered_4FGL_J1516.9+1934_daily_bin1758.fits evtable="EVENTS" scfile=/scratch/kocevski/369251/ft2_4FGL_J1516.9+1934_daily_bin1758.fits sctable="SC_DATA" expcube=/scratch/kocevski/369251/ltcube_695001601_695260801_4FGL_J1516.9+1934_daily_bin1758.fits outfile=/scratch/kocevski/369251/expmap_695001601_695260801_4FGL_J1516.9+1934_daily_bin1758.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/369251/ltcube_695001601_695260801_4FGL_J1516.9+1934_daily_bin1758.fits
.....................!
real 192.66
user 186.76
sys 4.88

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 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/369251/ft1_filtered_4FGL_J1516.9+1934_daily_bin1758.fits scfile=/scratch/kocevski/369251/ft2_4FGL_J1516.9+1934_daily_bin1758.fits outfile=/scratch/kocevski/369251/cmap_695001601_695260801_4FGL_J1516.9+1934_daily_bin1758.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/369251/ft1_filtered_4FGL_J1516.9+1934_daily_bin1758.fits scfile=/scratch/kocevski/369251/ft2_4FGL_J1516.9+1934_daily_bin1758.fits outfile=/scratch/kocevski/369251/cmap_HighResolution_695001601_695260801_4FGL_J1516.9+1934_daily_bin1758.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.55
user 0.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.9422       1.0000          .0000       .10000E+07
     2 'norm      '    4.4664       1.0000          .0000       .10000E+07
     3 'Prefactor '    .13222       1.0000          .0000       .10000E+07
     4 'Prefactor '    .82820E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    7.5801       1.0000          .0000       .10000E+07
     6 'norm      '    .31520       1.0000          .0000       .10000E+07
     7 'norm      '    .94515       1.0000          .0000       .10000E+07
     8 'norm      '    86.651       1.0000          .0000       .10000E+07
     9 'Prefactor '    25.281       1.0000          .0000       .10000E+07
    10 'Prefactor '    .19054E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    5.3316       1.0000          .0000       .10000E+07
    12 'Prefactor '    .82817E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    9.1355       1.0000          .0000       .10000E+07
    14 'norm      '    1.7255       1.0000          .0000       .10000E+07
    15 'norm      '    4.8516       1.0000          .0000       .10000E+07
    16 'Prefactor '    .87063E-02   1.0000          .0000       .10000E+07
    17 'Normalizat'    .57305       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.2745       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=   10741.51     FROM MIGRAD    STATUS=CONVERGED    127 CALLS     1291 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.9391        1.7186        .46129E-06    .64499E-02
   2  norm          4.4666        3.4788       -.41407E-07   -.15261E-01
   3  Prefactor      .0000        19.169        .28233E-05** at limit **
   4  Prefactor     .49960E-09    7.9045       -.14914E-05** at limit **
   5  Prefactor     7.5777        5.3627       -.12214E-06   -.70918E-03
   6  norm          .31517        .13548        .12163E-08    .10555    
   7  norm          .92041        .51905       -.95241E-06   -.29382E-01
   8  norm          85.640        47.959       -.68305E-05    .33948E-01
   9  Prefactor     25.074        11.595        .30007E-05   -.11458    
  10  Prefactor      .0000        2.1406       -.15521E-05** at limit **
  11  Prefactor     5.3210        17.292       -.64715E-05   -.19437E-02
  12  Prefactor      .0000        .69738        .78271E-06** at limit **
  13  Prefactor     8.6111        23.776       -.19793E-04   -.23017E-01
  14  norm          1.7253        1.7965        .71907E-06   -.22226E-02
  15  norm          4.8426        5.0261        .62838E-06   -.70273E-03
  16  Prefactor     .23959E-06    56.104        .13363E-04** at limit **
  17  Normalizat    .57378        .19222        .63860E-05    .19762E-03
  18  Prefactor     1.2748        .12772        .31436E-05    .41794E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.9391
  norm       = 4.46664
  Prefactor  = 0
  Prefactor  = 4.996e-10
  Prefactor  = 7.57768
  norm       = 0.315172
  norm       = 0.920413
  norm       = 85.6398
  Prefactor  = 25.0736
  Prefactor  = 0
  Prefactor  = 5.32099
  Prefactor  = 0
  Prefactor  = 8.61108
  norm       = 1.72531
  norm       = 4.8426
  Prefactor  = 2.39586e-07
  Normalizat = 0.573779
  Prefactor  = 1.27476
 **********
 **   18 **HESSE 
 **********

 FCN=   10741.51     FROM HESSE     STATUS=OK           288 CALLS     1579 TOTAL
                     EDM=   .76E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.9391        1.7321        .74462E-03   -1.5680    
   2  norm          4.4666        3.4975        .47621E-03   -1.5666    
   3  Prefactor      .0000        18.424        .13134E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .49960E-09    7.9056        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     7.5777        5.3645        .36401E-03   -1.5653    
   6  norm          .31517        .13812        .54248E-03   -1.5697    
   7  norm          .92041        5.7786        .42687E-03   -1.5689    
   8  norm          85.640        49.094        .10743E-03   -1.5523    
   9  Prefactor     25.074        35.356        .19893E-03   -1.5608    
  10  Prefactor      .0000        2.1454        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.3210        17.311        .43502E-03   -1.5662    
  12  Prefactor      .0000        .69758        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     8.6111        24.643        .33135E-03   -1.5649    
  14  norm          1.7253        1.8180        .79914E-03   -1.5682    
  15  norm          4.8426        5.0379        .45646E-03   -1.5664    
  16  Prefactor     .23959E-06    53.811        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .57378        .17675        .86351E-01   -1.0911    
  18  Prefactor     1.2748        .11418        .33069E-01   -.84061    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.59143e-07
Minuit parameter uncertainties:
  1  1.73209
  2  3.49754
  3  3.51333e-05
  4  0.000125109
  5  5.36447
  6  0.138117
  7  4.61248
  8  49.0944
  9  35.3561
  10  4.75946e-06
  11  17.3111
  12  4.55144e-06
  13  24.6428
  14  1.81799
  15  5.03792
  16  0.00718159
  17  0.176926
  18  0.114198
Done.

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

Extracting fit parameters...

4FGL J1516.9+1934
   Spectrum: PowerLaw
225    Prefactor:  2.507e+01  3.536e+01  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.275e+00  1.142e-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:  5.738e-01  1.769e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/369251/likelihoodResults_695001601_695260801_4FGL_J1516.9+1934_daily_bin1758.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) = 10740.5317807
delta logL = 0.978452697493

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10740.4829423
delta logL = 1.02729105499

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.1070       1.0000          .0000       .10000E+07
     2 'Index     '    4.7123       1.0000          .0000       10.000    
     3 'Normalizat'    .51946       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2992       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=   10740.48     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      279 TOTAL
                     EDM=   .52E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.0988        25.918        .71053E-03    .51389E-02
   2  Index         4.7145        3.0756        .13291        .18773E-03
   3  Normalizat    .51944        .46569E-01    .90499E-01    .48433E-05
   4  Prefactor     1.2993        .30749E-01    .32624E-01   -.14072E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.09881
  Index      = 4.71445
  Normalizat = 0.519444
  Prefactor  = 1.29928
 **********
 **   18 **HESSE 
 **********

 FCN=   10740.48     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      312 TOTAL
                     EDM=   .11E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.0988        51.640        .10117E-04   -1.5679    
   2  Index         4.7145        7.1676        .65930E-02   -.57140E-01
   3  Normalizat    .51944        .16332        .40092E-03   -1.1152    
   4  Prefactor     1.2993        .10768        .17424E-03   -.83328    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.14934e-06
Minuit parameter uncertainties:
  1  20.8215
  2  5.59924
  3  0.163474
  4  0.107694
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/369251': 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) = 10740.4829407
delta logL = 1.0272926375

Extracting fit parameters...

4FGL J1516.9+1934
   Spectrum: PowerLaw
225    Prefactor:  2.099e+00  2.082e+01  0.000e+00  1.000e+06 ( 1.000e-13)
226        Index:  4.714e+00  5.599e+00  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.299e+00  1.077e-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:  5.194e-01  1.635e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.91
Ra Dec: 229.244 19.581
Photon Index (Free Index): 4.71 +/- 5.60
Photon Flux (Free Index): 6.01e-08 +/- 4.79e-08
Energy Flux (Free Index): 8.20e-06 +/- 9.65e-06

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/369251/cmap_HighResolution_695001601_695260801_4FGL_J1516.9+1934_daily_bin1758.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.76e-03', comment='SUCCESS', energy_flux2='8.20e-06', dlogl='1.03e+00', photon_flux2='6.01e-08', job_status='DONE', time_completed='2023-01-13 01:10:02.533552', photon_index_error2='5.60', photon_index2='4.71', ts='0.63', fit_tolerance='1e-08', GAL='1.27', photon_index_error='0.00', photon_flux_upper_limit='9.93e-08', energy_flux_error2='9.65e-06', EG='0.57', time_epoch_completed='1673601002.53', return_code='0', job_id='369251', GAL2='1.30', EG2='0.52', return_code2='102', photon_flux_error2='4.79e-08', ts2='2.91', photon_index='2.58' WHERE bin_id='1758' AND source_name='4FGL J1516.9+1934' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jan 13 01:10:02 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0047>
Subject: Job 369251: <4FGL_J1516.9+1934_daily_bin1758> in cluster <slac> Done

Job <4FGL_J1516.9+1934_daily_bin1758> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Jan 13 00:55:19 2023
Job was executed on host(s) <bullet0047>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Jan 13 00:57:12 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Jan 13 00:57:12 2023
Terminated at Fri Jan 13 01:10:03 2023
Results reported at Fri Jan 13 01:10:03 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1516.9+1934_daily_bin1758 229.244 19.5805 695001601 695260801 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 :                                   633.52 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             315.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   770 sec.
    Turnaround time :                            884 sec.

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

