/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 53 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 = 7496
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1514.8+4448_daily_bin5
RA = 228.719, Dec = 44.8105
tmin = 240624001, tmax = 240883201
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='360348', job_status='RUN', time_executed='2021-09-11 17:42:10.883773', time_epoch_executed='1631407330.88' WHERE source_name='4FGL J1514.8+4448' and cadence='daily' and bin_id='5'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/360348

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

Retrieving the FT1 file...

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

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

Retrieving 44 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/360348/ft1_4FGL_J1514.8+4448_daily_bin5.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/360348/ft2_4FGL_J1514.8+4448_daily_bin5.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/360348/ft1_4FGL_J1514.8+4448_daily_bin5.fits outfile=/scratch/kocevski/360348/ft1_filteredMKT_4FGL_J1514.8+4448_daily_bin5.fits ra=228.719 dec=44.8105 rad=12.0 tmin=240624001.0 tmax=240883201.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 1.39
user 1.19
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/360348/ft1_filtered_4FGL_J1514.8+4448_daily_bin5.fits" evtable="EVENTS" scfile=/scratch/kocevski/360348/ft2_4FGL_J1514.8+4448_daily_bin5.fits sctable="SC_DATA" outfile=/scratch/kocevski/360348/ltcube_240624001_240883201_4FGL_J1514.8+4448_daily_bin5.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/360348/ft2_4FGL_J1514.8+4448_daily_bin5.fits
.....................!
real 12.72
user 12.41
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/360348/ft1_filtered_4FGL_J1514.8+4448_daily_bin5.fits evtable="EVENTS" scfile=/scratch/kocevski/360348/ft2_4FGL_J1514.8+4448_daily_bin5.fits sctable="SC_DATA" expcube=/scratch/kocevski/360348/ltcube_240624001_240883201_4FGL_J1514.8+4448_daily_bin5.fits outfile=/scratch/kocevski/360348/expmap_240624001_240883201_4FGL_J1514.8+4448_daily_bin5.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/360348/ltcube_240624001_240883201_4FGL_J1514.8+4448_daily_bin5.fits
.....................!
real 191.18
user 186.28
sys 4.48

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/360348/ft1_filtered_4FGL_J1514.8+4448_daily_bin5.fits scfile=/scratch/kocevski/360348/ft2_4FGL_J1514.8+4448_daily_bin5.fits outfile=/scratch/kocevski/360348/cmap_240624001_240883201_4FGL_J1514.8+4448_daily_bin5.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/360348/ft1_filtered_4FGL_J1514.8+4448_daily_bin5.fits scfile=/scratch/kocevski/360348/ft2_4FGL_J1514.8+4448_daily_bin5.fits outfile=/scratch/kocevski/360348/cmap_HighResolution_240624001_240883201_4FGL_J1514.8+4448_daily_bin5.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.53
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11707E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .42808E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    9.2167       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    25.256       1.0000         .10000E-03   10000.    
     6 'Prefactor '    18.190       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10062E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10215E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    25.102       1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.2089       1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.8736       1.0000         .10000E-03   10000.    
    14 'norm      '    2.0191       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    9.9625       1.0000         .10000E-03   10000.    
    17 'Prefactor '    4.2424       1.0000         .10000E-03   10000.    
    18 'norm      '    3.6937       1.0000         .10000E-03   10000.    
    19 'norm      '    1.8862       1.0000         .10000E-03   10000.    
    20 'Prefactor '    7.7006       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    34.952       1.0000         .10000E-03   10000.    
    23 'Prefactor '    6.4906       1.0000         .10000E-03   10000.    
    24 'Prefactor '    15.334       1.0000         .10000E-03   10000.    
    25 'norm      '    .18723E-02   1.0000         .10000E-03   10000.    
    26 'Prefactor '    3.0288       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10047E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10672E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    49.341       1.0000         .10000E-03   10000.    
    30 'Normalizat'    1.0163       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .73468       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=   6367.637     FROM MIGRAD    STATUS=CONVERGED    809 CALLS     4194 TOTAL
                     EDM=   .46E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    121.69       -.64047E-05** at limit **
   2  Prefactor     .10012E-03    2.8467       -.11552E-05** at limit **
   3  Prefactor     9.2264        16.332        .62760E-06    .16984E-03
   4  Prefactor     .10000E-03    11.437        .33336E-07** at limit **
   5  Prefactor     25.213        35.159        .22031E-05    .80447E-04
   6  Prefactor     18.141        44.440        .66338E-05    .11270E-03
   7  Prefactor     .10000E-03    27.475        .46873E-06** at limit **
   8  norm          .10000E-03    8.2722        .34438E-06** at limit **
   9  Prefactor     .10000E-03    10.073        .12020E-06** at limit **
  10  Prefactor     .10000E-03    5.1547       -.81058E-06** at limit **
  11  norm          25.103        11.472        .31872E-07   -.19109E-04
  12  Prefactor     2.2067        15.828        .96570E-06    .60517E-05
  13  Prefactor     1.8715        12.465        .10797E-04   -.58864E-04
  14  norm          2.0190        1.3154       -.23796E-06   -.19835E-03
  15  Prefactor     .10000E-03    6.1673        .92739E-07** at limit **
  16  Prefactor     9.9623        11.715        .56034E-06   -.23236E-04
  17  Prefactor     4.2423        4.0790       -.27076E-06    .41941E-05
  18  norm          3.6936        1.7463        .33772E-07   -.17019E-03
  19  norm          1.8863        2.7117        .43614E-07   -.22664E-04
  20  Prefactor     7.7161        13.755        .30114E-06   -.46305E-05
  21  Prefactor     .10000E-03    15.414        .16069E-06** at limit **
  22  Prefactor     34.964        23.581       -.25929E-06   -.63855E-04
  23  Prefactor     6.4590        21.448       -.20830E-06   -.29081E-04
  24  Prefactor     15.350        15.607        .97984E-07   -.24258E-03
  25  norm          .10003E-03    6.8031        .23392E-05** at limit **
  26  Prefactor     3.0247        32.141        .67220E-05   -.65843E-05
  27  Prefactor     .10000E-03    46.791        .65570E-06** at limit **
  28  Prefactor     .10000E-03    3.8882       -.64914E-07** at limit **
  29  Prefactor     49.338        25.060        .25280E-06   -.83188E-05
  30  Normalizat    1.0162        .16494        .34705E-06    .21889E-03
  31  Prefactor     .73497        .17005       -.21285E-05   -.30456E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100013
  Prefactor  = 0.000100122
  Prefactor  = 9.22642
  Prefactor  = 0.0001
  Prefactor  = 25.2134
  Prefactor  = 18.1408
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 25.1032
  Prefactor  = 2.20673
  Prefactor  = 1.87149
  norm       = 2.01903
  Prefactor  = 0.0001
  Prefactor  = 9.96231
  Prefactor  = 4.24226
  norm       = 3.69362
  norm       = 1.88635
  Prefactor  = 7.71606
  Prefactor  = 0.0001
  Prefactor  = 34.9635
  Prefactor  = 6.45897
  Prefactor  = 15.3498
  norm       = 0.000100025
  Prefactor  = 3.02465
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 49.338
  Normalizat = 1.01619
  Prefactor  = 0.734972
 **********
 **   18 **HESSE 
 **********

 FCN=   6367.637     FROM HESSE     STATUS=OK           632 CALLS     4826 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    123.72        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10012E-03    4.1552        .47687E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     9.2264        16.354        .13201E-03   -1.5100    
   4  Prefactor     .10000E-03    11.493        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     25.213        35.178        .79710E-04   -1.4703    
   6  Prefactor     18.141        44.599        .93908E-04   -1.4856    
   7  Prefactor     .10000E-03    27.727        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    8.6658        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    10.074        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    5.1887        .17737E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          25.103        11.456        .79954E-04   -1.4705    
  12  Prefactor     2.2067        15.746        .27677E-03   -1.5411    
  13  Prefactor     1.8715        12.821        .15212E-02   -1.5434    
  14  norm          2.0190        1.3131        .70735E-04   -1.5424    
  15  Prefactor     .10000E-03    6.2297        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     9.9623        11.734        .63476E-03   -1.5077    
  17  Prefactor     4.2423        4.0777        .15226E-03   -1.5296    
  18  norm          3.6936        1.7431        .68322E-04   -1.5324    
  19  norm          1.8863        2.6673        .14342E-03   -1.5433    
  20  Prefactor     7.7161        13.209        .14451E-03   -1.5152    
  21  Prefactor     .10000E-03    15.417        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     34.964        23.393        .67784E-04   -1.4525    
  23  Prefactor     6.4590        20.488        .15753E-03   -1.5200    
  24  Prefactor     15.350        14.598        .10228E-03   -1.4924    
  25  norm          .10003E-03    32.025        .36460E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     3.0247        32.239        .11658E-02   -1.5360    
  27  Prefactor     .10000E-03    46.871        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    3.9015        .15319E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     49.338        25.020        .57089E-04   -1.4302    
  30  Normalizat    1.0162        .19895        .22248E-03   -.92490    
  31  Prefactor     .73497        .20274        .27308E-03   -1.0217    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.62311e-09
Minuit parameter uncertainties:
  1  0.00257307
  2  0.00142645
  3  16.3622
  4  2.74971e-05
  5  35.2067
  6  44.6814
  7  0.000104094
  8  6.24867e-05
  9  8.17197e-06
  10  0.000109488
  11  11.457
  12  11.7934
  13  9.79949
  14  1.3131
  15  1.28339e-05
  16  11.7372
  17  4.078
  18  1.74316
  19  2.6675
  20  13.2139
  21  1.14388e-05
  22  23.3987
  23  20.5102
  24  14.6016
  25  0.00180494
  26  19.7628
  27  9.48166e-05
  28  5.93497e-06
  29  25.0252
  30  0.199093
  31  0.202947
Done.

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

Extracting fit parameters...

4FGL J1514.8+4448
   Spectrum: LogParabola
286         norm:  1.886e+00  2.668e+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:  7.350e-01  2.029e-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.016e+00  1.991e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.04
Ra Dec: 228.719 44.810
Photon Index (Fixed Index): 2.21 +/- 0.00
Photon Flux (Fixed Index): 1.25e-08 +/- 1.77e-08
Energy Flux (Fixed Index): 5.27e-06 +/- 7.46e-06

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

Saving results to:
/scratch/kocevski/360348/likelihoodResults_240624001_240883201_4FGL_J1514.8+4448_daily_bin5.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) = 6367.63506681
delta logL = 0.00165606498831

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6367.63501465
delta logL = 0.00170822211567

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.8863       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1311       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0172       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73448       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=   6367.635     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      194 TOTAL
                     EDM=   .84E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.8815        155.55        .75757E-02    .16909E-03
   2  alpha         2.1273        2.7056        .41732       -.92782E-05
   3  Normalizat    1.0173        .12387        .43789E-01   -.25001E-03
   4  Prefactor     .73449        .84314E-01    .61759E-01   -.11561E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.8815
  alpha      = 2.12734
  Normalizat = 1.01726
  Prefactor  = 0.734491
 **********
 **   18 **HESSE 
 **********

 FCN=   6367.635     FROM HESSE     STATUS=OK            31 CALLS      225 TOTAL
                     EDM=   .97E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.8815        2.5407        .14437E-03   -1.5434    
   2  alpha         2.1273        1.3290        .35034E-01   -.14962    
   3  Normalizat    1.0173        .18727        .22238E-03   -.92454    
   4  Prefactor     .73449        .19861        .27318E-03   -1.0219    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.68845e-11
Minuit parameter uncertainties:
  1  2.54085
  2  1.40308
  3  0.18739
  4  0.198805
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/360348': 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) = 6367.63500971
delta logL = 0.00171316810975

Extracting fit parameters...

4FGL J1514.8+4448
   Spectrum: LogParabola
286         norm:  1.881e+00  2.541e+00  1.000e-04  1.000e+04 ( 1.000e-12)
287        alpha:  2.127e+00  1.403e+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:  7.345e-01  1.988e-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  1.874e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.04
Ra Dec: 228.719 44.810
Photon Index (Free Index): 2.13 +/- 1.40
Photon Flux (Free Index): 1.13e-08 +/- 2.40e-08
Energy Flux (Free Index): 5.27e-06 +/- 7.13e-06

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/360348/cmap_HighResolution_240624001_240883201_4FGL_J1514.8+4448_daily_bin5.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.61e-05', comment='SUCCESS', photon_flux='1.25e-08', energy_flux2='5.27e-06', photon_flux_error='1.77e-08', dlogl='1.71e-03', energy_flux='5.27e-06', photon_flux2='1.13e-08', job_status='DONE', time_completed='2021-09-11 17:57:31.238220', photon_index_error2='1.40', photon_index2='2.13', ts='1.04', fit_tolerance='1e-08', GAL='0.73', photon_index_error='0.00', photon_flux_upper_limit='6.19e-08', energy_flux_error2='7.13e-06', EG='1.02', time_epoch_completed='1631408251.24', return_code='0', job_id='360348', GAL2='0.73', EG2='1.02', return_code2='0', energy_flux_error='7.46e-06', photon_flux_error2='2.40e-08', ts2='1.04', photon_index='2.21' WHERE bin_id='5' AND source_name='4FGL J1514.8+4448' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 11 17:57:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0272>
Subject: Job 360348: <4FGL_J1514.8+4448_daily_bin5> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1514.8+4448_daily_bin5 228.719 44.8105 240624001 240883201 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 :                                   917.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             289.21 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   983 sec.
    Turnaround time :                            984 sec.

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

