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


Performing analysis on: 4FGL_J1514.8+4448_daily_bin248
RA = 228.719, Dec = 44.8105
tmin = 303609601, tmax = 303868801
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='364092', job_status='RUN', time_executed='2021-09-11 17:56:14.714843', time_epoch_executed='1631408174.71' WHERE source_name='4FGL J1514.8+4448' and cadence='daily' and bin_id='248'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/364092

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/364092/ft1_4FGL_J1514.8+4448_daily_bin248.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/364092/ft2_4FGL_J1514.8+4448_daily_bin248.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/364092/ft1_4FGL_J1514.8+4448_daily_bin248.fits outfile=/scratch/kocevski/364092/ft1_filteredMKT_4FGL_J1514.8+4448_daily_bin248.fits ra=228.719 dec=44.8105 rad=12.0 tmin=303609601.0 tmax=303868801.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.39
user 3.17
sys 0.20

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/364092/ft1_filtered_4FGL_J1514.8+4448_daily_bin248.fits evtable="EVENTS" scfile=/scratch/kocevski/364092/ft2_4FGL_J1514.8+4448_daily_bin248.fits sctable="SC_DATA" expcube=/scratch/kocevski/364092/ltcube_303609601_303868801_4FGL_J1514.8+4448_daily_bin248.fits outfile=/scratch/kocevski/364092/expmap_303609601_303868801_4FGL_J1514.8+4448_daily_bin248.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/364092/ltcube_303609601_303868801_4FGL_J1514.8+4448_daily_bin248.fits
.....................!
real 190.24
user 185.29
sys 4.43

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/364092/ft1_filtered_4FGL_J1514.8+4448_daily_bin248.fits scfile=/scratch/kocevski/364092/ft2_4FGL_J1514.8+4448_daily_bin248.fits outfile=/scratch/kocevski/364092/cmap_303609601_303868801_4FGL_J1514.8+4448_daily_bin248.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/364092/ft1_filtered_4FGL_J1514.8+4448_daily_bin248.fits scfile=/scratch/kocevski/364092/ft2_4FGL_J1514.8+4448_daily_bin248.fits outfile=/scratch/kocevski/364092/cmap_HighResolution_303609601_303868801_4FGL_J1514.8+4448_daily_bin248.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.14

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/364092/ft1_filtered_4FGL_J1514.8+4448_daily_bin248.fits', '/scratch/kocevski/364092/ft2_4FGL_J1514.8+4448_daily_bin248.fits', expMap='/scratch/kocevski/364092/expmap_303609601_303868801_4FGL_J1514.8+4448_daily_bin248.fits', expCube='/scratch/kocevski/364092/ltcube_303609601_303868801_4FGL_J1514.8+4448_daily_bin248.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/364092/Model_4FGL_J1514.8+4448_daily_bin248.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/364092/ft1_filtered_4FGL_J1514.8+4448_daily_bin248.fits
Spacecraft file(s): /scratch/kocevski/364092/ft2_4FGL_J1514.8+4448_daily_bin248.fits
Exposure map: /scratch/kocevski/364092/expmap_303609601_303868801_4FGL_J1514.8+4448_daily_bin248.fits
Exposure cube: /scratch/kocevski/364092/ltcube_303609601_303868801_4FGL_J1514.8+4448_daily_bin248.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/364092/Model_4FGL_J1514.8+4448_daily_bin248.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) = 5878.04650919

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10053E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    7.4407       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .19125       1.0000         .10000E-03   10000.    
     7 'Prefactor '    38.305       1.0000         .10000E-03   10000.    
     8 'norm      '    3.0768       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10020E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.1409       1.0000         .10000E-03   10000.    
    18 'norm      '    1.3595       1.0000         .10000E-03   10000.    
    19 'norm      '    11.254       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    13.475       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .10031E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    42.317       1.0000         .10000E-03   10000.    
    27 'Prefactor '    11.218       1.0000         .10000E-03   10000.    
    28 'Prefactor '    4.8771       1.0000         .10000E-03   10000.    
    29 'Prefactor '    14.461       1.0000         .10000E-03   10000.    
    30 'Normalizat'    .75945       1.0000         .10000E-01   10.000    
    31 'Prefactor '    1.1129       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6360E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5878.032     FROM MIGRAD    STATUS=CONVERGED    156 CALLS     3548 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10010E-03    20.935        .96222E-05** at limit **
   2  Prefactor     .10000E-03    1.9708        .20409E-07** at limit **
   3  Prefactor     7.4434        5.1902       -.19107E-05    .40048E-02
   4  Prefactor     .10000E-03    6.0419       -.46964E-05** at limit **
   5  Prefactor     .10003E-03    8.4862       -.72293E-05** at limit **
   6  Prefactor     .44371        583.32       -.46899E-05   -.11782E-03
   7  Prefactor     38.284        21.872        .52642E-05   -.27869E-03
   8  norm          3.0775        1.1746       -.25861E-06    .17191E-04
   9  Prefactor     .10001E-03    8.6390       -.89441E-05** at limit **
  10  Prefactor     .10000E-03    5.5976       -.85163E-06** at limit **
  11  norm          .10000E-03    2.4274       -.33090E-07** at limit **
  12  Prefactor     .10001E-03    10.923       -.11414E-04** at limit **
  13  Prefactor     .10000E-03    4.9528        .50296E-06** at limit **
  14  norm          .10000E-03    1.4497        .15621E-08** at limit **
  15  Prefactor     .10000E-03    2.4367        .43035E-08** at limit **
  16  Prefactor     .10000E-03    3.8779       -.41006E-07** at limit **
  17  Prefactor     1.1416        3.5291        .12789E-05    .77159E-04
  18  norm          1.3596        1.4611        .60697E-07   -.77992E-04
  19  norm          11.253        3.6147        .76412E-06   -.55998E-03
  20  Prefactor     .10000E-03    6.2324        .61723E-05** at limit **
  21  Prefactor     .10004E-03    25.803       -.25126E-05** at limit **
  22  Prefactor     .10002E-03    9.0899        .16879E-04** at limit **
  23  Prefactor     13.478        5.2066       -.34844E-05    .62933E-02
  24  Prefactor     .10001E-03    8.7121       -.12723E-04** at limit **
  25  norm          .10004E-03    13.539        .15447E-04** at limit **
  26  Prefactor     42.289        11.690        .37934E-05   -.76126E-02
  27  Prefactor     11.341        12.957       -.10064E-05   -.74247E-05
  28  Prefactor     4.8778        1.8934       -.11263E-05   -.11872E-03
  29  Prefactor     14.449        13.158        .46714E-05    .86274E-03
  30  Normalizat    .75958        .20164       -.61510E-06    .21219E-03
  31  Prefactor     1.1126        .21372       -.79963E-06    .21266E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100095
  Prefactor  = 0.0001
  Prefactor  = 7.44342
  Prefactor  = 0.0001
  Prefactor  = 0.00010003
  Prefactor  = 0.443715
  Prefactor  = 38.284
  norm       = 3.07754
  Prefactor  = 0.000100014
  Prefactor  = 0.000100002
  norm       = 0.0001
  Prefactor  = 0.000100014
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.14164
  norm       = 1.35956
  norm       = 11.2535
  Prefactor  = 0.000100004
  Prefactor  = 0.000100043
  Prefactor  = 0.000100016
  Prefactor  = 13.478
  Prefactor  = 0.00010001
  norm       = 0.000100044
  Prefactor  = 42.2894
  Prefactor  = 11.3406
  Prefactor  = 4.87782
  Prefactor  = 14.4491
  Normalizat = 0.759579
  Prefactor  = 1.1126
 **********
 **   18 **HESSE 
 **********

 FCN=   5878.032     FROM HESSE     STATUS=OK           688 CALLS     4236 TOTAL
                     EDM=   .45E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10010E-03    21.542        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    1.9460        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     7.4434        18.660        .36757E-02   -1.5162    
   4  Prefactor     .10000E-03    6.0329        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10003E-03    16.875        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .44371        34.024        .14537       -1.5575    
   7  Prefactor     38.284        28.091        .16190E-02   -1.4470    
   8  norm          3.0775        5.5100        .57810E-02   -1.5357    
   9  Prefactor     .10001E-03    17.140        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    5.5566        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    2.4273        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10001E-03    10.886        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    4.9329        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    .76584        .25180E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    2.4312        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    3.8595        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     1.1416        6.9489        .10879E-01   -1.5494    
  18  norm          1.3596        1.4858        .93661E-02   -1.5475    
  19  norm          11.253        5.1003        .29856E-02   -1.5037    
  20  Prefactor     .10000E-03    6.2082        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10004E-03    25.947        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10002E-03    9.1536        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     13.478        14.543        .27279E-02   -1.4974    
  24  Prefactor     .10001E-03    8.7203        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .10004E-03    13.374        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     42.289        34.837        .15406E-02   -1.4406    
  27  Prefactor     11.341        82.672        .29904E-02   -1.5034    
  28  Prefactor     4.8778        6.6298        .45536E-02   -1.5266    
  29  Prefactor     14.449        26.313        .26332E-02   -1.4948    
  30  Normalizat    .75958        .17879        .43079E-01   -1.0159    
  31  Prefactor     1.1126        .18645        .37117E-01   -.89065    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.49575e-07
Minuit parameter uncertainties:
  1  0.00286711
  2  6.93893e-06
  3  18.6747
  4  8.08562e-05
  5  0.00142084
  6  7.7747
  7  28.1005
  8  5.51095
  9  0.000984547
  10  0.000220999
  11  4.94533e-06
  12  0.000769002
  13  8.49119e-05
  14  5.20116e-07
  15  3.42266e-07
  16  3.10987e-06
  17  5.63389
  18  1.48586
  19  5.10054
  20  0.00033117
  21  0.00212437
  22  0.000764417
  23  14.5468
  24  0.000591101
  25  0.00153946
  26  34.8541
  27  61.3582
  28  6.63078
  29  26.3342
  30  0.17893
  31  0.186558
Done.

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

Extracting fit parameters...

4FGL J1514.8+4448
   Spectrum: LogParabola
286         norm:  1.125e+01  5.101e+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:  1.113e+00  1.866e-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:  7.596e-01  1.789e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 11.17
Ra Dec: 228.719 44.810
Photon Index (Fixed Index): 2.21 +/- 0.00
Photon Flux (Fixed Index): 7.47e-08 +/- 3.39e-08
Energy Flux (Fixed Index): 3.15e-05 +/- 1.43e-05

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) = 5878.00353317
delta logL = 0.0284379619816

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5877.9942455
delta logL = 0.0377256342445

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    10.592       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3527       1.0000          .0000       5.0000    
     3 'Normalizat'    .74773       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1203       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5877.994     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      229 TOTAL
                     EDM=   .49E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.592        5.4199        .99521E-04   -.10292E-02
   2  alpha         2.3525        .53577        .10496E-01   -.11230E-03
   3  Normalizat    .74771        .19568        .25051E-03    .95891E-04
   4  Prefactor     1.1204        .21455        .23203E-03    .21793E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 10.5922
  alpha      = 2.35249
  Normalizat = 0.747708
  Prefactor  = 1.12035
 **********
 **   18 **HESSE 
 **********

 FCN=   5877.994     FROM HESSE     STATUS=OK            25 CALLS      254 TOTAL
                     EDM=   .54E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.592        5.2715        .39809E-05   -1.5057    
   2  alpha         2.3525        .52061        .41982E-03   -.59040E-01
   3  Normalizat    .74771        .19546        .10021E-04   -1.0204    
   4  Prefactor     1.1204        .21451        .46406E-04   -.88819    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.38691e-10
Minuit parameter uncertainties:
  1  5.27172
  2  0.524459
  3  0.195639
  4  0.214679
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/364092': 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) = 5877.99424541
delta logL = 0.0377257270075

Extracting fit parameters...

4FGL J1514.8+4448
   Spectrum: LogParabola
286         norm:  1.059e+01  5.272e+00  1.000e-04  1.000e+04 ( 1.000e-12)
287        alpha:  2.352e+00  5.245e-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:  1.120e+00  2.147e-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:  7.477e-01  1.956e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.25
Ra Dec: 228.719 44.810
Photon Index (Free Index): 2.35 +/- 0.52
Photon Flux (Free Index): 8.39e-08 +/- 4.82e-08
Energy Flux (Free Index): 3.04e-05 +/- 1.31e-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/364092/cmap_HighResolution_303609601_303868801_4FGL_J1514.8+4448_daily_bin248.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.47e-08', energy_flux2='3.04e-05', photon_flux_error='3.39e-08', dlogl='3.77e-02', energy_flux='3.15e-05', photon_flux2='8.39e-08', job_status='DONE', time_completed='2021-09-11 18:08:35.266282', photon_index_error2='0.52', photon_index2='2.35', ts='11.17', fit_tolerance='1e-08', GAL='1.11', photon_index_error='0.00', energy_flux_error2='1.31e-05', EG='0.76', time_epoch_completed='1631408915.27', return_code='0', job_id='364092', GAL2='1.12', EG2='0.75', return_code2='0', energy_flux_error='1.43e-05', photon_flux_error2='4.82e-08', ts2='11.25', photon_index='2.21' WHERE bin_id='248' AND source_name='4FGL J1514.8+4448' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 11 18:08:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0105>
Subject: Job 364092: <4FGL_J1514.8+4448_daily_bin248> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1514.8+4448_daily_bin248 228.719 44.8105 303609601 303868801 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 :                                   734.44 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             303.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   756 sec.
    Turnaround time :                            759 sec.

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

