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


Performing analysis on: 4FGL_J1514.8+4448_daily_bin554
RA = 228.719, Dec = 44.8105
tmin = 382924801, tmax = 383184001
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='366794', job_status='RUN', time_executed='2021-09-11 18:06:24.623953', time_epoch_executed='1631408784.62' WHERE source_name='4FGL J1514.8+4448' and cadence='daily' and bin_id='554'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/366794

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/366794/ft1_4FGL_J1514.8+4448_daily_bin554.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/366794/ft2_4FGL_J1514.8+4448_daily_bin554.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/366794/ft1_4FGL_J1514.8+4448_daily_bin554.fits outfile=/scratch/kocevski/366794/ft1_filteredMKT_4FGL_J1514.8+4448_daily_bin554.fits ra=228.719 dec=44.8105 rad=12.0 tmin=382924801.0 tmax=383184001.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 4.47
user 4.22
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/366794/ft1_filtered_4FGL_J1514.8+4448_daily_bin554.fits" evtable="EVENTS" scfile=/scratch/kocevski/366794/ft2_4FGL_J1514.8+4448_daily_bin554.fits sctable="SC_DATA" outfile=/scratch/kocevski/366794/ltcube_382924801_383184001_4FGL_J1514.8+4448_daily_bin554.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/366794/ft2_4FGL_J1514.8+4448_daily_bin554.fits
.....................!
real 11.81
user 11.48
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/366794/ft1_filtered_4FGL_J1514.8+4448_daily_bin554.fits evtable="EVENTS" scfile=/scratch/kocevski/366794/ft2_4FGL_J1514.8+4448_daily_bin554.fits sctable="SC_DATA" expcube=/scratch/kocevski/366794/ltcube_382924801_383184001_4FGL_J1514.8+4448_daily_bin554.fits outfile=/scratch/kocevski/366794/expmap_382924801_383184001_4FGL_J1514.8+4448_daily_bin554.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/366794/ltcube_382924801_383184001_4FGL_J1514.8+4448_daily_bin554.fits
.....................!
real 190.09
user 185.25
sys 4.51

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/366794/ft1_filtered_4FGL_J1514.8+4448_daily_bin554.fits scfile=/scratch/kocevski/366794/ft2_4FGL_J1514.8+4448_daily_bin554.fits outfile=/scratch/kocevski/366794/cmap_382924801_383184001_4FGL_J1514.8+4448_daily_bin554.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.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    17.839       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .85912       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10209E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    11.462       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .26510       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10132E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .28889       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10515E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    13.655       1.0000         .10000E-03   10000.    
    11 'norm      '    4.7340       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    24.669       1.0000         .10000E-03   10000.    
    14 'norm      '    1.4489       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.7948       1.0000         .10000E-03   10000.    
    17 'Prefactor '    4.2159       1.0000         .10000E-03   10000.    
    18 'norm      '    .18682E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    3.3245       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    33.858       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10071E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    5.2352       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    30 'Normalizat'    1.0650       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .90450       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.

 FCN=   6466.759     FROM MIGRAD    STATUS=CONVERGED   1529 CALLS     4881 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.866        44.119        .94828E-04   -.71717E-04
   2  Prefactor     .85936        2.5866        .22714E-02    .52821E-03
   3  Prefactor     .10000E-03    24.018        .18142E-02** at limit **
   4  Prefactor     .10000E-03    7.9969        .18142E-02** at limit **
   5  Prefactor     11.448        28.944        .11833E-03    .35643E-04
   6  Prefactor     .10676E-03    71.285        .17039    ** at limit **
   7  Prefactor     .10000E-03    27.851        .18142E-02** at limit **
   8  norm          .27242        22.432        .26979E-02    .15705E-03
   9  Prefactor     .10000E-03    29.194        .18142E-02** at limit **
  10  Prefactor     13.668        15.258        .10839E-03    .19131E-03
  11  norm          4.7363        5.6251        .18493E-03   -.44876E-05
  12  Prefactor     .10000E-03    3.9752        .15647E-02** at limit **
  13  Prefactor     24.678        16.969        .80650E-04   -.66252E-04
  14  norm          1.4488        1.0585        .68228E-04   -.17463E-03
  15  Prefactor     .10000E-03    3.9293        .15471E-02** at limit **
  16  Prefactor     1.7916        9.7409        .31213E-03    .11291E-05
  17  Prefactor     4.2130        4.8080        .17951E-03   -.16441E-03
  18  norm          .10000E-03    6.6261        .11911E-02** at limit **
  19  norm          3.3239        2.6110        .11166E-03   -.67831E-03
  20  Prefactor     .10000E-03    3.1582        .13921E-02** at limit **
  21  Prefactor     33.957        62.352        .34434E-03    .62269E-04
  22  Prefactor     .10000E-03    8.0073        .18142E-02** at limit **
  23  Prefactor     .10000E-03    18.552        .36285E-03** at limit **
  24  Prefactor     .10000E-03    5.0163        .17582E-02** at limit **
  25  norm          .10000E-03    4.5073        .16641E-02** at limit **
  26  Prefactor     5.2397        15.040        .17568E-03   -.48535E-04
  27  Prefactor     .10000E-03    25.701        .18142E-02** at limit **
  28  Prefactor     .10000E-03    2.2087        .11628E-02** at limit **
  29  Prefactor     .10000E-03    10.650        .18142E-02** at limit **
  30  Normalizat    1.0652        .19423        .21935E-03   -.46264E-03
  31  Prefactor     .90452        .20755        .25623E-03   -.37245E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.866
  Prefactor  = 0.85936
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.4476
  Prefactor  = 0.000106765
  Prefactor  = 0.0001
  norm       = 0.272416
  Prefactor  = 0.0001
  Prefactor  = 13.6676
  norm       = 4.7363
  Prefactor  = 0.0001
  Prefactor  = 24.6775
  norm       = 1.44878
  Prefactor  = 0.0001
  Prefactor  = 1.79163
  Prefactor  = 4.21297
  norm       = 0.000100002
  norm       = 3.32395
  Prefactor  = 0.0001
  Prefactor  = 33.9575
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 5.23965
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.0652
  Prefactor  = 0.904523
 **********
 **   18 **HESSE 
 **********

 FCN=   6466.759     FROM HESSE     STATUS=OK           604 CALLS     5485 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.866        44.104        .18966E-04   -1.4862    
   2  Prefactor     .85936        2.5821        .90857E-04   -1.5523    
   3  Prefactor     .10000E-03    24.027        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    7.9979        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     11.448        28.946        .47333E-05   -1.5031    
   6  Prefactor     .10676E-03    77.043        .16264       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    27.861        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .27242        22.535        .10791E-03   -1.5604    
   9  Prefactor     .10000E-03    29.197        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     13.668        15.272        .43357E-05   -1.4968    
  11  norm          4.7363        5.6209        .73973E-05   -1.5273    
  12  Prefactor     .10000E-03    3.9753        .31295E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     24.678        16.966        .32260E-05   -1.4714    
  14  norm          1.4488        1.0585        .27291E-05   -1.5467    
  15  Prefactor     .10000E-03    3.9306        .30942E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     1.7916        9.7390        .12485E-04   -1.5440    
  17  Prefactor     4.2130        4.8075        .71804E-05   -1.5297    
  18  norm          .10000E-03    6.7083        .23823E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          3.3239        2.6109        .22331E-04   -1.5343    
  20  Prefactor     .10000E-03    3.1585        .27842E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     33.957        62.314        .13773E-04   -1.4542    
  22  Prefactor     .10000E-03    8.0085        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    18.552        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    5.0165        .35165E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .10000E-03    4.5079        .33282E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     5.2397        15.039        .70271E-05   -1.5250    
  27  Prefactor     .10000E-03    25.702        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    2.2090        .23256E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .10000E-03    10.652        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    1.0652        .19429        .43869E-04   -.90877    
  31  Prefactor     .90452        .20777        .51246E-04   -.95983    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.09106e-09
Minuit parameter uncertainties:
  1  44.1848
  2  2.58239
  3  0.000152655
  4  9.59533e-06
  5  28.9817
  6  0.0457172
  7  2.06578e-05
  8  4.95634
  9  3.03314e-05
  10  15.2765
  11  5.62151
  12  4.13863e-06
  13  16.9695
  14  1.05848
  15  1.1384e-06
  16  8.35618
  17  4.80791
  18  0.000225458
  19  2.61101
  20  1.56696e-05
  21  62.4339
  22  3.24123e-05
  23  0.000253909
  24  7.17055e-06
  25  6.49097e-06
  26  15.0501
  27  3.45401e-05
  28  3.36425e-06
  29  1.74712e-05
  30  0.194423
  31  0.207951
Done.

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

Extracting fit parameters...

4FGL J1514.8+4448
   Spectrum: LogParabola
286         norm:  3.324e+00  2.611e+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:  9.045e-01  2.080e-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.065e+00  1.944e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.56
Ra Dec: 228.719 44.810
Photon Index (Fixed Index): 2.21 +/- 0.00
Photon Flux (Fixed Index): 2.21e-08 +/- 1.73e-08
Energy Flux (Fixed Index): 9.29e-06 +/- 7.30e-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) = 6465.41686756
delta logL = 1.34164160305

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6465.31886804
delta logL = 1.4396411242

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.1988       1.0000         .10000E-03   10000.    
     2 'alpha     '    .98541       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0807       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89773       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=   6465.319     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      200 TOTAL
                     EDM=   .72E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.1984        1.7943        .69371E-02   -.19749E-03
   2  alpha         .98547        .47167        .41269       -.30979E-04
   3  Normalizat    1.0807        .15912        .38844E-01    .10679E-04
   4  Prefactor     .89778        .17362        .44976E-01    .13965E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.19839
  alpha      = 0.985472
  Normalizat = 1.08071
  Prefactor  = 0.897779
 **********
 **   18 **HESSE 
 **********

 FCN=   6465.319     FROM HESSE     STATUS=OK            31 CALLS      231 TOTAL
                     EDM=   .18E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.1984        2.3406        .90826E-04   -1.5411    
   2  alpha         .98547        .61861        .17973E-02   -.65079    
   3  Normalizat    1.0807        .18795        .21789E-03   -.90374    
   4  Prefactor     .89778        .20509        .25702E-03   -.96219    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.76399e-13
Minuit parameter uncertainties:
  1  2.34071
  2  0.629047
  3  0.18807
  4  0.205263
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/366794': 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) = 6465.31886795
delta logL = 1.43964121534

Extracting fit parameters...

4FGL J1514.8+4448
   Spectrum: LogParabola
286         norm:  2.198e+00  2.341e+00  1.000e-04  1.000e+04 ( 1.000e-12)
287        alpha:  9.855e-01  6.290e-01  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:  8.978e-01  2.053e-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.081e+00  1.881e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.45
Ra Dec: 228.719 44.810
Photon Index (Free Index): 0.99 +/- 0.63
Photon Flux (Free Index): 7.37e-09 +/- 6.80e-09
Energy Flux (Free Index): 2.79e-05 +/- 3.28e-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/366794/cmap_HighResolution_382924801_383184001_4FGL_J1514.8+4448_daily_bin554.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.21e-08', energy_flux2='2.79e-05', photon_flux_error='1.73e-08', dlogl='1.44e+00', energy_flux='9.29e-06', photon_flux2='7.37e-09', job_status='DONE', time_completed='2021-09-11 18:21:47.125121', photon_index_error2='0.63', photon_index2='0.99', ts='4.56', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', energy_flux_error2='3.28e-05', EG='1.07', time_epoch_completed='1631409707.13', return_code='0', job_id='366794', GAL2='0.90', EG2='1.08', return_code2='0', energy_flux_error='7.30e-06', photon_flux_error2='6.80e-09', ts2='7.45', photon_index='2.21' WHERE bin_id='554' AND source_name='4FGL J1514.8+4448' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 11 18:21:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0207>
Subject: Job 366794: <4FGL_J1514.8+4448_daily_bin554> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1514.8+4448_daily_bin554 228.719 44.8105 382924801 383184001 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 :                                   915.05 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             323.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   940 sec.
    Turnaround time :                            942 sec.

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

