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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin124
RA = 223.625, Dec = 51.409
tmin = 271468801, tmax = 271728001
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='847891', job_status='RUN', time_executed='2021-09-10 12:41:29.068808', time_epoch_executed='1631302889.07' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='124'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/847891

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/847891/ft1_4FGL_J1454.4+5124_daily_bin124.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/847891/ft2_4FGL_J1454.4+5124_daily_bin124.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/847891/ft1_4FGL_J1454.4+5124_daily_bin124.fits outfile=/scratch/kocevski/847891/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin124.fits ra=223.625 dec=51.409 rad=12.0 tmin=271468801.0 tmax=271728001.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.61
user 1.42
sys 0.17

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/847891/ft1_filtered_4FGL_J1454.4+5124_daily_bin124.fits evtable="EVENTS" scfile=/scratch/kocevski/847891/ft2_4FGL_J1454.4+5124_daily_bin124.fits sctable="SC_DATA" expcube=/scratch/kocevski/847891/ltcube_271468801_271728001_4FGL_J1454.4+5124_daily_bin124.fits outfile=/scratch/kocevski/847891/expmap_271468801_271728001_4FGL_J1454.4+5124_daily_bin124.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/847891/ltcube_271468801_271728001_4FGL_J1454.4+5124_daily_bin124.fits
.....................!
real 193.27
user 188.30
sys 4.61

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/847891/ft1_filtered_4FGL_J1454.4+5124_daily_bin124.fits scfile=/scratch/kocevski/847891/ft2_4FGL_J1454.4+5124_daily_bin124.fits outfile=/scratch/kocevski/847891/cmap_271468801_271728001_4FGL_J1454.4+5124_daily_bin124.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.49
user 0.35
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/847891/ft1_filtered_4FGL_J1454.4+5124_daily_bin124.fits scfile=/scratch/kocevski/847891/ft2_4FGL_J1454.4+5124_daily_bin124.fits outfile=/scratch/kocevski/847891/cmap_HighResolution_271468801_271728001_4FGL_J1454.4+5124_daily_bin124.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.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10027E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .70945       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10727E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .12701E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .11123E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.8327       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10238E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .22068       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    25.229       1.0000         .10000E-03   10000.    
    16 'norm      '    5.1720       1.0000         .10000E-03   10000.    
    17 'Prefactor '    8.0974       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    11.292       1.0000         .10000E-03   10000.    
    20 'norm      '    .12088E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .63941       1.0000         .10000E-03   10000.    
    22 'Prefactor '    27.693       1.0000         .10000E-03   10000.    
    23 'Prefactor '    13.601       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    6.6272       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10227E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    .79639       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.1614       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=   5178.165     FROM MIGRAD    STATUS=CONVERGED    733 CALLS     3076 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    26.085       -.44538E-07** at limit **
   2  norm          .71111        4.5850        .38212E-06    .20852E-03
   3  Prefactor     .10004E-03    1779.3        .52968E-04** at limit **
   4  Prefactor     .10000E-03    16.891        .72852E-08** at limit **
   5  Prefactor     .10000E-03    8.4892       -.35356E-07** at limit **
   6  Prefactor     .10000E-03    1.1593       -.35865E-07** at limit **
   7  Prefactor     .10015E-03    29.455        .10821E-04** at limit **
   8  Prefactor     .10000E-03    1.6168       -.63833E-06** at limit **
   9  Prefactor     5.8339        13.150       -.73288E-07    .56043E-04
  10  Prefactor     .10000E-03    7.1867       -.35838E-07** at limit **
  11  Prefactor     .10000E-03    19.692        .24675E-06** at limit **
  12  Prefactor     .10808        862.26       -.18741E-04    .74669E-05
  13  Prefactor     .10000E-03    9.5865       -.17635E-07** at limit **
  14  Prefactor     .10000E-03    12.369       -.33391E-06** at limit **
  15  Prefactor     25.234        19.410       -.26996E-06    .90708E-04
  16  norm          5.1717        2.2495       -.77110E-07    .17095E-03
  17  Prefactor     8.0973        8.3922       -.14350E-06    .37659E-04
  18  Prefactor     .10000E-03    2.8358       -.21526E-06** at limit **
  19  Prefactor     11.289        9.8113       -.42600E-06    .69157E-04
  20  norm          .10000E-03    2.9762       -.30182E-05** at limit **
  21  Prefactor     .64615        38.831       -.12517E-04   -.18431E-03
  22  Prefactor     27.681        22.288       -.49218E-06   -.25676E-03
  23  Prefactor     13.587        20.268        .42360E-06   -.35500E-03
  24  Prefactor     .10000E-03    3.1933       -.63528E-06** at limit **
  25  norm          6.6270        6.6217       -.19468E-06   -.31473E-03
  26  Prefactor     .10001E-03    257.38       -.11950E-04** at limit **
  27  Normalizat    .79677        .18072        .12992E-05    .59691E-03
  28  Prefactor     1.1610        .19890        .21396E-05    .62546E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.711113
  Prefactor  = 0.000100044
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100146
  Prefactor  = 0.0001
  Prefactor  = 5.83389
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.108078
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 25.2335
  norm       = 5.17166
  Prefactor  = 8.09732
  Prefactor  = 0.0001
  Prefactor  = 11.2887
  norm       = 0.000100004
  Prefactor  = 0.646153
  Prefactor  = 27.6814
  Prefactor  = 13.587
  Prefactor  = 0.0001
  norm       = 6.62699
  Prefactor  = 0.000100006
  Normalizat = 0.796775
  Prefactor  = 1.16098
 **********
 **   18 **HESSE 
 **********

 FCN=   5178.165     FROM HESSE     STATUS=OK           527 CALLS     3603 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    26.085        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .71111        4.6650        .28961E-03   -1.5539    
   3  Prefactor     .10004E-03    1782.9        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    16.897        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    8.4922        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    1.1605        .75666E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10015E-03    80.207        .54031E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    4.1942        .17648E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     5.8339        13.123        .16629E-03   -1.5225    
  10  Prefactor     .10000E-03    7.1911        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    19.701        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10808        28.084        .88032E-01   -1.5642    
  13  Prefactor     .10000E-03    9.5873        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    12.476        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     25.234        19.423        .79753E-04   -1.4703    
  16  norm          5.1717        2.2484        .66803E-04   -1.5253    
  17  Prefactor     8.0973        8.3832        .14090E-03   -1.5139    
  18  Prefactor     .10000E-03    2.8451        .11834E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     11.289        9.8242        .11922E-03   -1.5036    
  20  norm          .10000E-03    3.6677        .19958E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .64615        54.809        .38780E-02   -1.5547    
  22  Prefactor     27.681        22.274        .76129E-04   -1.4655    
  23  Prefactor     13.587        22.733        .10861E-03   -1.4971    
  24  Prefactor     .10000E-03    3.2048        .12571E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          6.6270        6.6448        .77940E-03   -1.5193    
  26  Prefactor     .10001E-03    259.77        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .79677        .21307        .24805E-03   -1.0019    
  28  Prefactor     1.1610        .23743        .24281E-03   -.87541    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.07501e-09
Minuit parameter uncertainties:
  1  2.89106e-06
  2  3.64287
  3  0.0182782
  4  1.8109e-05
  5  1.16268e-05
  6  3.07325e-06
  7  0.00684448
  8  6.95357e-05
  9  13.1297
  10  1.31647e-05
  11  1.39211e-05
  12  3.48442
  13  7.91374e-06
  14  6.36942e-05
  15  19.4276
  16  2.24841
  17  8.38446
  18  1.47988e-05
  19  9.82557
  20  0.000232196
  21  11.9124
  22  22.2805
  23  22.7474
  24  2.33641e-05
  25  6.64556
  26  0.00246839
  27  0.213293
  28  0.237647
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  5.172e+00  2.248e+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.161e+00  2.376e-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:  7.968e-01  2.133e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 24.06
Ra Dec: 223.625 51.409
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 7.77e-08 +/- 3.38e-08
Energy Flux (Fixed Index): 5.56e-05 +/- 2.42e-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) = 5178.15629345
delta logL = 0.00863796997055

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5178.15423343
delta logL = 0.0106979885013

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.0459       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0187       1.0000          .0000       5.0000    
     3 'Normalizat'    .79345       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1623       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=   5178.154     FROM MIGRAD    STATUS=CONVERGED     78 CALLS      229 TOTAL
                     EDM=   .46E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.0459        2.3364        .65000E-04   -.14666E-02
   2  alpha         2.0186        .34693        .79129E-02   -.15351E-03
   3  Normalizat    .79346        .20368        .24847E-03   -.31251E-03
   4  Prefactor     1.1623        .23586        .24264E-03   -.33422E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 5.04589
  alpha      = 2.0186
  Normalizat = 0.793457
  Prefactor  = 1.16232
 **********
 **   18 **HESSE 
 **********

 FCN=   5178.154     FROM HESSE     STATUS=OK            23 CALLS      252 TOTAL
                     EDM=   .49E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.0459        2.3057        .13000E-04   -1.5259    
   2  alpha         2.0186        .34223        .31652E-03   -.19377    
   3  Normalizat    .79346        .20379        .49693E-04   -1.0031    
   4  Prefactor     1.1623        .23605        .48528E-04   -.87499    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.92647e-10
Minuit parameter uncertainties:
  1  2.30576
  2  0.343346
  3  0.203987
  4  0.23626
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/847891': 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) = 5178.15423342
delta logL = 0.0106979983666

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  5.046e+00  2.306e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  2.019e+00  3.433e-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.162e+00  2.363e-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:  7.935e-01  2.040e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 24.12
Ra Dec: 223.625 51.409
Photon Index (Free Index): 2.02 +/- 0.34
Photon Flux (Free Index): 8.20e-08 +/- 4.46e-08
Energy Flux (Free Index): 5.28e-05 +/- 2.86e-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/847891/cmap_HighResolution_271468801_271728001_4FGL_J1454.4+5124_daily_bin124.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.77e-08', energy_flux2='5.28e-05', photon_flux_error='3.38e-08', dlogl='1.07e-02', energy_flux='5.56e-05', photon_flux2='8.20e-08', job_status='DONE', time_completed='2021-09-10 12:51:59.553214', photon_index_error2='0.34', photon_index2='2.02', ts='24.06', fit_tolerance='1e-08', GAL='1.16', photon_index_error='0.00', energy_flux_error2='2.86e-05', EG='0.80', time_epoch_completed='1631303519.55', return_code='0', job_id='847891', GAL2='1.16', EG2='0.79', return_code2='0', energy_flux_error='2.42e-05', photon_flux_error2='4.46e-08', ts2='24.12', photon_index='1.97' WHERE bin_id='124' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:51:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0021>
Subject: Job 847891: <4FGL_J1454.4+5124_daily_bin124> in cluster <slac> Done

Job <4FGL_J1454.4+5124_daily_bin124> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep 10 12:41:16 2021
Job was executed on host(s) <bullet0021>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 12:41:17 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:17 2021
Terminated at Fri Sep 10 12:52:00 2021
Results reported at Fri Sep 10 12:52:00 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin124 223.625 51.409 271468801 271728001 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 :                                   629.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             381.95 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   642 sec.
    Turnaround time :                            644 sec.

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

