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


Performing analysis on: 4FGL_J1514.8+4448_daily_bin1300
RA = 228.719, Dec = 44.8105
tmin = 576288001, tmax = 576547201
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='373679', job_status='RUN', time_executed='2021-09-11 18:26:24.690073', time_epoch_executed='1631409984.69' WHERE source_name='4FGL J1514.8+4448' and cadence='daily' and bin_id='1300'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/373679

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

Retrieving the FT1 file...

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

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

Retrieving 41 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/373679/ft1_4FGL_J1514.8+4448_daily_bin1300.fits


Retrieving the FT1 file...

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

Retrieving 41 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/373679/ft2_4FGL_J1514.8+4448_daily_bin1300.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/373679/ft1_4FGL_J1514.8+4448_daily_bin1300.fits outfile=/scratch/kocevski/373679/ft1_filteredMKT_4FGL_J1514.8+4448_daily_bin1300.fits ra=228.719 dec=44.8105 rad=12.0 tmin=576288001.0 tmax=576547201.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.29
user 3.11
sys 0.16

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/373679/ft1_filtered_4FGL_J1514.8+4448_daily_bin1300.fits evtable="EVENTS" scfile=/scratch/kocevski/373679/ft2_4FGL_J1514.8+4448_daily_bin1300.fits sctable="SC_DATA" expcube=/scratch/kocevski/373679/ltcube_576288001_576547201_4FGL_J1514.8+4448_daily_bin1300.fits outfile=/scratch/kocevski/373679/expmap_576288001_576547201_4FGL_J1514.8+4448_daily_bin1300.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/373679/ltcube_576288001_576547201_4FGL_J1514.8+4448_daily_bin1300.fits
.....................!
real 191.12
user 185.22
sys 5.25

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

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/373679/ft1_filtered_4FGL_J1514.8+4448_daily_bin1300.fits scfile=/scratch/kocevski/373679/ft2_4FGL_J1514.8+4448_daily_bin1300.fits outfile=/scratch/kocevski/373679/cmap_HighResolution_576288001_576547201_4FGL_J1514.8+4448_daily_bin1300.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.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    50.352       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.1072       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    8.7273       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.6563       1.0000         .10000E-03   10000.    
     8 'norm      '    4.9695       1.0000         .10000E-03   10000.    
     9 'Prefactor '    25.102       1.0000         .10000E-03   10000.    
    10 'Prefactor '    28.317       1.0000         .10000E-03   10000.    
    11 'norm      '    17.903       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .57427       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.6235       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .97510       1.0000         .10000E-03   10000.    
    18 'norm      '    .12005E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    3.3472       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    84.194       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .11309E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    52.148       1.0000         .10000E-03   10000.    
    30 'Normalizat'    1.0169       1.0000         .10000E-01   10.000    
    31 'Prefactor '    1.0195       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=   5895.103     FROM MIGRAD    STATUS=CONVERGED    786 CALLS     4131 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     50.353        49.335        .43116E-06    .22454E-04
   2  Prefactor     1.1073        4.0301       -.18870E-06   -.22684E-03
   3  Prefactor     .10000E-03    11.233       -.84684E-06** at limit **
   4  Prefactor     8.7274        22.347       -.98897E-07   -.11486E-03
   5  Prefactor     .10000E-03    56.447       -.37772E-05** at limit **
   6  Prefactor     .10000E-03    29.295        .79800E-05** at limit **
   7  Prefactor     1.6565        47.203       -.26510E-06   -.21429E-04
   8  norm          4.9696        6.5365        .69564E-06   -.10691E-02
   9  Prefactor     25.101        31.176       -.91906E-06   -.13221E-04
  10  Prefactor     28.316        17.729       -.21684E-06    .25478E-04
  11  norm          17.902        11.644       -.12429E-06   -.14354E-04
  12  Prefactor     .10000E-03    16.040       -.22407E-06** at limit **
  13  Prefactor     .10000E-03    11.400       -.16453E-06** at limit **
  14  norm          .57434        1.4497        .10667E-06   -.14899E-03
  15  Prefactor     .10000E-03    5.1243        .10533E-05** at limit **
  16  Prefactor     2.6231        7.1280        .26337E-05   -.12240E-02
  17  Prefactor     .97523        6.9784       -.50375E-05   -.34509E-03
  18  norm          .10002E-03    .65143        .19051E-06** at limit **
  19  norm          .10000E-03    1.0036        .20181E-06** at limit **
  20  Prefactor     .10000E-03    2.2472        .84798E-07** at limit **
  21  Prefactor     .10000E-03    14.124        .35667E-05** at limit **
  22  Prefactor     .10000E-03    5.5814       -.28062E-05** at limit **
  23  Prefactor     .10000E-03    3.2992       -.20756E-07** at limit **
  24  Prefactor     .10000E-03    9.1755       -.16548E-05** at limit **
  25  norm          3.3462        10.826        .18662E-05   -.64556E-03
  26  Prefactor     .10000E-03    19.646       -.75291E-05** at limit **
  27  Prefactor     84.182        77.081       -.73931E-05   -.95882E-04
  28  Prefactor     .10001E-03    11.708        .26578E-05** at limit **
  29  Prefactor     52.135        29.865       -.42316E-05   -.35465E-03
  30  Normalizat    1.0168        .18338        .10875E-05    .58003E-04
  31  Prefactor     1.0195        .19544       -.76936E-07    .11678E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 50.3531
  Prefactor  = 1.10735
  Prefactor  = 0.0001
  Prefactor  = 8.72744
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 1.65646
  norm       = 4.96955
  Prefactor  = 25.1007
  Prefactor  = 28.3162
  norm       = 17.9023
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.574336
  Prefactor  = 0.0001
  Prefactor  = 2.62312
  Prefactor  = 0.975231
  norm       = 0.000100016
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.34622
  Prefactor  = 0.000100001
  Prefactor  = 84.1816
  Prefactor  = 0.000100005
  Prefactor  = 52.135
  Normalizat = 1.01682
  Prefactor  = 1.01954
 **********
 **   18 **HESSE 
 **********

 FCN=   5895.103     FROM HESSE     STATUS=OK           614 CALLS     4745 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     50.353        49.170        .56516E-04   -1.4288    
   2  Prefactor     1.1073        3.9955        .28306E-03   -1.5498    
   3  Prefactor     .10000E-03    11.270        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.7274        22.421        .67842E-03   -1.5117    
   5  Prefactor     .10000E-03    57.038        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    29.269        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.6565        47.580        .32792E-03   -1.5451    
   8  norm          4.9696        6.8440        .90202E-03   -1.5262    
   9  Prefactor     25.101        31.156        .79954E-04   -1.4706    
  10  Prefactor     28.316        17.694        .75288E-04   -1.4643    
  11  norm          17.902        11.640        .94657E-04   -1.4861    
  12  Prefactor     .10000E-03    16.274        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    11.497        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .57434        1.4280        .13981E-03   -1.5556    
  15  Prefactor     .10000E-03    5.2053        .16947E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     2.6231        9.2715        .12590E-02   -1.5384    
  17  Prefactor     .97523        7.3932        .39190E-03   -1.5510    
  18  norm          .10002E-03    6.1603        .11948E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    1.0066        .75114E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    2.2510        .11240E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    14.116        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    5.5864        .17711E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    3.3045        .13619E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    9.1864        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          3.3462        11.869        .11061E-02   -1.5342    
  26  Prefactor     .10000E-03    19.714        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     84.182        77.385        .43779E-04   -1.3870    
  28  Prefactor     .10001E-03    12.336        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     52.135        30.164        .55539E-04   -1.4263    
  30  Normalizat    1.0168        .21812        .23954E-03   -.92469    
  31  Prefactor     1.0195        .23104        .25734E-03   -.92081    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.23753e-08
Minuit parameter uncertainties:
  1  49.2095
  2  3.99642
  3  2.80343e-05
  4  22.4421
  5  0.000274578
  6  0.000320042
  7  17.7704
  8  6.84505
  9  31.1765
  10  17.6971
  11  11.6417
  12  3.69361e-05
  13  4.12812e-05
  14  1.42812
  15  1.5551e-06
  16  9.27657
  17  5.37097
  18  0.000623027
  19  2.89741e-06
  20  2.25265e-06
  21  9.78756e-05
  22  5.12464e-05
  23  9.33166e-07
  24  5.05984e-05
  25  11.8769
  26  0.000250019
  27  77.4777
  28  0.000513892
  29  30.1733
  30  0.218314
  31  0.231267
Done.

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

Extracting fit parameters...

4FGL J1514.8+4448
   Spectrum: LogParabola
286         norm:  1.000e-04  2.897e-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:  1.020e+00  2.313e-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.017e+00  2.183e-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.59e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.51e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/373679/likelihoodResults_576288001_576547201_4FGL_J1514.8+4448_daily_bin1300.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) = 5895.10721161
delta logL = -0.00458249474923

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5895.10262912
delta logL = -9.30231180973e-09

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.2074       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0168       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0195       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6360E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   5894.905     FROM MIGRAD    STATUS=FAILED       127 CALLS      265 TOTAL
                     EDM=   .68E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .40877E-01    5.5702        .55683E-02    .73046E-02
   2  alpha         5.0000        4.5887        .16605    ** at limit **
   3  Normalizat    .97702        .29530        .23954E-03    .43595E-03
   4  Prefactor     1.0465        .12266        .25734E-03    .43140E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   5894.905     FROM SIMPLEX   STATUS=UNCHANGED    149 CALLS      414 TOTAL
                     EDM=   .36E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .40877E-01    5.5702        .10721E-05    .73046E-02
   2  alpha         5.0000        4.5887        .63194E-02** at limit **
   3  Normalizat    .97702        .29530        .10897E-05    .43595E-03
   4  Prefactor     1.0465        .12266        .59915E-07    .43140E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5894.905     FROM MIGRAD    STATUS=CONVERGED     33 CALLS      447 TOTAL
                     EDM=   .19E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .40877E-01    .69755E-01    .24856E-04    .82236E-03
   2  alpha         5.0000        3.3146        .66421E-02** at limit **
   3  Normalizat    .97702        .21991        .47907E-04    .60845E-04
   4  Prefactor     1.0465        .23221        .51468E-04    .71612E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0408769
  alpha      = 5
  Normalizat = 0.977021
  Prefactor  = 1.04648
 **********
 **   18 **HESSE 
 **********

 FCN=   5894.905     FROM HESSE     STATUS=OK            23 CALLS      470 TOTAL
                     EDM=   .19E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .40877E-01    .69742E-01    .99426E-06   -1.5668    
   2  alpha         5.0000        3.3146        .13284E-02   -23.562    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .97702        .21994        .95814E-05   -.93804    
   4  Prefactor     1.0465        .23227        .10294E-04   -.91196    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.92855e-11
Minuit parameter uncertainties:
  1  0.0697426
  2  9.66255e-06
  3  0.220148
  4  0.232493
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/373679': 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) = 5894.90468072
delta logL = 0.197948394681

Extracting fit parameters...

4FGL J1514.8+4448
   Spectrum: LogParabola
286         norm:  4.088e-02  6.974e-02  1.000e-04  1.000e+04 ( 1.000e-12)
287        alpha:  5.000e+00  9.663e-06  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.046e+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:  9.770e-01  2.201e-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/373679/cmap_HighResolution_576288001_576547201_4FGL_J1514.8+4448_daily_bin1300.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.51e-05', job_status='DONE', photon_flux_upper_limit='3.59e-08', time_completed='2021-09-11 18:41:23.744942', job_id='373679', GAL2='1.05', fit_tolerance='1e-08', EG2='0.98', EG='1.02', time_epoch_completed='1631410883.75', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='1.98e-01', ts2='0.42', photon_index_error='0.00', photon_index='2.21' WHERE bin_id='1300' AND source_name='4FGL J1514.8+4448' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 11 18:41:23 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0190>
Subject: Job 373679: <4FGL_J1514.8+4448_daily_bin1300> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1514.8+4448_daily_bin1300 228.719 44.8105 576288001 576547201 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 :                                   885.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             325.75 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.

