/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 124 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J1514.8-0949_daily_bin1435
RA = 228.716, Dec = -9.817
tmin = 611280001, tmax = 611539201
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='381907', job_status='RUN', time_executed='2021-09-11 18:54:06.964037', time_epoch_executed='1631411646.96' WHERE source_name='4FGL J1514.8-0949' and cadence='daily' and bin_id='1435'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/381907

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/381907/ft1_4FGL_J1514.8-0949_daily_bin1435.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/381907/ft2_4FGL_J1514.8-0949_daily_bin1435.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/381907/ft1_4FGL_J1514.8-0949_daily_bin1435.fits outfile=/scratch/kocevski/381907/ft1_filteredMKT_4FGL_J1514.8-0949_daily_bin1435.fits ra=228.716 dec=-9.817 rad=12.0 tmin=611280001.0 tmax=611539201.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.52
user 3.29
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/381907/ft2_4FGL_J1514.8-0949_daily_bin1435.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/381907/ft1_filteredMKT_4FGL_J1514.8-0949_daily_bin1435.fits evtable="EVENTS" outfile="/scratch/kocevski/381907/ft1_filtered_4FGL_J1514.8-0949_daily_bin1435.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.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/381907/ft1_filtered_4FGL_J1514.8-0949_daily_bin1435.fits" evtable="EVENTS" scfile=/scratch/kocevski/381907/ft2_4FGL_J1514.8-0949_daily_bin1435.fits sctable="SC_DATA" outfile=/scratch/kocevski/381907/ltcube_611280001_611539201_4FGL_J1514.8-0949_daily_bin1435.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/381907/ft2_4FGL_J1514.8-0949_daily_bin1435.fits
.....................!
real 11.89
user 11.52
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/381907/ft1_filtered_4FGL_J1514.8-0949_daily_bin1435.fits evtable="EVENTS" scfile=/scratch/kocevski/381907/ft2_4FGL_J1514.8-0949_daily_bin1435.fits sctable="SC_DATA" expcube=/scratch/kocevski/381907/ltcube_611280001_611539201_4FGL_J1514.8-0949_daily_bin1435.fits outfile=/scratch/kocevski/381907/expmap_611280001_611539201_4FGL_J1514.8-0949_daily_bin1435.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/381907/ltcube_611280001_611539201_4FGL_J1514.8-0949_daily_bin1435.fits
.....................!
real 190.62
user 185.01
sys 5.20

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/381907/ft1_filtered_4FGL_J1514.8-0949_daily_bin1435.fits scfile=/scratch/kocevski/381907/ft2_4FGL_J1514.8-0949_daily_bin1435.fits outfile=/scratch/kocevski/381907/cmap_611280001_611539201_4FGL_J1514.8-0949_daily_bin1435.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.55
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/381907/ft1_filtered_4FGL_J1514.8-0949_daily_bin1435.fits scfile=/scratch/kocevski/381907/ft2_4FGL_J1514.8-0949_daily_bin1435.fits outfile=/scratch/kocevski/381907/cmap_HighResolution_611280001_611539201_4FGL_J1514.8-0949_daily_bin1435.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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/381907/ft1_filtered_4FGL_J1514.8-0949_daily_bin1435.fits evtable="EVENTS" scfile=/scratch/kocevski/381907/ft2_4FGL_J1514.8-0949_daily_bin1435.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/381907/Model_4FGL_J1514.8-0949_daily_bin1435.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/381907/ft1_filtered_4FGL_J1514.8-0949_daily_bin1435.fits.....................!
real 68.29
user 66.84
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/381907/ft1_filtered_4FGL_J1514.8-0949_daily_bin1435.fits', '/scratch/kocevski/381907/ft2_4FGL_J1514.8-0949_daily_bin1435.fits', expMap='/scratch/kocevski/381907/expmap_611280001_611539201_4FGL_J1514.8-0949_daily_bin1435.fits', expCube='/scratch/kocevski/381907/ltcube_611280001_611539201_4FGL_J1514.8-0949_daily_bin1435.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/381907/Model_4FGL_J1514.8-0949_daily_bin1435.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  1.000e-04  1.000e+04 ( 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/381907/ft1_filtered_4FGL_J1514.8-0949_daily_bin1435.fits
Spacecraft file(s): /scratch/kocevski/381907/ft2_4FGL_J1514.8-0949_daily_bin1435.fits
Exposure map: /scratch/kocevski/381907/expmap_611280001_611539201_4FGL_J1514.8-0949_daily_bin1435.fits
Exposure cube: /scratch/kocevski/381907/ltcube_611280001_611539201_4FGL_J1514.8-0949_daily_bin1435.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/381907/Model_4FGL_J1514.8-0949_daily_bin1435.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) = 7733.42521962

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .79124E-01   1.0000         .10000E-03   10000.    
     6 'norm      '    .24162       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    26.246       1.0000         .10000E-03   10000.    
     9 'Prefactor '    72.246       1.0000         .10000E-03   10000.    
    10 'Prefactor '    39.764       1.0000         .10000E-03   10000.    
    11 'Normalizat'    1.1146       1.0000         .10000E-01   10.000    
    12 'Prefactor '    1.0402       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.

 FCN=   7733.421     FROM MIGRAD    STATUS=CONVERGED    215 CALLS      970 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.3639        .90712E-02** at limit **
   2  Prefactor     .10000E-03    23.645        .90712E-02** at limit **
   3  Prefactor     .10000E-03    24.198        .90712E-02** at limit **
   4  norm          .10000E-03    1.9895        .90712E-02** at limit **
   5  norm          .35701E-01    4.2958        .65563E-01    .20204E-03
   6  norm          .24162        .10494        .39766E-02    .98635E-03
   7  Prefactor     .10000E-03    2.7753        .90712E-02** at limit **
   8  norm          26.245        11.232        .19549E-02   -.12652E-03
   9  Prefactor     72.246        55.691        .11808E-02    .11668E-02
  10  Prefactor     39.765        45.853        .15891E-02    .11352E-02
  11  Normalizat    1.1150        .28094        .10133        .57067E-04
  12  Prefactor     1.0401        .96795E-01    .40522E-01    .17810E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0357009
  norm       = 0.24162
  Prefactor  = 0.0001
  norm       = 26.2445
  Prefactor  = 72.2464
  Prefactor  = 39.7645
  Normalizat = 1.11501
  Prefactor  = 1.04009
 **********
 **   18 **HESSE 
 **********

 FCN=   7733.421     FROM HESSE     STATUS=OK           131 CALLS     1101 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.3698        .13204E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    23.650        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    24.224        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    2.0021        .12109E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .35701E-01    5.0148        .58103E-01   -1.5670    
   6  norm          .24162        .10374        .17732E-04   -1.5610    
   7  Prefactor     .10000E-03    2.7831        .14295E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          26.245        11.237        .78196E-04   -1.4683    
   9  Prefactor     72.246        55.751        .47232E-04   -1.4006    
  10  Prefactor     39.765        45.956        .63564E-04   -1.4446    
  11  Normalizat    1.1150        .32236        .44907E-03   -.89271    
  12  Prefactor     1.0401        .11216        .15935E-03   -.91405    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.18562e-08
Minuit parameter uncertainties:
  1  1.19022e-05
  2  0.000155043
  3  3.71503e-05
  4  5.12131e-06
  5  0.845131
  6  0.103744
  7  1.05417e-05
  8  11.2374
  9  55.7914
  10  45.9965
  11  0.322932
  12  0.112186
Done.

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

Extracting fit parameters...

4FGL J1514.8-0949
   Spectrum: PowerLaw
257    Prefactor:  1.000e-04  1.054e-05  1.000e-04  1.000e+04 ( 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.040e+00  1.122e-01  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.115e+00  3.229e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 228.716 -9.817
Photon Flux Upper Limit: 1.09e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.40e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/381907/likelihoodResults_611280001_611539201_4FGL_J1514.8-0949_daily_bin1435.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) = 7733.42226327
delta logL = -0.00171037051769

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7733.42055258
delta logL = 3.26045665133e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3713       1.0000          .0000       10.000    
     3 'Normalizat'    1.1150       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0401       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=   7733.421     FROM MIGRAD    STATUS=FAILED        85 CALLS      238 TOTAL
                     EDM=   .50E-03    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    184.70        .14569E-02** at limit **
   2  Index         2.3499        7.2384        .20000        .62941E-04
   3  Normalizat    1.1150        .63191E-01    .44907E-03    .41595E-04
   4  Prefactor     1.0401        .21910E-01    .15935E-03    .24664E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   7733.421     FROM SIMPLEX   STATUS=UNCHANGED    159 CALLS      397 TOTAL
                     EDM=   .77E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    184.70        .25754E-03** at limit **
   2  Index         2.3499        7.2384        .77799E-05    .62941E-04
   3  Normalizat    1.1150        .63191E-01    .58929E-06    .41595E-04
   4  Prefactor     1.0401        .21910E-01    .84162E-07    .24664E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7733.421     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      440 TOTAL
                     EDM=   .17E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    623.93        .29137E-02** at limit **
   2  Index         1.6980        5.1475        .80000E-01    .49880E-07
   3  Normalizat    1.1150        .12233        .17963E-04   -.85822E-04
   4  Prefactor     1.0401        .42424E-01    .31870E-04   -.15717E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.69799
  Normalizat = 1.11501
  Prefactor  = 1.04009
 **********
 **   18 **HESSE 
 **********

 FCN=   7733.421     FROM HESSE     STATUS=OK            23 CALLS      463 TOTAL
                     EDM=   .37E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.9811        .58274E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.6980        8.7270        .32000E-02   -.72135    
   3  Normalizat    1.1150        .31753        .35925E-05   -.89271    
   4  Prefactor     1.0401        .11026        .63739E-05   -.91405    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.73588e-11
Minuit parameter uncertainties:
  1  2.02733e-05
  2  205.928
  3  0.318073
  4  0.110287
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/381907': 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) = 7733.4205475
delta logL = 5.40104338143e-06

Extracting fit parameters...

4FGL J1514.8-0949
   Spectrum: PowerLaw
257    Prefactor:  1.000e-04  2.027e-05  1.000e-04  1.000e+04 ( 1.000e-13)
258        Index:  1.698e+00  2.059e+02  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.040e+00  1.103e-01  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.115e+00  3.181e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 228.716 -9.817

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/381907/cmap_HighResolution_611280001_611539201_4FGL_J1514.8-0949_daily_bin1435.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.40e-03', job_status='DONE', photon_flux_upper_limit='1.09e-07', time_completed='2021-09-11 19:04:22.703722', job_id='381907', GAL2='1.04', fit_tolerance='1e-08', EG2='1.12', EG='1.12', time_epoch_completed='1631412262.7', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='5.40e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='1435' AND source_name='4FGL J1514.8-0949' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 11 19:04:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0064>
Subject: Job 381907: <4FGL_J1514.8-0949_daily_bin1435> in cluster <slac> Done

Job <4FGL_J1514.8-0949_daily_bin1435> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sat Sep 11 18:51:52 2021
Job was executed on host(s) <bullet0064>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 11 18:51:54 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 11 18:51:54 2021
Terminated at Sat Sep 11 19:04:23 2021
Results reported at Sat Sep 11 19:04:23 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1514.8-0949_daily_bin1435 228.716 -9.817 611280001 611539201 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 :                                   509.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             296.78 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   749 sec.
    Turnaround time :                            751 sec.

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

