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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin689
RA = 223.625, Dec = 51.409
tmin = 417916801, tmax = 418176001
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='850897', job_status='RUN', time_executed='2021-09-10 12:51:17.627329', time_epoch_executed='1631303477.63' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='689'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/850897

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/850897/ft1_4FGL_J1454.4+5124_daily_bin689.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/850897/ft2_4FGL_J1454.4+5124_daily_bin689.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/850897/ft1_4FGL_J1454.4+5124_daily_bin689.fits outfile=/scratch/kocevski/850897/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin689.fits ra=223.625 dec=51.409 rad=12.0 tmin=417916801.0 tmax=418176001.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 7.32
user 7.03
sys 0.27

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/850897/ft2_4FGL_J1454.4+5124_daily_bin689.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/850897/ft2_4FGL_J1454.4+5124_daily_bin689.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/850897/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin689.fits evtable="EVENTS" outfile="/scratch/kocevski/850897/ft1_filtered_4FGL_J1454.4+5124_daily_bin689.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.32
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/850897/ft1_filtered_4FGL_J1454.4+5124_daily_bin689.fits" evtable="EVENTS" scfile=/scratch/kocevski/850897/ft2_4FGL_J1454.4+5124_daily_bin689.fits sctable="SC_DATA" outfile=/scratch/kocevski/850897/ltcube_417916801_418176001_4FGL_J1454.4+5124_daily_bin689.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/850897/ft2_4FGL_J1454.4+5124_daily_bin689.fits
.....................!
real 11.77
user 11.42
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/850897/ft1_filtered_4FGL_J1454.4+5124_daily_bin689.fits evtable="EVENTS" scfile=/scratch/kocevski/850897/ft2_4FGL_J1454.4+5124_daily_bin689.fits sctable="SC_DATA" expcube=/scratch/kocevski/850897/ltcube_417916801_418176001_4FGL_J1454.4+5124_daily_bin689.fits outfile=/scratch/kocevski/850897/expmap_417916801_418176001_4FGL_J1454.4+5124_daily_bin689.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/850897/ltcube_417916801_418176001_4FGL_J1454.4+5124_daily_bin689.fits
.....................!
real 189.61
user 184.89
sys 4.31

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 202 point sources and 0 extended sources

Setting source of interest to:
4FGL J1454.4+5124 @ 223.625 51.409

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/850897/ft1_filtered_4FGL_J1454.4+5124_daily_bin689.fits scfile=/scratch/kocevski/850897/ft2_4FGL_J1454.4+5124_daily_bin689.fits outfile=/scratch/kocevski/850897/cmap_417916801_418176001_4FGL_J1454.4+5124_daily_bin689.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=223.625 yref=51.409 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.66
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/850897/ft1_filtered_4FGL_J1454.4+5124_daily_bin689.fits scfile=/scratch/kocevski/850897/ft2_4FGL_J1454.4+5124_daily_bin689.fits outfile=/scratch/kocevski/850897/cmap_HighResolution_417916801_418176001_4FGL_J1454.4+5124_daily_bin689.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=223.625 yref=51.409 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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/850897/ft1_filtered_4FGL_J1454.4+5124_daily_bin689.fits evtable="EVENTS" scfile=/scratch/kocevski/850897/ft2_4FGL_J1454.4+5124_daily_bin689.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/850897/Model_4FGL_J1454.4+5124_daily_bin689.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/850897/ft1_filtered_4FGL_J1454.4+5124_daily_bin689.fits.....................!
real 59.53
user 58.22
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/850897/ft1_filtered_4FGL_J1454.4+5124_daily_bin689.fits', '/scratch/kocevski/850897/ft2_4FGL_J1454.4+5124_daily_bin689.fits', expMap='/scratch/kocevski/850897/expmap_417916801_418176001_4FGL_J1454.4+5124_daily_bin689.fits', expCube='/scratch/kocevski/850897/ltcube_417916801_418176001_4FGL_J1454.4+5124_daily_bin689.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/850897/Model_4FGL_J1454.4+5124_daily_bin689.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1454.4+5124'

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  2.118e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  1.968e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
309         beta:  5.547e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
310           Eb:  1.384e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/850897/ft1_filtered_4FGL_J1454.4+5124_daily_bin689.fits
Spacecraft file(s): /scratch/kocevski/850897/ft2_4FGL_J1454.4+5124_daily_bin689.fits
Exposure map: /scratch/kocevski/850897/expmap_417916801_418176001_4FGL_J1454.4+5124_daily_bin689.fits
Exposure cube: /scratch/kocevski/850897/ltcube_417916801_418176001_4FGL_J1454.4+5124_daily_bin689.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/850897/Model_4FGL_J1454.4+5124_daily_bin689.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) = 7827.29469279

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .29018       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10420E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    58.478       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10223E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.7113       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.1271       1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.6761       1.0000         .10000E-03   10000.    
     9 'Prefactor '    20.609       1.0000         .10000E-03   10000.    
    10 'Prefactor '    23.781       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.2487       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    11.816       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .59216E-02   1.0000         .10000E-03   10000.    
    16 'norm      '    2.1289       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .19303E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    7.4573       1.0000         .10000E-03   10000.    
    20 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10147E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    2.5491       1.0000         .10000E-03   10000.    
    23 'Prefactor '    1.9961       1.0000         .10000E-03   10000.    
    24 'Prefactor '    14.389       1.0000         .10000E-03   10000.    
    25 'norm      '    .10032E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    108.74       1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.0962       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .98698       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6450E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7827.286     FROM MIGRAD    STATUS=CONVERGED    690 CALLS     3499 TOTAL
                     EDM=   .30E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    23.169       -.12618E-05** at limit **
   2  norm          .29456        2.1433        .30204E-06   -.31689E-03
   3  Prefactor     .10000E-03    301.91       -.22642E-05** at limit **
   4  Prefactor     58.481        42.172        .10372E-06   -.93817E-05
   5  Prefactor     .10000E-03    19.242        .38108E-05** at limit **
   6  Prefactor     1.7110        2.0514       -.42072E-08   -.43329E-05
   7  Prefactor     2.1253        23.662        .27907E-07   -.47014E-04
   8  Prefactor     3.6757        3.1658        .14097E-06   -.12846E-03
   9  Prefactor     20.609        25.794        .98458E-07   -.16823E-04
  10  Prefactor     23.785        25.156       -.92606E-06   -.82969E-04
  11  Prefactor     .10000E-03    18.446       -.26434E-05** at limit **
  12  Prefactor     5.2482        15.356        .39272E-05   -.19437E-03
  13  Prefactor     .10000E-03    12.547        .98303E-07** at limit **
  14  Prefactor     11.825        11.185        .41691E-06    .62660E-04
  15  Prefactor     .10000E-03    9.3927        .13933E-06** at limit **
  16  norm          2.1301        1.2649        .11974E-07   -.60084E-04
  17  Prefactor     .10000E-03    3.4623        .11970E-07** at limit **
  18  Prefactor     .10000E-03    9.1808       -.85247E-07** at limit **
  19  Prefactor     7.4576        6.9467        .59578E-07   -.21751E-04
  20  norm          .10000E-03    .84622       -.45428E-07** at limit **
  21  Prefactor     .10000E-03    2.9235       -.11991E-06** at limit **
  22  Prefactor     2.5347        33.527        .21411E-05    .66919E-04
  23  Prefactor     1.9914        20.109       -.28204E-07   -.14156E-03
  24  Prefactor     14.385        9.8645        .10711E-06    .47267E-05
  25  norm          .10000E-03    9.3233        .11396E-06** at limit **
  26  Prefactor     108.74        75.460       -.75702E-07   -.70661E-05
  27  Normalizat    1.0964        .16786       -.93096E-07   -.97707E-04
  28  Prefactor     .98673        .17497       -.71527E-06   -.32640E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.29456
  Prefactor  = 0.000100001
  Prefactor  = 58.4811
  Prefactor  = 0.000100002
  Prefactor  = 1.71104
  Prefactor  = 2.12532
  Prefactor  = 3.67568
  Prefactor  = 20.609
  Prefactor  = 23.7852
  Prefactor  = 0.000100001
  Prefactor  = 5.24818
  Prefactor  = 0.0001
  Prefactor  = 11.8252
  Prefactor  = 0.0001
  norm       = 2.13013
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.4576
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.53474
  Prefactor  = 1.99135
  Prefactor  = 14.3851
  norm       = 0.0001
  Prefactor  = 108.736
  Normalizat = 1.09639
  Prefactor  = 0.986735
 **********
 **   18 **HESSE 
 **********

 FCN=   7827.286     FROM HESSE     STATUS=OK           527 CALLS     4026 TOTAL
                     EDM=   .47E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    23.242        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .29456        4.6936        .24793E-02   -1.5599    
   3  Prefactor     .10000E-03    302.16        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     58.481        42.137        .52463E-04   -1.4177    
   5  Prefactor     .10000E-03    19.977        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.7110        2.0441        .13471E-03   -1.5446    
   7  Prefactor     2.1253        24.049        .28272E-03   -1.5416    
   8  Prefactor     3.6757        3.1344        .12547E-03   -1.5325    
   9  Prefactor     20.609        25.766        .88228E-04   -1.4800    
  10  Prefactor     23.785        25.197        .82140E-04   -1.4732    
  11  Prefactor     .10000E-03    18.790        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     5.2482        16.313        .87724E-03   -1.5250    
  13  Prefactor     .10000E-03    12.550        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     11.825        11.124        .11654E-03   -1.5020    
  15  Prefactor     .10000E-03    54.341        .50675E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          2.1301        1.2503        .73354E-04   -1.5416    
  17  Prefactor     .10000E-03    3.4734        .16072E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    9.4885        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     7.4576        6.9513        .14686E-03   -1.5162    
  20  norm          .10000E-03    .84839        .79425E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    2.9269        .14750E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     2.5347        31.810        .25575E-03   -1.5390    
  23  Prefactor     1.9914        19.831        .29318E-03   -1.5426    
  24  Prefactor     14.385        9.8528        .10559E-03   -1.4949    
  25  norm          .10000E-03    9.3559        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     108.74        75.470        .38570E-04   -1.3619    
  27  Normalizat    1.0964        .19479        .23763E-03   -.89868    
  28  Prefactor     .98673        .20297        .27522E-03   -.93173    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.73013e-08
Minuit parameter uncertainties:
  1  0.000123214
  2  2.35146
  3  0.000798568
  4  42.1585
  5  0.000347603
  6  2.04413
  7  14.3056
  8  3.13451
  9  25.7796
  10  25.2079
  11  0.000234841
  12  16.3265
  13  9.43781e-06
  14  11.1263
  15  7.66317e-05
  16  1.25035
  17  1.48221e-06
  18  6.92814e-06
  19  6.95201
  20  3.40098e-07
  21  1.76254e-06
  22  17.9704
  23  12.5734
  24  9.85392
  25  5.11781e-06
  26  75.5369
  27  0.194917
  28  0.203124
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  2.130e+00  1.250e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  1.968e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
309         beta:  5.547e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
310           Eb:  1.384e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
642    Prefactor:  9.867e-01  2.031e-01  0.000e+00  1.000e+01 ( 1.000e+00)
643        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
644        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
641   Normalization:  1.096e+00  1.949e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 12.11
Ra Dec: 223.625 51.409
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 3.20e-08 +/- 1.88e-08
Energy Flux (Fixed Index): 2.29e-05 +/- 1.34e-05

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) = 7827.04665449
delta logL = 0.238919690072

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7827.04179311
delta logL = 0.243781070501

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.3117       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6961       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1007       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98678       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6450E+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=   7827.042     FROM MIGRAD    STATUS=CONVERGED     75 CALLS      251 TOTAL
                     EDM=   .65E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.3117        1.4000        .79153E-04    .17609E-03
   2  alpha         1.6962        .38751        .12450E-01    .63995E-05
   3  Normalizat    1.1007        .17911        .23725E-03    .84598E-03
   4  Prefactor     .98678        .19923        .27529E-03    .79439E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.31174
  alpha      = 1.6962
  Normalizat = 1.10066
  Prefactor  = 0.986778
 **********
 **   18 **HESSE 
 **********

 FCN=   7827.042     FROM HESSE     STATUS=OK            25 CALLS      276 TOTAL
                     EDM=   .65E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.3117        1.4010        .31661E-05   -1.5404    
   2  alpha         1.6962        .38780        .49799E-03   -.32734    
   3  Normalizat    1.1007        .17926        .47451E-04   -.89731    
   4  Prefactor     .98678        .19942        .55058E-04   -.93172    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.45291e-10
Minuit parameter uncertainties:
  1  1.40099
  2  0.389556
  3  0.179363
  4  0.199569
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/850897': 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) = 7827.04179309
delta logL = 0.243781089078

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  2.312e+00  1.401e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  1.696e+00  3.896e-01  0.000e+00  5.000e+00 ( 1.000e+00)
309         beta:  5.547e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
310           Eb:  1.384e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
642    Prefactor:  9.868e-01  1.996e-01  0.000e+00  1.000e+01 ( 1.000e+00)
643        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
644        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
641   Normalization:  1.101e+00  1.794e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 12.60
Ra Dec: 223.625 51.409
Photon Index (Free Index): 1.70 +/- 0.39
Photon Flux (Free Index): 2.40e-08 +/- 1.86e-08
Energy Flux (Free Index): 3.33e-05 +/- 2.76e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/850897/cmap_HighResolution_417916801_418176001_4FGL_J1454.4+5124_daily_bin689.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.20e-08', energy_flux2='3.33e-05', photon_flux_error='1.88e-08', dlogl='2.44e-01', energy_flux='2.29e-05', photon_flux2='2.40e-08', job_status='DONE', time_completed='2021-09-10 13:05:08.255558', photon_index_error2='0.39', photon_index2='1.70', ts='12.11', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', energy_flux_error2='2.76e-05', EG='1.10', time_epoch_completed='1631304308.26', return_code='0', job_id='850897', GAL2='0.99', EG2='1.10', return_code2='0', energy_flux_error='1.34e-05', photon_flux_error2='1.86e-08', ts2='12.60', photon_index='1.97' WHERE bin_id='689' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 13:05:08 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0230>
Subject: Job 850897: <4FGL_J1454.4+5124_daily_bin689> in cluster <slac> Done

Job <4FGL_J1454.4+5124_daily_bin689> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 10 12:51:05 2021
Job was executed on host(s) <bullet0230>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 12:51:06 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 12:51:06 2021
Terminated at Fri Sep 10 13:05:09 2021
Results reported at Fri Sep 10 13:05:09 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin689 223.625 51.409 417916801 418176001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1454.4+5124 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   828.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             331.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   842 sec.
    Turnaround time :                            844 sec.

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

