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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin957
RA = 223.625, Dec = 51.409
tmin = 487382401, tmax = 487641601
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='851289', job_status='RUN', time_executed='2021-09-10 12:53:38.940345', time_epoch_executed='1631303618.94' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='957'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/851289

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/851289/ft1_4FGL_J1454.4+5124_daily_bin957.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/851289/ft2_4FGL_J1454.4+5124_daily_bin957.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/851289/ft1_4FGL_J1454.4+5124_daily_bin957.fits outfile=/scratch/kocevski/851289/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin957.fits ra=223.625 dec=51.409 rad=12.0 tmin=487382401.0 tmax=487641601.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.83
user 3.59
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/851289/ft1_filtered_4FGL_J1454.4+5124_daily_bin957.fits" evtable="EVENTS" scfile=/scratch/kocevski/851289/ft2_4FGL_J1454.4+5124_daily_bin957.fits sctable="SC_DATA" outfile=/scratch/kocevski/851289/ltcube_487382401_487641601_4FGL_J1454.4+5124_daily_bin957.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/851289/ft2_4FGL_J1454.4+5124_daily_bin957.fits
.....................!
real 12.04
user 11.69
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/851289/ft1_filtered_4FGL_J1454.4+5124_daily_bin957.fits evtable="EVENTS" scfile=/scratch/kocevski/851289/ft2_4FGL_J1454.4+5124_daily_bin957.fits sctable="SC_DATA" expcube=/scratch/kocevski/851289/ltcube_487382401_487641601_4FGL_J1454.4+5124_daily_bin957.fits outfile=/scratch/kocevski/851289/expmap_487382401_487641601_4FGL_J1454.4+5124_daily_bin957.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/851289/ltcube_487382401_487641601_4FGL_J1454.4+5124_daily_bin957.fits
.....................!
real 191.82
user 186.87
sys 4.57

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/851289/ft1_filtered_4FGL_J1454.4+5124_daily_bin957.fits scfile=/scratch/kocevski/851289/ft2_4FGL_J1454.4+5124_daily_bin957.fits outfile=/scratch/kocevski/851289/cmap_487382401_487641601_4FGL_J1454.4+5124_daily_bin957.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.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/851289/ft1_filtered_4FGL_J1454.4+5124_daily_bin957.fits scfile=/scratch/kocevski/851289/ft2_4FGL_J1454.4+5124_daily_bin957.fits outfile=/scratch/kocevski/851289/cmap_HighResolution_487382401_487641601_4FGL_J1454.4+5124_daily_bin957.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.56
user 0.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10141E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    1.0129       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .15428E-01   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10220E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.7279       1.0000         .10000E-03   10000.    
     7 'Prefactor '    8.5558       1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.1684       1.0000         .10000E-03   10000.    
     9 'Prefactor '    54.985       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10154E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    26.562       1.0000         .10000E-03   10000.    
    13 'Prefactor '    20.531       1.0000         .10000E-03   10000.    
    14 'Prefactor '    17.947       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10059E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    7.8685       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.4227       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    1.8839       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .36209       1.0000         .10000E-03   10000.    
    22 'Prefactor '    8.3597       1.0000         .10000E-03   10000.    
    23 'Prefactor '    11.301       1.0000         .10000E-03   10000.    
    24 'Prefactor '    2.8200       1.0000         .10000E-03   10000.    
    25 'norm      '    7.7936       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    .59825       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.1520       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=   5909.750     FROM MIGRAD    STATUS=CONVERGED    689 CALLS     3494 TOTAL
                     EDM=   .25E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    25.002        .20958E-06** at limit **
   2  norm          1.0117        3.5949        .25749E-06   -.10246E-04
   3  Prefactor     .10002E-03    7088.9        .18790E-03** at limit **
   4  Prefactor     .10000E-03    15.473       -.24026E-06** at limit **
   5  Prefactor     .10000E-03    85.972       -.15115E-05** at limit **
   6  Prefactor     1.7282        2.8705        .53886E-06   -.49186E-04
   7  Prefactor     8.5592        14.932        .17979E-06    .25861E-05
   8  Prefactor     4.1672        2.5697        .12823E-06    .12577E-04
   9  Prefactor     55.018        29.994       -.12191E-05   -.30865E-04
  10  Prefactor     .10000E-03    11.935       -.79622E-07** at limit **
  11  Prefactor     .10000E-03    14.022        .36127E-06** at limit **
  12  Prefactor     26.554        22.966        .18611E-06    .18696E-05
  13  Prefactor     20.508        29.351        .18983E-05    .67103E-05
  14  Prefactor     17.948        13.547        .70123E-07    .40043E-05
  15  Prefactor     .10000E-03    5.5922       -.30854E-07** at limit **
  16  norm          7.8686        2.1126        .16717E-07    .13455E-04
  17  Prefactor     .10000E-03    4.6316       -.74130E-07** at limit **
  18  Prefactor     1.4229        4.6989        .17988E-06   -.11433E-04
  19  Prefactor     .10000E-03    3.7828       -.71134E-07** at limit **
  20  norm          1.8842        2.5864        .29663E-06   -.48799E-04
  21  Prefactor     .36514        6.4865       -.43604E-07   -.23232E-04
  22  Prefactor     8.3595        19.782        .34681E-07   -.25238E-06
  23  Prefactor     11.294        13.497       -.19413E-07    .30357E-06
  24  Prefactor     2.8196        10.514        .34088E-05   -.75361E-04
  25  norm          7.7936        10.692       -.81569E-06    .14183E-04
  26  Prefactor     .10000E-03    19.197       -.31380E-06** at limit **
  27  Normalizat    .59831        .16242       -.80719E-06   -.22668E-04
  28  Prefactor     1.1519        .17907        .40231E-06   -.60057E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 1.01172
  Prefactor  = 0.000100019
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.72816
  Prefactor  = 8.55922
  Prefactor  = 4.16723
  Prefactor  = 55.0177
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 26.5543
  Prefactor  = 20.5083
  Prefactor  = 17.9484
  Prefactor  = 0.0001
  norm       = 7.86863
  Prefactor  = 0.0001
  Prefactor  = 1.42287
  Prefactor  = 0.0001
  norm       = 1.88415
  Prefactor  = 0.365139
  Prefactor  = 8.35947
  Prefactor  = 11.294
  Prefactor  = 2.81962
  norm       = 7.79363
  Prefactor  = 0.0001
  Normalizat = 0.598307
  Prefactor  = 1.15194
 **********
 **   18 **HESSE 
 **********

 FCN=   5909.750     FROM HESSE     STATUS=OK           529 CALLS     4023 TOTAL
                     EDM=   .55E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    25.002        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.0117        3.5853        .25648E-03   -1.5507    
   3  Prefactor     .10002E-03    7088.8        .18200E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    15.484        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    87.749        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.7282        2.8391        .81184E-03   -1.5445    
   7  Prefactor     8.5592        14.952        .13705E-03   -1.5123    
   8  Prefactor     4.1672        2.5580        .89541E-04   -1.5300    
   9  Prefactor     55.018        30.097        .54095E-04   -1.4223    
  10  Prefactor     .10000E-03    11.957        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    14.024        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     26.554        23.009        .77729E-04   -1.4677    
  13  Prefactor     20.508        29.368        .88395E-04   -1.4802    
  14  Prefactor     17.948        13.542        .94542E-04   -1.4860    
  15  Prefactor     .10000E-03    5.6053        .17751E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          7.8686        2.1122        .55650E-04   -1.5147    
  17  Prefactor     .10000E-03    4.6608        .16154E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     1.4229        4.6769        .28890E-03   -1.5469    
  19  Prefactor     .10000E-03    3.8284        .14593E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          1.8842        2.5991        .66737E-03   -1.5433    
  21  Prefactor     .36514        17.636        .32524E-02   -1.5587    
  22  Prefactor     8.3595        19.589        .13865E-03   -1.5130    
  23  Prefactor     11.294        13.002        .11917E-03   -1.5036    
  24  Prefactor     2.8196        10.583        .12110E-02   -1.5372    
  25  norm          7.7936        10.726        .14364E-03   -1.5150    
  26  Prefactor     .10000E-03    19.198        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .59831        .19454        .26216E-03   -1.0806    
  28  Prefactor     1.1519        .21677        .22828E-03   -.87823    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.49211e-08
Minuit parameter uncertainties:
  1  2.34878e-06
  2  3.58606
  3  0.0193108
  4  3.87802e-06
  5  5.98758e-05
  6  2.83933
  7  14.9581
  8  2.55808
  9  30.1057
  10  4.31817e-06
  11  2.46547e-06
  12  23.0168
  13  29.3887
  14  13.5441
  15  1.29538e-06
  16  2.11225
  17  6.66539e-07
  18  4.67807
  19  3.91981e-07
  20  2.59928
  21  5.07621
  22  19.6039
  23  13.0053
  24  10.5902
  25  10.7283
  26  4.12381e-06
  27  0.194761
  28  0.21694
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  7.869e+00  2.112e+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.152e+00  2.169e-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:  5.983e-01  1.948e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 51.93
Ra Dec: 223.625 51.409
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 1.18e-07 +/- 3.17e-08
Energy Flux (Fixed Index): 8.46e-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) = 5908.87320824
delta logL = 0.877159763451

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5908.87178706
delta logL = 0.878580945225

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.8897       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2866       1.0000          .0000       5.0000    
     3 'Normalizat'    .56650       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1713       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=   5908.872     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      276 TOTAL
                     EDM=   .17E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.8898        2.3009        .45086E-04   -.20747E-03
   2  alpha         2.2866        .25350        .46523E-02   -.53233E-04
   3  Normalizat    .56649        .18227        .26852E-03    .56310E-05
   4  Prefactor     1.1713        .21366        .22627E-03    .74360E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 5.88975
  alpha      = 2.28662
  Normalizat = 0.566488
  Prefactor  = 1.17133
 **********
 **   18 **HESSE 
 **********

 FCN=   5908.872     FROM HESSE     STATUS=OK            25 CALLS      301 TOTAL
                     EDM=   .27E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.8898        2.2345        .90173E-05   -1.5223    
   2  alpha         2.2866        .24613        .18609E-03   -.85457E-01
   3  Normalizat    .56649        .18235        .10741E-04   -1.0943    
   4  Prefactor     1.1713        .21381        .90510E-05   -.87218    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.69644e-11
Minuit parameter uncertainties:
  1  2.23452
  2  0.246535
  3  0.182543
  4  0.21397
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/851289': 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) = 5908.87178705
delta logL = 0.878580955183

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  5.890e+00  2.235e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  2.287e+00  2.465e-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.171e+00  2.140e-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:  5.665e-01  1.825e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 53.54
Ra Dec: 223.625 51.409
Photon Index (Free Index): 2.29 +/- 0.25
Photon Flux (Free Index): 1.50e-07 +/- 4.41e-08
Energy Flux (Free Index): 6.09e-05 +/- 1.96e-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/851289/cmap_HighResolution_487382401_487641601_4FGL_J1454.4+5124_daily_bin957.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.18e-07', energy_flux2='6.09e-05', photon_flux_error='3.17e-08', dlogl='8.79e-01', energy_flux='8.46e-05', photon_flux2='1.50e-07', job_status='DONE', time_completed='2021-09-10 13:05:44.535900', photon_index_error2='0.25', photon_index2='2.29', ts='51.93', fit_tolerance='1e-08', GAL='1.15', photon_index_error='0.00', energy_flux_error2='1.96e-05', EG='0.60', time_epoch_completed='1631304344.54', return_code='0', job_id='851289', GAL2='1.17', EG2='0.57', return_code2='0', energy_flux_error='2.27e-05', photon_flux_error2='4.41e-08', ts2='53.54', photon_index='1.97' WHERE bin_id='957' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 13:05:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0205>
Subject: Job 851289: <4FGL_J1454.4+5124_daily_bin957> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin957 223.625 51.409 487382401 487641601 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 :                                   725.14 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             295.07 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   850 sec.
    Turnaround time :                            855 sec.

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

