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


Performing analysis on: 4FGL_J1514.8+4448_daily_bin627
RA = 228.719, Dec = 44.8105
tmin = 401846401, tmax = 402105601
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='366900', job_status='RUN', time_executed='2021-09-11 18:06:29.007686', time_epoch_executed='1631408789.01' WHERE source_name='4FGL J1514.8+4448' and cadence='daily' and bin_id='627'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/366900

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/366900/ft1_4FGL_J1514.8+4448_daily_bin627.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/366900/ft2_4FGL_J1514.8+4448_daily_bin627.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/366900/ft1_4FGL_J1514.8+4448_daily_bin627.fits outfile=/scratch/kocevski/366900/ft1_filteredMKT_4FGL_J1514.8+4448_daily_bin627.fits ra=228.719 dec=44.8105 rad=12.0 tmin=401846401.0 tmax=402105601.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.44
user 3.23
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/366900/ft1_filtered_4FGL_J1514.8+4448_daily_bin627.fits" evtable="EVENTS" scfile=/scratch/kocevski/366900/ft2_4FGL_J1514.8+4448_daily_bin627.fits sctable="SC_DATA" outfile=/scratch/kocevski/366900/ltcube_401846401_402105601_4FGL_J1514.8+4448_daily_bin627.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/366900/ft2_4FGL_J1514.8+4448_daily_bin627.fits
.....................!
real 11.74
user 11.37
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/366900/ft1_filtered_4FGL_J1514.8+4448_daily_bin627.fits evtable="EVENTS" scfile=/scratch/kocevski/366900/ft2_4FGL_J1514.8+4448_daily_bin627.fits sctable="SC_DATA" expcube=/scratch/kocevski/366900/ltcube_401846401_402105601_4FGL_J1514.8+4448_daily_bin627.fits outfile=/scratch/kocevski/366900/expmap_401846401_402105601_4FGL_J1514.8+4448_daily_bin627.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/366900/ltcube_401846401_402105601_4FGL_J1514.8+4448_daily_bin627.fits
.....................!
real 189.45
user 185.01
sys 4.12

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/366900/ft1_filtered_4FGL_J1514.8+4448_daily_bin627.fits scfile=/scratch/kocevski/366900/ft2_4FGL_J1514.8+4448_daily_bin627.fits outfile=/scratch/kocevski/366900/cmap_401846401_402105601_4FGL_J1514.8+4448_daily_bin627.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/366900/ft1_filtered_4FGL_J1514.8+4448_daily_bin627.fits scfile=/scratch/kocevski/366900/ft2_4FGL_J1514.8+4448_daily_bin627.fits outfile=/scratch/kocevski/366900/cmap_HighResolution_401846401_402105601_4FGL_J1514.8+4448_daily_bin627.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.53
user 0.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    31.455       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .46415       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10670E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    14.310       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .28157E-02   1.0000         .10000E-03   10000.    
     7 'Prefactor '    33.820       1.0000         .10000E-03   10000.    
     8 'norm      '    1.1369       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    3.4396       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.9220       1.0000         .10000E-03   10000.    
    14 'norm      '    1.7062       1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.9247       1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.1911       1.0000         .10000E-03   10000.    
    17 'Prefactor '    6.3872       1.0000         .10000E-03   10000.    
    18 'norm      '    .10418E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .20316E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    8.4054       1.0000         .10000E-03   10000.    
    21 'Prefactor '    54.050       1.0000         .10000E-03   10000.    
    22 'Prefactor '    1.7974       1.0000         .10000E-03   10000.    
    23 'Prefactor '    20.153       1.0000         .10000E-03   10000.    
    24 'Prefactor '    12.141       1.0000         .10000E-03   10000.    
    25 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    48.489       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10571E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    .13486E-03   1.0000         .10000E-03   10000.    
    30 'Normalizat'    .66229       1.0000         .10000E-01   10.000    
    31 'Prefactor '    1.1650       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=   6263.939     FROM MIGRAD    STATUS=CONVERGED    830 CALLS     4411 TOTAL
                     EDM=   .75E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     31.469        32.688       -.85288E-06   -.44095E-04
   2  Prefactor     .45923        2.8412        .74440E-06   -.49230E-03
   3  Prefactor     .10000E-03    11.381       -.46080E-06** at limit **
   4  Prefactor     14.308        16.781       -.10699E-06   -.15790E-04
   5  Prefactor     .10000E-03    11.880        .57340E-07** at limit **
   6  Prefactor     .10000E-03    27.928       -.69154E-06** at limit **
   7  Prefactor     33.817        25.045       -.17836E-06   -.64281E-05
   8  norm          1.1359        3.4946        .83491E-06   -.71497E-04
   9  Prefactor     .10000E-03    18.522        .71052E-07** at limit **
  10  Prefactor     .10000E-03    5.1956       -.93694E-07** at limit **
  11  norm          3.4396        7.6418        .20639E-06   -.37850E-04
  12  Prefactor     .10000E-03    6.6749       -.32388E-07** at limit **
  13  Prefactor     3.9210        11.105        .85221E-05   -.30608E-03
  14  norm          1.7065        1.4425       -.38926E-06   -.33686E-03
  15  Prefactor     2.9202        5.9129        .46484E-07   -.15062E-03
  16  Prefactor     1.1832        21.406        .26426E-05   -.77394E-04
  17  Prefactor     6.3858        6.5136       -.68607E-06   -.73088E-04
  18  norm          .10000E-03    .95349        .60837E-07** at limit **
  19  norm          .10000E-03    2.5940        .61129E-07** at limit **
  20  Prefactor     8.4116        11.348        .50999E-06   -.46290E-04
  21  Prefactor     54.039        48.783       -.63257E-06   -.39263E-04
  22  Prefactor     1.7573        110.27        .43959E-05    .35706E-04
  23  Prefactor     20.170        19.498       -.45853E-06   -.18711E-03
  24  Prefactor     12.140        12.360       -.12492E-07    .42926E-05
  25  norm          .10000E-03    4.9684       -.30416E-06** at limit **
  26  Prefactor     .10000E-03    4.8665        .87697E-07** at limit **
  27  Prefactor     48.392        72.436       -.11706E-04   -.24038E-03
  28  Prefactor     .10000E-03    4.8999       -.19297E-06** at limit **
  29  Prefactor     .10000E-03    42.024       -.60368E-06** at limit **
  30  Normalizat    .66244        .16881        .68747E-07   -.13851E-03
  31  Prefactor     1.1651        .17669       -.57280E-06   -.83756E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 31.4688
  Prefactor  = 0.459226
  Prefactor  = 0.0001
  Prefactor  = 14.3076
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 33.8169
  norm       = 1.13592
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.43961
  Prefactor  = 0.0001
  Prefactor  = 3.92095
  norm       = 1.70647
  Prefactor  = 2.92022
  Prefactor  = 1.18321
  Prefactor  = 6.38583
  norm       = 0.0001
  norm       = 0.000100001
  Prefactor  = 8.41155
  Prefactor  = 54.0389
  Prefactor  = 1.75728
  Prefactor  = 20.1704
  Prefactor  = 12.1403
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 48.3924
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Normalizat = 0.662442
  Prefactor  = 1.16506
 **********
 **   18 **HESSE 
 **********

 FCN=   6263.939     FROM HESSE     STATUS=OK           638 CALLS     5049 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     31.469        32.747        .71442E-04   -1.4585    
   2  Prefactor     .45923        10.597        .24507E-02   -1.5572    
   3  Prefactor     .10000E-03    66.485        .50372E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     14.308        16.784        .10588E-03   -1.4951    
   5  Prefactor     .10000E-03    11.898        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    29.724        .13773       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     33.817        25.075        .68906E-04   -1.4544    
   8  norm          1.1359        3.4220        .25052E-03   -1.5495    
   9  Prefactor     .10000E-03    18.537        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    5.2114        .17616E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          3.4396        7.6234        .21809E-03   -1.5337    
  12  Prefactor     .10000E-03    6.6987        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     3.9210        11.465        .10186E-02   -1.5312    
  14  norm          1.7065        1.4317        .82265E-04   -1.5447    
  15  Prefactor     2.9202        5.7114        .23754E-03   -1.5366    
  16  Prefactor     1.1832        21.980        .41728E-03   -1.5490    
  17  Prefactor     6.3858        6.4941        .15881E-03   -1.5203    
  18  norm          .10000E-03    1.8240        .14281E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    6.0330        .23249E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     8.4116        10.842        .13827E-03   -1.5128    
  21  Prefactor     54.039        48.503        .27279E-03   -1.4236    
  22  Prefactor     1.7573        93.357        .31186E-03   -1.5443    
  23  Prefactor     20.170        18.577        .89219E-04   -1.4809    
  24  Prefactor     12.140        12.350        .11496E-03   -1.5011    
  25  norm          .10000E-03    4.9781        .17221E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    4.8681        .17052E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     48.392        76.603        .57586E-04   -1.4316    
  28  Prefactor     .10000E-03    5.0121        .17110E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .10000E-03    43.361        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    .66244        .19885        .26114E-03   -1.0539    
  31  Prefactor     1.1651        .21156        .22580E-03   -.87413    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.20658e-09
Minuit parameter uncertainties:
  1  32.7659
  2  4.41243
  3  0.000302206
  4  16.79
  5  5.64822e-06
  6  8.97026e-05
  7  25.0828
  8  3.42261
  9  2.81475e-06
  10  1.68644e-05
  11  7.62551
  12  8.17779e-06
  13  11.4718
  14  1.43177
  15  5.71246
  16  10.2033
  17  6.49478
  18  8.38805e-06
  19  0.000138126
  20  10.8444
  21  48.538
  22  25.6584
  23  18.5823
  24  12.3528
  25  1.86951e-05
  26  2.28918e-06
  27  76.759
  28  8.10933e-05
  29  0.000375103
  30  0.199065
  31  0.211711
Done.

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

Extracting fit parameters...

4FGL J1514.8+4448
   Spectrum: LogParabola
286         norm:  1.000e-04  1.381e-04  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.165e+00  2.117e-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:  6.624e-01  1.991e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/366900/likelihoodResults_401846401_402105601_4FGL_J1514.8+4448_daily_bin627.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) = 6263.93931317
delta logL = -0.000789437539424

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6263.55808521
delta logL = 0.380438530359

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .39521       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.8263       1.0000          .0000       5.0000    
     3 'Normalizat'    .63289       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1794       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=   6263.558     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      274 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .39607        8.4114        .10835E-01    .15244E-02
   2  alpha         3.8246        4.4122        .50000        .48795E-04
   3  Normalizat    .63304        .28650E-01    .60267E-01    .50643E-05
   4  Prefactor     1.1795        .32129E-01    .50743E-01   -.26223E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.396066
  alpha      = 3.82459
  Normalizat = 0.633044
  Prefactor  = 1.17947
 **********
 **   18 **HESSE 
 **********

 FCN=   6263.558     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      309 TOTAL
                     EDM=   .73E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .39607        31.561        .62132E-03   -1.5582    
   2  alpha         3.8246        2.9886        .22902E-01    .55841    
   3  Normalizat    .63304        .16353        .26660E-03   -1.0660    
   4  Prefactor     1.1795        .18409        .22433E-03   -.86966    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.29779e-08
Minuit parameter uncertainties:
  1  7.07407
  2  10.3254
  3  0.163654
  4  0.184186
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/366900': 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): 102
logL (Free Index) = 6263.55808233
delta logL = 0.380441407894

Extracting fit parameters...

4FGL J1514.8+4448
   Spectrum: LogParabola
286         norm:  3.961e-01  7.074e+00  1.000e-04  1.000e+04 ( 1.000e-12)
287        alpha:  3.825e+00  1.033e+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.179e+00  1.842e-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:  6.330e-01  1.637e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 228.719 44.810

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/366900/cmap_HighResolution_401846401_402105601_4FGL_J1514.8+4448_daily_bin627.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.09e-05', job_status='DONE', photon_flux_upper_limit='4.97e-08', time_completed='2021-09-11 18:22:30.790297', job_id='366900', GAL2='1.18', fit_tolerance='1e-08', EG2='0.63', EG='0.66', time_epoch_completed='1631409750.79', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.17', dlogl='3.80e-01', ts2='0.78', photon_index_error='0.00', photon_index='2.21' WHERE bin_id='627' AND source_name='4FGL J1514.8+4448' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 11 18:22:30 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0217>
Subject: Job 366900: <4FGL_J1514.8+4448_daily_bin627> in cluster <slac> Done

Job <4FGL_J1514.8+4448_daily_bin627> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Sep 11 18:06:14 2021
Job was executed on host(s) <bullet0217>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 11 18:06:15 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:06:15 2021
Terminated at Sat Sep 11 18:22:31 2021
Results reported at Sat Sep 11 18:22:31 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1514.8+4448_daily_bin627 228.719 44.8105 401846401 402105601 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 :                                   957.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             327.16 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   976 sec.
    Turnaround time :                            977 sec.

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

