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


Performing analysis on: 4FGL_J1516.9+1934_daily_bin1716
RA = 229.244, Dec = 19.5805
tmin = 684115201, tmax = 684374401
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='159740', job_status='RUN', time_executed='2022-09-16 19:03:13.565284', time_epoch_executed='1663380193.57' WHERE source_name='4FGL J1516.9+1934' and cadence='daily' and bin_id='1716'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/159740

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/159740/ft1_4FGL_J1516.9+1934_daily_bin1716.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/159740/ft2_4FGL_J1516.9+1934_daily_bin1716.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/159740/ft1_4FGL_J1516.9+1934_daily_bin1716.fits outfile=/scratch/kocevski/159740/ft1_filteredMKT_4FGL_J1516.9+1934_daily_bin1716.fits ra=229.244 dec=19.5805 rad=12.0 tmin=684115201.0 tmax=684374401.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.07
user 3.83
sys 0.22

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

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

Number of photons that the gtmktime cut: 702

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/159740/ft1_filtered_4FGL_J1516.9+1934_daily_bin1716.fits" evtable="EVENTS" scfile=/scratch/kocevski/159740/ft2_4FGL_J1516.9+1934_daily_bin1716.fits sctable="SC_DATA" outfile=/scratch/kocevski/159740/ltcube_684115201_684374401_4FGL_J1516.9+1934_daily_bin1716.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/159740/ft2_4FGL_J1516.9+1934_daily_bin1716.fits
.....................!
real 13.15
user 12.75
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/159740/ft1_filtered_4FGL_J1516.9+1934_daily_bin1716.fits evtable="EVENTS" scfile=/scratch/kocevski/159740/ft2_4FGL_J1516.9+1934_daily_bin1716.fits sctable="SC_DATA" expcube=/scratch/kocevski/159740/ltcube_684115201_684374401_4FGL_J1516.9+1934_daily_bin1716.fits outfile=/scratch/kocevski/159740/expmap_684115201_684374401_4FGL_J1516.9+1934_daily_bin1716.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/159740/ltcube_684115201_684374401_4FGL_J1516.9+1934_daily_bin1716.fits
.....................!
real 192.59
user 187.00
sys 5.02

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/159740/ft1_filtered_4FGL_J1516.9+1934_daily_bin1716.fits scfile=/scratch/kocevski/159740/ft2_4FGL_J1516.9+1934_daily_bin1716.fits outfile=/scratch/kocevski/159740/cmap_684115201_684374401_4FGL_J1516.9+1934_daily_bin1716.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/159740/ft1_filtered_4FGL_J1516.9+1934_daily_bin1716.fits scfile=/scratch/kocevski/159740/ft2_4FGL_J1516.9+1934_daily_bin1716.fits outfile=/scratch/kocevski/159740/cmap_HighResolution_684115201_684374401_4FGL_J1516.9+1934_daily_bin1716.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/159740/ft1_filtered_4FGL_J1516.9+1934_daily_bin1716.fits evtable="EVENTS" scfile=/scratch/kocevski/159740/ft2_4FGL_J1516.9+1934_daily_bin1716.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/159740/Model_4FGL_J1516.9+1934_daily_bin1716.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/159740/ft1_filtered_4FGL_J1516.9+1934_daily_bin1716.fits.....................!
real 56.80
user 55.49
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .87076E-05   1.0000          .0000       .10000E+07
     2 'norm      '    4.1642       1.0000          .0000       .10000E+07
     3 'Prefactor '    9.2551       1.0000          .0000       .10000E+07
     4 'Prefactor '    .61360E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    3.7147       1.0000          .0000       .10000E+07
     6 'norm      '    .81424       1.0000          .0000       .10000E+07
     7 'norm      '    3.6626       1.0000          .0000       .10000E+07
     8 'norm      '    .22108E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .19473E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .10578E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    .25920E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    .15332E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    .34274E-03   1.0000          .0000       .10000E+07
    14 'norm      '    7.1223       1.0000          .0000       .10000E+07
    15 'norm      '    .17786E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    3.7240       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.3402       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .94075       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=   7398.986     FROM MIGRAD    STATUS=CONVERGED    140 CALLS     1057 TOTAL
                     EDM=   .26E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        4.9479       -.73691E-07** at limit **
   2  norm          4.1650        5.1979       -.24220E-07    .76209E-04
   3  Prefactor     8.9979        3.5938       -.21900E-07    .12295E-01
   4  Prefactor     .19151E-07    13.649        .12710E-06** at limit **
   5  Prefactor     3.7112        9.7975       -.58263E-07   -.24740E-03
   6  norm          .81423        .22276       -.13962E-07    .46657E-02
   7  norm          3.6628        6.6726        .16943E-06   -.28146E-03
   8  norm          .99920E-09    17.039       -.71871E-07** at limit **
   9  Prefactor      .0000        49.335        .56655E-06** at limit **
  10  Prefactor      .0000        4.5212       -.37443E-06** at limit **
  11  Prefactor     .56455E-07    9.7215        .15708E-06** at limit **
  12  Prefactor      .0000        .52704       -.60152E-07** at limit **
  13  Prefactor     .76050E-08    26.469        .30691E-06** at limit **
  14  norm          7.1239        3.1777       -.15286E-07    .29036E-03
  15  norm          .55511E-10    9.7478       -.72632E-06** at limit **
  16  Prefactor     3.7229        10.347        .51379E-07    .21555E-03
  17  Normalizat    1.3403        .24775        .39906E-05   -.27930E-04
  18  Prefactor     .94091        .15833       -.21797E-05   -.19769E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 4.16502
  Prefactor  = 8.99788
  Prefactor  = 1.91513e-08
  Prefactor  = 3.71118
  norm       = 0.814231
  norm       = 3.66278
  norm       = 9.99201e-10
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 5.64548e-08
  Prefactor  = 0
  Prefactor  = 7.60503e-09
  norm       = 7.12394
  norm       = 5.55112e-11
  Prefactor  = 3.72286
  Normalizat = 1.34026
  Prefactor  = 0.940907
 **********
 **   18 **HESSE 
 **********

 FCN=   7398.986     FROM HESSE     STATUS=OK           280 CALLS     1337 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        4.7327        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          4.1650        5.1994        .49367E-03   -1.5667    
   3  Prefactor     8.9979        19.123        .32919E-03   -1.5648    
   4  Prefactor     .19151E-07    22.632        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.7112        9.8219        .52371E-03   -1.5669    
   6  norm          .81423        .22333        .46219E-03   -1.5690    
   7  norm          3.6628        6.6748        .52756E-03   -1.5670    
   8  norm          .99920E-09    17.239        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        49.294        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        4.5260        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .56455E-07    23.562        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        .52724        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .76050E-08    27.347        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          7.1239        3.1788        .37564E-03   -1.5655    
  15  norm          .55511E-10    9.7363        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.7229        10.386        .52303E-03   -1.5669    
  17  Normalizat    1.3403        .20682        .64848E-01   -.82372    
  18  Prefactor     .94091        .13155        .45522E-01   -.94726    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.12846e-07
Minuit parameter uncertainties:
  1  2.24536e-06
  2  5.19938
  3  19.123
  4  0.0013163
  5  9.82199
  6  0.223329
  7  6.67482
  8  0.000264465
  9  4.37371e-05
  10  2.12551e-05
  11  0.00230654
  12  1.36935e-06
  13  0.000911469
  14  3.17878
  15  4.53789e-05
  16  10.386
  17  0.206945
  18  0.131595
Done.

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

Extracting fit parameters...

4FGL J1516.9+1934
   Spectrum: PowerLaw
225    Prefactor:  0.000e+00  4.374e-05  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.409e-01  1.316e-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.340e+00  2.069e-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: 9.70e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.58e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/159740/likelihoodResults_684115201_684374401_4FGL_J1516.9+1934_daily_bin1716.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) = 7398.99630268
delta logL = -0.00984327713195

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7398.9864594
delta logL = -3.72983777197e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .58009E-07   1.0000          .0000       .10000E+07
     2 'Index     '    1.9945       1.0000          .0000       10.000    
     3 'Normalizat'    1.3402       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94092       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=   7398.986     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      223 TOTAL
                     EDM=   .57E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .81046E-08    38.387        .42118E-03** at limit **
   2  Index         2.0652        7.0094        .25821        .44029E-10
   3  Normalizat    1.3403        .38400E-02    .64848E-01    .38506E-05
   4  Prefactor     .94091        .24536E-02    .45524E-01    .44987E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.10463e-09
  Index      = 2.06522
  Normalizat = 1.34026
  Prefactor  = 0.940907
 **********
 **   18 **HESSE 
 **********

 FCN=   7398.986     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      256 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .81046E-08    179.82        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0652        7.0261        .50000       -.62729    
   3  Normalizat    1.3403        .83131E-02    .28686E-03   -.82372    
   4  Prefactor     .94091        .53145E-02    .21308E-03   -.94726    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.77177e-10
Minuit parameter uncertainties:
  1  0.0024143
  2  53206.4
  3  0.0083131
  4  0.00531453
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/159740': 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) = 7398.9864594
delta logL = -5.63886715099e-11

Extracting fit parameters...

4FGL J1516.9+1934
   Spectrum: PowerLaw
225    Prefactor:  8.105e-09  2.414e-03  0.000e+00  1.000e+06 ( 1.000e-13)
226        Index:  2.065e+00  5.321e+04  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.409e-01  5.315e-03  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.340e+00  8.313e-03  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/159740/cmap_HighResolution_684115201_684374401_4FGL_J1516.9+1934_daily_bin1716.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.58e-03', job_status='DONE', photon_flux_upper_limit='9.70e-08', time_completed='2022-09-16 19:11:50.770683', job_id='159740', GAL2='0.94', fit_tolerance='1e-08', EG2='1.34', EG='1.34', time_epoch_completed='1663380710.77', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='-5.64e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.58' WHERE bin_id='1716' AND source_name='4FGL J1516.9+1934' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 19:11:50 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0046>
Subject: Job 159740: <4FGL_J1516.9+1934_daily_bin1716> in cluster <slac> Done

Job <4FGL_J1516.9+1934_daily_bin1716> 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) <bullet0046>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 19:01:37 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:37 2022
Terminated at Fri Sep 16 19:11:51 2022
Results reported at Fri Sep 16 19:11:51 2022

Your job looked like:

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

Successfully completed.

Resource usage summary:

    CPU time :                                   519.28 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             316.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   614 sec.
    Turnaround time :                            689 sec.

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

