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


Performing analysis on: 4FGL_J1516.9+1934_daily_bin1708
RA = 229.244, Dec = 19.5805
tmin = 682041601, tmax = 682300801
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='159729', job_status='RUN', time_executed='2022-09-16 19:03:38.468717', time_epoch_executed='1663380218.47' WHERE source_name='4FGL J1516.9+1934' and cadence='daily' and bin_id='1708'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/159729

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/159729/ft1_4FGL_J1516.9+1934_daily_bin1708.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/159729/ft2_4FGL_J1516.9+1934_daily_bin1708.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/159729/ft1_4FGL_J1516.9+1934_daily_bin1708.fits outfile=/scratch/kocevski/159729/ft1_filteredMKT_4FGL_J1516.9+1934_daily_bin1708.fits ra=229.244 dec=19.5805 rad=12.0 tmin=682041601.0 tmax=682300801.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 4.01
user 3.74
sys 0.23

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

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

Number of photons that the gtmktime cut: 628

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/159729/ft1_filtered_4FGL_J1516.9+1934_daily_bin1708.fits" evtable="EVENTS" scfile=/scratch/kocevski/159729/ft2_4FGL_J1516.9+1934_daily_bin1708.fits sctable="SC_DATA" outfile=/scratch/kocevski/159729/ltcube_682041601_682300801_4FGL_J1516.9+1934_daily_bin1708.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/159729/ft2_4FGL_J1516.9+1934_daily_bin1708.fits
.....................!
real 14.19
user 13.70
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/159729/ft1_filtered_4FGL_J1516.9+1934_daily_bin1708.fits evtable="EVENTS" scfile=/scratch/kocevski/159729/ft2_4FGL_J1516.9+1934_daily_bin1708.fits sctable="SC_DATA" expcube=/scratch/kocevski/159729/ltcube_682041601_682300801_4FGL_J1516.9+1934_daily_bin1708.fits outfile=/scratch/kocevski/159729/expmap_682041601_682300801_4FGL_J1516.9+1934_daily_bin1708.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/159729/ltcube_682041601_682300801_4FGL_J1516.9+1934_daily_bin1708.fits
.....................!
real 192.43
user 185.81
sys 5.85

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/159729/ft1_filtered_4FGL_J1516.9+1934_daily_bin1708.fits scfile=/scratch/kocevski/159729/ft2_4FGL_J1516.9+1934_daily_bin1708.fits outfile=/scratch/kocevski/159729/cmap_682041601_682300801_4FGL_J1516.9+1934_daily_bin1708.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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/159729/ft1_filtered_4FGL_J1516.9+1934_daily_bin1708.fits scfile=/scratch/kocevski/159729/ft2_4FGL_J1516.9+1934_daily_bin1708.fits outfile=/scratch/kocevski/159729/cmap_HighResolution_682041601_682300801_4FGL_J1516.9+1934_daily_bin1708.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/159729/ft1_filtered_4FGL_J1516.9+1934_daily_bin1708.fits evtable="EVENTS" scfile=/scratch/kocevski/159729/ft2_4FGL_J1516.9+1934_daily_bin1708.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/159729/Model_4FGL_J1516.9+1934_daily_bin1708.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/159729/ft1_filtered_4FGL_J1516.9+1934_daily_bin1708.fits.....................!
real 55.69
user 54.29
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .88636E-05   1.0000          .0000       .10000E+07
     2 'norm      '    .20265E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    17.032       1.0000          .0000       .10000E+07
     4 'Prefactor '    .31887E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .12462E-02   1.0000          .0000       .10000E+07
     6 'norm      '    .64175       1.0000          .0000       .10000E+07
     7 'norm      '    5.4696       1.0000          .0000       .10000E+07
     8 'norm      '    .36998E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    51.894       1.0000          .0000       .10000E+07
    10 'Prefactor '    .21337E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .45376E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .20594E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    4.0312       1.0000          .0000       .10000E+07
    14 'norm      '    4.6295       1.0000          .0000       .10000E+07
    15 'norm      '    2.5592       1.0000          .0000       .10000E+07
    16 'Prefactor '    .37088E-03   1.0000          .0000       .10000E+07
    17 'Normalizat'    .95777       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .98884       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=   7143.454     FROM MIGRAD    STATUS=CONVERGED    132 CALLS     1276 TOTAL
                     EDM=   .68E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        1.6696       -.28956E-07** at limit **
   2  norm          .11102E-09    1.5881       -.11920E-06** at limit **
   3  Prefactor     17.394        23.447       -.11304E-06    .33289E-01
   4  Prefactor     .72164E-09    8.5064       -.10284E-06** at limit **
   5  Prefactor     .19984E-08    6.2717       -.18664E-06** at limit **
   6  norm          .64188        .20395        .10088E-08    .20619E-02
   7  norm          5.4378        5.3313       -.67664E-08   -.21044E-03
   8  norm          .21719E-05    8.2643       -.87563E-07** at limit **
   9  Prefactor     52.190        43.108        .49967E-07   -.34049E-01
  10  Prefactor      .0000        4.0210       -.31858E-08** at limit **
  11  Prefactor     .22728E-05    8.3133       -.12835E-07** at limit **
  12  Prefactor     .16653E-09    2.8123        .15714E-06** at limit **
  13  Prefactor     4.1545        7.6554        .37778E-07    .44807E-02
  14  norm          4.6351        2.6553       -.26168E-09   -.59016E-03
  15  norm          2.5539        8.4603       -.10199E-06   -.31415E-03
  16  Prefactor     .55511E-10    5.5915       -.95086E-07** at limit **
  17  Normalizat    .95732        .25460        .19966E-05   -.13847E-04
  18  Prefactor     .98881        .15621       -.13349E-05   -.10110E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 1.11022e-10
  Prefactor  = 17.3937
  Prefactor  = 7.21645e-10
  Prefactor  = 1.9984e-09
  norm       = 0.641881
  norm       = 5.43785
  norm       = 2.17187e-06
  Prefactor  = 52.1901
  Prefactor  = 0
  Prefactor  = 2.27285e-06
  Prefactor  = 1.66533e-10
  Prefactor  = 4.15447
  norm       = 4.63515
  norm       = 2.55387
  Prefactor  = 5.55112e-11
  Normalizat = 0.957317
  Prefactor  = 0.988814
 **********
 **   18 **HESSE 
 **********

 FCN=   7143.454     FROM HESSE     STATUS=OK           278 CALLS     1554 TOTAL
                     EDM=   .59E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        1.6604        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .11102E-09    1.5864        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     17.394        24.594        .24242E-03   -1.5625    
   4  Prefactor     .72164E-09    8.5026        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .19984E-08    6.2565        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .64188        .20509        .46456E-03   -1.5692    
   7  norm          5.4378        5.3298        .42940E-03   -1.5661    
   8  norm          .21719E-05    13.796        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     52.190        46.045        .13883E-03   -1.5563    
  10  Prefactor      .0000        4.0205        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .22728E-05    14.096        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .16653E-09    2.7888        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.1545        94.400        .50200E-03   -1.5667    
  14  norm          4.6351        2.6748        .46753E-03   -1.5665    
  15  norm          2.5539        8.4850        .63791E-03   -1.5676    
  16  Prefactor     .55511E-10    5.5868        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .95732        .21029        .72134E-01   -.94474    
  18  Prefactor     .98881        .12718        .46128E-01   -.93103    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.86154e-07
Minuit parameter uncertainties:
  1  6.3088e-06
  2  2.3867e-05
  3  24.5942
  4  0.000155518
  5  0.000223398
  6  0.205086
  7  5.32982
  8  0.0109477
  9  46.0449
  10  3.57666e-06
  11  0.0113206
  12  4.08348e-05
  13  39.6078
  14  2.67476
  15  8.48502
  16  3.4582e-05
  17  0.21047
  18  0.127214
Done.

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

Extracting fit parameters...

4FGL J1516.9+1934
   Spectrum: PowerLaw
225    Prefactor:  5.219e+01  4.604e+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:  9.888e-01  1.272e-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.573e-01  2.105e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.34
Ra Dec: 229.244 19.581
Photon Index (Fixed Index): 2.58 +/- 0.00
Photon Flux (Fixed Index): 5.27e-08 +/- 4.64e-08
Energy Flux (Fixed Index): 1.41e-05 +/- 1.24e-05

TS (Fixed Index): 2.34
Ra Dec: 229.244 19.581
Photon Flux Upper Limit: 1.55e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.21e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/159729/likelihoodResults_682041601_682300801_4FGL_J1516.9+1934_daily_bin1708.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) = 7143.37766875
delta logL = 0.0763754163509

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7143.37508376
delta logL = 0.0789604114734

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    61.282       1.0000          .0000       .10000E+07
     2 'Index     '    2.3409       1.0000          .0000       10.000    
     3 'Normalizat'    .96648       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98480       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=   7143.375     FROM MIGRAD    STATUS=CONVERGED     61 CALLS      264 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     61.452        1709.0        .12775E-03    .11934E-03
   2  Index         2.3432        6.1144        .24138        .38075E-04
   3  Normalizat    .96638        .87272E-01    .71828E-01    .20840E-04
   4  Prefactor     .98470        .52794E-01    .46077E-01    .21178E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 61.4523
  Index      = 2.34316
  Normalizat = 0.966377
  Prefactor  = 0.984698
 **********
 **   18 **HESSE 
 **********

 FCN=   7143.375     FROM HESSE     STATUS=OK            31 CALLS      295 TOTAL
                     EDM=   .44E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     61.452        56.577        .51100E-05   -1.5551    
   2  Index         2.3432        .58124        .82708E-02   -.56022    
   3  Normalizat    .96638        .25198        .31781E-03   -.94165    
   4  Prefactor     .98470        .15554        .19369E-03   -.93241    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.37146e-10
Minuit parameter uncertainties:
  1  56.5774
  2  0.583082
  3  0.252286
  4  0.15561
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/159729': 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) = 7143.37506675
delta logL = 0.0789774174473

Extracting fit parameters...

4FGL J1516.9+1934
   Spectrum: PowerLaw
225    Prefactor:  6.145e+01  5.658e+01  0.000e+00  1.000e+06 ( 1.000e-13)
226        Index:  2.343e+00  5.831e-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:  9.847e-01  1.556e-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.664e-01  2.523e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.48
Ra Dec: 229.244 19.581
Photon Index (Free Index): 2.34 +/- 0.58
Photon Flux (Free Index): 4.58e-08 +/- 4.54e-08
Energy Flux (Free Index): 1.62e-05 +/- 1.57e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/159729/cmap_HighResolution_682041601_682300801_4FGL_J1516.9+1934_daily_bin1708.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.21e-02', comment='SUCCESS', photon_flux='5.27e-08', energy_flux2='1.62e-05', photon_flux_error='4.64e-08', dlogl='7.90e-02', energy_flux='1.41e-05', photon_flux2='4.58e-08', job_status='DONE', time_completed='2022-09-16 19:12:30.164842', photon_index_error2='0.58', photon_index2='2.34', ts='2.34', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', photon_flux_upper_limit='1.55e-07', energy_flux_error2='1.57e-05', EG='0.96', time_epoch_completed='1663380750.16', return_code='0', job_id='159729', GAL2='0.98', EG2='0.97', return_code2='0', energy_flux_error='1.24e-05', photon_flux_error2='4.54e-08', ts2='2.48', photon_index='2.58' WHERE bin_id='1708' AND source_name='4FGL J1516.9+1934' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 19:12:30 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0261>
Subject: Job 159729: <4FGL_J1516.9+1934_daily_bin1708> in cluster <slac> Done

Job <4FGL_J1516.9+1934_daily_bin1708> 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) <bullet0261>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 19:01:23 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:23 2022
Terminated at Fri Sep 16 19:12:30 2022
Results reported at Fri Sep 16 19:12:30 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1516.9+1934_daily_bin1708 229.244 19.5805 682041601 682300801 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 :                                   532.14 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             301.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   667 sec.
    Turnaround time :                            728 sec.

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

