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


Performing analysis on: 4FGL_J1514.8+4448_daily_bin1130
RA = 228.719, Dec = 44.8105
tmin = 532224001, tmax = 532483201
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='371425', job_status='RUN', time_executed='2021-09-11 18:21:24.916358', time_epoch_executed='1631409684.92' WHERE source_name='4FGL J1514.8+4448' and cadence='daily' and bin_id='1130'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/371425

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/371425/ft1_4FGL_J1514.8+4448_daily_bin1130.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/371425/ft2_4FGL_J1514.8+4448_daily_bin1130.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/371425/ft1_4FGL_J1514.8+4448_daily_bin1130.fits outfile=/scratch/kocevski/371425/ft1_filteredMKT_4FGL_J1514.8+4448_daily_bin1130.fits ra=228.719 dec=44.8105 rad=12.0 tmin=532224001.0 tmax=532483201.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.57
user 3.33
sys 0.21

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

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

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/371425/ft1_filtered_4FGL_J1514.8+4448_daily_bin1130.fits" evtable="EVENTS" scfile=/scratch/kocevski/371425/ft2_4FGL_J1514.8+4448_daily_bin1130.fits sctable="SC_DATA" outfile=/scratch/kocevski/371425/ltcube_532224001_532483201_4FGL_J1514.8+4448_daily_bin1130.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/371425/ft2_4FGL_J1514.8+4448_daily_bin1130.fits
.....................!
real 12.01
user 11.63
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/371425/ft1_filtered_4FGL_J1514.8+4448_daily_bin1130.fits evtable="EVENTS" scfile=/scratch/kocevski/371425/ft2_4FGL_J1514.8+4448_daily_bin1130.fits sctable="SC_DATA" expcube=/scratch/kocevski/371425/ltcube_532224001_532483201_4FGL_J1514.8+4448_daily_bin1130.fits outfile=/scratch/kocevski/371425/expmap_532224001_532483201_4FGL_J1514.8+4448_daily_bin1130.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/371425/ltcube_532224001_532483201_4FGL_J1514.8+4448_daily_bin1130.fits
.....................!
real 191.61
user 185.76
sys 5.47

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/371425/ft1_filtered_4FGL_J1514.8+4448_daily_bin1130.fits scfile=/scratch/kocevski/371425/ft2_4FGL_J1514.8+4448_daily_bin1130.fits outfile=/scratch/kocevski/371425/cmap_532224001_532483201_4FGL_J1514.8+4448_daily_bin1130.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=228.719 yref=44.8105 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/371425/ft1_filtered_4FGL_J1514.8+4448_daily_bin1130.fits scfile=/scratch/kocevski/371425/ft2_4FGL_J1514.8+4448_daily_bin1130.fits outfile=/scratch/kocevski/371425/cmap_HighResolution_532224001_532483201_4FGL_J1514.8+4448_daily_bin1130.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/371425/ft1_filtered_4FGL_J1514.8+4448_daily_bin1130.fits evtable="EVENTS" scfile=/scratch/kocevski/371425/ft2_4FGL_J1514.8+4448_daily_bin1130.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/371425/Model_4FGL_J1514.8+4448_daily_bin1130.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/371425/ft1_filtered_4FGL_J1514.8+4448_daily_bin1130.fits.....................!
real 47.51
user 46.17
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    7.4326       1.0000         .10000E-03   10000.    
     3 'Prefactor '    7.8607       1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.4857       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    16.038       1.0000         .10000E-03   10000.    
     8 'norm      '    23.479       1.0000         .10000E-03   10000.    
     9 'Prefactor '    21.766       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 '    28.286       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    2.5514       1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.9046       1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.8299       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10257E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    6.0753       1.0000         .10000E-03   10000.    
    19 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10523E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    7.4152       1.0000         .10000E-03   10000.    
    23 'Prefactor '    18.145       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    35.705       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10215E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    8.9037       1.0000         .10000E-03   10000.    
    29 'Prefactor '    .17175E-03   1.0000         .10000E-03   10000.    
    30 'Normalizat'    1.0144       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .60699       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=   5878.140     FROM MIGRAD    STATUS=CONVERGED    788 CALLS     4120 TOTAL
                     EDM=   .40E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    23.936       -.33437E-06** at limit **
   2  Prefactor     7.4346        5.1735        .56422E-07   -.83702E-05
   3  Prefactor     7.8515        23.935       -.24506E-06   -.12944E-04
   4  Prefactor     6.4944        15.581       -.43366E-06   -.11384E-04
   5  Prefactor     .10000E-03    12.282        .89957E-07** at limit **
   6  Prefactor     .10000E-03    23.769       -.45190E-06** at limit **
   7  Prefactor     16.002        30.735        .33127E-05   -.33699E-04
   8  norm          23.480        9.4229       -.42289E-07    .83278E-05
   9  Prefactor     21.769        22.867       -.30451E-06    .33988E-06
  10  Prefactor     .10000E-03    8.1892        .15183E-06** at limit **
  11  norm          .10000E-03    7.7259       -.33211E-06** at limit **
  12  Prefactor     28.287        17.810       -.48856E-07    .71598E-05
  13  Prefactor     .10000E-03    5.6649        .28820E-07** at limit **
  14  norm          2.5519        1.5703        .19162E-07   -.31321E-04
  15  Prefactor     1.9033        4.2195        .24667E-05   -.12484E-03
  16  Prefactor     3.8307        8.0389        .18339E-06   -.25109E-05
  17  Prefactor     .10000E-03    7.1402        .43359E-06** at limit **
  18  norm          6.0759        2.0059       -.11630E-06   -.11399E-03
  19  norm          .10000E-03    .92835        .33191E-07** at limit **
  20  Prefactor     .10000E-03    8.1349        .60675E-07** at limit **
  21  Prefactor     .10000E-03    31.027        .17312E-05** at limit **
  22  Prefactor     7.3914        34.897        .79914E-05    .84723E-05
  23  Prefactor     18.171        20.113       -.28642E-05   -.11333E-03
  24  Prefactor     .10000E-03    4.0266       -.12711E-08** at limit **
  25  norm          .10000E-03    3.3243       -.37858E-08** at limit **
  26  Prefactor     35.703        24.734        .26841E-06   -.15216E-04
  27  Prefactor     .10000E-03    63.252        .41630E-06** at limit **
  28  Prefactor     8.9142        5.8301        .18656E-06    .15655E-03
  29  Prefactor     .10000E-03    52.219       -.13693E-05** at limit **
  30  Normalizat    1.0137        .17457        .55433E-06   -.57433E-04
  31  Prefactor     .60774        .17046       -.14522E-05   -.28068E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 7.43456
  Prefactor  = 7.85148
  Prefactor  = 6.49443
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 16.002
  norm       = 23.4802
  Prefactor  = 21.7694
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 28.287
  Prefactor  = 0.0001
  norm       = 2.55194
  Prefactor  = 1.90332
  Prefactor  = 3.83073
  Prefactor  = 0.0001
  norm       = 6.07588
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.39144
  Prefactor  = 18.1713
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 35.7026
  Prefactor  = 0.0001
  Prefactor  = 8.91421
  Prefactor  = 0.0001
  Normalizat = 1.01373
  Prefactor  = 0.607737
 **********
 **   18 **HESSE 
 **********

 FCN=   5878.140     FROM HESSE     STATUS=OK           624 CALLS     4744 TOTAL
                     EDM=   .70E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    23.958        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     7.4346        5.1655        .13831E-03   -1.5163    
   3  Prefactor     7.8515        24.063        .14302E-03   -1.5147    
   4  Prefactor     6.4944        15.567        .15759E-03   -1.5198    
   5  Prefactor     .10000E-03    12.297        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    23.782        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     16.002        30.777        .10001E-03   -1.4908    
   8  norm          23.480        9.4249        .82667E-04   -1.4738    
   9  Prefactor     21.769        22.864        .85854E-04   -1.4774    
  10  Prefactor     .10000E-03    8.2482        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    7.7529        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     28.287        17.810        .75328E-04   -1.4644    
  13  Prefactor     .10000E-03    5.6779        .17818E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          2.5519        1.5674        .72245E-04   -1.5388    
  15  Prefactor     1.9033        4.2357        .11410E-02   -1.5432    
  16  Prefactor     3.8307        8.0382        .20623E-03   -1.5316    
  17  Prefactor     .10000E-03    7.3785        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          6.0759        2.0064        .59111E-04   -1.5215    
  19  norm          .10000E-03    .92968        .72116E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    8.2056        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    30.993        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     7.3914        34.714        .14728E-03   -1.5164    
  23  Prefactor     18.171        20.237        .94024E-04   -1.4855    
  24  Prefactor     .10000E-03    4.0274        .15026E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .10000E-03    3.3274        .13652E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     35.703        24.732        .67068E-04   -1.4512    
  27  Prefactor     .10000E-03    63.366        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     8.9142        5.8120        .13433E-03   -1.5111    
  29  Prefactor     .10000E-03    53.347        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    1.0137        .21309        .21566E-03   -.92572    
  31  Prefactor     .60774        .20417        .28648E-03   -1.0726    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.97367e-11
Minuit parameter uncertainties:
  1  1.0523e-05
  2  5.16579
  3  24.0931
  4  15.577
  5  2.26616e-06
  6  1.77051e-05
  7  30.8079
  8  9.42546
  9  22.8729
  10  1.67572e-06
  11  7.17978e-06
  12  17.8136
  13  2.72782e-06
  14  1.56742
  15  4.23637
  16  8.04043
  17  1.85613e-05
  18  2.00641
  19  1.50589e-06
  20  8.84781e-06
  21  5.26835e-05
  22  32.0668
  23  20.2443
  24  7.29203e-08
  25  1.0471e-07
  26  24.7394
  27  3.61303e-05
  28  5.81241
  29  0.000211334
  30  0.21327
  31  0.204424
Done.

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

Extracting fit parameters...

4FGL J1514.8+4448
   Spectrum: LogParabola
286         norm:  1.000e-04  1.506e-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:  6.077e-01  2.044e-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.014e+00  2.133e-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.42e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.44e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/371425/likelihoodResults_532224001_532483201_4FGL_J1514.8+4448_daily_bin1130.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) = 5878.14516881
delta logL = -0.00494648247695

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5878.14022238
delta logL = -4.70372469863e-08

Fit tolerance = 1e-08

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

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

 FCN=   5878.140     FROM MIGRAD    STATUS=FAILED        64 CALLS      210 TOTAL
                     EDM=   .33E+03    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10028E-03    235.50         .0000    ** at limit **
   2  alpha         2.6668        1.6201         .0000       -.11767E-04
   3  Normalizat    1.0137        9.1741         .0000       -.16674E-05
   4  Prefactor     .60774        9.1805         .0000       -.18420E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   5878.140     FROM SIMPLEX   STATUS=PROGRESS     151 CALLS      361 TOTAL
                     EDM=   .98E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    235.50        .11946E-03** at limit **
   2  alpha         2.6668        1.6201        .86454E-05   -.11767E-04
   3  Normalizat    1.0137        9.1741        .88164E-04   -.16674E-05
   4  Prefactor     .60775        9.1805        .10164E-03   -.18420E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5878.140     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      443 TOTAL
                     EDM=   .83E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 22.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .94012        .56999E-06** at limit **
   2  alpha         2.6818        3.5719        .13296E-03   -.12800E-04
   3  Normalizat    1.0137        .18725        .18241E-05    .75988E-04
   4  Prefactor     .60773        .19738       -.26210E-05   -.29250E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100001
  alpha      = 2.68183
  Normalizat = 1.01373
  Prefactor  = 0.607732
 **********
 **   18 **HESSE 
 **********

 FCN=   5878.140     FROM HESSE     STATUS=OK            29 CALLS      472 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .94410        .14423E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.6818        3.5909        .50000        .72797E-01
   3  Normalizat    1.0137        .18674        .86265E-05   -.92572    
   4  Prefactor     .60773        .19691        .11459E-04   -1.0726    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.70683e-09
Minuit parameter uncertainties:
  1  5.14571e-05
  2  2.49357
  3  0.186859
  4  0.197129
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/371425': 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) = 5878.1402215
delta logL = 8.32052137412e-07

Extracting fit parameters...

4FGL J1514.8+4448
   Spectrum: LogParabola
286         norm:  1.000e-04  5.146e-05  1.000e-04  1.000e+04 ( 1.000e-12)
287        alpha:  2.682e+00  2.494e+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:  6.077e-01  1.971e-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.014e+00  1.869e-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/371425/cmap_HighResolution_532224001_532483201_4FGL_J1514.8+4448_daily_bin1130.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.44e-05', job_status='DONE', photon_flux_upper_limit='3.42e-08', time_completed='2021-09-11 18:36:32.789718', job_id='371425', GAL2='0.61', fit_tolerance='1e-08', EG2='1.01', EG='1.01', time_epoch_completed='1631410592.79', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.61', dlogl='8.32e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.21' WHERE bin_id='1130' AND source_name='4FGL J1514.8+4448' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 11 18:36:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0160>
Subject: Job 371425: <4FGL_J1514.8+4448_daily_bin1130> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1514.8+4448_daily_bin1130 228.719 44.8105 532224001 532483201 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 :                                   902.47 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             328.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   917 sec.
    Turnaround time :                            919 sec.

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

