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


Performing analysis on: 4FGL_J1514.8+4448_daily_bin932
RA = 228.719, Dec = 44.8105
tmin = 480902401, tmax = 481161601
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='369688', job_status='RUN', time_executed='2021-09-11 18:16:27.550381', time_epoch_executed='1631409387.55' WHERE source_name='4FGL J1514.8+4448' and cadence='daily' and bin_id='932'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/369688

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/369688/ft1_4FGL_J1514.8+4448_daily_bin932.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/369688/ft2_4FGL_J1514.8+4448_daily_bin932.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/369688/ft1_4FGL_J1514.8+4448_daily_bin932.fits outfile=/scratch/kocevski/369688/ft1_filteredMKT_4FGL_J1514.8+4448_daily_bin932.fits ra=228.719 dec=44.8105 rad=12.0 tmin=480902401.0 tmax=481161601.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.67
user 3.43
sys 0.21

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/369688/ft1_filtered_4FGL_J1514.8+4448_daily_bin932.fits evtable="EVENTS" scfile=/scratch/kocevski/369688/ft2_4FGL_J1514.8+4448_daily_bin932.fits sctable="SC_DATA" expcube=/scratch/kocevski/369688/ltcube_480902401_481161601_4FGL_J1514.8+4448_daily_bin932.fits outfile=/scratch/kocevski/369688/expmap_480902401_481161601_4FGL_J1514.8+4448_daily_bin932.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/369688/ltcube_480902401_481161601_4FGL_J1514.8+4448_daily_bin932.fits
.....................!
real 191.76
user 186.52
sys 4.82

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/369688/ft1_filtered_4FGL_J1514.8+4448_daily_bin932.fits scfile=/scratch/kocevski/369688/ft2_4FGL_J1514.8+4448_daily_bin932.fits outfile=/scratch/kocevski/369688/cmap_480902401_481161601_4FGL_J1514.8+4448_daily_bin932.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.58
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/369688/ft1_filtered_4FGL_J1514.8+4448_daily_bin932.fits scfile=/scratch/kocevski/369688/ft2_4FGL_J1514.8+4448_daily_bin932.fits outfile=/scratch/kocevski/369688/cmap_HighResolution_480902401_481161601_4FGL_J1514.8+4448_daily_bin932.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.56
user 0.40
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.6085       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10101E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .87373       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .76455E-02   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    9.0418       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10062E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    6.2308       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .13059E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    8.5616       1.0000         .10000E-03   10000.    
    17 'Prefactor '    3.6310       1.0000         .10000E-03   10000.    
    18 'norm      '    .19843E-01   1.0000         .10000E-03   10000.    
    19 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    2.4140       1.0000         .10000E-03   10000.    
    21 'Prefactor '    162.07       1.0000         .10000E-03   10000.    
    22 'Prefactor '    47.699       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10323E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    7.3027       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    30 'Normalizat'    1.5129       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .33528       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=   6060.012     FROM MIGRAD    STATUS=CONVERGED    795 CALLS     4176 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    31.030       -.17511E-06** at limit **
   2  Prefactor     5.6085        4.5931       -.37659E-07   -.10048E-02
   3  Prefactor     .10000E-03    27.784       -.81575E-06** at limit **
   4  Prefactor     .85754        14.066        .18812E-05   -.33970E-04
   5  Prefactor     .10000E-03    30.988        .23202E-06** at limit **
   6  Prefactor     .10001E-03    70.714        .27425E-06** at limit **
   7  Prefactor     .10000E-03    16.701        .16370E-06** at limit **
   8  norm          .10088E-03    9.0868       -.48768E-05** at limit **
   9  Prefactor     .10000E-03    29.989        .12230E-06** at limit **
  10  Prefactor     .10000E-03    19.743       -.58727E-07** at limit **
  11  norm          9.0409        7.8073       -.57545E-07    .72544E-04
  12  Prefactor     .10000E-03    23.521       -.59766E-06** at limit **
  13  Prefactor     .10000E-03    21.371       -.13907E-06** at limit **
  14  norm          6.2310        2.2730       -.85393E-07   -.22251E-03
  15  Prefactor     .10000E-03    5.0313        .21171E-05** at limit **
  16  Prefactor     8.5614        8.6456        .42923E-07    .25542E-04
  17  Prefactor     3.6314        6.1459        .32816E-05    .44867E-03
  18  norm          .28370E-01    .88481        .37868E-06   -.68732E-03
  19  norm          .10000E-03    1.0752        .71880E-08** at limit **
  20  Prefactor     2.4135        4.6400        .26676E-05    .43382E-03
  21  Prefactor     162.06        96.339        .24648E-05    .30209E-04
  22  Prefactor     47.695        24.223       -.62919E-06   -.98469E-04
  23  Prefactor     .10000E-03    10.193       -.24224E-06** at limit **
  24  Prefactor     .10000E-03    6.1215       -.69898E-07** at limit **
  25  norm          .10000E-03    5.1775       -.67016E-07** at limit **
  26  Prefactor     7.3036        18.647        .28930E-06   -.31391E-06
  27  Prefactor     .10000E-03    19.815        .40945E-07** at limit **
  28  Prefactor     .10000E-03    1.6514        .39983E-07** at limit **
  29  Prefactor     .10000E-03    9.3803        .15520E-06** at limit **
  30  Normalizat    1.5131        .18851        .78504E-06    .45194E-03
  31  Prefactor     .33508        .18762       -.28575E-05    .75395E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Prefactor  = 5.60848
  Prefactor  = 0.000100002
  Prefactor  = 0.857541
  Prefactor  = 0.000100002
  Prefactor  = 0.000100006
  Prefactor  = 0.000100001
  norm       = 0.000100875
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 9.04095
  Prefactor  = 0.000100004
  Prefactor  = 0.000100001
  norm       = 6.23101
  Prefactor  = 0.000100001
  Prefactor  = 8.56137
  Prefactor  = 3.63139
  norm       = 0.02837
  norm       = 0.0001
  Prefactor  = 2.41348
  Prefactor  = 162.059
  Prefactor  = 47.6951
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 7.30362
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.51307
  Prefactor  = 0.335077
 **********
 **   18 **HESSE 
 **********

 FCN=   6060.012     FROM HESSE     STATUS=OK           626 CALLS     4802 TOTAL
                     EDM=   .30E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    31.123        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     5.6085        4.6388        .14813E-03   -1.5234    
   3  Prefactor     .10000E-03    28.185        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .85754        99.375        .54494E-02   -1.5523    
   5  Prefactor     .10000E-03    31.136        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10001E-03    71.240        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    16.762        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10088E-03    6.4047        .54496E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    30.024        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    19.925        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          9.0409        7.8040        .13329E-03   -1.5107    
  12  Prefactor     .10000E-03    24.445        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    21.615        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          6.2310        2.2721        .67641E-04   -1.5209    
  15  Prefactor     .10000E-03    17.192        .31423E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     8.5614        8.6515        .13700E-03   -1.5123    
  17  Prefactor     3.6314        6.2354        .10601E-02   -1.5327    
  18  norm          .28370E-01    31.917        .12499E-02   -1.5674    
  19  norm          .10000E-03    1.0788        .78811E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     2.4135        4.6764        .11275E-02   -1.5397    
  21  Prefactor     162.06        103.14        .15839E-03   -1.3155    
  22  Prefactor     47.695        24.205        .58059E-04   -1.4326    
  23  Prefactor     .10000E-03    10.277        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    6.1256        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .10000E-03    5.1868        .17300E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     7.3036        18.621        .14842E-03   -1.5167    
  27  Prefactor     .10000E-03    19.821        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    1.6564        .97696E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .10000E-03    9.4242        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    1.5131        .20951        .19702E-03   -.77412    
  31  Prefactor     .33508        .20329        .39211E-03   -1.2026    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.02212e-08
Minuit parameter uncertainties:
  1  0.000296215
  2  4.63905
  3  0.00046958
  4  18.4931
  5  0.000446007
  6  0.00134577
  7  0.000196256
  8  0.00473601
  9  0.000180112
  10  5.44282e-05
  11  7.80483
  12  0.000603561
  13  0.000298669
  14  2.2721
  15  0.000236243
  16  8.65281
  17  6.23652
  18  1.9008
  19  1.45049e-06
  20  4.67716
  21  103.26
  22  24.2099
  23  0.000194114
  24  1.33869e-05
  25  7.80077e-06
  26  18.6354
  27  8.75496e-06
  28  2.794e-06
  29  0.000131084
  30  0.209634
  31  0.203721
Done.

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

Extracting fit parameters...

4FGL J1514.8+4448
   Spectrum: LogParabola
286         norm:  1.000e-04  1.450e-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:  3.351e-01  2.037e-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.513e+00  2.096e-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: 3.75e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.58e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/369688/likelihoodResults_480902401_481161601_4FGL_J1514.8+4448_daily_bin932.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) = 6060.01569406
delta logL = -0.00406961428689

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6060.01162497
delta logL = -5.22046320839e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10123E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2041       1.0000          .0000       5.0000    
     3 'Normalizat'    1.5131       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .33510       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   6060.012     FROM MIGRAD    STATUS=FAILED        93 CALLS      231 TOTAL
                     EDM=   .13E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    226.19        .78921E-03** at limit **
   2  alpha         1.9050        2.9826        .50000       -.44232E-06
   3  Normalizat    1.5131        .96149E-01    .19702E-03   -.20196E-04
   4  Prefactor     .33508        .96100E-01    .39211E-03   -.70744E-05
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   6060.012     FROM SIMPLEX   STATUS=UNCHANGED    227 CALLS      458 TOTAL
                     EDM=   .10E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    226.19        .17797E-03** at limit **
   2  alpha         1.9050        2.9826        .84073E-08   -.44232E-06
   3  Normalizat    1.5131        .96149E-01    .81138E-09   -.20196E-04
   4  Prefactor     .33508        .96100E-01    .27239E-09   -.70744E-05
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6060.012     FROM MIGRAD    STATUS=CONVERGED     35 CALLS      493 TOTAL
                     EDM=   .71E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.2261        .15784E-03** at limit **
   2  alpha         1.9050        3.7704        .50000       -.44232E-06
   3  Normalizat    1.5131        .20118        .78809E-05   -.20196E-04
   4  Prefactor     .33508        .20084        .15684E-04   -.72484E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.90504
  Normalizat = 1.51306
  Prefactor  = 0.33508
 **********
 **   18 **HESSE 
 **********

 FCN=   6060.012     FROM HESSE     STATUS=OK            27 CALLS      520 TOTAL
                     EDM=   .65E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.1252        .31568E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.9050        3.4491        .50000       -.24029    
   3  Normalizat    1.5131        .20094        .15762E-05   -.77412    
   4  Prefactor     .33508        .20060        .31369E-05   -1.2026    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.54312e-10
Minuit parameter uncertainties:
  1  1.98788e-07
  2  140.362
  3  0.20105
  4  0.201016
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/369688': 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) = 6060.01162269
delta logL = 1.75547211256e-06

Extracting fit parameters...

4FGL J1514.8+4448
   Spectrum: LogParabola
286         norm:  1.000e-04  1.988e-07  1.000e-04  1.000e+04 ( 1.000e-12)
287        alpha:  1.905e+00  1.404e+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:  3.351e-01  2.010e-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.513e+00  2.010e-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/369688/cmap_HighResolution_480902401_481161601_4FGL_J1514.8+4448_daily_bin932.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.58e-05', job_status='DONE', photon_flux_upper_limit='3.75e-08', time_completed='2021-09-11 18:32:18.436198', job_id='369688', GAL2='0.34', fit_tolerance='1e-08', EG2='1.51', EG='1.51', time_epoch_completed='1631410338.44', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.34', dlogl='1.76e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.21' WHERE bin_id='932' AND source_name='4FGL J1514.8+4448' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 11 18:32:18 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0126>
Subject: Job 369688: <4FGL_J1514.8+4448_daily_bin932> in cluster <slac> Done

Job <4FGL_J1514.8+4448_daily_bin932> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Sep 11 18:16:09 2021
Job was executed on host(s) <bullet0126>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 11 18:16: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:16:11 2021
Terminated at Sat Sep 11 18:32:19 2021
Results reported at Sat Sep 11 18:32:19 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1514.8+4448_daily_bin932 228.719 44.8105 480902401 481161601 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 :                                   945.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             302.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   967 sec.
    Turnaround time :                            970 sec.

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

