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


Performing analysis on: 4FGL_J1514.8+4448_daily_bin1037
RA = 228.719, Dec = 44.8105
tmin = 508118401, tmax = 508377601
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='369848', job_status='RUN', time_executed='2021-09-11 18:16:38.988267', time_epoch_executed='1631409398.99' WHERE source_name='4FGL J1514.8+4448' and cadence='daily' and bin_id='1037'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/369848

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/369848/ft1_4FGL_J1514.8+4448_daily_bin1037.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/369848/ft2_4FGL_J1514.8+4448_daily_bin1037.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/369848/ft1_4FGL_J1514.8+4448_daily_bin1037.fits outfile=/scratch/kocevski/369848/ft1_filteredMKT_4FGL_J1514.8+4448_daily_bin1037.fits ra=228.719 dec=44.8105 rad=12.0 tmin=508118401.0 tmax=508377601.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.62
user 3.42
sys 0.19

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/369848/ft1_filtered_4FGL_J1514.8+4448_daily_bin1037.fits evtable="EVENTS" scfile=/scratch/kocevski/369848/ft2_4FGL_J1514.8+4448_daily_bin1037.fits sctable="SC_DATA" expcube=/scratch/kocevski/369848/ltcube_508118401_508377601_4FGL_J1514.8+4448_daily_bin1037.fits outfile=/scratch/kocevski/369848/expmap_508118401_508377601_4FGL_J1514.8+4448_daily_bin1037.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/369848/ltcube_508118401_508377601_4FGL_J1514.8+4448_daily_bin1037.fits
.....................!
real 190.39
user 185.46
sys 4.62

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/369848/ft1_filtered_4FGL_J1514.8+4448_daily_bin1037.fits scfile=/scratch/kocevski/369848/ft2_4FGL_J1514.8+4448_daily_bin1037.fits outfile=/scratch/kocevski/369848/cmap_508118401_508377601_4FGL_J1514.8+4448_daily_bin1037.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.56
user 0.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/369848/ft1_filtered_4FGL_J1514.8+4448_daily_bin1037.fits scfile=/scratch/kocevski/369848/ft2_4FGL_J1514.8+4448_daily_bin1037.fits outfile=/scratch/kocevski/369848/cmap_HighResolution_508118401_508377601_4FGL_J1514.8+4448_daily_bin1037.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.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10350E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.7958       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .11471E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    32.691       1.0000         .10000E-03   10000.    
     5 'Prefactor '    12.992       1.0000         .10000E-03   10000.    
     6 'Prefactor '    18.927       1.0000         .10000E-03   10000.    
     7 'Prefactor '    23.436       1.0000         .10000E-03   10000.    
     8 'norm      '    11.884       1.0000         .10000E-03   10000.    
     9 'Prefactor '    22.040       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.1706       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    5.5997       1.0000         .10000E-03   10000.    
    15 'Prefactor '    8.9866       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    2.8306       1.0000         .10000E-03   10000.    
    18 'norm      '    3.3274       1.0000         .10000E-03   10000.    
    19 'norm      '    2.0382       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .29444E-02   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    3.9231       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    27.634       1.0000         .10000E-03   10000.    
    28 'Prefactor '    2.3239       1.0000         .10000E-03   10000.    
    29 'Prefactor '    .11984E-03   1.0000         .10000E-03   10000.    
    30 'Normalizat'    1.1577       1.0000         .10000E-01   10.000    
    31 'Prefactor '    1.0134       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=   6741.303     FROM MIGRAD    STATUS=CONVERGED    809 CALLS     4151 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    53.342       -.18926E-05** at limit **
   2  Prefactor     2.7959        2.7492       -.91668E-07    .65233E-04
   3  Prefactor     .10000E-03    63.733        .12672E-05** at limit **
   4  Prefactor     32.677        26.191       -.36741E-06    .19357E-04
   5  Prefactor     12.881        43.439       -.31117E-05   -.99381E-04
   6  Prefactor     18.932        61.584       -.18432E-05    .20465E-04
   7  Prefactor     23.418        31.234       -.44626E-06    .43293E-05
   8  norm          11.883        7.8810       -.28924E-07    .21970E-04
   9  Prefactor     22.036        34.351       -.29520E-08    .29820E-05
  10  Prefactor     .10000E-03    17.948        .10570E-06** at limit **
  11  norm          .10000E-03    3.2936        .37133E-08** at limit **
  12  Prefactor     4.1683        18.125        .23906E-06   -.54377E-05
  13  Prefactor     .10000E-03    6.1846       -.99112E-07** at limit **
  14  norm          5.5994        1.9185       -.33750E-07    .17204E-03
  15  Prefactor     8.9855        12.168       -.11115E-06    .21046E-04
  16  Prefactor     .10000E-03    2.1241       -.74465E-07** at limit **
  17  Prefactor     2.8275        6.3043        .41225E-06   -.21876E-04
  18  norm          3.3267        2.7703        .37362E-08    .52619E-04
  19  norm          2.0375        3.3202        .57797E-06    .25083E-03
  20  Prefactor     .10122E-03    7.4363       -.24571E-05** at limit **
  21  Prefactor     .10000E-03    25.239        .16596E-06** at limit **
  22  Prefactor     .10000E-03    12.724       -.57113E-06** at limit **
  23  Prefactor     3.8940        13.644        .60803E-05    .25834E-03
  24  Prefactor     .10000E-03    9.9001        .10634E-06** at limit **
  25  norm          .10000E-03    6.9114        .12262E-06** at limit **
  26  Prefactor     .10000E-03    6.3560        .18114E-07** at limit **
  27  Prefactor     27.628        37.249       -.24333E-06   -.10529E-04
  28  Prefactor     2.3227        5.7844        .17291E-05   -.20458E-03
  29  Prefactor     .10000E-03    97.656       -.70120E-06** at limit **
  30  Normalizat    1.1585        .20774        .41269E-05   -.18873E-03
  31  Prefactor     1.0126        .20558       -.44385E-05    .46483E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 2.79593
  Prefactor  = 0.0001
  Prefactor  = 32.677
  Prefactor  = 12.8813
  Prefactor  = 18.9318
  Prefactor  = 23.4183
  norm       = 11.8831
  Prefactor  = 22.0361
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 4.16834
  Prefactor  = 0.0001
  norm       = 5.59941
  Prefactor  = 8.98555
  Prefactor  = 0.0001
  Prefactor  = 2.82752
  norm       = 3.32665
  norm       = 2.03745
  Prefactor  = 0.000101225
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.89398
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 27.6284
  Prefactor  = 2.32274
  Prefactor  = 0.000100003
  Normalizat = 1.15851
  Prefactor  = 1.01262
 **********
 **   18 **HESSE 
 **********

 FCN=   6741.303     FROM HESSE     STATUS=OK           628 CALLS     4779 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    53.352        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.7959        2.7584        .13154E-03   -1.5374    
   3  Prefactor     .10000E-03    66.043        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     32.677        26.243        .70083E-04   -1.4564    
   5  Prefactor     12.881        43.618        .11113E-03   -1.4990    
   6  Prefactor     18.932        61.342        .92063E-04   -1.4837    
   7  Prefactor     23.418        31.286        .82742E-04   -1.4740    
   8  norm          11.883        7.8742        .11620E-03   -1.5018    
   9  Prefactor     22.036        34.340        .85318E-04   -1.4769    
  10  Prefactor     .10000E-03    18.106        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    3.2967        .14551E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     4.1683        17.980        .19735E-03   -1.5300    
  13  Prefactor     .10000E-03    6.1946        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          5.5994        1.9174        .64097E-04   -1.5235    
  15  Prefactor     8.9855        12.133        .13370E-03   -1.5108    
  16  Prefactor     .10000E-03    2.1255        .11686E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     2.8275        6.2954        .24171E-03   -1.5372    
  18  norm          3.3267        2.7632        .95558E-04   -1.5343    
  19  norm          2.0375        3.3013        .17699E-03   -1.5422    
  20  Prefactor     .10122E-03    12.094        .62589E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    25.245        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    12.794        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     3.8940        17.754        .20368E-03   -1.5313    
  24  Prefactor     .10000E-03    9.9121        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .10000E-03    6.9222        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    6.3575        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     27.628        37.243        .76210E-04   -1.4656    
  28  Prefactor     2.3227        5.6600        .26905E-03   -1.5403    
  29  Prefactor     .10000E-03    98.745        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    1.1585        .23643        .24916E-03   -.87895    
  31  Prefactor     1.0126        .23228        .27892E-03   -.92310    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.06869e-09
Minuit parameter uncertainties:
  1  0.000167881
  2  2.75851
  3  0.000224268
  4  26.2518
  5  43.7266
  6  61.5477
  7  31.308
  8  7.87484
  9  34.3708
  10  4.07283e-07
  11  2.13695e-07
  12  17.3229
  13  4.84863e-06
  14  1.91739
  15  12.1363
  16  1.05216e-06
  17  6.29692
  18  2.76326
  19  3.30155
  20  0.00769891
  21  5.45106e-05
  22  8.12929e-05
  23  16.6372
  24  8.1624e-06
  25  5.20617e-06
  26  8.55146e-06
  27  37.2747
  28  5.66125
  29  0.00110325
  30  0.23665
  31  0.232514
Done.

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

Extracting fit parameters...

4FGL J1514.8+4448
   Spectrum: LogParabola
286         norm:  2.037e+00  3.302e+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:  1.013e+00  2.325e-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.159e+00  2.367e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.62
Ra Dec: 228.719 44.810
Photon Flux Upper Limit: 7.08e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.98e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/369848/likelihoodResults_508118401_508377601_4FGL_J1514.8+4448_daily_bin1037.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) = 6741.29328183
delta logL = 0.0101099941585

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6741.29263176
delta logL = 0.0107600671499

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.9622       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4344       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1539       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0151       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=   6741.293     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      206 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.9616        120.38        .74028E-02    .42135E-03
   2  alpha         2.4362        3.7555        .41170        .88639E-05
   3  Normalizat    1.1540        .73105E-01    .56439E-01   -.60002E-04
   4  Prefactor     1.0150        .59616E-01    .63000E-01   -.18526E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.96161
  alpha      = 2.43616
  Normalizat = 1.15397
  Prefactor  = 1.01504
 **********
 **   18 **HESSE 
 **********

 FCN=   6741.293     FROM HESSE     STATUS=OK            33 CALLS      239 TOTAL
                     EDM=   .56E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.9616        3.3000        .16621E-03   -1.5428    
   2  alpha         2.4362        1.5242        .33735E-01   -.25540E-01
   3  Normalizat    1.1540        .21904        .24958E-03   -.88037    
   4  Prefactor     1.0150        .22992        .27863E-03   -.92230    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.57038e-11
Minuit parameter uncertainties:
  1  3.30032
  2  1.63917
  3  0.219215
  4  0.23014
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/369848': 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) = 6741.29263073
delta logL = 0.0107610956702

Extracting fit parameters...

4FGL J1514.8+4448
   Spectrum: LogParabola
286         norm:  1.962e+00  3.300e+00  1.000e-04  1.000e+04 ( 1.000e-12)
287        alpha:  2.436e+00  1.639e+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:  1.015e+00  2.301e-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.154e+00  2.192e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.62
Ra Dec: 228.719 44.810

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/369848/cmap_HighResolution_508118401_508377601_4FGL_J1514.8+4448_daily_bin1037.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.98e-05', job_status='DONE', photon_flux_upper_limit='7.08e-08', time_completed='2021-09-11 18:32:56.043815', job_id='369848', GAL2='1.02', fit_tolerance='1e-08', EG2='1.15', EG='1.16', time_epoch_completed='1631410376.04', return_code2='0', ts='0.62', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='1.08e-02', ts2='0.64', photon_index_error='0.00', photon_index='2.21' WHERE bin_id='1037' AND source_name='4FGL J1514.8+4448' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 11 18:32:56 PDT 2021


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

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1514.8+4448_daily_bin1037 228.719 44.8105 508118401 508377601 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 :                                   970.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             334.03 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   994 sec.
    Turnaround time :                            995 sec.

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

