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


Performing analysis on: 4FGL_J1514.8+4448_daily_bin608
RA = 228.719, Dec = 44.8105
tmin = 396921601, tmax = 397180801
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='366872', job_status='RUN', time_executed='2021-09-11 18:06:25.433545', time_epoch_executed='1631408785.43' WHERE source_name='4FGL J1514.8+4448' and cadence='daily' and bin_id='608'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/366872

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/366872/ft1_4FGL_J1514.8+4448_daily_bin608.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/366872/ft2_4FGL_J1514.8+4448_daily_bin608.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/366872/ft1_4FGL_J1514.8+4448_daily_bin608.fits outfile=/scratch/kocevski/366872/ft1_filteredMKT_4FGL_J1514.8+4448_daily_bin608.fits ra=228.719 dec=44.8105 rad=12.0 tmin=396921601.0 tmax=397180801.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 4.52
user 4.28
sys 0.22

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/366872/ft1_filtered_4FGL_J1514.8+4448_daily_bin608.fits evtable="EVENTS" scfile=/scratch/kocevski/366872/ft2_4FGL_J1514.8+4448_daily_bin608.fits sctable="SC_DATA" expcube=/scratch/kocevski/366872/ltcube_396921601_397180801_4FGL_J1514.8+4448_daily_bin608.fits outfile=/scratch/kocevski/366872/expmap_396921601_397180801_4FGL_J1514.8+4448_daily_bin608.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/366872/ltcube_396921601_397180801_4FGL_J1514.8+4448_daily_bin608.fits
.....................!
real 189.78
user 185.01
sys 4.40

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/366872/ft1_filtered_4FGL_J1514.8+4448_daily_bin608.fits scfile=/scratch/kocevski/366872/ft2_4FGL_J1514.8+4448_daily_bin608.fits outfile=/scratch/kocevski/366872/cmap_396921601_397180801_4FGL_J1514.8+4448_daily_bin608.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/366872/ft1_filtered_4FGL_J1514.8+4448_daily_bin608.fits scfile=/scratch/kocevski/366872/ft2_4FGL_J1514.8+4448_daily_bin608.fits outfile=/scratch/kocevski/366872/cmap_HighResolution_396921601_397180801_4FGL_J1514.8+4448_daily_bin608.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.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.8095       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .12514E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    9.0793       1.0000         .10000E-03   10000.    
    11 'norm      '    .10080E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    16.353       1.0000         .10000E-03   10000.    
    13 'Prefactor '    8.7979       1.0000         .10000E-03   10000.    
    14 'norm      '    1.8751       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10116E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.8691       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .19487       1.0000         .10000E-03   10000.    
    18 'norm      '    3.7347       1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.4492       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    4.1193       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .10038E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    25.689       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10216E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    45.269       1.0000         .10000E-03   10000.    
    30 'Normalizat'    1.2926       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .73057       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=   6517.424     FROM MIGRAD    STATUS=CONVERGED    809 CALLS     3557 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    12.117        .25367E-05** at limit **
   2  Prefactor     5.8093        3.8951        .26617E-08    .12236E-04
   3  Prefactor     .10000E-03    6.0808       -.36989E-06** at limit **
   4  Prefactor     .10000E-03    13.623       -.14868E-05** at limit **
   5  Prefactor     .10000E-03    11.010        .23092E-05** at limit **
   6  Prefactor     .10000E-03    16.619       -.20338E-05** at limit **
   7  Prefactor     .10011E-03    18.126       -.74109E-06** at limit **
   8  norm          .10001E-03    4.7277       -.92985E-06** at limit **
   9  Prefactor     .10000E-03    25.499        .15928E-05** at limit **
  10  Prefactor     9.0793        11.701        .22961E-07   -.94920E-05
  11  norm          .10000E-03    5.7838       -.21859E-06** at limit **
  12  Prefactor     16.351        14.668        .31732E-06   -.93078E-04
  13  Prefactor     8.7982        8.9440       -.62020E-07   -.11300E-04
  14  norm          1.8751        1.2805       -.11565E-07   -.70033E-04
  15  Prefactor     .10000E-03    7.9487        .28145E-06** at limit **
  16  Prefactor     3.8687        5.8483        .27050E-05   -.15891E-02
  17  Prefactor     .18941        2.5794        .10592E-07   -.57345E-04
  18  norm          3.7336        1.8134        .11085E-07   -.80151E-04
  19  norm          .10000E-03    1.6402       -.38351E-08** at limit **
  20  Prefactor     3.4491        6.3890       -.28177E-07   -.11399E-03
  21  Prefactor     .10001E-03    41.854        .82748E-05** at limit **
  22  Prefactor     .10000E-03    10.109       -.24306E-05** at limit **
  23  Prefactor     4.1192        9.5197        .39373E-07   -.34866E-04
  24  Prefactor     .10000E-03    28.614       -.42960E-05** at limit **
  25  norm          .10000E-03    19.502        .46603E-05** at limit **
  26  Prefactor     25.689        22.463        .20097E-07   -.57240E-05
  27  Prefactor     .10001E-03    35.330       -.58278E-05** at limit **
  28  Prefactor     .10000E-03    5.8621        .55824E-06** at limit **
  29  Prefactor     45.270        24.158       -.47569E-07   -.51135E-04
  30  Normalizat    1.2926        .17265       -.58338E-07    .21564E-03
  31  Prefactor     .73048        .17949       -.27684E-06    .12782E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Prefactor  = 5.80929
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.000100001
  Prefactor  = 0.000100114
  norm       = 0.000100009
  Prefactor  = 0.000100001
  Prefactor  = 9.07932
  norm       = 0.0001
  Prefactor  = 16.3514
  Prefactor  = 8.79816
  norm       = 1.87506
  Prefactor  = 0.0001
  Prefactor  = 3.86873
  Prefactor  = 0.189407
  norm       = 3.73357
  norm       = 0.0001
  Prefactor  = 3.44908
  Prefactor  = 0.000100012
  Prefactor  = 0.000100001
  Prefactor  = 4.11918
  Prefactor  = 0.000100004
  norm       = 0.000100004
  Prefactor  = 25.6893
  Prefactor  = 0.000100006
  Prefactor  = 0.0001
  Prefactor  = 45.27
  Normalizat = 1.29262
  Prefactor  = 0.73048
 **********
 **   18 **HESSE 
 **********

 FCN=   6517.424     FROM HESSE     STATUS=OK           622 CALLS     4179 TOTAL
                     EDM=   .26E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    12.250        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     5.8093        3.8950        .12714E-03   -1.5226    
   3  Prefactor     .10000E-03    6.0954        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    13.716        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    11.124        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    16.711        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10011E-03    136.81        .65654E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10001E-03    13.690        .33353E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    25.623        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     9.0793        11.689        .13301E-03   -1.5105    
  11  norm          .10000E-03    5.8082        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     16.351        14.645        .49521E-03   -1.4899    
  13  Prefactor     8.7982        8.9361        .13514E-03   -1.5115    
  14  norm          1.8751        1.2743        .72670E-04   -1.5434    
  15  Prefactor     .10000E-03    8.0478        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.8687        7.4432        .10257E-02   -1.5315    
  17  Prefactor     .18941        22.862        .24825E-02   -1.5621    
  18  norm          3.7336        1.8108        .71745E-04   -1.5321    
  19  norm          .10000E-03    1.6603        .10073E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     3.4491        6.2909        .21777E-03   -1.5337    
  21  Prefactor     .10001E-03    43.281        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    10.271        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     4.1192        9.4102        .19862E-03   -1.5302    
  24  Prefactor     .10000E-03    29.271        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .10000E-03    20.150        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     25.689        22.464        .79037E-04   -1.4694    
  27  Prefactor     .10001E-03    36.044        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    5.9214        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     45.270        24.088        .59590E-04   -1.4361    
  30  Normalizat    1.2926        .20711        .21464E-03   -.83787    
  31  Prefactor     .73048        .21619        .29616E-03   -1.0234    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.5834e-08
Minuit parameter uncertainties:
  1  0.000240384
  2  3.89513
  3  2.46462e-05
  4  0.000139275
  5  0.000207658
  6  0.000226113
  7  0.00791405
  8  0.000688441
  9  0.000230039
  10  11.6924
  11  1.13725e-05
  12  14.6479
  13  8.93743
  14  1.27427
  15  2.40995e-05
  16  7.44501
  17  4.16235
  18  1.81085
  19  1.60849e-06
  20  6.29212
  21  0.001461
  22  0.000202526
  23  9.41362
  24  0.000653296
  25  0.000544929
  26  22.4711
  27  0.000949109
  28  3.85561e-05
  29  24.0936
  30  0.207248
  31  0.216436
Done.

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

Extracting fit parameters...

4FGL J1514.8+4448
   Spectrum: LogParabola
286         norm:  1.000e-04  1.608e-06  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:  7.305e-01  2.164e-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:  1.293e+00  2.072e-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.21e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.77e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/366872/likelihoodResults_396921601_397180801_4FGL_J1514.8+4448_daily_bin608.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) = 6517.42695777
delta logL = -0.00285237289518

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6517.42410541
delta logL = -1.63490767591e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2007       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2926       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73050       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=   6517.424     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      244 TOTAL
                     EDM=   .20E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    94.829        .10106E-01** at limit **
   2  alpha         1.8597        3.9421        .16612        .86914E-08
   3  Normalizat    1.2926        .32001E-01    .21464E-03    .10487E-04
   4  Prefactor     .73048        .34359E-01    .29616E-03    .15048E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.85974
  Normalizat = 1.29262
  Prefactor  = 0.73048
 **********
 **   18 **HESSE 
 **********

 FCN=   6517.424     FROM HESSE     STATUS=OK            27 CALLS      271 TOTAL
                     EDM=   .11E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.9598        .10414E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.8597        3.4144        .66449E-01   -.25899    
   3  Normalizat    1.2926        .19975        .85855E-05   -.83787    
   4  Prefactor     .73048        .21421        .11846E-04   -1.0234    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.11625e-12
Minuit parameter uncertainties:
  1  6.27179e-08
  2  184.999
  3  0.199871
  4  0.214454
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/366872': 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) = 6517.42410351
delta logL = 1.88250851352e-06

Extracting fit parameters...

4FGL J1514.8+4448
   Spectrum: LogParabola
286         norm:  1.000e-04  6.272e-08  1.000e-04  1.000e+04 ( 1.000e-12)
287        alpha:  1.860e+00  1.850e+02  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:  7.305e-01  2.145e-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:  1.293e+00  1.999e-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 -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/366872/cmap_HighResolution_396921601_397180801_4FGL_J1514.8+4448_daily_bin608.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.77e-05', job_status='DONE', photon_flux_upper_limit='4.21e-08', time_completed='2021-09-11 18:21:55.937129', job_id='366872', GAL2='0.73', fit_tolerance='1e-08', EG2='1.29', EG='1.29', time_epoch_completed='1631409715.94', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.73', dlogl='1.88e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.21' WHERE bin_id='608' AND source_name='4FGL J1514.8+4448' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 11 18:21:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0031>
Subject: Job 366872: <4FGL_J1514.8+4448_daily_bin608> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1514.8+4448_daily_bin608 228.719 44.8105 396921601 397180801 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 :                                   924.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             359.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   942 sec.
    Turnaround time :                            944 sec.

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

