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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin979
RA = 223.625, Dec = 51.409
tmin = 493084801, tmax = 493344001
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='852425', job_status='RUN', time_executed='2021-09-10 12:59:05.234442', time_epoch_executed='1631303945.23' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='979'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/852425

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/852425/ft1_4FGL_J1454.4+5124_daily_bin979.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/852425/ft2_4FGL_J1454.4+5124_daily_bin979.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/852425/ft1_4FGL_J1454.4+5124_daily_bin979.fits outfile=/scratch/kocevski/852425/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin979.fits ra=223.625 dec=51.409 rad=12.0 tmin=493084801.0 tmax=493344001.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 3.60
user 3.36
sys 0.19

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/852425/ft1_filtered_4FGL_J1454.4+5124_daily_bin979.fits evtable="EVENTS" scfile=/scratch/kocevski/852425/ft2_4FGL_J1454.4+5124_daily_bin979.fits sctable="SC_DATA" expcube=/scratch/kocevski/852425/ltcube_493084801_493344001_4FGL_J1454.4+5124_daily_bin979.fits outfile=/scratch/kocevski/852425/expmap_493084801_493344001_4FGL_J1454.4+5124_daily_bin979.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/852425/ltcube_493084801_493344001_4FGL_J1454.4+5124_daily_bin979.fits
.....................!
real 190.68
user 185.62
sys 4.70

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/852425/ft1_filtered_4FGL_J1454.4+5124_daily_bin979.fits scfile=/scratch/kocevski/852425/ft2_4FGL_J1454.4+5124_daily_bin979.fits outfile=/scratch/kocevski/852425/cmap_493084801_493344001_4FGL_J1454.4+5124_daily_bin979.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.54
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/852425/ft1_filtered_4FGL_J1454.4+5124_daily_bin979.fits scfile=/scratch/kocevski/852425/ft2_4FGL_J1454.4+5124_daily_bin979.fits outfile=/scratch/kocevski/852425/cmap_HighResolution_493084801_493344001_4FGL_J1454.4+5124_daily_bin979.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/852425/ft1_filtered_4FGL_J1454.4+5124_daily_bin979.fits evtable="EVENTS" scfile=/scratch/kocevski/852425/ft2_4FGL_J1454.4+5124_daily_bin979.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/852425/Model_4FGL_J1454.4+5124_daily_bin979.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/852425/ft1_filtered_4FGL_J1454.4+5124_daily_bin979.fits.....................!
real 50.98
user 49.68
sys 1.15

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10084E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10097E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .11649E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .20517E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .40378       1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.7478       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10323E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    24.146       1.0000         .10000E-03   10000.    
    11 'Prefactor '    51.350       1.0000         .10000E-03   10000.    
    12 'Prefactor '    19.680       1.0000         .10000E-03   10000.    
    13 'Prefactor '    21.357       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.6979       1.0000         .10000E-03   10000.    
    16 'norm      '    6.9000       1.0000         .10000E-03   10000.    
    17 'Prefactor '    20.984       1.0000         .10000E-03   10000.    
    18 'Prefactor '    6.4646       1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.6138       1.0000         .10000E-03   10000.    
    20 'norm      '    5.9872       1.0000         .10000E-03   10000.    
    21 'Prefactor '    5.5209       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10200E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    23.933       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    16.418       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    .67761       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.1534       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=   6264.356     FROM MIGRAD    STATUS=CONVERGED    709 CALLS     3504 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    23.195       -.30115E-06** at limit **
   2  norm          .10000E-03    2.3681       -.76254E-07** at limit **
   3  Prefactor     .10002E-03    210.15       -.25757E-05** at limit **
   4  Prefactor     .10000E-03    46.160       -.96712E-06** at limit **
   5  Prefactor     .10000E-03    71.376        .11925E-05** at limit **
   6  Prefactor     .10000E-03    4.2075       -.10080E-05** at limit **
   7  Prefactor     .22987        26.678        .66779E-05   -.62325E-03
   8  Prefactor     4.7462        2.9889       -.30324E-07   -.32233E-03
   9  Prefactor     .10000E-03    13.530       -.24754E-06** at limit **
  10  Prefactor     24.135        27.434        .45848E-07   -.75147E-04
  11  Prefactor     51.362        53.877        .41896E-06    .82330E-05
  12  Prefactor     19.682        22.239        .17322E-06   -.60132E-04
  13  Prefactor     21.358        28.356       -.85514E-07   -.25363E-04
  14  Prefactor     .10000E-03    10.107        .29654E-06** at limit **
  15  Prefactor     5.7006        15.358        .43386E-06    .22399E-05
  16  norm          6.8999        2.1474       -.53327E-08   -.15188E-03
  17  Prefactor     20.979        10.726       -.38492E-06    .99638E-04
  18  Prefactor     6.4635        6.5686        .23346E-06    .64642E-04
  19  Prefactor     1.6116        9.4585        .47746E-05    .59842E-03
  20  norm          5.9854        4.4387       -.14156E-06    .47336E-04
  21  Prefactor     5.5339        15.418        .14179E-05    .17823E-03
  22  Prefactor     .10000E-03    15.753        .21461E-06** at limit **
  23  Prefactor     23.910        19.520       -.25580E-06    .61451E-04
  24  Prefactor     .10000E-03    3.4257       -.13168E-06** at limit **
  25  norm          16.417        8.9205        .72965E-06    .63525E-03
  26  Prefactor     .10000E-03    30.766        .59194E-06** at limit **
  27  Normalizat    .67806        .17644       -.19765E-05   -.26325E-03
  28  Prefactor     1.1530        .19038        .78805E-06   -.19618E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100016
  Prefactor  = 0.000100002
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.229874
  Prefactor  = 4.74625
  Prefactor  = 0.0001
  Prefactor  = 24.1354
  Prefactor  = 51.362
  Prefactor  = 19.6819
  Prefactor  = 21.3577
  Prefactor  = 0.0001
  Prefactor  = 5.70062
  norm       = 6.89994
  Prefactor  = 20.9788
  Prefactor  = 6.4635
  Prefactor  = 1.61161
  norm       = 5.98538
  Prefactor  = 5.53388
  Prefactor  = 0.0001
  Prefactor  = 23.9104
  Prefactor  = 0.0001
  norm       = 16.4166
  Prefactor  = 0.000100001
  Normalizat = 0.678064
  Prefactor  = 1.15304
 **********
 **   18 **HESSE 
 **********

 FCN=   6264.356     FROM HESSE     STATUS=OK           529 CALLS     4033 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    23.234        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    2.4287        .23762E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10002E-03    212.97        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    46.569        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    72.590        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    16.914        .29541E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .22987        19.811        .82279E-01   -1.5612    
   8  Prefactor     4.7462        2.9798        .96787E-04   -1.5272    
   9  Prefactor     .10000E-03    13.604        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     24.135        27.398        .81519E-04   -1.4725    
  11  Prefactor     51.362        53.903        .55967E-04   -1.4273    
  12  Prefactor     19.682        22.239        .90285E-04   -1.4820    
  13  Prefactor     21.358        28.350        .86671E-04   -1.4783    
  14  Prefactor     .10000E-03    10.149        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     5.7006        15.267        .16828E-03   -1.5230    
  16  norm          6.8999        2.1446        .61075E-04   -1.5183    
  17  Prefactor     20.979        10.663        .87438E-04   -1.4792    
  18  Prefactor     6.4635        6.5387        .15785E-03   -1.5199    
  19  Prefactor     1.6116        9.6401        .33334E-03   -1.5454    
  20  norm          5.9854        4.4055        .11987E-03   -1.5219    
  21  Prefactor     5.5339        15.038        .17099E-03   -1.5237    
  22  Prefactor     .10000E-03    15.829        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     23.910        19.125        .81879E-04   -1.4730    
  24  Prefactor     .10000E-03    3.4448        .14298E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          16.417        8.9185        .49423E-03   -1.4897    
  26  Prefactor     .10000E-03    30.949        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .67806        .20803        .26504E-03   -1.0477    
  28  Prefactor     1.1530        .22749        .24413E-03   -.87789    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.08958e-09
Minuit parameter uncertainties:
  1  0.000144916
  2  2.32246e-06
  3  0.00373699
  4  0.000612847
  5  0.000688565
  6  0.000110502
  7  4.26853
  8  2.97989
  9  5.34173e-05
  10  27.4118
  11  53.9539
  12  22.2485
  13  28.3682
  14  3.74226e-05
  15  15.2775
  16  2.14463
  17  10.6638
  18  6.53941
  19  7.88484
  20  4.40575
  21  15.0486
  22  6.8876e-05
  23  19.1301
  24  1.75044e-05
  25  8.91919
  26  0.000334074
  27  0.208274
  28  0.227681
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  6.900e+00  2.145e+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.153e+00  2.277e-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:  6.781e-01  2.083e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 44.53
Ra Dec: 223.625 51.409
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 1.04e-07 +/- 3.22e-08
Energy Flux (Fixed Index): 7.42e-05 +/- 2.31e-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) = 6264.27402437
delta logL = 0.0820311863645

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6264.25572792
delta logL = 0.100327631111

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.3935       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8513       1.0000          .0000       5.0000    
     3 'Normalizat'    .68833       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1468       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=   6264.256     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      225 TOTAL
                     EDM=   .65E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.3935        36.364        .36876E-02    .14563E-02
   2  alpha         1.8513        3.4246        .17025        .70141E-04
   3  Normalizat    .68834        .28318        .42135E-01    .28803E-05
   4  Prefactor     1.1468        .23587        .55363E-01    .29593E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 7.39348
  alpha      = 1.85134
  Normalizat = 0.688341
  Prefactor  = 1.14678
 **********
 **   18 **HESSE 
 **********

 FCN=   6264.256     FROM HESSE     STATUS=OK            31 CALLS      256 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.3935        2.4842        .64402E-04   -1.5164    
   2  alpha         1.8513        .26052        .70691E-02   -.26247    
   3  Normalizat    .68834        .19053        .26335E-03   -1.0436    
   4  Prefactor     1.1468        .22346        .24479E-03   -.87985    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.64668e-10
Minuit parameter uncertainties:
  1  2.48426
  2  0.261029
  3  0.190713
  4  0.223639
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/852425': 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) = 6264.25572791
delta logL = 0.100327640173

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  7.393e+00  2.484e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  1.851e+00  2.610e-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.147e+00  2.236e-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:  6.883e-01  1.907e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 44.72
Ra Dec: 223.625 51.409
Photon Index (Free Index): 1.85 +/- 0.26
Photon Flux (Free Index): 9.37e-08 +/- 3.62e-08
Energy Flux (Free Index): 8.75e-05 +/- 4.40e-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/852425/cmap_HighResolution_493084801_493344001_4FGL_J1454.4+5124_daily_bin979.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.04e-07', energy_flux2='8.75e-05', photon_flux_error='3.22e-08', dlogl='1.00e-01', energy_flux='7.42e-05', photon_flux2='9.37e-08', job_status='DONE', time_completed='2021-09-10 13:11:30.118858', photon_index_error2='0.26', photon_index2='1.85', ts='44.53', fit_tolerance='1e-08', GAL='1.15', photon_index_error='0.00', energy_flux_error2='4.40e-05', EG='0.68', time_epoch_completed='1631304690.12', return_code='0', job_id='852425', GAL2='1.15', EG2='0.69', return_code2='0', energy_flux_error='2.31e-05', photon_flux_error2='3.62e-08', ts2='44.72', photon_index='1.97' WHERE bin_id='979' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 13:11:30 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0209>
Subject: Job 852425: <4FGL_J1454.4+5124_daily_bin979> in cluster <slac> Done

Job <4FGL_J1454.4+5124_daily_bin979> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Sep 10 12:56:00 2021
Job was executed on host(s) <bullet0209>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 12:56:01 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:56:01 2021
Terminated at Fri Sep 10 13:11:30 2021
Results reported at Fri Sep 10 13:11:30 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin979 223.625 51.409 493084801 493344001 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 :                                   744.02 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             257.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   929 sec.
    Turnaround time :                            930 sec.

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

