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


Performing analysis on: 4FGL_J1514.8+4448_daily_bin193
RA = 228.719, Dec = 44.8105
tmin = 289353601, tmax = 289612801
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='362857', job_status='RUN', time_executed='2021-09-11 17:51:15.786358', time_epoch_executed='1631407875.79' WHERE source_name='4FGL J1514.8+4448' and cadence='daily' and bin_id='193'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/362857

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/362857/ft1_4FGL_J1514.8+4448_daily_bin193.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/362857/ft2_4FGL_J1514.8+4448_daily_bin193.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/362857/ft1_4FGL_J1514.8+4448_daily_bin193.fits outfile=/scratch/kocevski/362857/ft1_filteredMKT_4FGL_J1514.8+4448_daily_bin193.fits ra=228.719 dec=44.8105 rad=12.0 tmin=289353601.0 tmax=289612801.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.55
user 3.33
sys 0.19

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/362857/ft1_filtered_4FGL_J1514.8+4448_daily_bin193.fits evtable="EVENTS" scfile=/scratch/kocevski/362857/ft2_4FGL_J1514.8+4448_daily_bin193.fits sctable="SC_DATA" expcube=/scratch/kocevski/362857/ltcube_289353601_289612801_4FGL_J1514.8+4448_daily_bin193.fits outfile=/scratch/kocevski/362857/expmap_289353601_289612801_4FGL_J1514.8+4448_daily_bin193.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/362857/ltcube_289353601_289612801_4FGL_J1514.8+4448_daily_bin193.fits
.....................!
real 192.17
user 186.09
sys 5.68

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

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/362857/ft1_filtered_4FGL_J1514.8+4448_daily_bin193.fits scfile=/scratch/kocevski/362857/ft2_4FGL_J1514.8+4448_daily_bin193.fits outfile=/scratch/kocevski/362857/cmap_HighResolution_289353601_289612801_4FGL_J1514.8+4448_daily_bin193.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/362857/ft1_filtered_4FGL_J1514.8+4448_daily_bin193.fits evtable="EVENTS" scfile=/scratch/kocevski/362857/ft2_4FGL_J1514.8+4448_daily_bin193.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/362857/Model_4FGL_J1514.8+4448_daily_bin193.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/362857/ft1_filtered_4FGL_J1514.8+4448_daily_bin193.fits.....................!
real 50.05
user 48.73
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    6.1622       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10855E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    11.420       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10688       1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.9890       1.0000         .10000E-03   10000.    
    14 'norm      '    .10058E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    6.3981       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    3.4193       1.0000         .10000E-03   10000.    
    19 'norm      '    .34970E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    9.9506       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .19776E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10101E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    15.209       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    30 'Normalizat'    1.0673       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .79483       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=   6203.739     FROM MIGRAD    STATUS=CONVERGED    841 CALLS     3592 TOTAL
                     EDM=   .58E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    12.501       -.26448E-06** at limit **
   2  Prefactor     .10000E-03    1.3185        .10278E-07** at limit **
   3  Prefactor     6.1641        13.137       -.77611E-06   -.26572E-04
   4  Prefactor     .10000E-03    9.5105       -.17490E-06** at limit **
   5  Prefactor     .10000E-03    38.409        .11649E-06** at limit **
   6  Prefactor     .10000E-03    15.514       -.64189E-06** at limit **
   7  Prefactor     .10000E-03    20.956       -.80086E-06** at limit **
   8  norm          11.419        6.2734       -.15147E-06   -.22653E-04
   9  Prefactor     .10000E-03    18.724        .12976E-05** at limit **
  10  Prefactor     .10000E-03    5.4089        .30383E-07** at limit **
  11  norm          .10000E-03    4.1367       -.62169E-08** at limit **
  12  Prefactor     .12659        8.9223       -.11667E-05    .62203E-04
  13  Prefactor     2.9846        8.3492       -.17020E-05   -.15498E-03
  14  norm          .10000E-03    .75206        .89661E-07** at limit **
  15  Prefactor     .10000E-03    2.0057        .48862E-08** at limit **
  16  Prefactor     6.3994        9.2573       -.61277E-06   -.64475E-04
  17  Prefactor     .10000E-03    3.8680        .99583E-07** at limit **
  18  norm          3.4195        1.7536        .24395E-07    .95199E-04
  19  norm          .10007E-03    8.0824       -.14866E-05** at limit **
  20  Prefactor     9.9526        8.0832        .50279E-06   -.54235E-03
  21  Prefactor     .10000E-03    141.95        .54283E-05** at limit **
  22  Prefactor     .10000E-03    15.242       -.76127E-06** at limit **
  23  Prefactor     .10119E-03    75.256        .49308E-05** at limit **
  24  Prefactor     .10000E-03    13.619        .26679E-06** at limit **
  25  norm          15.215        17.271       -.30400E-06   -.34558E-04
  26  Prefactor     .10000E-03    5.4977       -.12584E-07** at limit **
  27  Prefactor     .10000E-03    315.54        .81973E-05** at limit **
  28  Prefactor     .10000E-03    3.0900        .60152E-07** at limit **
  29  Prefactor     .10000E-03    6.9390        .15780E-07** at limit **
  30  Normalizat    1.0671        .16551        .13052E-05   -.14497E-03
  31  Prefactor     .79483        .17018       -.26948E-06   -.24484E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.16405
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 11.4194
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.126588
  Prefactor  = 2.98464
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.39943
  Prefactor  = 0.0001
  norm       = 3.41945
  norm       = 0.000100065
  Prefactor  = 9.95264
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 0.000101195
  Prefactor  = 0.0001
  norm       = 15.2147
  Prefactor  = 0.0001
  Prefactor  = 0.000100005
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.06714
  Prefactor  = 0.794831
 **********
 **   18 **HESSE 
 **********

 FCN=   6203.739     FROM HESSE     STATUS=OK           630 CALLS     4222 TOTAL
                     EDM=   .60E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    12.513        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    1.3208        .88312E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     6.1641        13.166        .16172E-03   -1.5211    
   4  Prefactor     .10000E-03    9.5549        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    38.930        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    15.555        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    21.175        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          11.419        6.2737        .11855E-03   -1.5032    
   9  Prefactor     .10000E-03    18.859        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    5.4331        .17889E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    4.1499        .15643E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .12659        10.344        .71153E-01   -1.5637    
  13  Prefactor     2.9846        8.4367        .23481E-03   -1.5362    
  14  norm          .10000E-03    1.2363        .13135E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    2.0073        .10890E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     6.3994        9.2750        .15868E-03   -1.5202    
  17  Prefactor     .10000E-03    3.9998        .30239E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          3.4195        1.7515        .70810E-04   -1.5338    
  19  norm          .10007E-03    12.891        .20033E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     9.9526        9.8850        .12703E-03   -1.5077    
  21  Prefactor     .10000E-03    143.67        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    15.384        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10119E-03    20.531        .61056E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    13.739        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          15.215        17.305        .10270E-03   -1.4928    
  26  Prefactor     .10000E-03    5.5014        .18037E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    317.80        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    3.1471        .13515E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .10000E-03    6.9489        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    1.0671        .19289        .21059E-03   -.90814    
  31  Prefactor     .79483        .19995        .25959E-03   -.99919    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.99679e-09
Minuit parameter uncertainties:
  1  2.50449e-05
  2  1.32088e-08
  3  13.1719
  4  1.95967e-05
  5  1.80283e-05
  6  6.49073e-05
  7  0.00011148
  8  6.2741
  9  0.000130201
  10  5.09864e-07
  11  2.58645e-07
  12  2.28813
  13  8.4401
  14  3.74188e-06
  15  1.26713e-06
  16  9.27707
  17  2.26933e-06
  18  1.75154
  19  0.00183354
  20  9.88667
  21  0.00139797
  22  9.77041e-05
  23  0.00990871
  24  3.6172e-05
  25  17.3108
  26  3.17828e-06
  27  0.002429
  28  3.34669e-06
  29  4.63619e-06
  30  0.193019
  31  0.200134
Done.

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

Extracting fit parameters...

4FGL J1514.8+4448
   Spectrum: LogParabola
286         norm:  1.001e-04  1.834e-03  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.948e-01  2.001e-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.067e+00  1.930e-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: 5.77e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.43e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/362857/likelihoodResults_289353601_289612801_4FGL_J1514.8+4448_daily_bin193.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) = 6203.73929546
delta logL = -0.000370896374989

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6203.73892381
delta logL = 7.58517671784e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .85628E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3341       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0670       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79494       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=   6203.665     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      277 TOTAL
                     EDM=   .89E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .46270        39.319        .10430E-01    .20877E-02
   2  alpha         3.2046        3.4039        .41267        .56483E-04
   3  Normalizat    1.0567        .28410E-01    .39537E-01    .24397E-03
   4  Prefactor     .79746        .31004E-01    .43651E-01    .16123E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.462702
  alpha      = 3.20462
  Normalizat = 1.05665
  Prefactor  = 0.797463
 **********
 **   18 **HESSE 
 **********

 FCN=   6203.665     FROM HESSE     STATUS=OK            31 CALLS      308 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .46270        3.0806        .13583E-03   -1.5572    
   2  alpha         3.2046        3.7041        .32157E-01    .28572    
   3  Normalizat    1.0567        .18470        .21145E-03   -.91156    
   4  Prefactor     .79746        .19841        .25909E-03   -.99822    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.01805e-10
Minuit parameter uncertainties:
  1  2.38773
  2  2.48353
  3  0.184809
  4  0.198588
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/362857': 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) = 6203.66549017
delta logL = 0.07343438926

Extracting fit parameters...

4FGL J1514.8+4448
   Spectrum: LogParabola
286         norm:  4.627e-01  2.388e+00  1.000e-04  1.000e+04 ( 1.000e-12)
287        alpha:  3.205e+00  2.484e+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:  7.975e-01  1.986e-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.057e+00  1.848e-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/362857/cmap_HighResolution_289353601_289612801_4FGL_J1514.8+4448_daily_bin193.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.43e-05', job_status='DONE', photon_flux_upper_limit='5.77e-08', time_completed='2021-09-11 18:06:11.052464', job_id='362857', GAL2='0.80', fit_tolerance='1e-08', EG2='1.06', EG='1.07', time_epoch_completed='1631408771.05', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.79', dlogl='7.34e-02', ts2='0.15', photon_index_error='0.00', photon_index='2.21' WHERE bin_id='193' AND source_name='4FGL J1514.8+4448' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 11 18:06:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0130>
Subject: Job 362857: <4FGL_J1514.8+4448_daily_bin193> in cluster <slac> Done

Job <4FGL_J1514.8+4448_daily_bin193> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Sep 11 17:50:59 2021
Job was executed on host(s) <bullet0130>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 11 17:51:01 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 11 17:51:01 2021
Terminated at Sat Sep 11 18:06:11 2021
Results reported at Sat Sep 11 18:06:11 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1514.8+4448_daily_bin193 228.719 44.8105 289353601 289612801 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 :                                   892.19 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             346.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   910 sec.
    Turnaround time :                            912 sec.

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

