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


Performing analysis on: 4FGL_J1514.8+4448_daily_bin588
RA = 228.719, Dec = 44.8105
tmin = 391737601, tmax = 391996801
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='366843', job_status='RUN', time_executed='2021-09-11 18:06:26.085955', time_epoch_executed='1631408786.09' WHERE source_name='4FGL J1514.8+4448' and cadence='daily' and bin_id='588'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/366843

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/366843/ft1_4FGL_J1514.8+4448_daily_bin588.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/366843/ft2_4FGL_J1514.8+4448_daily_bin588.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/366843/ft1_4FGL_J1514.8+4448_daily_bin588.fits outfile=/scratch/kocevski/366843/ft1_filteredMKT_4FGL_J1514.8+4448_daily_bin588.fits ra=228.719 dec=44.8105 rad=12.0 tmin=391737601.0 tmax=391996801.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.30
user 3.09
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/366843/ft2_4FGL_J1514.8+4448_daily_bin588.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/366843/ft1_filteredMKT_4FGL_J1514.8+4448_daily_bin588.fits evtable="EVENTS" outfile="/scratch/kocevski/366843/ft1_filtered_4FGL_J1514.8+4448_daily_bin588.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/366843/ft1_filtered_4FGL_J1514.8+4448_daily_bin588.fits" evtable="EVENTS" scfile=/scratch/kocevski/366843/ft2_4FGL_J1514.8+4448_daily_bin588.fits sctable="SC_DATA" outfile=/scratch/kocevski/366843/ltcube_391737601_391996801_4FGL_J1514.8+4448_daily_bin588.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/366843/ft2_4FGL_J1514.8+4448_daily_bin588.fits
.....................!
real 15.15
user 14.81
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/366843/ft1_filtered_4FGL_J1514.8+4448_daily_bin588.fits evtable="EVENTS" scfile=/scratch/kocevski/366843/ft2_4FGL_J1514.8+4448_daily_bin588.fits sctable="SC_DATA" expcube=/scratch/kocevski/366843/ltcube_391737601_391996801_4FGL_J1514.8+4448_daily_bin588.fits outfile=/scratch/kocevski/366843/expmap_391737601_391996801_4FGL_J1514.8+4448_daily_bin588.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/366843/ltcube_391737601_391996801_4FGL_J1514.8+4448_daily_bin588.fits
.....................!
real 189.85
user 185.50
sys 3.93

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/366843/ft1_filtered_4FGL_J1514.8+4448_daily_bin588.fits scfile=/scratch/kocevski/366843/ft2_4FGL_J1514.8+4448_daily_bin588.fits outfile=/scratch/kocevski/366843/cmap_391737601_391996801_4FGL_J1514.8+4448_daily_bin588.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/366843/ft1_filtered_4FGL_J1514.8+4448_daily_bin588.fits scfile=/scratch/kocevski/366843/ft2_4FGL_J1514.8+4448_daily_bin588.fits outfile=/scratch/kocevski/366843/cmap_HighResolution_391737601_391996801_4FGL_J1514.8+4448_daily_bin588.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.55
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    20.164       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10070E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .43506E-01   1.0000         .10000E-03   10000.    
     6 'Prefactor '    49.003       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.3548       1.0000         .10000E-03   10000.    
     9 'Prefactor '    35.533       1.0000         .10000E-03   10000.    
    10 'Prefactor '    33.047       1.0000         .10000E-03   10000.    
    11 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    11.037       1.0000         .10000E-03   10000.    
    14 'norm      '    .10063E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    2.3052       1.0000         .10000E-03   10000.    
    19 'norm      '    2.5669       1.0000         .10000E-03   10000.    
    20 'Prefactor '    5.8533       1.0000         .10000E-03   10000.    
    21 'Prefactor '    35.002       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .20098E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .41528E-02   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    26.759       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10052E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    82.272       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .11519E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10175E-03   1.0000         .10000E-03   10000.    
    30 'Normalizat'    .71125       1.0000         .10000E-01   10.000    
    31 'Prefactor '    1.1216       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=   5366.184     FROM MIGRAD    STATUS=CONVERGED   1513 CALLS     5493 TOTAL
                     EDM=   .84E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    23.245        .18142E-02** at limit **
   2  Prefactor     .10000E-03    1.4378        .85750E-03** at limit **
   3  Prefactor     20.161        22.251        .89197E-04   -.50983E-06
   4  Prefactor     .10000E-03    8.6117        .18142E-02** at limit **
   5  Prefactor     .10259E-03    37.087        .12219    ** at limit **
   6  Prefactor     49.018        48.785        .28642E-03    .70255E-05
   7  Prefactor     .10000E-03    10.637        .18142E-02** at limit **
   8  norm          1.3546        2.7522        .17204E-03   -.10553E-03
   9  Prefactor     35.546        30.651        .67230E-04    .23099E-04
  10  Prefactor     33.050        20.618        .69704E-04   -.84811E-05
  11  norm          .10000E-03    3.8539        .14018E-02** at limit **
  12  Prefactor     .10000E-03    4.6575        .15431E-02** at limit **
  13  Prefactor     11.042        15.908        .12059E-03   -.12727E-04
  14  norm          .10000E-03    .84001        .10569E-02** at limit **
  15  Prefactor     .10000E-03    4.5277        .15107E-02** at limit **
  16  Prefactor     .10000E-03    4.0224        .14319E-02** at limit **
  17  Prefactor     .10000E-03    2.2999        .10816E-02** at limit **
  18  norm          2.3047        1.6111        .73345E-04    .57118E-03
  19  norm          2.5655        5.6122        .18976E-03   -.16577E-03
  20  Prefactor     5.8639        11.818        .82997E-03   -.15024E-03
  21  Prefactor     35.040        61.524        .67736E-04    .62133E-04
  22  Prefactor     .10004E-03    102.09        .52464E-02** at limit **
  23  Prefactor     .10109E-03    156.06        .38490E-02** at limit **
  24  Prefactor     .10000E-03    22.765        .18142E-02** at limit **
  25  norm          26.757        16.041        .77443E-04    .31947E-03
  26  Prefactor     .10000E-03    6.4687        .18142E-02** at limit **
  27  Prefactor     82.305        67.893        .22141E-03   -.16215E-03
  28  Prefactor     .10002E-03    21.960        .31588E-02** at limit **
  29  Prefactor     .10000E-03    12.537        .18142E-02** at limit **
  30  Normalizat    .71130        .20929        .25403E-03   -.28835E-03
  31  Prefactor     1.1216        .22414        .22953E-03   -.19826E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 20.1614
  Prefactor  = 0.0001
  Prefactor  = 0.000102589
  Prefactor  = 49.0175
  Prefactor  = 0.0001
  norm       = 1.35462
  Prefactor  = 35.5458
  Prefactor  = 33.05
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.0419
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.30471
  norm       = 2.56548
  Prefactor  = 5.86394
  Prefactor  = 35.0399
  Prefactor  = 0.000100037
  Prefactor  = 0.000101089
  Prefactor  = 0.0001
  norm       = 26.7573
  Prefactor  = 0.0001
  Prefactor  = 82.3053
  Prefactor  = 0.000100023
  Prefactor  = 0.0001
  Normalizat = 0.7113
  Prefactor  = 1.12161
 **********
 **   18 **HESSE 
 **********

 FCN=   5366.184     FROM HESSE     STATUS=OK           600 CALLS     6093 TOTAL
                     EDM=   .87E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    23.246        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    1.4378        .17150E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     20.161        22.249        .35679E-05   -1.4810    
   4  Prefactor     .10000E-03    8.6125        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10259E-03    36.438        .12366       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     49.018        48.782        .11457E-04   -1.4307    
   7  Prefactor     .10000E-03    10.638        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.3546        2.7521        .68816E-05   -1.5475    
   9  Prefactor     35.546        30.651        .13446E-04   -1.4515    
  10  Prefactor     33.050        20.615        .27882E-05   -1.4558    
  11  norm          .10000E-03    3.8542        .28037E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    4.6576        .30862E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     11.042        15.906        .48238E-05   -1.5043    
  14  norm          .10000E-03    .84100        .21138E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    4.5294        .30214E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    4.0228        .28639E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    2.3001        .21631E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          2.3047        1.6110        .29338E-05   -1.5404    
  19  norm          2.5655        5.5949        .75905E-05   -1.5388    
  20  Prefactor     5.8639        11.715        .33199E-04   -1.5224    
  21  Prefactor     35.040        61.520        .13547E-04   -1.4523    
  22  Prefactor     .10004E-03    105.46        .20985E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10109E-03    160.00        .15396E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    22.768        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          26.757        16.040        .15489E-04   -1.4673    
  26  Prefactor     .10000E-03    6.4688        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     82.305        67.884        .88566E-05   -1.3891    
  28  Prefactor     .10002E-03    22.305        .63176E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .10000E-03    12.539        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    .71130        .20935        .10161E-04   -1.0345    
  31  Prefactor     1.1216        .22431        .45906E-04   -.88779    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.73019e-09
Minuit parameter uncertainties:
  1  6.23263e-05
  2  4.30071e-06
  3  22.2585
  4  9.374e-06
  5  0.0194386
  6  48.8219
  7  1.62355e-05
  8  2.75235
  9  30.6645
  10  20.6198
  11  1.10036e-05
  12  7.30749e-06
  13  15.912
  14  6.93599e-06
  15  4.27206e-05
  16  1.77813e-05
  17  3.77765e-06
  18  1.61103
  19  5.59606
  20  11.7194
  21  61.6318
  22  0.00396257
  23  0.026473
  24  8.43063e-06
  25  16.0425
  26  1.5522e-05
  27  67.9485
  28  0.00144254
  29  4.75896e-05
  30  0.209584
  31  0.224497
Done.

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

Extracting fit parameters...

4FGL J1514.8+4448
   Spectrum: LogParabola
286         norm:  2.565e+00  5.596e+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.122e+00  2.245e-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.113e-01  2.096e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/366843/likelihoodResults_391737601_391996801_4FGL_J1514.8+4448_daily_bin588.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) = 5365.78025985
delta logL = 0.40380781522

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5365.7704514
delta logL = 0.413616268529

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.3254       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.2872       1.0000          .0000       5.0000    
     3 'Normalizat'    .68023       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1411       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=   5365.770     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      240 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3257        25.006        .95457E-02    .68620E-03
   2  alpha         3.2890        4.1367        .40683        .45087E-04
   3  Normalizat    .67979        .40079E-01    .42026E-01    .20419E-04
   4  Prefactor     1.1415        .44215E-01    .36198E-01    .26349E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.32571
  alpha      = 3.28899
  Normalizat = 0.679794
  Prefactor  = 1.14151
 **********
 **   18 **HESSE 
 **********

 FCN=   5365.770     FROM HESSE     STATUS=OK            33 CALLS      273 TOTAL
                     EDM=   .22E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.3257        3.9164        .81208E-04   -1.5478    
   2  alpha         3.2890        1.6462        .14442E-01    .32108    
   3  Normalizat    .67979        .20335        .25930E-03   -1.0470    
   4  Prefactor     1.1415        .22460        .22764E-03   -.88151    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.21205e-11
Minuit parameter uncertainties:
  1  3.91714
  2  1.81945
  3  0.203576
  4  0.224784
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/366843': 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) = 5365.7704454
delta logL = 0.413622267091

Extracting fit parameters...

4FGL J1514.8+4448
   Spectrum: LogParabola
286         norm:  1.326e+00  3.917e+00  1.000e-04  1.000e+04 ( 1.000e-12)
287        alpha:  3.289e+00  1.819e+00  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.142e+00  2.248e-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.798e-01  2.036e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.27
Ra Dec: 228.719 44.810
Photon Index (Free Index): 3.29 +/- 1.82
Photon Flux (Free Index): 4.20e-08 +/- 4.30e-08
Energy Flux (Free Index): 8.36e-06 +/- 9.49e-06

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/366843/cmap_HighResolution_391737601_391996801_4FGL_J1514.8+4448_daily_bin588.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.52e-05', comment='SUCCESS', energy_flux2='8.36e-06', dlogl='4.14e-01', photon_flux2='4.20e-08', job_status='DONE', time_completed='2021-09-11 18:22:26.832854', photon_index_error2='1.82', photon_index2='3.29', ts='0.42', fit_tolerance='1e-08', GAL='1.12', photon_index_error='0.00', photon_flux_upper_limit='8.36e-08', energy_flux_error2='9.49e-06', EG='0.71', time_epoch_completed='1631409746.83', return_code='0', job_id='366843', GAL2='1.14', EG2='0.68', return_code2='0', photon_flux_error2='4.30e-08', ts2='1.27', photon_index='2.21' WHERE bin_id='588' AND source_name='4FGL J1514.8+4448' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 11 18:22:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0278>
Subject: Job 366843: <4FGL_J1514.8+4448_daily_bin588> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1514.8+4448_daily_bin588 228.719 44.8105 391737601 391996801 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 :                                   955.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             320.65 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.

