/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 6 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 = 7415
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1514.8+4448_daily_bin173
RA = 228.719, Dec = 44.8105
tmin = 284169601, tmax = 284428801
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='362837', job_status='RUN', time_executed='2021-09-11 17:51:13.450435', time_epoch_executed='1631407873.45' WHERE source_name='4FGL J1514.8+4448' and cadence='daily' and bin_id='173'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/362837

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/362837/ft1_4FGL_J1514.8+4448_daily_bin173.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/362837/ft2_4FGL_J1514.8+4448_daily_bin173.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/362837/ft1_4FGL_J1514.8+4448_daily_bin173.fits outfile=/scratch/kocevski/362837/ft1_filteredMKT_4FGL_J1514.8+4448_daily_bin173.fits ra=228.719 dec=44.8105 rad=12.0 tmin=284169601.0 tmax=284428801.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.54
user 3.31
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/362837/ft2_4FGL_J1514.8+4448_daily_bin173.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/362837/ft2_4FGL_J1514.8+4448_daily_bin173.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/362837/ft1_filteredMKT_4FGL_J1514.8+4448_daily_bin173.fits evtable="EVENTS" outfile="/scratch/kocevski/362837/ft1_filtered_4FGL_J1514.8+4448_daily_bin173.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.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/362837/ft1_filtered_4FGL_J1514.8+4448_daily_bin173.fits" evtable="EVENTS" scfile=/scratch/kocevski/362837/ft2_4FGL_J1514.8+4448_daily_bin173.fits sctable="SC_DATA" outfile=/scratch/kocevski/362837/ltcube_284169601_284428801_4FGL_J1514.8+4448_daily_bin173.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/362837/ft2_4FGL_J1514.8+4448_daily_bin173.fits
.....................!
real 11.83
user 11.47
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/362837/ft1_filtered_4FGL_J1514.8+4448_daily_bin173.fits evtable="EVENTS" scfile=/scratch/kocevski/362837/ft2_4FGL_J1514.8+4448_daily_bin173.fits sctable="SC_DATA" expcube=/scratch/kocevski/362837/ltcube_284169601_284428801_4FGL_J1514.8+4448_daily_bin173.fits outfile=/scratch/kocevski/362837/expmap_284169601_284428801_4FGL_J1514.8+4448_daily_bin173.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/362837/ltcube_284169601_284428801_4FGL_J1514.8+4448_daily_bin173.fits
.....................!
real 192.77
user 187.07
sys 5.34

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

Setting source of interest to:
4FGL J1514.8+4448 @ 228.719 44.8105

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/362837/ft1_filtered_4FGL_J1514.8+4448_daily_bin173.fits scfile=/scratch/kocevski/362837/ft2_4FGL_J1514.8+4448_daily_bin173.fits outfile=/scratch/kocevski/362837/cmap_284169601_284428801_4FGL_J1514.8+4448_daily_bin173.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.719 yref=44.8105 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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/362837/ft1_filtered_4FGL_J1514.8+4448_daily_bin173.fits scfile=/scratch/kocevski/362837/ft2_4FGL_J1514.8+4448_daily_bin173.fits outfile=/scratch/kocevski/362837/cmap_HighResolution_284169601_284428801_4FGL_J1514.8+4448_daily_bin173.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.719 yref=44.8105 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.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/362837/ft1_filtered_4FGL_J1514.8+4448_daily_bin173.fits evtable="EVENTS" scfile=/scratch/kocevski/362837/ft2_4FGL_J1514.8+4448_daily_bin173.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/362837/Model_4FGL_J1514.8+4448_daily_bin173.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/362837/ft1_filtered_4FGL_J1514.8+4448_daily_bin173.fits.....................!
real 47.58
user 46.25
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/362837/ft1_filtered_4FGL_J1514.8+4448_daily_bin173.fits', '/scratch/kocevski/362837/ft2_4FGL_J1514.8+4448_daily_bin173.fits', expMap='/scratch/kocevski/362837/expmap_284169601_284428801_4FGL_J1514.8+4448_daily_bin173.fits', expCube='/scratch/kocevski/362837/ltcube_284169601_284428801_4FGL_J1514.8+4448_daily_bin173.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/362837/Model_4FGL_J1514.8+4448_daily_bin173.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1514.8+4448'

4FGL J1514.8+4448
   Spectrum: LogParabola
286         norm:  1.475e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
287        alpha:  2.210e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
288         beta:  1.666e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
289           Eb:  8.626e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/362837/ft1_filtered_4FGL_J1514.8+4448_daily_bin173.fits
Spacecraft file(s): /scratch/kocevski/362837/ft2_4FGL_J1514.8+4448_daily_bin173.fits
Exposure map: /scratch/kocevski/362837/expmap_284169601_284428801_4FGL_J1514.8+4448_daily_bin173.fits
Exposure cube: /scratch/kocevski/362837/ltcube_284169601_284428801_4FGL_J1514.8+4448_daily_bin173.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/362837/Model_4FGL_J1514.8+4448_daily_bin173.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) = 6002.28578819

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10069E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    27.231       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10127E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    30.055       1.0000         .10000E-03   10000.    
     8 'norm      '    8.9405       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10065E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    11.130       1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .58880       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .83537       1.0000         .10000E-03   10000.    
    19 'norm      '    3.7923       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .31721E-02   1.0000         .10000E-03   10000.    
    21 'Prefactor '    11.415       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10085E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    10.505       1.0000         .10000E-03   10000.    
    25 'norm      '    .13238E-02   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    28.330       1.0000         .10000E-03   10000.    
    28 'Prefactor '    8.1923       1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    30 'Normalizat'    .98386       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .84289       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6360E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6002.262     FROM MIGRAD    STATUS=CONVERGED    789 CALLS     4100 TOTAL
                     EDM=   .30E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    51.957        .20209E-05** at limit **
   2  Prefactor     .10000E-03    3.0466       -.11247E-07** at limit **
   3  Prefactor     27.227        24.228       -.75879E-07   -.14054E-04
   4  Prefactor     .10000E-03    8.5511        .30997E-06** at limit **
   5  Prefactor     .10000E-03    23.617       -.69077E-06** at limit **
   6  Prefactor     .10000E-03    81.172       -.27824E-05** at limit **
   7  Prefactor     30.064        26.220        .15780E-06    .17375E-04
   8  norm          8.9399        6.8190        .76019E-06   -.44913E-03
   9  Prefactor     .10000E-03    39.501       -.30259E-06** at limit **
  10  Prefactor     11.128        13.496        .60458E-06   -.10955E-03
  11  norm          .10000E-03    2.5258       -.17929E-07** at limit **
  12  Prefactor     .10000E-03    11.447       -.11598E-05** at limit **
  13  Prefactor     .10000E-03    5.4074        .22746E-07** at limit **
  14  norm          .58870        .95854        .36453E-07   -.46428E-04
  15  Prefactor     .10000E-03    2.4640       -.15177E-07** at limit **
  16  Prefactor     .10000E-03    6.5675        .42967E-07** at limit **
  17  Prefactor     .10000E-03    2.0762       -.17729E-07** at limit **
  18  norm          .83521        1.1680       -.70259E-08    .81756E-05
  19  norm          3.7934        3.8937        .11026E-05   -.51743E-04
  20  Prefactor     .10024E-03    7.6322       -.11115E-05** at limit **
  21  Prefactor     11.416        89.228        .23220E-06    .75379E-07
  22  Prefactor     .10000E-03    6.5220       -.13220E-06** at limit **
  23  Prefactor     .10000E-03    12.595        .81648E-07** at limit **
  24  Prefactor     10.494        14.192        .71583E-07   -.10479E-03
  25  norm          .10003E-03    9.0605        .36344E-06** at limit **
  26  Prefactor     .10000E-03    13.481        .11141E-05** at limit **
  27  Prefactor     28.323        67.747       -.62348E-06   -.79792E-05
  28  Prefactor     8.1918        5.0631        .28915E-07   -.17378E-05
  29  Prefactor     .10000E-03    4.5494       -.18567E-07** at limit **
  30  Normalizat    .98408        .16194        .11139E-06    .83096E-05
  31  Prefactor     .84266        .16955       -.18485E-06    .10460E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 27.227
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 30.064
  norm       = 8.93993
  Prefactor  = 0.0001
  Prefactor  = 11.1284
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.588696
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.83521
  norm       = 3.79344
  Prefactor  = 0.000100242
  Prefactor  = 11.4156
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.4942
  norm       = 0.000100031
  Prefactor  = 0.0001
  Prefactor  = 28.3229
  Prefactor  = 8.19177
  Prefactor  = 0.0001
  Normalizat = 0.984075
  Prefactor  = 0.842657
 **********
 **   18 **HESSE 
 **********

 FCN=   6002.262     FROM HESSE     STATUS=OK           630 CALLS     4730 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    52.318        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    3.0962        .13197E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     27.227        24.389        .76770E-04   -1.4664    
   4  Prefactor     .10000E-03    8.5703        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    23.712        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    81.878        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     30.064        26.257        .73083E-04   -1.4611    
   8  norm          8.9399        6.6863        .67024E-03   -1.5110    
   9  Prefactor     .10000E-03    39.636        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     11.128        13.403        .60043E-03   -1.5041    
  11  norm          .10000E-03    2.5264        .12025E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    11.584        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    5.4184        .17591E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .58870        .79034        .93224E-03   -1.5555    
  15  Prefactor     .10000E-03    2.4702        .11872E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    6.6155        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    2.0885        .10900E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .83521        1.1659        .50284E-04   -1.5525    
  19  norm          3.7934        4.6889        .14433E-03   -1.5318    
  20  Prefactor     .10024E-03    11.599        .56353E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     11.416        88.931        .11857E-03   -1.5032    
  22  Prefactor     .10000E-03    6.5343        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    12.755        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     10.494        12.958        .12362E-03   -1.5060    
  25  norm          .10003E-03    56.282        .40900E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    13.590        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     28.323        67.950        .75269E-04   -1.4643    
  28  Prefactor     8.1918        5.0593        .13187E-03   -1.5135    
  29  Prefactor     .10000E-03    4.5501        .16138E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    .98408        .19173        .22070E-03   -.93566    
  31  Prefactor     .84266        .19931        .25437E-03   -.98175    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.38834e-09
Minuit parameter uncertainties:
  1  0.000247032
  2  1.6945e-07
  3  24.3981
  4  8.68454e-06
  5  6.09701e-05
  6  0.000454053
  7  26.2674
  8  6.68688
  9  7.2305e-05
  10  13.4062
  11  8.10968e-07
  12  6.66692e-05
  13  1.88568e-06
  14  0.79035
  15  1.05953e-06
  16  1.50838e-06
  17  2.14172e-06
  18  1.16589
  19  4.68932
  20  0.00335467
  21  63.8558
  22  1.15467e-05
  23  3.91731e-05
  24  12.9619
  25  0.00264057
  26  5.30431e-05
  27  68.1363
  28  5.05954
  29  3.72701e-09
  30  0.191863
  31  0.199477
Done.

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

Extracting fit parameters...

4FGL J1514.8+4448
   Spectrum: LogParabola
286         norm:  3.793e+00  4.689e+00  1.000e-04  1.000e+04 ( 1.000e-12)
287        alpha:  2.210e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
288         beta:  1.666e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
289           Eb:  8.626e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
633    Prefactor:  8.427e-01  1.995e-01  0.000e+00  1.000e+01 ( 1.000e+00)
634        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
635        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
632   Normalization:  9.841e-01  1.919e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.42
Ra Dec: 228.719 44.810
Photon Index (Fixed Index): 2.21 +/- 0.00
Photon Flux (Fixed Index): 2.52e-08 +/- 3.11e-08
Energy Flux (Fixed Index): 1.06e-05 +/- 1.31e-05

TS (Fixed Index): 1.42
Ra Dec: 228.719 44.810
Photon Flux Upper Limit: 8.14e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.43e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/362837/likelihoodResults_284169601_284428801_4FGL_J1514.8+4448_daily_bin173.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) = 6002.23758466
delta logL = 0.0242091753607

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6002.2321612
delta logL = 0.0296326352518

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.2197       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9589       1.0000          .0000       5.0000    
     3 'Normalizat'    .99165       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83663       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6360E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6002.232     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      226 TOTAL
                     EDM=   .48E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.2162        157.40        .49042E-02    .30134E-03
   2  alpha         1.9576        3.6267        .42441        .97522E-06
   3  Normalizat    .99172        .99705E-01    .46062E-01   -.15981E-03
   4  Prefactor     .83655        .78632E-01    .44192E-01   -.10335E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.21619
  alpha      = 1.95758
  Normalizat = 0.991724
  Prefactor  = 0.836553
 **********
 **   18 **HESSE 
 **********

 FCN=   6002.232     FROM HESSE     STATUS=OK            31 CALLS      257 TOTAL
                     EDM=   .25E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.2162        4.2918        .15150E-03   -1.5297    
   2  alpha         1.9576        .95060        .22028E-01   -.21871    
   3  Normalizat    .99172        .18353        .21993E-03   -.93308    
   4  Prefactor     .83655        .19808        .25516E-03   -.98395    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.46526e-11
Minuit parameter uncertainties:
  1  4.29215
  2  0.976447
  3  0.183651
  4  0.198252
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/362837': 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) = 6002.23215955
delta logL = 0.0296342836746

Extracting fit parameters...

4FGL J1514.8+4448
   Spectrum: LogParabola
286         norm:  4.216e+00  4.292e+00  1.000e-04  1.000e+04 ( 1.000e-12)
287        alpha:  1.958e+00  9.764e-01  0.000e+00  5.000e+00 ( 1.000e+00)
288         beta:  1.666e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
289           Eb:  8.626e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
633    Prefactor:  8.366e-01  1.983e-01  0.000e+00  1.000e+01 ( 1.000e+00)
634        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
635        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
632   Normalization:  9.917e-01  1.837e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.48
Ra Dec: 228.719 44.810
Photon Index (Free Index): 1.96 +/- 0.98
Photon Flux (Free Index): 2.12e-08 +/- 2.64e-08
Energy Flux (Free Index): 1.23e-05 +/- 1.46e-05

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/362837/cmap_HighResolution_284169601_284428801_4FGL_J1514.8+4448_daily_bin173.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.43e-05', comment='SUCCESS', photon_flux='2.52e-08', energy_flux2='1.23e-05', photon_flux_error='3.11e-08', dlogl='2.96e-02', energy_flux='1.06e-05', photon_flux2='2.12e-08', job_status='DONE', time_completed='2021-09-11 18:06:10.542572', photon_index_error2='0.98', photon_index2='1.96', ts='1.42', fit_tolerance='1e-08', GAL='0.84', photon_index_error='0.00', photon_flux_upper_limit='8.14e-08', energy_flux_error2='1.46e-05', EG='0.98', time_epoch_completed='1631408770.54', return_code='0', job_id='362837', GAL2='0.84', EG2='0.99', return_code2='0', energy_flux_error='1.31e-05', photon_flux_error2='2.64e-08', ts2='1.48', photon_index='2.21' WHERE bin_id='173' AND source_name='4FGL J1514.8+4448' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 11 18:06:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0250>
Subject: Job 362837: <4FGL_J1514.8+4448_daily_bin173> in cluster <slac> Done

Job <4FGL_J1514.8+4448_daily_bin173> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Sep 11 17:50:57 2021
Job was executed on host(s) <bullet0250>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 11 17:50:59 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:50:59 2021
Terminated at Sat Sep 11 18:06:11 2021
Results reported at Sat Sep 11 18:06:11 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1514.8+4448_daily_bin173 228.719 44.8105 284169601 284428801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1514.8+4448 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   894.17 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             335.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   934 sec.
    Turnaround time :                            914 sec.

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

