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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin635
RA = 223.625, Dec = 51.409
tmin = 403920001, tmax = 404179201
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='850825', job_status='RUN', time_executed='2021-09-10 12:55:08.395345', time_epoch_executed='1631303708.4' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='635'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/850825

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

Retrieving the FT1 file...

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

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

Retrieving 39 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/850825/ft1_4FGL_J1454.4+5124_daily_bin635.fits


Retrieving the FT1 file...

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

Retrieving 39 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/850825/ft2_4FGL_J1454.4+5124_daily_bin635.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/850825/ft1_4FGL_J1454.4+5124_daily_bin635.fits outfile=/scratch/kocevski/850825/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin635.fits ra=223.625 dec=51.409 rad=12.0 tmin=403920001.0 tmax=404179201.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 10.10
user 9.78
sys 0.28

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/850825/ft2_4FGL_J1454.4+5124_daily_bin635.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/850825/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin635.fits evtable="EVENTS" outfile="/scratch/kocevski/850825/ft1_filtered_4FGL_J1454.4+5124_daily_bin635.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/850825/ft1_filtered_4FGL_J1454.4+5124_daily_bin635.fits" evtable="EVENTS" scfile=/scratch/kocevski/850825/ft2_4FGL_J1454.4+5124_daily_bin635.fits sctable="SC_DATA" outfile=/scratch/kocevski/850825/ltcube_403920001_404179201_4FGL_J1454.4+5124_daily_bin635.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/850825/ft2_4FGL_J1454.4+5124_daily_bin635.fits
.....................!
real 9.16
user 8.82
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/850825/ft1_filtered_4FGL_J1454.4+5124_daily_bin635.fits evtable="EVENTS" scfile=/scratch/kocevski/850825/ft2_4FGL_J1454.4+5124_daily_bin635.fits sctable="SC_DATA" expcube=/scratch/kocevski/850825/ltcube_403920001_404179201_4FGL_J1454.4+5124_daily_bin635.fits outfile=/scratch/kocevski/850825/expmap_403920001_404179201_4FGL_J1454.4+5124_daily_bin635.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/850825/ltcube_403920001_404179201_4FGL_J1454.4+5124_daily_bin635.fits
.....................!
real 192.01
user 186.82
sys 4.83

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/850825/ft1_filtered_4FGL_J1454.4+5124_daily_bin635.fits scfile=/scratch/kocevski/850825/ft2_4FGL_J1454.4+5124_daily_bin635.fits outfile=/scratch/kocevski/850825/cmap_403920001_404179201_4FGL_J1454.4+5124_daily_bin635.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.52
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/850825/ft1_filtered_4FGL_J1454.4+5124_daily_bin635.fits scfile=/scratch/kocevski/850825/ft2_4FGL_J1454.4+5124_daily_bin635.fits outfile=/scratch/kocevski/850825/cmap_HighResolution_403920001_404179201_4FGL_J1454.4+5124_daily_bin635.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.37
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/850825/ft1_filtered_4FGL_J1454.4+5124_daily_bin635.fits', '/scratch/kocevski/850825/ft2_4FGL_J1454.4+5124_daily_bin635.fits', expMap='/scratch/kocevski/850825/expmap_403920001_404179201_4FGL_J1454.4+5124_daily_bin635.fits', expCube='/scratch/kocevski/850825/ltcube_403920001_404179201_4FGL_J1454.4+5124_daily_bin635.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/850825/Model_4FGL_J1454.4+5124_daily_bin635.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/850825/ft1_filtered_4FGL_J1454.4+5124_daily_bin635.fits
Spacecraft file(s): /scratch/kocevski/850825/ft2_4FGL_J1454.4+5124_daily_bin635.fits
Exposure map: /scratch/kocevski/850825/expmap_403920001_404179201_4FGL_J1454.4+5124_daily_bin635.fits
Exposure cube: /scratch/kocevski/850825/ltcube_403920001_404179201_4FGL_J1454.4+5124_daily_bin635.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/850825/Model_4FGL_J1454.4+5124_daily_bin635.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) = 3658.56692238

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10258E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    2.8902       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .36115E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10589E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .11028E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.3652       1.0000         .10000E-03   10000.    
     7 'Prefactor '    16.365       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10151E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .13334E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10289E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    28.239       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10186E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .11288E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    4.0648       1.0000         .10000E-03   10000.    
    17 'Prefactor '    2.9507       1.0000         .10000E-03   10000.    
    18 'Prefactor '    9.2313       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    5.4000       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    47.285       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .36294E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    7.2210       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10119E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.0622       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .69147       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=   3658.558     FROM MIGRAD    STATUS=CONVERGED    681 CALLS     3471 TOTAL
                     EDM=   .99E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    38.216       -.19433E-05** at limit **
   2  norm          2.8920        4.7772        .10885E-06   -.70073E-04
   3  Prefactor     .10000E-03    218.31        .15623E-06** at limit **
   4  Prefactor     .10000E-03    27.131        .13003E-05** at limit **
   5  Prefactor     .10000E-03    20.772       -.84193E-06** at limit **
   6  Prefactor     6.3673        7.0078        .22416E-07   -.11842E-04
   7  Prefactor     16.352        27.612       -.38274E-06    .18995E-05
   8  Prefactor     .10000E-03    1.1190        .60721E-08** at limit **
   9  Prefactor     .10000E-03    9.9350       -.81772E-07** at limit **
  10  Prefactor     .10000E-03    27.918        .11735E-05** at limit **
  11  Prefactor     .10000E-03    51.865        .56665E-06** at limit **
  12  Prefactor     28.256        27.989       -.57381E-07   -.15388E-06
  13  Prefactor     .10000E-03    10.375       -.81602E-07** at limit **
  14  Prefactor     .10000E-03    9.8453        .10522E-06** at limit **
  15  Prefactor     .10000E-03    35.305       -.17120E-05** at limit **
  16  norm          4.0656        2.1108       -.55361E-07    .13756E-03
  17  Prefactor     2.9513        6.4640        .22634E-06   -.43248E-04
  18  Prefactor     9.2311        7.0961        .90744E-08    .20044E-04
  19  Prefactor     .10000E-03    3.7784        .24610E-08** at limit **
  20  norm          5.3856        4.6206        .67758E-06   -.12339E-03
  21  Prefactor     .10000E-03    13.846       -.25801E-06** at limit **
  22  Prefactor     47.185        30.946        .15974E-05   -.10330E-03
  23  Prefactor     .10011E-03    14.093       -.14294E-05** at limit **
  24  Prefactor     .10000E-03    5.9233       -.15084E-07** at limit **
  25  norm          7.2251        10.367       -.16999E-07   -.15307E-04
  26  Prefactor     .10000E-03    54.886        .17885E-05** at limit **
  27  Normalizat    1.0621        .20246        .83787E-06   -.48451E-04
  28  Prefactor     .69148        .22012       -.30615E-06    .54243E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 2.89195
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.36727
  Prefactor  = 16.3517
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 28.2556
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.06558
  Prefactor  = 2.95134
  Prefactor  = 9.23111
  Prefactor  = 0.0001
  norm       = 5.38555
  Prefactor  = 0.0001
  Prefactor  = 47.1849
  Prefactor  = 0.000100112
  Prefactor  = 0.0001
  norm       = 7.2251
  Prefactor  = 0.0001
  Normalizat = 1.06209
  Prefactor  = 0.691483
 **********
 **   18 **HESSE 
 **********

 FCN=   3658.558     FROM HESSE     STATUS=OK           515 CALLS     3986 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    38.273        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.8920        4.7707        .16219E-03   -1.5368    
   3  Prefactor     .10000E-03    218.31        .21310E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    27.143        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    20.798        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     6.3673        6.9912        .15648E-03   -1.5203    
   7  Prefactor     16.352        27.672        .99005E-04   -1.4899    
   8  Prefactor     .10000E-03    1.1272        .62456E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    9.9454        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    28.010        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    51.925        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     28.256        27.999        .75391E-04   -1.4644    
  13  Prefactor     .10000E-03    10.376        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    9.8601        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    35.842        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          4.0656        2.1078        .61092E-04   -1.5305    
  17  Prefactor     2.9513        6.4308        .22008E-03   -1.5364    
  18  Prefactor     9.2311        7.0916        .13191E-03   -1.5100    
  19  Prefactor     .10000E-03    3.7975        .11478E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          5.3856        4.6237        .11533E-03   -1.5244    
  21  Prefactor     .10000E-03    14.049        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     47.185        31.146        .58311E-04   -1.4333    
  23  Prefactor     .10011E-03    91.320        .41587E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    5.9403        .14354E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          7.2251        10.352        .14927E-03   -1.5170    
  26  Prefactor     .10000E-03    54.918        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    1.0621        .24003        .20576E-03   -.90978    
  28  Prefactor     .69148        .26041        .27923E-03   -1.0386    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.23971e-09
Minuit parameter uncertainties:
  1  8.0412e-05
  2  4.7713
  3  7.64561e-06
  4  3.59256e-05
  5  3.01371e-05
  6  6.99211
  7  27.6936
  8  2.04489e-06
  9  7.89472e-06
  10  2.497e-06
  11  8.77169e-06
  12  28.0123
  13  3.6373e-06
  14  1.61146e-06
  15  4.98402e-05
  16  2.10787
  17  6.43226
  18  7.09227
  19  5.32731e-06
  20  4.62404
  21  6.78591e-05
  22  31.1568
  23  0.00640258
  24  3.38238e-06
  25  10.3547
  26  7.22288e-05
  27  0.240279
  28  0.260869
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  4.066e+00  2.108e+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:  6.915e-01  2.609e-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.062e+00  2.403e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 11.56
Ra Dec: 223.625 51.409
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 6.11e-08 +/- 3.17e-08
Energy Flux (Fixed Index): 4.37e-05 +/- 2.27e-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) = 3658.5579667
delta logL = 5.2336366025e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3658.55795759
delta logL = 6.14379573562e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.0580       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9737       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0619       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .69140       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.

 FCN=   3658.558     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      218 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.0563        49.912        .50039E-02    .85713E-03
   2  alpha         1.9733        3.2516        .21526        .83666E-04
   3  Normalizat    1.0618        .15190        .39820E-01    .13949E-03
   4  Prefactor     .69159        .12006        .63114E-01    .45460E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.05627
  alpha      = 1.97328
  Normalizat = 1.06182
  Prefactor  = 0.691591
 **********
 **   18 **HESSE 
 **********

 FCN=   3658.558     FROM HESSE     STATUS=OK            29 CALLS      247 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.0563        2.2868        .60940E-04   -1.5305    
   2  alpha         1.9733        .43764        .84518E-02   -.21228    
   3  Normalizat    1.0618        .23214        .20578E-03   -.90987    
   4  Prefactor     .69159        .25849        .27921E-03   -1.0386    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.53303e-10
Minuit parameter uncertainties:
  1  2.28687
  2  0.440009
  3  0.232362
  4  0.258935
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/850825': 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) = 3658.55795607
delta logL = 6.29572650723e-05

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  4.056e+00  2.287e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  1.973e+00  4.400e-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:  6.916e-01  2.589e-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.062e+00  2.324e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.55
Ra Dec: 223.625 51.409
Photon Index (Free Index): 1.97 +/- 0.44
Photon Flux (Free Index): 6.14e-08 +/- 4.19e-08
Energy Flux (Free Index): 4.35e-05 +/- 3.11e-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/850825/cmap_HighResolution_403920001_404179201_4FGL_J1454.4+5124_daily_bin635.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.11e-08', energy_flux2='4.35e-05', photon_flux_error='3.17e-08', dlogl='6.30e-05', energy_flux='4.37e-05', photon_flux2='6.14e-08', job_status='DONE', time_completed='2021-09-10 13:05:07.188179', photon_index_error2='0.44', photon_index2='1.97', ts='11.56', fit_tolerance='1e-08', GAL='0.69', photon_index_error='0.00', energy_flux_error2='3.11e-05', EG='1.06', time_epoch_completed='1631304307.19', return_code='0', job_id='850825', GAL2='0.69', EG2='1.06', return_code2='0', energy_flux_error='2.27e-05', photon_flux_error2='4.19e-08', ts2='11.55', photon_index='1.97' WHERE bin_id='635' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 13:05:07 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0085>
Subject: Job 850825: <4FGL_J1454.4+5124_daily_bin635> in cluster <slac> Done

Job <4FGL_J1454.4+5124_daily_bin635> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 10 12:51:01 2021
Job was executed on host(s) <bullet0085>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 12:51:03 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:03 2021
Terminated at Fri Sep 10 13:05:07 2021
Results reported at Fri Sep 10 13:05:07 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin635 223.625 51.409 403920001 404179201 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 :                                   594.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             215.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   844 sec.
    Turnaround time :                            846 sec.

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

