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


Performing analysis on: 4FGL_J1514.7-3617_daily_bin1445
RA = 228.681, Dec = -36.2949
tmin = 613872001, tmax = 614131201
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='359019', job_status='RUN', time_executed='2021-09-11 17:36:37.735441', time_epoch_executed='1631406997.74' WHERE source_name='4FGL J1514.7-3617' and cadence='daily' and bin_id='1445'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/359019

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/359019/ft1_4FGL_J1514.7-3617_daily_bin1445.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/359019/ft2_4FGL_J1514.7-3617_daily_bin1445.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/359019/ft1_4FGL_J1514.7-3617_daily_bin1445.fits outfile=/scratch/kocevski/359019/ft1_filteredMKT_4FGL_J1514.7-3617_daily_bin1445.fits ra=228.681 dec=-36.2949 rad=12.0 tmin=613872001.0 tmax=614131201.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 2.24
user 2.06
sys 0.17

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/359019/ft2_4FGL_J1514.7-3617_daily_bin1445.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/359019/ft2_4FGL_J1514.7-3617_daily_bin1445.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/359019/ft1_filteredMKT_4FGL_J1514.7-3617_daily_bin1445.fits evtable="EVENTS" outfile="/scratch/kocevski/359019/ft1_filtered_4FGL_J1514.7-3617_daily_bin1445.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.48
user 0.31
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/359019/ft1_filtered_4FGL_J1514.7-3617_daily_bin1445.fits" evtable="EVENTS" scfile=/scratch/kocevski/359019/ft2_4FGL_J1514.7-3617_daily_bin1445.fits sctable="SC_DATA" outfile=/scratch/kocevski/359019/ltcube_613872001_614131201_4FGL_J1514.7-3617_daily_bin1445.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/359019/ft2_4FGL_J1514.7-3617_daily_bin1445.fits
.....................!
real 12.19
user 11.85
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/359019/ft1_filtered_4FGL_J1514.7-3617_daily_bin1445.fits evtable="EVENTS" scfile=/scratch/kocevski/359019/ft2_4FGL_J1514.7-3617_daily_bin1445.fits sctable="SC_DATA" expcube=/scratch/kocevski/359019/ltcube_613872001_614131201_4FGL_J1514.7-3617_daily_bin1445.fits outfile=/scratch/kocevski/359019/expmap_613872001_614131201_4FGL_J1514.7-3617_daily_bin1445.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/359019/ltcube_613872001_614131201_4FGL_J1514.7-3617_daily_bin1445.fits
.....................!
real 191.04
user 185.94
sys 4.75

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
Extended source HESS J1534-571 in ROI with RadialDisk spatial model.
Extended source MSH 15-56 PWN in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/MSH15-56_PWN.fits is the correct path to the extended template.
Extended source MSH 15-56 SNR in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/MSH15-56_SNRmask.fits is the correct path to the extended template.
Extended source FGES J1553.8-5325 in ROI with RadialDisk spatial model.
Extended source HESS J1614-518 in ROI with RadialDisk spatial model.
Extended source HESS J1616-508 in ROI with RadialDisk spatial model.
Extended source FHES J1626.9-2431 in ROI with RadialGaussian spatial model.
Extended source FGES J1631.6-4756 in ROI with RadialDisk spatial model.
Extended source FGES J1633.0-4746 in ROI with RadialDisk spatial model.
Extended source G337.0-0.1 in ROI with RadialDisk spatial model.
Extended source FGES J1652.2-4633 in ROI with RadialDisk spatial model.
Extended source FGES J1655.5-4737 in ROI with RadialDisk spatial model.
Added 312 point sources and 12 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1514.7-3617 @ 228.681 -36.2949

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/359019/ft1_filtered_4FGL_J1514.7-3617_daily_bin1445.fits scfile=/scratch/kocevski/359019/ft2_4FGL_J1514.7-3617_daily_bin1445.fits outfile=/scratch/kocevski/359019/cmap_613872001_614131201_4FGL_J1514.7-3617_daily_bin1445.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.681 yref=-36.2949 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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/359019/ft1_filtered_4FGL_J1514.7-3617_daily_bin1445.fits scfile=/scratch/kocevski/359019/ft2_4FGL_J1514.7-3617_daily_bin1445.fits outfile=/scratch/kocevski/359019/cmap_HighResolution_613872001_614131201_4FGL_J1514.7-3617_daily_bin1445.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.681 yref=-36.2949 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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/359019/ft1_filtered_4FGL_J1514.7-3617_daily_bin1445.fits evtable="EVENTS" scfile=/scratch/kocevski/359019/ft2_4FGL_J1514.7-3617_daily_bin1445.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/359019/Model_4FGL_J1514.7-3617_daily_bin1445.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 FGES J1553.8-5325
adding source FGES J1631.6-4756
adding source FGES J1633.0-4746
adding source FGES J1652.2-4633
adding source FGES J1655.5-4737
adding source FHES J1626.9-2431
adding source G337.0-0.1
adding source GAL_V02
adding source HESS J1534-571
adding source HESS J1614-518
adding source HESS J1616-508
adding source MSH 15-56 PWN
adding source MSH 15-56 SNR
Working on...
/scratch/kocevski/359019/ft1_filtered_4FGL_J1514.7-3617_daily_bin1445.fits.......................!
real 51.61
user 50.33
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/359019/ft1_filtered_4FGL_J1514.7-3617_daily_bin1445.fits', '/scratch/kocevski/359019/ft2_4FGL_J1514.7-3617_daily_bin1445.fits', expMap='/scratch/kocevski/359019/expmap_613872001_614131201_4FGL_J1514.7-3617_daily_bin1445.fits', expCube='/scratch/kocevski/359019/ltcube_613872001_614131201_4FGL_J1514.7-3617_daily_bin1445.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/359019/Model_4FGL_J1514.7-3617_daily_bin1445.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1514.7-3617'

4FGL J1514.7-3617
   Spectrum: LogParabola
403         norm:  7.174e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
404        alpha:  2.300e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
405         beta:  2.424e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
406           Eb:  1.151e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/359019/ft1_filtered_4FGL_J1514.7-3617_daily_bin1445.fits
Spacecraft file(s): /scratch/kocevski/359019/ft2_4FGL_J1514.7-3617_daily_bin1445.fits
Exposure map: /scratch/kocevski/359019/expmap_613872001_614131201_4FGL_J1514.7-3617_daily_bin1445.fits
Exposure cube: /scratch/kocevski/359019/ltcube_613872001_614131201_4FGL_J1514.7-3617_daily_bin1445.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/359019/Model_4FGL_J1514.7-3617_daily_bin1445.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) = 1312.56493627

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.4801       1.0000         .10000E-03   10000.    
     2 'norm      '    .56053E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .46214       1.0000         .10000E-03   10000.    
     4 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    354.61       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .76313E-02   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .28209E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .22069E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .15293       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .86634E-01   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .23682E-01   1.0000         .10000E-03   10000.    
    12 'norm      '    .74491E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    12.876       1.0000         .10000E-03   10000.    
    14 'Prefactor '    40.468       1.0000         .10000E-03   10000.    
    15 'norm      '    23.638       1.0000         .10000E-03   10000.    
    16 'norm      '    148.88       1.0000         .10000E-03   10000.    
    17 'norm      '    1.6764       1.0000         .10000E-03   10000.    
    18 'norm      '    .10035E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10973E-01   1.0000         .10000E-03   10000.    
    20 'norm      '    10.717       1.0000         .10000E-03   10000.    
    21 'Prefactor '    4.2359       1.0000         .10000E-03   10000.    
    22 'Prefactor '    24.208       1.0000         .10000E-03   10000.    
    23 'norm      '    .83115E-02   1.0000         .10000E-03   10000.    
    24 'norm      '    1.6008       1.0000         .10000E-03   10000.    
    25 'Prefactor '    1.4763       1.0000         .10000E-03   10000.    
    26 'Prefactor '    1.6848       1.0000         .10000E-03   10000.    
    27 'Normalizat'    .25455       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.1876       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1138E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   1310.793     FROM MIGRAD    STATUS=CONVERGED    825 CALLS     3091 TOTAL
                     EDM=   .80E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.1380        63.011        .10537E-07    .72950E-05
   2  norm          .10000E-03    7.3984       -.29832E-06** at limit **
   3  Prefactor     2.7880        254.38        .16831E-03   -.37942E-04
   4  norm          .10000E-03    .93147E-01    .67575E-08** at limit **
   5  Prefactor     328.57        282.31       -.21368E-05   -.17770E-04
   6  Prefactor     .10001E-03    97.974        .26579E-04** at limit **
   7  Prefactor     .10000E-03    23.235       -.20397E-05** at limit **
   8  norm          .10000E-03    294.14        .40052E-04** at limit **
   9  Prefactor     .10001E-03    419.21        .87492E-04** at limit **
  10  Prefactor     .10000E-03    80.605       -.24344E-05** at limit **
  11  Prefactor     .10000E-03    117.92       -.58041E-05** at limit **
  12  norm          .10000E-03    8.1477        .45560E-06** at limit **
  13  Prefactor     .10024E-03    247.24       -.60107E-04** at limit **
  14  Prefactor     48.072        64.517       -.88974E-05   -.45034E-04
  15  norm          22.344        39.576       -.24585E-04   -.28964E-04
  16  norm          185.75        306.44        .16578E-03    .36384E-04
  17  norm          .10025E-03    6632.8       -.15622E-03** at limit **
  18  norm          .10000E-03    2.8377       -.27825E-06** at limit **
  19  Prefactor     .10000E-03    21.879       -.11497E-05** at limit **
  20  norm          10.365        19.846       -.97843E-06    .74072E-04
  21  Prefactor    10000.0        7748.3       -.33054E-03** at limit **
  22  Prefactor     343.03        641.50       -.38414E-04    .58294E-05
  23  norm          .10000E-03    186.58        .45206E-05** at limit **
  24  norm         10000.0        8237.4        .11062E-03** at limit **
  25  Prefactor    10000.0        9282.4       -.23731E-03** at limit **
  26  Prefactor     4.3813        4.4176        .80170E-06   -.14618E-03
  27  Normalizat    .16686        1.5402        .11445E-03    .13975E-04
  28  Prefactor     1.1751        .30016        .75046E-05   -.50477E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.13801
  norm       = 0.0001
  Prefactor  = 2.788
  norm       = 0.0001
  Prefactor  = 328.569
  Prefactor  = 0.000100007
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100007
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.00010024
  Prefactor  = 48.0717
  norm       = 22.3444
  norm       = 185.747
  norm       = 0.000100248
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 10.3654
  Prefactor  = 10000
  Prefactor  = 343.035
  norm       = 0.000100004
  norm       = 10000
  Prefactor  = 10000
  Prefactor  = 4.38127
  Normalizat = 0.166858
  Prefactor  = 1.17511
 **********
 **   18 **HESSE 
 **********

 FCN=   1310.793     FROM HESSE     STATUS=OK           571 CALLS     3662 TOTAL
                     EDM=   .15E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.1380        59.957        .54190E-02   -1.5255    
   2  norm          .10000E-03    7.6041        .10550E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.7880        226.97        .11115E-01   -1.5374    
   4  norm          .10000E-03    .92334E-01    .48717E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     328.57        278.38        .54071E-03   -1.2063    
   6  Prefactor     .10001E-03    99.787        .92787E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    23.734        .10708E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    257.66        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10001E-03    361.36        .97606E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    75.614        .94473E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    108.34        .91408E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    4.1064        .24861E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10024E-03    223.17        .27908E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     48.072        61.911        .15753E-02   -1.4320    
  15  norm          22.344        39.239        .20597E-02   -1.6654    
  16  norm          185.75        300.50        .82574E-03   -1.2974    
  17  norm          .10025E-03    1429.4        .81362E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    2.9151        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    21.740        .90778E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          10.365        19.669        .30596E-02   -1.5064    
  21  Prefactor    10000.0        1715.1        .48945E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     343.03        602.55        .20354E-02   -1.1982    
  23  norm          .10000E-03    171.71        .92054E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm         10000.0        1817.7        .83769E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor    10000.0        2160.8        .88358E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     4.3813        2296.5        .81111E-02   -1.5289    
  27  Normalizat    .16686        .65114        .35975E-01   -1.8221    
  28  Prefactor     1.1751        .21186        .34932E-01   -.87101    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.4626e-07
Minuit parameter uncertainties:
  1  35.1473
  2  1.89146e-06
  3  50.5092
  4  8.6293e-09
  5  279.522
  6  0.00168492
  7  7.2905e-06
  8  9.70399e-05
  9  0.00325067
  10  0.00101983
  11  9.08459e-05
  12  7.89343e-05
  13  0.0146795
  14  61.9938
  15  39.2848
  16  303.037
  17  0.0385785
  18  1.43939e-06
  19  1.69051e-05
  20  19.6808
  21  0.0121777
  22  614.135
  23  0.00166246
  24  0.0190049
  25  0.06433
  26  209.266
  27  0.65179
  28  0.212013
Done.

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

Extracting fit parameters...

4FGL J1514.7-3617
   Spectrum: LogParabola
403         norm:  1.857e+02  3.030e+02  1.000e-04  1.000e+04 ( 1.000e-13)
404        alpha:  2.300e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
405         beta:  2.424e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
406           Eb:  1.151e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1117    Prefactor:  1.175e+00  2.120e-01  0.000e+00  1.000e+01 ( 1.000e+00)
1118        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1119        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1091   Normalization:  1.669e-01  6.518e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.53
Ra Dec: 228.681 -36.295
Photon Flux Upper Limit: 1.02e-06 ph cm-2 s-1
Energy Flux Upper Limit: 4.65e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/359019/likelihoodResults_613872001_614131201_4FGL_J1514.7-3617_daily_bin1445.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) = 1310.7288028
delta logL = 0.0640724987502

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1310.7234094
delta logL = 0.0694658960101

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    156.04       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.8310       1.0000          .0000       5.0000    
     3 'Normalizat'    .14857       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1704       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1138E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   1310.723     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      278 TOTAL
                     EDM=   .72E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          156.18        282.53        .16137E-03    .31283E-04
   2  alpha         2.8298        1.3192        .73856E-02    .12258E-04
   3  Normalizat    .14788        1.7034        .12331E-01    .86937E-05
   4  Prefactor     1.1708        .30265        .14942E-03    .16510E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 156.185
  alpha      = 2.82975
  Normalizat = 0.147885
  Prefactor  = 1.17082
 **********
 **   18 **HESSE 
 **********

 FCN=   1310.723     FROM HESSE     STATUS=OK            27 CALLS      305 TOTAL
                     EDM=   .43E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          156.18        275.13        .32275E-04   -1.3202    
   2  alpha         2.8298        1.2868        .29542E-03    .13229    
   3  Normalizat    .14788        1.4838        .49324E-03   -1.3353    
   4  Prefactor     1.1708        .28176        .59769E-05   -.87234    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.34701e-11
Minuit parameter uncertainties:
  1  277.441
  2  1.35302
  3  0.936003
  4  0.282127
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/359019': 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) = 1310.72340713
delta logL = 0.0694681694047

Extracting fit parameters...

4FGL J1514.7-3617
   Spectrum: LogParabola
403         norm:  1.562e+02  2.774e+02  1.000e-04  1.000e+04 ( 1.000e-13)
404        alpha:  2.830e+00  1.353e+00  0.000e+00  5.000e+00 ( 1.000e+00)
405         beta:  2.424e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
406           Eb:  1.151e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1117    Prefactor:  1.171e+00  2.821e-01  0.000e+00  1.000e+01 ( 1.000e+00)
1118        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1119        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1091   Normalization:  1.479e-01  9.360e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.53
Ra Dec: 228.681 -36.295

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/359019/cmap_HighResolution_613872001_614131201_4FGL_J1514.7-3617_daily_bin1445.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.65e-04', job_status='DONE', photon_flux_upper_limit='1.02e-06', time_completed='2021-09-11 17:45:45.275407', job_id='359019', GAL2='1.17', fit_tolerance='1e-08', EG2='0.15', EG='0.17', time_epoch_completed='1631407545.28', return_code2='0', ts='0.53', comment='SUCCESS', return_code='0', GAL='1.18', dlogl='6.95e-02', ts2='0.66', photon_index_error='0.00', photon_index='2.30' WHERE bin_id='1445' AND source_name='4FGL J1514.7-3617' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 11 17:45:45 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0241>
Subject: Job 359019: <4FGL_J1514.7-3617_daily_bin1445> in cluster <slac> Done

Job <4FGL_J1514.7-3617_daily_bin1445> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Sep 11 17:36:08 2021
Job was executed on host(s) <bullet0241>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 11 17:36:10 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 11 17:36:10 2021
Terminated at Sat Sep 11 17:45:45 2021
Results reported at Sat Sep 11 17:45:45 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1514.7-3617_daily_bin1445 228.681 -36.2949 613872001 614131201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1514.7-3617 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   539.22 sec.
    Max Memory :                                 1098 MB
    Average Memory :                             314.80 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   575 sec.
    Turnaround time :                            577 sec.

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

