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


Performing analysis on: 4FGL_J1514.8+4448_daily_bin702
RA = 228.719, Dec = 44.8105
tmin = 421286401, tmax = 421545601
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='368173', job_status='RUN', time_executed='2021-09-11 18:11:27.282831', time_epoch_executed='1631409087.28' WHERE source_name='4FGL J1514.8+4448' and cadence='daily' and bin_id='702'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/368173

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/368173/ft1_4FGL_J1514.8+4448_daily_bin702.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/368173/ft2_4FGL_J1514.8+4448_daily_bin702.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/368173/ft1_4FGL_J1514.8+4448_daily_bin702.fits outfile=/scratch/kocevski/368173/ft1_filteredMKT_4FGL_J1514.8+4448_daily_bin702.fits ra=228.719 dec=44.8105 rad=12.0 tmin=421286401.0 tmax=421545601.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.66
user 3.43
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/368173/ft1_filtered_4FGL_J1514.8+4448_daily_bin702.fits" evtable="EVENTS" scfile=/scratch/kocevski/368173/ft2_4FGL_J1514.8+4448_daily_bin702.fits sctable="SC_DATA" outfile=/scratch/kocevski/368173/ltcube_421286401_421545601_4FGL_J1514.8+4448_daily_bin702.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/368173/ft2_4FGL_J1514.8+4448_daily_bin702.fits
.....................!
real 12.02
user 11.67
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/368173/ft1_filtered_4FGL_J1514.8+4448_daily_bin702.fits evtable="EVENTS" scfile=/scratch/kocevski/368173/ft2_4FGL_J1514.8+4448_daily_bin702.fits sctable="SC_DATA" expcube=/scratch/kocevski/368173/ltcube_421286401_421545601_4FGL_J1514.8+4448_daily_bin702.fits outfile=/scratch/kocevski/368173/expmap_421286401_421545601_4FGL_J1514.8+4448_daily_bin702.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/368173/ltcube_421286401_421545601_4FGL_J1514.8+4448_daily_bin702.fits
.....................!
real 192.66
user 187.35
sys 4.85

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/368173/ft1_filtered_4FGL_J1514.8+4448_daily_bin702.fits scfile=/scratch/kocevski/368173/ft2_4FGL_J1514.8+4448_daily_bin702.fits outfile=/scratch/kocevski/368173/cmap_421286401_421545601_4FGL_J1514.8+4448_daily_bin702.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/368173/ft1_filtered_4FGL_J1514.8+4448_daily_bin702.fits scfile=/scratch/kocevski/368173/ft2_4FGL_J1514.8+4448_daily_bin702.fits outfile=/scratch/kocevski/368173/cmap_HighResolution_421286401_421545601_4FGL_J1514.8+4448_daily_bin702.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=228.719 yref=44.8105 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.55
user 0.40
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.6864       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    17.839       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    21.812       1.0000         .10000E-03   10000.    
     8 'norm      '    .30189E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    32.256       1.0000         .10000E-03   10000.    
    10 'Prefactor '    29.074       1.0000         .10000E-03   10000.    
    11 'norm      '    5.8077       1.0000         .10000E-03   10000.    
    12 'Prefactor '    7.1611       1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.1080       1.0000         .10000E-03   10000.    
    14 'norm      '    1.3908       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10091E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .99925E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10107E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    10.720       1.0000         .10000E-03   10000.    
    19 'norm      '    4.4653       1.0000         .10000E-03   10000.    
    20 'Prefactor '    4.7333       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    4.8351       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10074E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    11.647       1.0000         .10000E-03   10000.    
    26 'Prefactor '    2.8015       1.0000         .10000E-03   10000.    
    27 'Prefactor '    168.94       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    8.4525       1.0000         .10000E-03   10000.    
    30 'Normalizat'    1.3424       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .54095       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=   6219.705     FROM MIGRAD    STATUS=CONVERGED    779 CALLS     4144 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.6812        35.494        .56043E-06    .14506E-04
   2  Prefactor     .10000E-03    1.6105        .30598E-07** at limit **
   3  Prefactor     17.846        22.334       -.10851E-06   -.15663E-04
   4  Prefactor     .10000E-03    15.433        .47964E-06** at limit **
   5  Prefactor     .10000E-03    11.159        .14603E-06** at limit **
   6  Prefactor     .10000E-03    25.026        .12812E-06** at limit **
   7  Prefactor     21.813        29.054       -.14165E-06   -.53123E-05
   8  norm          .10000E-03    5.0336        .36824E-07** at limit **
   9  Prefactor     32.242        31.352       -.14648E-06    .32058E-04
  10  Prefactor     29.071        17.465       -.16661E-06    .28454E-04
  11  norm          5.8064        5.7687       -.17243E-06   -.45376E-04
  12  Prefactor     7.1550        13.858       -.40655E-06   -.20140E-04
  13  Prefactor     1.1099        18.786        .63225E-05   -.65425E-04
  14  norm          1.3907        1.1035       -.42402E-07    .20033E-04
  15  Prefactor     .10000E-03    6.5445        .18823E-06** at limit **
  16  Prefactor     .10000E-03    6.0154        .56989E-06** at limit **
  17  Prefactor     .10000E-03    7.8092        .28852E-06** at limit **
  18  norm          10.721        2.6930       -.82767E-07   -.83223E-04
  19  norm          4.4652        3.5446       -.65122E-07   -.68957E-04
  20  Prefactor     4.7252        9.7674       -.24804E-05   -.79791E-04
  21  Prefactor     .10000E-03    25.038       -.53348E-07** at limit **
  22  Prefactor     .10000E-03    6.6782       -.41647E-06** at limit **
  23  Prefactor     4.8521        17.516        .50526E-05    .43330E-04
  24  Prefactor     .10000E-03    9.5342       -.11950E-06** at limit **
  25  norm          11.649        11.814       -.11070E-06    .80401E-05
  26  Prefactor     2.7878        50.598        .50509E-06    .22535E-04
  27  Prefactor     168.96        90.196       -.14275E-06   -.15786E-04
  28  Prefactor     .10000E-03    3.0306       -.12127E-05** at limit **
  29  Prefactor     8.4638        21.245        .45119E-06    .26430E-04
  30  Normalizat    1.3422        .19675        .11887E-06   -.26880E-03
  31  Prefactor     .54109        .18961       -.17891E-05    .92641E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.68123
  Prefactor  = 0.0001
  Prefactor  = 17.846
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 21.8132
  norm       = 0.000100001
  Prefactor  = 32.2419
  Prefactor  = 29.071
  norm       = 5.80638
  Prefactor  = 7.15504
  Prefactor  = 1.10989
  norm       = 1.39071
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 10.7211
  norm       = 4.46524
  Prefactor  = 4.72522
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.85208
  Prefactor  = 0.0001
  norm       = 11.6492
  Prefactor  = 2.78782
  Prefactor  = 168.959
  Prefactor  = 0.0001
  Prefactor  = 8.46382
  Normalizat = 1.34218
  Prefactor  = 0.54109
 **********
 **   18 **HESSE 
 **********

 FCN=   6219.705     FROM HESSE     STATUS=OK           628 CALLS     4772 TOTAL
                     EDM=   .54E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.6812        35.567        .14464E-03   -1.5154    
   2  Prefactor     .10000E-03    1.6147        .97721E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     17.846        22.451        .94829E-04   -1.4863    
   4  Prefactor     .10000E-03    15.489        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    11.175        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    25.066        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     21.813        29.151        .85764E-04   -1.4774    
   8  norm          .10000E-03    11.997        .33616E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     32.242        31.220        .70552E-04   -1.4572    
  10  Prefactor     29.071        17.501        .74303E-04   -1.4629    
  11  norm          5.8064        5.7659        .16665E-03   -1.5226    
  12  Prefactor     7.1550        13.818        .14990E-03   -1.5173    
  13  Prefactor     1.1099        19.124        .22469E-02   -1.5497    
  14  norm          1.3907        1.1038        .36848E-04   -1.5472    
  15  Prefactor     .10000E-03    6.5753        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    30.674        .36883E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    8.0029        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          10.721        2.6877        .61230E-04   -1.5053    
  19  norm          4.4652        3.5351        .12042E-03   -1.5285    
  20  Prefactor     4.7252        9.7638        .18495E-03   -1.5273    
  21  Prefactor     .10000E-03    25.042        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    6.6861        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     4.8521        17.917        .18295E-03   -1.5267    
  24  Prefactor     .10000E-03    9.5326        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          11.649        11.794        .11738E-03   -1.5025    
  26  Prefactor     2.7878        50.412        .24306E-03   -1.5374    
  27  Prefactor     168.96        90.016        .15519E-03   -1.3101    
  28  Prefactor     .10000E-03    3.0091        .13325E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     8.4638        21.205        .13788E-03   -1.5126    
  30  Normalizat    1.3422        .22724        .21903E-03   -.82316    
  31  Prefactor     .54109        .21442        .33589E-03   -1.1013    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.42188e-10
Minuit parameter uncertainties:
  1  33.0894
  2  1.56747e-06
  3  22.4614
  4  2.31241e-05
  5  5.66966e-06
  6  1.39976e-05
  7  29.1704
  8  0.000220086
  9  31.2354
  10  17.5042
  11  5.76646
  12  13.8244
  13  9.21726
  14  1.10379
  15  1.45183e-05
  16  8.65725e-05
  17  1.1063e-05
  18  2.68778
  19  3.5353
  20  9.76709
  21  9.84447e-06
  22  5.72719e-06
  23  17.9369
  24  6.75933e-06
  25  11.7963
  26  23.7327
  27  90.0898
  28  4.08966e-06
  29  21.2235
  30  0.227405
  31  0.214747
Done.

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

Extracting fit parameters...

4FGL J1514.8+4448
   Spectrum: LogParabola
286         norm:  4.465e+00  3.535e+00  1.000e-04  1.000e+04 ( 1.000e-12)
287        alpha:  2.210e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
288         beta:  1.666e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
289           Eb:  8.626e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
633    Prefactor:  5.411e-01  2.147e-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.342e+00  2.274e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.31
Ra Dec: 228.719 44.810
Photon Index (Fixed Index): 2.21 +/- 0.00
Photon Flux (Fixed Index): 2.96e-08 +/- 2.35e-08
Energy Flux (Fixed Index): 1.25e-05 +/- 9.88e-06

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) = 6219.37158
delta logL = 0.333852459622

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6219.33308589
delta logL = 0.372346565865

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.4045       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.3529       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2712       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .58717       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=   6219.333     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      272 TOTAL
                     EDM=   .41E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.4019        20.839        .66010E-02    .24251E-02
   2  alpha         3.3547        4.1389        .35773        .13998E-03
   3  Normalizat    1.2708        .63328E-01    .50664E-01   -.28160E-03
   4  Prefactor     .58734        .53749E-01    .73026E-01   -.50727E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.40189
  alpha      = 3.35472
  Normalizat = 1.27078
  Prefactor  = 0.587343
 **********
 **   18 **HESSE 
 **********

 FCN=   6219.333     FROM HESSE     STATUS=OK            31 CALLS      303 TOTAL
                     EDM=   .98E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.4019        6.6681        .68813E-04   -1.5398    
   2  alpha         3.3547        3.7370        .12540E-01    .34893    
   3  Normalizat    1.2708        .27401        .22399E-03   -.84443    
   4  Prefactor     .58734        .24879        .32329E-03   -1.0812    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.75683e-10
Minuit parameter uncertainties:
  1  6.67018
  2  2.47515
  3  0.27432
  4  0.249261
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/368173': 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) = 6219.3330823
delta logL = 0.372350157188

Extracting fit parameters...

4FGL J1514.8+4448
   Spectrum: LogParabola
286         norm:  2.402e+00  6.670e+00  1.000e-04  1.000e+04 ( 1.000e-12)
287        alpha:  3.355e+00  2.475e+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:  5.873e-01  2.493e-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.271e+00  2.743e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.06
Ra Dec: 228.719 44.810
Photon Index (Free Index): 3.35 +/- 2.48
Photon Flux (Free Index): 8.46e-08 +/- 1.25e-07
Energy Flux (Free Index): 1.65e-05 +/- 1.24e-05

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/368173/cmap_HighResolution_421286401_421545601_4FGL_J1514.8+4448_daily_bin702.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.96e-08', energy_flux2='1.65e-05', photon_flux_error='2.35e-08', dlogl='3.72e-01', energy_flux='1.25e-05', photon_flux2='8.46e-08', job_status='DONE', time_completed='2021-09-11 18:25:08.546195', photon_index_error2='2.48', photon_index2='3.35', ts='4.31', fit_tolerance='1e-08', GAL='0.54', photon_index_error='0.00', energy_flux_error2='1.24e-05', EG='1.34', time_epoch_completed='1631409908.55', return_code='0', job_id='368173', GAL2='0.59', EG2='1.27', return_code2='0', energy_flux_error='9.88e-06', photon_flux_error2='1.25e-07', ts2='5.06', photon_index='2.21' WHERE bin_id='702' AND source_name='4FGL J1514.8+4448' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 11 18:25:08 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0012>
Subject: Job 368173: <4FGL_J1514.8+4448_daily_bin702> in cluster <slac> Done

Job <4FGL_J1514.8+4448_daily_bin702> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Sep 11 18:11:07 2021
Job was executed on host(s) <bullet0012>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 11 18:11:08 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:11:08 2021
Terminated at Sat Sep 11 18:25:09 2021
Results reported at Sat Sep 11 18:25:09 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1514.8+4448_daily_bin702 228.719 44.8105 421286401 421545601 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 :                                   816.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             318.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   840 sec.
    Turnaround time :                            842 sec.

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

