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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin26
RA = 223.625, Dec = 51.409
tmin = 246067201, tmax = 246326401
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='847748', job_status='RUN', time_executed='2021-09-10 12:42:14.695303', time_epoch_executed='1631302934.7' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='26'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/847748

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/847748/ft1_4FGL_J1454.4+5124_daily_bin26.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/847748/ft2_4FGL_J1454.4+5124_daily_bin26.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/847748/ft1_4FGL_J1454.4+5124_daily_bin26.fits outfile=/scratch/kocevski/847748/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin26.fits ra=223.625 dec=51.409 rad=12.0 tmin=246067201.0 tmax=246326401.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.48
user 1.31
sys 0.16

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/847748/ft2_4FGL_J1454.4+5124_daily_bin26.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/847748/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin26.fits evtable="EVENTS" outfile="/scratch/kocevski/847748/ft1_filtered_4FGL_J1454.4+5124_daily_bin26.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.50
user 0.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/847748/ft1_filtered_4FGL_J1454.4+5124_daily_bin26.fits" evtable="EVENTS" scfile=/scratch/kocevski/847748/ft2_4FGL_J1454.4+5124_daily_bin26.fits sctable="SC_DATA" outfile=/scratch/kocevski/847748/ltcube_246067201_246326401_4FGL_J1454.4+5124_daily_bin26.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/847748/ft2_4FGL_J1454.4+5124_daily_bin26.fits
.....................!
real 12.32
user 11.93
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/847748/ft1_filtered_4FGL_J1454.4+5124_daily_bin26.fits evtable="EVENTS" scfile=/scratch/kocevski/847748/ft2_4FGL_J1454.4+5124_daily_bin26.fits sctable="SC_DATA" expcube=/scratch/kocevski/847748/ltcube_246067201_246326401_4FGL_J1454.4+5124_daily_bin26.fits outfile=/scratch/kocevski/847748/expmap_246067201_246326401_4FGL_J1454.4+5124_daily_bin26.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/847748/ltcube_246067201_246326401_4FGL_J1454.4+5124_daily_bin26.fits
.....................!
real 191.01
user 185.39
sys 5.06

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/847748/ft1_filtered_4FGL_J1454.4+5124_daily_bin26.fits scfile=/scratch/kocevski/847748/ft2_4FGL_J1454.4+5124_daily_bin26.fits outfile=/scratch/kocevski/847748/cmap_246067201_246326401_4FGL_J1454.4+5124_daily_bin26.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.55
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/847748/ft1_filtered_4FGL_J1454.4+5124_daily_bin26.fits scfile=/scratch/kocevski/847748/ft2_4FGL_J1454.4+5124_daily_bin26.fits outfile=/scratch/kocevski/847748/cmap_HighResolution_246067201_246326401_4FGL_J1454.4+5124_daily_bin26.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.55
user 0.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .52656       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    20.970       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10047E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    2.7655       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .44768E-01   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .15873E-02   1.0000         .10000E-03   10000.    
    19 'Prefactor '    10.166       1.0000         .10000E-03   10000.    
    20 'norm      '    1.2168       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    5.7529       1.0000         .10000E-03   10000.    
    24 'Prefactor '    4.1932       1.0000         .10000E-03   10000.    
    25 'norm      '    4.0460       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    .99935       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.1349       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=   7289.585     FROM MIGRAD    STATUS=CONVERGED    718 CALLS     3532 TOTAL
                     EDM=   .90E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    23.998       -.28424E-05** at limit **
   2  norm          .52555        3.2850        .50215E-06   -.11871E-03
   3  Prefactor     .10000E-03    190.90       -.65786E-05** at limit **
   4  Prefactor     .10000E-03    11.847       -.57192E-06** at limit **
   5  Prefactor     .10000E-03    14.210        .32413E-05** at limit **
   6  Prefactor     .10000E-03    1.5711       -.65387E-08** at limit **
   7  Prefactor     .10000E-03    8.3131        .36687E-06** at limit **
   8  Prefactor     .10000E-03    .69267       -.44586E-07** at limit **
   9  Prefactor     20.954        28.990        .31640E-06   -.14553E-05
  10  Prefactor     .10000E-03    21.562        .17414E-05** at limit **
  11  Prefactor     .10000E-03    21.081        .14922E-05** at limit **
  12  Prefactor     .10000E-03    5.3607       -.29246E-07** at limit **
  13  Prefactor     .10000E-03    15.120       -.30218E-05** at limit **
  14  Prefactor     .10000E-03    4.6420       -.12939E-07** at limit **
  15  Prefactor     .10000E-03    7.4525        .11526E-06** at limit **
  16  norm          2.7662        1.5058        .65148E-07   -.24561E-03
  17  Prefactor     .99490E-01    7.6601        .14199E-05   -.39105E-03
  18  Prefactor     .10005E-03    10.203        .51026E-05** at limit **
  19  Prefactor     10.166        9.2838        .62213E-06    .11840E-03
  20  norm          1.2175        2.6875        .20747E-06    .16881E-04
  21  Prefactor     .10000E-03    7.9942       -.53918E-06** at limit **
  22  Prefactor     .10000E-03    20.333        .11245E-06** at limit **
  23  Prefactor     5.7537        12.048        .81834E-06    .24108E-04
  24  Prefactor     4.1926        6.2917        .30335E-05    .87199E-03
  25  norm          4.0452        5.0010       -.46781E-06    .15816E-04
  26  Prefactor     .10000E-03    53.968        .85272E-06** at limit **
  27  Normalizat    .99962        .15866       -.93787E-07   -.20641E-03
  28  Prefactor     1.1347        .17196       -.20984E-06   -.17792E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.525545
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 20.9538
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.76617
  Prefactor  = 0.09949
  Prefactor  = 0.000100053
  Prefactor  = 10.1656
  norm       = 1.21751
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.7537
  Prefactor  = 4.19258
  norm       = 4.04524
  Prefactor  = 0.0001
  Normalizat = 0.99962
  Prefactor  = 1.13475
 **********
 **   18 **HESSE 
 **********

 FCN=   7289.585     FROM HESSE     STATUS=OK           523 CALLS     4055 TOTAL
                     EDM=   .45E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    23.996        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .52555        6.6754        .28691E-02   -1.5563    
   3  Prefactor     .10000E-03    190.89        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    11.853        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    14.200        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    1.5825        .10450E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    8.3726        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    .69718        .69314E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     20.954        28.955        .87466E-04   -1.4792    
  10  Prefactor     .10000E-03    21.661        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    21.093        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    5.3654        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    15.144        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    4.6500        .17965E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    7.4673        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          2.7662        1.4990        .74432E-04   -1.5375    
  17  Prefactor     .99490E-01    12.448        .62757E-01   -1.5645    
  18  Prefactor     .10005E-03    22.058        .37424E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     10.166        9.5924        .12567E-03   -1.5070    
  20  norm          1.2175        2.6022        .19243E-03   -1.5487    
  21  Prefactor     .10000E-03    8.0795        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    20.459        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     5.7537        11.875        .16746E-03   -1.5228    
  24  Prefactor     4.1926        6.7468        .98402E-03   -1.5298    
  25  norm          4.0452        5.0113        .20046E-03   -1.5306    
  26  Prefactor     .10000E-03    54.029        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .99962        .18967        .23541E-03   -.93043    
  28  Prefactor     1.1347        .20740        .25382E-03   -.88364    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.4989e-08
Minuit parameter uncertainties:
  1  0.000120843
  2  3.74621
  3  0.000790036
  4  2.06725e-05
  5  9.48016e-05
  6  1.59929e-06
  7  1.87647e-06
  8  2.40939e-06
  9  28.9741
  10  7.03426e-06
  11  4.55821e-05
  12  1.50995e-06
  13  0.000113654
  14  4.78691e-06
  15  1.67859e-05
  16  1.49899
  17  2.22511
  18  0.00217248
  19  9.59386
  20  2.60249
  21  5.62243e-05
  22  7.73527e-05
  23  11.8799
  24  6.74805
  25  5.01179
  26  4.28296e-05
  27  0.189802
  28  0.207552
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  2.766e+00  1.499e+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:  1.135e+00  2.076e-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:  9.996e-01  1.898e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.16
Ra Dec: 223.625 51.409
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 4.16e-08 +/- 2.25e-08
Energy Flux (Fixed Index): 2.98e-05 +/- 1.61e-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) = 7289.39889002
delta logL = 0.186348741616

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7289.38095972
delta logL = 0.20427903589

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.2535       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2489       1.0000          .0000       5.0000    
     3 'Normalizat'    .98772       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1412       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=   7289.381     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      233 TOTAL
                     EDM=   .47E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.2534        20.766        .68423E-02    .36424E-03
   2  alpha         2.2486        3.6181        .25081        .73956E-04
   3  Normalizat    .98803        .72046E-01    .46013E-01   -.47692E-05
   4  Prefactor     1.1410        .66281E-01    .57250E-01    .12037E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.25336
  alpha      = 2.24863
  Normalizat = 0.988032
  Prefactor  = 1.14098
 **********
 **   18 **HESSE 
 **********

 FCN=   7289.381     FROM HESSE     STATUS=OK            33 CALLS      266 TOTAL
                     EDM=   .10E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.2534        1.6066        .63956E-04   -1.5408    
   2  alpha         2.2486        .46484        .95699E-02   -.10072    
   3  Normalizat    .98803        .18029        .23656E-03   -.93432    
   4  Prefactor     1.1410        .20548        .25316E-03   -.88167    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.01796e-11
Minuit parameter uncertainties:
  1  1.60667
  2  0.467588
  3  0.180401
  4  0.205624
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/847748': 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) = 7289.3809579
delta logL = 0.204280852464

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  2.253e+00  1.607e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  2.249e+00  4.676e-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:  1.141e+00  2.056e-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:  9.880e-01  1.804e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.54
Ra Dec: 223.625 51.409
Photon Index (Free Index): 2.25 +/- 0.47
Photon Flux (Free Index): 5.37e-08 +/- 3.28e-08
Energy Flux (Free Index): 2.30e-05 +/- 1.48e-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/847748/cmap_HighResolution_246067201_246326401_4FGL_J1454.4+5124_daily_bin26.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.16e-08', energy_flux2='2.30e-05', photon_flux_error='2.25e-08', dlogl='2.04e-01', energy_flux='2.98e-05', photon_flux2='5.37e-08', job_status='DONE', time_completed='2021-09-10 12:55:31.256658', photon_index_error2='0.47', photon_index2='2.25', ts='7.16', fit_tolerance='1e-08', GAL='1.13', photon_index_error='0.00', energy_flux_error2='1.48e-05', EG='1.00', time_epoch_completed='1631303731.26', return_code='0', job_id='847748', GAL2='1.14', EG2='0.99', return_code2='0', energy_flux_error='1.61e-05', photon_flux_error2='3.28e-08', ts2='7.54', photon_index='1.97' WHERE bin_id='26' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:55:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0042>
Subject: Job 847748: <4FGL_J1454.4+5124_daily_bin26> in cluster <slac> Done

Job <4FGL_J1454.4+5124_daily_bin26> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep 10 12:41:06 2021
Job was executed on host(s) <bullet0042>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 12:41:07 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:41:07 2021
Terminated at Fri Sep 10 12:55:32 2021
Results reported at Fri Sep 10 12:55:32 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin26 223.625 51.409 246067201 246326401 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 :                                   797.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             321.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   864 sec.
    Turnaround time :                            866 sec.

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

