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


Performing analysis on: 4FGL_J1514.8-0949_daily_bin1749
RA = 228.716, Dec = -9.817
tmin = 692668801, tmax = 692928001
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='955593', job_status='RUN', time_executed='2022-12-17 00:59:03.332952', time_epoch_executed='1671267543.33' WHERE source_name='4FGL J1514.8-0949' and cadence='daily' and bin_id='1749'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/955593

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/955593/ft1_4FGL_J1514.8-0949_daily_bin1749.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/955593/ft2_4FGL_J1514.8-0949_daily_bin1749.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/955593/ft1_4FGL_J1514.8-0949_daily_bin1749.fits outfile=/scratch/kocevski/955593/ft1_filteredMKT_4FGL_J1514.8-0949_daily_bin1749.fits ra=228.716 dec=-9.817 rad=12.0 tmin=692668801.0 tmax=692928001.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.65
user 3.42
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/955593/ft2_4FGL_J1514.8-0949_daily_bin1749.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/955593/ft2_4FGL_J1514.8-0949_daily_bin1749.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/955593/ft1_filteredMKT_4FGL_J1514.8-0949_daily_bin1749.fits evtable="EVENTS" outfile="/scratch/kocevski/955593/ft1_filtered_4FGL_J1514.8-0949_daily_bin1749.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.52
user 0.31
sys 0.18

Number of photons that the gtmktime cut: 890

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/955593/ft1_filtered_4FGL_J1514.8-0949_daily_bin1749.fits" evtable="EVENTS" scfile=/scratch/kocevski/955593/ft2_4FGL_J1514.8-0949_daily_bin1749.fits sctable="SC_DATA" outfile=/scratch/kocevski/955593/ltcube_692668801_692928001_4FGL_J1514.8-0949_daily_bin1749.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/955593/ft2_4FGL_J1514.8-0949_daily_bin1749.fits
.....................!
real 12.37
user 12.02
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/955593/ft1_filtered_4FGL_J1514.8-0949_daily_bin1749.fits evtable="EVENTS" scfile=/scratch/kocevski/955593/ft2_4FGL_J1514.8-0949_daily_bin1749.fits sctable="SC_DATA" expcube=/scratch/kocevski/955593/ltcube_692668801_692928001_4FGL_J1514.8-0949_daily_bin1749.fits outfile=/scratch/kocevski/955593/expmap_692668801_692928001_4FGL_J1514.8-0949_daily_bin1749.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/955593/ltcube_692668801_692928001_4FGL_J1514.8-0949_daily_bin1749.fits
.....................!
real 189.92
user 185.16
sys 4.45

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 161 point sources and 0 extended sources

Setting source of interest to:
4FGL J1514.8-0949 @ 228.716 -9.817

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/955593/ft1_filtered_4FGL_J1514.8-0949_daily_bin1749.fits scfile=/scratch/kocevski/955593/ft2_4FGL_J1514.8-0949_daily_bin1749.fits outfile=/scratch/kocevski/955593/cmap_692668801_692928001_4FGL_J1514.8-0949_daily_bin1749.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=228.716 yref=-9.817 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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/955593/ft1_filtered_4FGL_J1514.8-0949_daily_bin1749.fits scfile=/scratch/kocevski/955593/ft2_4FGL_J1514.8-0949_daily_bin1749.fits outfile=/scratch/kocevski/955593/cmap_HighResolution_692668801_692928001_4FGL_J1514.8-0949_daily_bin1749.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=228.716 yref=-9.817 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.54
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/955593/ft1_filtered_4FGL_J1514.8-0949_daily_bin1749.fits evtable="EVENTS" scfile=/scratch/kocevski/955593/ft2_4FGL_J1514.8-0949_daily_bin1749.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/955593/Model_4FGL_J1514.8-0949_daily_bin1749.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/955593/ft1_filtered_4FGL_J1514.8-0949_daily_bin1749.fits.....................!
real 80.51
user 79.12
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/955593/ft1_filtered_4FGL_J1514.8-0949_daily_bin1749.fits', '/scratch/kocevski/955593/ft2_4FGL_J1514.8-0949_daily_bin1749.fits', expMap='/scratch/kocevski/955593/expmap_692668801_692928001_4FGL_J1514.8-0949_daily_bin1749.fits', expCube='/scratch/kocevski/955593/ltcube_692668801_692928001_4FGL_J1514.8-0949_daily_bin1749.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/955593/Model_4FGL_J1514.8-0949_daily_bin1749.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1514.8-0949'

4FGL J1514.8-0949
   Spectrum: PowerLaw
257    Prefactor:  3.290e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
258        Index:  2.393e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
259        Scale:  1.960e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/955593/ft1_filtered_4FGL_J1514.8-0949_daily_bin1749.fits
Spacecraft file(s): /scratch/kocevski/955593/ft2_4FGL_J1514.8-0949_daily_bin1749.fits
Exposure map: /scratch/kocevski/955593/expmap_692668801_692928001_4FGL_J1514.8-0949_daily_bin1749.fits
Exposure cube: /scratch/kocevski/955593/ltcube_692668801_692928001_4FGL_J1514.8-0949_daily_bin1749.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/955593/Model_4FGL_J1514.8-0949_daily_bin1749.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) = 9722.61155471

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .65337E-07   1.0000          .0000       .10000E+07
     2 'Prefactor '    .69106E-06   1.0000          .0000       .10000E+07
     3 'Prefactor '    34.441       1.0000          .0000       .10000E+07
     4 'norm      '    4.2035       1.0000          .0000       .10000E+07
     5 'norm      '    5.8768       1.0000          .0000       .10000E+07
     6 'norm      '    .82971E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    6.3365       1.0000          .0000       .10000E+07
     8 'norm      '    4.2045       1.0000          .0000       .10000E+07
     9 'Prefactor '    .18509E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    .15543E-08   1.0000          .0000       .10000E+07
    11 'Normalizat'    1.0954       1.0000         .10000E-01   10.000    
    12 'Prefactor '    1.0457       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5400E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9722.500     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      770 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.0157        .49067E-06** at limit **
   2  Prefactor     .47184E-08    31.912       -.21842E-05** at limit **
   3  Prefactor     34.476        2.0140        .24768E-06    .13830    
   4  norm          4.2023        5.1309       -.95915E-07    .32731E-02
   5  norm          5.8772        5.8125        .41638E-06   -.62309E-03
   6  norm          .83061E-01    .10021        .13291E-07** at limit **
   7  Prefactor     6.3328        8.2130       -.13947E-06    .32833E-02
   8  norm          4.2048        6.6533        .15006E-05   -.17127E-02
   9  Prefactor     .62056E-06    126.95       -.18484E-04** at limit **
  10  Prefactor     .91038E-08    26.812        .13551E-05** at limit **
  11  Normalizat    1.0954        .27758        .18349E-04    .30492E-03
  12  Prefactor     1.0456        .95709E-01   -.99381E-05    .96226E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 4.71845e-09
  Prefactor  = 34.4757
  norm       = 4.20232
  norm       = 5.87715
  norm       = 0.083061
  Prefactor  = 6.3328
  norm       = 4.20479
  Prefactor  = 6.20559e-07
  Prefactor  = 9.10383e-09
  Normalizat = 1.09538
  Prefactor  = 1.04564
 **********
 **   18 **HESSE 
 **********

 FCN=   9722.500     FROM HESSE     STATUS=OK           153 CALLS      923 TOTAL
                     EDM=   .84E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.0204        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .47184E-08    31.979        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     34.476        36.762        .17042E-03   -1.5591    
   4  norm          4.2023        5.1824        .49129E-03   -1.5667    
   5  norm          5.8772        5.8177        .41402E-03   -1.5659    
   6  norm          .83061E-01    .11198        .56929E-03   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     6.3328        8.6125        .39851E-03   -1.5658    
   8  norm          4.2048        6.6826        .49122E-03   -1.5667    
   9  Prefactor     .62056E-06    126.33        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .91038E-08    26.841        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Normalizat    1.0954        .24562        .99684E-01   -.89900    
  12  Prefactor     1.0456        .82960E-01    .40170E-01   -.91223    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.37197e-07
Minuit parameter uncertainties:
  1  1.76694e-05
  2  0.000776522
  3  36.7626
  4  5.18245
  5  5.81773
  6  0.111979
  7  8.61248
  8  6.68262
  9  0.0177091
  10  0.00098928
  11  0.245875
  12  0.0829699
Done.

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

Extracting fit parameters...

4FGL J1514.8-0949
   Spectrum: PowerLaw
257    Prefactor:  6.333e+00  8.612e+00  0.000e+00  1.000e+06 ( 1.000e-13)
258        Index:  2.393e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
259        Scale:  1.960e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
537    Prefactor:  1.046e+00  8.297e-02  0.000e+00  1.000e+01 ( 1.000e+00)
538        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
539        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
536   Normalization:  1.095e+00  2.459e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.28
Ra Dec: 228.716 -9.817
Photon Index (Fixed Index): 2.39 +/- 0.00
Photon Flux (Fixed Index): 5.62e-08 +/- 7.64e-08
Energy Flux (Fixed Index): 1.86e-05 +/- 2.53e-05

TS (Fixed Index): 1.28
Ra Dec: 228.716 -9.817
Photon Flux Upper Limit: 1.76e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.36e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/955593/likelihoodResults_692668801_692928001_4FGL_J1514.8-0949_daily_bin1749.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) = 9722.37978859
delta logL = 0.120496044139

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9722.35902897
delta logL = 0.141255659631

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.9916       1.0000          .0000       .10000E+07
     2 'Index     '    2.8941       1.0000          .0000       10.000    
     3 'Normalizat'    1.0593       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0530       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5400E+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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   9722.359     FROM MIGRAD    STATUS=FAILED        89 CALLS      291 TOTAL
                     EDM=   .98E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.9920        104.75        .14080E-04    .14833E-01
   2  Index         2.8942        6.4391        .50592E-02    .51266E-03
   3  Normalizat    1.0592        .38288        .44814E-03    .29082E-03
   4  Prefactor     1.0530        .11725        .15535E-03    .75932E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   9722.359     FROM SIMPLEX   STATUS=UNCHANGED    101 CALLS      392 TOTAL
                     EDM=   .12E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.9920        104.75        .24643E-04    .14833E-01
   2  Index         2.8942        6.4391        .13500E-02    .51266E-03
   3  Normalizat    1.0592        .38288        .32257E-03    .29082E-03
   4  Prefactor     1.0530        .11725        .11421E-03    .75932E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9722.359     FROM MIGRAD    STATUS=CONVERGED     31 CALLS      423 TOTAL
                     EDM=   .20E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.9924        7.2479        .56319E-06    .92000E-03
   2  Index         2.8942        1.1165        .20237E-03    .15168E-04
   3  Normalizat    1.0593        .28611        .17926E-04    .20295E-05
   4  Prefactor     1.0530        .96721E-01    .31069E-04    .11124E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.99235
  Index      = 2.89416
  Normalizat = 1.05925
  Prefactor  = 1.05301
 **********
 **   18 **HESSE 
 **********

 FCN=   9722.359     FROM HESSE     STATUS=OK            23 CALLS      446 TOTAL
                     EDM=   .20E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.9924        7.1006        .37368E-06   -1.5673    
   2  Index         2.8942        1.0941        .80947E-05   -.43473    
   3  Normalizat    1.0593        .28571        .35851E-05   -.91071    
   4  Prefactor     1.0530        .96624E-01    .62138E-05   -.90983    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.97562e-12
Minuit parameter uncertainties:
  1  7.10065
  2  1.10501
  3  0.286123
  4  0.0966399
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/955593': 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) = 9722.35902862
delta logL = 0.141256006262

Extracting fit parameters...

4FGL J1514.8-0949
   Spectrum: PowerLaw
257    Prefactor:  2.992e+00  7.101e+00  0.000e+00  1.000e+06 ( 1.000e-13)
258        Index:  2.894e+00  1.105e+00  0.000e+00  1.000e+01 (-1.000e+00)
259        Scale:  1.960e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
537    Prefactor:  1.053e+00  9.664e-02  0.000e+00  1.000e+01 ( 1.000e+00)
538        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
539        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
536   Normalization:  1.059e+00  2.861e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.61
Ra Dec: 228.716 -9.817
Photon Index (Free Index): 2.89 +/- 1.11
Photon Flux (Free Index): 8.69e-08 +/- 8.81e-08
Energy Flux (Free Index): 1.83e-05 +/- 1.64e-05

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/955593/cmap_HighResolution_692668801_692928001_4FGL_J1514.8-0949_daily_bin1749.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.36e-02', comment='SUCCESS', photon_flux='5.62e-08', energy_flux2='1.83e-05', photon_flux_error='7.64e-08', dlogl='1.41e-01', energy_flux='1.86e-05', photon_flux2='8.69e-08', job_status='DONE', time_completed='2022-12-17 01:08:05.281705', photon_index_error2='1.11', photon_index2='2.89', ts='1.28', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', photon_flux_upper_limit='1.76e-07', energy_flux_error2='1.64e-05', EG='1.10', time_epoch_completed='1671268085.28', return_code='0', job_id='955593', GAL2='1.05', EG2='1.06', return_code2='0', energy_flux_error='2.53e-05', photon_flux_error2='8.81e-08', ts2='1.61', photon_index='2.39' WHERE bin_id='1749' AND source_name='4FGL J1514.8-0949' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Dec 17 01:08:05 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0281>
Subject: Job 955593: <4FGL_J1514.8-0949_daily_bin1749> in cluster <slac> Done

Job <4FGL_J1514.8-0949_daily_bin1749> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sat Dec 17 00:55:19 2022
Job was executed on host(s) <bullet0281>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Dec 17 00:55:20 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Dec 17 00:55:20 2022
Terminated at Sat Dec 17 01:08:06 2022
Results reported at Sat Dec 17 01:08:06 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1514.8-0949_daily_bin1749 228.716 -9.817 692668801 692928001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1514.8-0949 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   544.08 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             291.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   765 sec.
    Turnaround time :                            767 sec.

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

