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 198 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_bin1772
RA = 229.244, Dec = 19.5805
tmin = 698630401, tmax = 698889601
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='638216', job_status='RUN', time_executed='2023-02-24 02:03:52.388386', time_epoch_executed='1677233032.39' WHERE source_name='4FGL J1516.9+1934' and cadence='daily' and bin_id='1772'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/638216

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/638216/ft1_4FGL_J1516.9+1934_daily_bin1772.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/638216/ft2_4FGL_J1516.9+1934_daily_bin1772.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/638216/ft1_4FGL_J1516.9+1934_daily_bin1772.fits outfile=/scratch/kocevski/638216/ft1_filteredMKT_4FGL_J1516.9+1934_daily_bin1772.fits ra=229.244 dec=19.5805 rad=12.0 tmin=698630401.0 tmax=698889601.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.00
user 2.79
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/638216/ft2_4FGL_J1516.9+1934_daily_bin1772.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/638216/ft1_filteredMKT_4FGL_J1516.9+1934_daily_bin1772.fits evtable="EVENTS" outfile="/scratch/kocevski/638216/ft1_filtered_4FGL_J1516.9+1934_daily_bin1772.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.49
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 911

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/638216/ft1_filtered_4FGL_J1516.9+1934_daily_bin1772.fits" evtable="EVENTS" scfile=/scratch/kocevski/638216/ft2_4FGL_J1516.9+1934_daily_bin1772.fits sctable="SC_DATA" outfile=/scratch/kocevski/638216/ltcube_698630401_698889601_4FGL_J1516.9+1934_daily_bin1772.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/638216/ft2_4FGL_J1516.9+1934_daily_bin1772.fits
.....................!
real 12.44
user 12.09
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/638216/ft1_filtered_4FGL_J1516.9+1934_daily_bin1772.fits evtable="EVENTS" scfile=/scratch/kocevski/638216/ft2_4FGL_J1516.9+1934_daily_bin1772.fits sctable="SC_DATA" expcube=/scratch/kocevski/638216/ltcube_698630401_698889601_4FGL_J1516.9+1934_daily_bin1772.fits outfile=/scratch/kocevski/638216/expmap_698630401_698889601_4FGL_J1516.9+1934_daily_bin1772.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/638216/ltcube_698630401_698889601_4FGL_J1516.9+1934_daily_bin1772.fits
.....................!
real 190.10
user 184.91
sys 4.84

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/638216/ft1_filtered_4FGL_J1516.9+1934_daily_bin1772.fits scfile=/scratch/kocevski/638216/ft2_4FGL_J1516.9+1934_daily_bin1772.fits outfile=/scratch/kocevski/638216/cmap_698630401_698889601_4FGL_J1516.9+1934_daily_bin1772.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.35
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/638216/ft1_filtered_4FGL_J1516.9+1934_daily_bin1772.fits scfile=/scratch/kocevski/638216/ft2_4FGL_J1516.9+1934_daily_bin1772.fits outfile=/scratch/kocevski/638216/cmap_HighResolution_698630401_698889601_4FGL_J1516.9+1934_daily_bin1772.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.41
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '     .0000       1.0000          .0000       .10000E+07
     2 'norm      '    3.6926       1.0000          .0000       .10000E+07
     3 'Prefactor '    .12279E-01   1.0000          .0000       .10000E+07
     4 'Prefactor '    33.262       1.0000          .0000       .10000E+07
     5 'Prefactor '    1.9084       1.0000          .0000       .10000E+07
     6 'norm      '    .58509       1.0000          .0000       .10000E+07
     7 'norm      '    8.8689       1.0000          .0000       .10000E+07
     8 'norm      '    22.895       1.0000          .0000       .10000E+07
     9 'Prefactor '    20.308       1.0000          .0000       .10000E+07
    10 'Prefactor '    .17549E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    .20817E-07   1.0000          .0000       .10000E+07
    12 'Prefactor '    .59952E-08   1.0000          .0000       .10000E+07
    13 'Prefactor '    .81680E-01   1.0000          .0000       .10000E+07
    14 'norm      '    1.8148       1.0000          .0000       .10000E+07
    15 'norm      '    14.884       1.0000          .0000       .10000E+07
    16 'Prefactor '    .58057E-04   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.0087       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.1177       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=   9732.901     FROM MIGRAD    STATUS=CONVERGED    130 CALLS     1058 TOTAL
                     EDM=   .18E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .55511E-10    1.0649        .45219E-06** at limit **
   2  norm          3.7042        3.7578        .72394E-06    .30477E-02
   3  Prefactor     .55511E-10    61.246       -.49742E-05** at limit **
   4  Prefactor     33.262        23.852       -.33753E-05   -.11376E-02
   5  Prefactor     1.8752        4.5529        .31017E-06   -.18985E-02
   6  norm          .58545        .18089        .55701E-07   -.42792E-01
   7  norm          8.8105        5.5524        .88088E-07   -.51764E-03
   8  norm          22.928        2.5706       -.21724E-06   -.12523E-01
   9  Prefactor     22.174        33.581       -.88082E-05    .97996E-03
  10  Prefactor      .0000        2.4337       -.81676E-08** at limit **
  11  Prefactor     .55511E-10    7.3540        .60992E-06** at limit **
  12  Prefactor      .0000        .74852       -.81296E-06** at limit **
  13  Prefactor      .0000        36.211       -.23947E-06** at limit **
  14  norm          1.8156        1.5719        .47963E-07   -.26539E-03
  15  norm          14.888        7.9402       -.24937E-06    .21334E-03
  16  Prefactor     .22204E-09    3.9246       -.21530E-05** at limit **
  17  Normalizat    1.0069        .21903        .12285E-04   -.16925E-04
  18  Prefactor     1.1181        .13814       -.11015E-05    .65328E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.55112e-11
  norm       = 3.70421
  Prefactor  = 5.55112e-11
  Prefactor  = 33.2623
  Prefactor  = 1.87523
  norm       = 0.585452
  norm       = 8.8105
  norm       = 22.9277
  Prefactor  = 22.1735
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 0
  norm       = 1.81563
  norm       = 14.888
  Prefactor  = 2.22045e-10
  Normalizat = 1.00694
  Prefactor  = 1.11805
 **********
 **   18 **HESSE 
 **********

 FCN=   9732.901     FROM HESSE     STATUS=OK           284 CALLS     1342 TOTAL
                     EDM=   .54E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .55511E-10    1.0601        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.7042        3.7599        .52533E-03   -1.5669    
   3  Prefactor     .55511E-10    60.966        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     33.262        23.858        .17341E-03   -1.5593    
   5  Prefactor     1.8752        4.5849        .75230E-03   -1.5681    
   6  norm          .58545        .18151        .50794E-03   -1.5693    
   7  norm          8.8105        5.5488        .33633E-03   -1.5649    
   8  norm          22.928        25.985        .20905E-03   -1.5612    
   9  Prefactor     22.174        33.613        .22197E-03   -1.5614    
  10  Prefactor      .0000        2.4354        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .55511E-10    7.3812        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        .74629        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        34.515        .14450E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.8156        1.5775        .77507E-03   -1.5681    
  15  norm          14.888        7.9473        .25936E-03   -1.5631    
  16  Prefactor     .22204E-09    3.9241        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.0069        .18508        .72650E-01   -.92798    
  18  Prefactor     1.1181        .11654        .36951E-01   -.88892    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.36584e-07
Minuit parameter uncertainties:
  1  1.77731e-05
  2  3.75987
  3  8.96975e-05
  4  23.858
  5  4.58489
  6  0.18151
  7  5.54876
  8  25.9855
  9  33.6135
  10  5.90387e-06
  11  4.00266e-05
  12  3.00084e-07
  13  3.05849e-05
  14  1.57746
  15  7.94732
  16  5.78267e-05
  17  0.185199
  18  0.116567
Done.

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

Extracting fit parameters...

4FGL J1516.9+1934
   Spectrum: PowerLaw
225    Prefactor:  2.217e+01  3.361e+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.118e+00  1.166e-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:  1.007e+00  1.852e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/638216/likelihoodResults_698630401_698889601_4FGL_J1516.9+1934_daily_bin1772.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) = 9731.87556943
delta logL = 1.02553401908

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9731.84197048
delta logL = 1.05913297099

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.9618       1.0000          .0000       .10000E+07
     2 'Index     '    4.5082       1.0000          .0000       10.000    
     3 'Normalizat'    .92741       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1492       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9731.842     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      308 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.9596        86.562        .12613E-04   -.81954E-02
   2  Index         4.5093        7.1020        .63360E-02   -.14550E-03
   3  Normalizat    .92730        .19188        .33344E-03    .89136E-03
   4  Prefactor     1.1492        .12150        .19351E-03    .14699E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.95956
  Index      = 4.5093
  Normalizat = 0.927296
  Prefactor  = 1.14924
 **********
 **   18 **HESSE 
 **********

 FCN=   9731.842     FROM HESSE     STATUS=OK            25 CALLS      333 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.9596        12.275        .50450E-06   -1.5668    
   2  Index         4.5093        1.8070        .25344E-03   -.98298E-01
   3  Normalizat    .92730        .22313        .66688E-04   -.95508    
   4  Prefactor     1.1492        .13995        .38701E-04   -.87908    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.69716e-09
Minuit parameter uncertainties:
  1  12.2753
  2  1.84925
  3  0.223355
  4  0.139996
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/638216': 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) = 9731.84196853
delta logL = 1.05913491897

Extracting fit parameters...

4FGL J1516.9+1934
   Spectrum: PowerLaw
225    Prefactor:  3.960e+00  1.228e+01  0.000e+00  1.000e+06 ( 1.000e-13)
226        Index:  4.509e+00  1.849e+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.149e+00  1.400e-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:  9.273e-01  2.234e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.01
Ra Dec: 229.244 19.581
Photon Index (Free Index): 4.51 +/- 1.85
Photon Flux (Free Index): 8.01e-08 +/- 5.59e-08
Energy Flux (Free Index): 1.12e-05 +/- 7.87e-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/638216/cmap_HighResolution_698630401_698889601_4FGL_J1516.9+1934_daily_bin1772.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.74e-03', comment='SUCCESS', energy_flux2='1.12e-05', dlogl='1.06e+00', photon_flux2='8.01e-08', job_status='DONE', time_completed='2023-02-24 02:13:14.338691', photon_index_error2='1.85', photon_index2='4.51', ts='0.57', fit_tolerance='1e-08', GAL='1.12', photon_index_error='0.00', photon_flux_upper_limit='9.90e-08', energy_flux_error2='7.87e-06', EG='1.01', time_epoch_completed='1677233594.34', return_code='0', job_id='638216', GAL2='1.15', EG2='0.93', return_code2='0', photon_flux_error2='5.59e-08', ts2='3.01', photon_index='2.58' WHERE bin_id='1772' AND source_name='4FGL J1516.9+1934' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb 24 02:13:14 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0222>
Subject: Job 638216: <4FGL_J1516.9+1934_daily_bin1772> in cluster <slac> Done

Job <4FGL_J1516.9+1934_daily_bin1772> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Feb 24 02:00:23 2023
Job was executed on host(s) <bullet0222>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb 24 02:00:24 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb 24 02:00:24 2023
Terminated at Fri Feb 24 02:13:15 2023
Results reported at Fri Feb 24 02:13:15 2023

Your job looked like:

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

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

