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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin621
RA = 223.625, Dec = 51.409
tmin = 400291201, tmax = 400550401
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='850811', job_status='RUN', time_executed='2021-09-10 12:53:54.389883', time_epoch_executed='1631303634.39' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='621'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/850811

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/850811/ft1_4FGL_J1454.4+5124_daily_bin621.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/850811/ft2_4FGL_J1454.4+5124_daily_bin621.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/850811/ft1_4FGL_J1454.4+5124_daily_bin621.fits outfile=/scratch/kocevski/850811/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin621.fits ra=223.625 dec=51.409 rad=12.0 tmin=400291201.0 tmax=400550401.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.43
user 3.20
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/850811/ft2_4FGL_J1454.4+5124_daily_bin621.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/850811/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin621.fits evtable="EVENTS" outfile="/scratch/kocevski/850811/ft1_filtered_4FGL_J1454.4+5124_daily_bin621.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/850811/ft1_filtered_4FGL_J1454.4+5124_daily_bin621.fits" evtable="EVENTS" scfile=/scratch/kocevski/850811/ft2_4FGL_J1454.4+5124_daily_bin621.fits sctable="SC_DATA" outfile=/scratch/kocevski/850811/ltcube_400291201_400550401_4FGL_J1454.4+5124_daily_bin621.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/850811/ft2_4FGL_J1454.4+5124_daily_bin621.fits
.....................!
real 13.52
user 13.16
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/850811/ft1_filtered_4FGL_J1454.4+5124_daily_bin621.fits evtable="EVENTS" scfile=/scratch/kocevski/850811/ft2_4FGL_J1454.4+5124_daily_bin621.fits sctable="SC_DATA" expcube=/scratch/kocevski/850811/ltcube_400291201_400550401_4FGL_J1454.4+5124_daily_bin621.fits outfile=/scratch/kocevski/850811/expmap_400291201_400550401_4FGL_J1454.4+5124_daily_bin621.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/850811/ltcube_400291201_400550401_4FGL_J1454.4+5124_daily_bin621.fits
.....................!
real 190.51
user 185.13
sys 5.00

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/850811/ft1_filtered_4FGL_J1454.4+5124_daily_bin621.fits scfile=/scratch/kocevski/850811/ft2_4FGL_J1454.4+5124_daily_bin621.fits outfile=/scratch/kocevski/850811/cmap_400291201_400550401_4FGL_J1454.4+5124_daily_bin621.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/850811/ft1_filtered_4FGL_J1454.4+5124_daily_bin621.fits scfile=/scratch/kocevski/850811/ft2_4FGL_J1454.4+5124_daily_bin621.fits outfile=/scratch/kocevski/850811/cmap_HighResolution_400291201_400550401_4FGL_J1454.4+5124_daily_bin621.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/850811/ft1_filtered_4FGL_J1454.4+5124_daily_bin621.fits evtable="EVENTS" scfile=/scratch/kocevski/850811/ft2_4FGL_J1454.4+5124_daily_bin621.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/850811/Model_4FGL_J1454.4+5124_daily_bin621.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/850811/ft1_filtered_4FGL_J1454.4+5124_daily_bin621.fits.....................!
real 49.72
user 48.35
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    5.1405       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .11326E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    12.131       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.2895       1.0000         .10000E-03   10000.    
     9 'Prefactor '    30.730       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    8.9556       1.0000         .10000E-03   10000.    
    12 'Prefactor '    15.660       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10748E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    14.821       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10622E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    4.1577       1.0000         .10000E-03   10000.    
    17 'Prefactor '    14.815       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .34535E-02   1.0000         .10000E-03   10000.    
    20 'norm      '    1.3992       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    13.975       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10532       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10321E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    28.572       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.1146       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .80454       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=   6051.337     FROM MIGRAD    STATUS=CONVERGED    715 CALLS     3530 TOTAL
                     EDM=   .62E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    37.778       -.24940E-05** at limit **
   2  norm          5.1417        4.3712       -.60774E-06    .52818E-03
   3  Prefactor     .10000E-03    260.99        .16532E-04** at limit **
   4  Prefactor     .10000E-03    30.319        .11817E-05** at limit **
   5  Prefactor     .10000E-03    19.833       -.33257E-05** at limit **
   6  Prefactor     .10000E-03    4.1261       -.38899E-06** at limit **
   7  Prefactor     12.140        16.645       -.89799E-06    .10074E-03
   8  Prefactor     1.2902        1.5731       -.12617E-06    .17659E-03
   9  Prefactor     30.744        24.029       -.24746E-06    .18673E-03
  10  Prefactor     .10000E-03    12.642       -.42147E-07** at limit **
  11  Prefactor     8.9623        60.638       -.27864E-05    .27774E-04
  12  Prefactor     15.664        18.604       -.24315E-06    .21339E-04
  13  Prefactor     .10000E-03    40.750       -.70443E-06** at limit **
  14  Prefactor     14.829        19.181       -.23654E-06    .65513E-04
  15  Prefactor     .10000E-03    30.721       -.25379E-06** at limit **
  16  norm          4.1581        1.6756        .16502E-07   -.10617E-03
  17  Prefactor     14.828        10.728        .18306E-07    .71694E-03
  18  Prefactor     .10000E-03    2.1163       -.14834E-06** at limit **
  19  Prefactor     .10000E-03    83.975       -.35860E-04** at limit **
  20  norm          1.3948        2.7191        .27614E-06    .74262E-03
  21  Prefactor     .10000E-03    3.9967       -.72679E-06** at limit **
  22  Prefactor     13.917        16.494        .35311E-05   -.89824E-04
  23  Prefactor     .20399        23.712       -.17771E-04    .66332E-04
  24  Prefactor     .10000E-03    10.289       -.47159E-06** at limit **
  25  norm          28.567        12.373       -.24934E-06    .18170E-03
  26  Prefactor     .10000E-03    19.579        .26585E-05** at limit **
  27  Normalizat    1.1143        .17136        .15375E-05    .48850E-03
  28  Prefactor     .80479        .18466        .17733E-05    .37037E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 5.14175
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.1402
  Prefactor  = 1.29022
  Prefactor  = 30.7437
  Prefactor  = 0.0001
  Prefactor  = 8.96233
  Prefactor  = 15.6642
  Prefactor  = 0.0001
  Prefactor  = 14.8288
  Prefactor  = 0.000100001
  norm       = 4.15811
  Prefactor  = 14.8278
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 1.39476
  Prefactor  = 0.0001
  Prefactor  = 13.9171
  Prefactor  = 0.203987
  Prefactor  = 0.0001
  norm       = 28.5669
  Prefactor  = 0.0001
  Normalizat = 1.11429
  Prefactor  = 0.804793
 **********
 **   18 **HESSE 
 **********

 FCN=   6051.337     FROM HESSE     STATUS=OK           523 CALLS     4053 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    37.777        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          5.1417        4.3658        .14335E-03   -1.5254    
   3  Prefactor     .10000E-03    260.82        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    30.417        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    19.884        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    4.2793        .30856E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     12.140        16.673        .11501E-03   -1.5011    
   8  Prefactor     1.2902        1.5544        .10366E-03   -1.5481    
   9  Prefactor     30.744        24.017        .72278E-04   -1.4598    
  10  Prefactor     .10000E-03    12.670        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     8.9623        60.161        .13393E-03   -1.5109    
  12  Prefactor     15.664        18.629        .10121E-03   -1.4916    
  13  Prefactor     .10000E-03    41.055        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     14.829        19.122        .10404E-03   -1.4938    
  15  Prefactor     .10000E-03    31.315        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          4.1581        1.6751        .61646E-04   -1.5300    
  17  Prefactor     14.828        10.760        .10406E-03   -1.4938    
  18  Prefactor     .10000E-03    2.1283        .11052E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    9.6218        .56768E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          1.3948        2.6755        .16748E-03   -1.5472    
  21  Prefactor     .10000E-03    4.0214        .15171E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     13.917        17.222        .10715E-03   -1.4962    
  23  Prefactor     .20399        108.35        .34982E-02   -1.5618    
  24  Prefactor     .10000E-03    10.382        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          28.567        12.350        .74951E-04   -1.4638    
  26  Prefactor     .10000E-03    19.571        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    1.1143        .20360        .21735E-03   -.89294    
  28  Prefactor     .80479        .21713        .28353E-03   -.99552    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.31207e-09
Minuit parameter uncertainties:
  1  5.42908e-05
  2  4.36606
  3  0.000958918
  4  8.6929e-05
  5  3.46347e-05
  6  1.26754e-05
  7  16.6798
  8  1.55444
  9  24.0247
  10  4.28491e-05
  11  46.5082
  12  18.6356
  13  0.000252595
  14  19.1302
  15  0.000414451
  16  1.67517
  17  10.761
  18  1.4893e-05
  19  0.000217878
  20  2.67569
  21  2.82637e-07
  22  17.2283
  23  9.41745
  24  3.71627e-05
  25  12.3513
  26  5.24186e-05
  27  0.203743
  28  0.217364
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  4.158e+00  1.675e+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:  8.048e-01  2.174e-01  0.000e+00  1.000e+01 ( 1.000e+00)
643        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
644        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
641   Normalization:  1.114e+00  2.037e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 36.77
Ra Dec: 223.625 51.409
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 6.25e-08 +/- 2.52e-08
Energy Flux (Fixed Index): 4.47e-05 +/- 1.80e-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) = 6046.13706854
delta logL = 5.19969003057

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6046.12416704
delta logL = 5.21259152427

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.6416       1.0000         .10000E-03   10000.    
     2 'alpha     '    .93967       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1443       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79928       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=   6046.124     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      259 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.6416        1.3776        .62714E-02   -.99118E-03
   2  alpha         .93968        .24181        .18359       -.46908E-04
   3  Normalizat    1.1443        .16298        .36428E-01    .11384E-04
   4  Prefactor     .79928        .18479        .64400E-01    .27374E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.64159
  alpha      = 0.93968
  Normalizat = 1.14433
  Prefactor  = 0.799283
 **********
 **   18 **HESSE 
 **********

 FCN=   6046.124     FROM HESSE     STATUS=OK            31 CALLS      290 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.6416        1.7951        .54952E-04   -1.5383    
   2  alpha         .93968        .31627        .80477E-03   -.67401    
   3  Normalizat    1.1443        .19054        .21498E-03   -.88341    
   4  Prefactor     .79928        .21581        .28487E-03   -.99755    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.06959e-10
Minuit parameter uncertainties:
  1  1.79515
  2  0.317673
  3  0.190655
  4  0.216039
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/850811': 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) = 6046.12416704
delta logL = 5.2125915259

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  2.642e+00  1.795e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  9.397e-01  3.177e-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:  7.993e-01  2.160e-01  0.000e+00  1.000e+01 ( 1.000e+00)
643        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
644        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
641   Normalization:  1.144e+00  1.907e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 47.17
Ra Dec: 223.625 51.409
Photon Index (Free Index): 0.94 +/- 0.32
Photon Flux (Free Index): 2.09e-08 +/- 1.11e-08
Energy Flux (Free Index): 2.38e-04 +/- 1.54e-04

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/850811/cmap_HighResolution_400291201_400550401_4FGL_J1454.4+5124_daily_bin621.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.25e-08', energy_flux2='2.38e-04', photon_flux_error='2.52e-08', dlogl='5.21e+00', energy_flux='4.47e-05', photon_flux2='2.09e-08', job_status='DONE', time_completed='2021-09-10 13:06:01.622283', photon_index_error2='0.32', photon_index2='0.94', ts='36.77', fit_tolerance='1e-08', GAL='0.80', photon_index_error='0.00', energy_flux_error2='1.54e-04', EG='1.11', time_epoch_completed='1631304361.62', return_code='0', job_id='850811', GAL2='0.80', EG2='1.14', return_code2='0', energy_flux_error='1.80e-05', photon_flux_error2='1.11e-08', ts2='47.17', photon_index='1.97' WHERE bin_id='621' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 13:06:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0213>
Subject: Job 850811: <4FGL_J1454.4+5124_daily_bin621> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin621 223.625 51.409 400291201 400550401 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 :                                   727.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             287.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   900 sec.
    Turnaround time :                            903 sec.

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

