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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin883
RA = 223.625, Dec = 51.409
tmin = 468201601, tmax = 468460801
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='851181', job_status='RUN', time_executed='2021-09-10 12:54:19.896023', time_epoch_executed='1631303659.9' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='883'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/851181

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/851181/ft1_4FGL_J1454.4+5124_daily_bin883.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/851181/ft2_4FGL_J1454.4+5124_daily_bin883.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/851181/ft1_4FGL_J1454.4+5124_daily_bin883.fits outfile=/scratch/kocevski/851181/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin883.fits ra=223.625 dec=51.409 rad=12.0 tmin=468201601.0 tmax=468460801.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.44
user 3.21
sys 0.21

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/851181/ft1_filtered_4FGL_J1454.4+5124_daily_bin883.fits evtable="EVENTS" scfile=/scratch/kocevski/851181/ft2_4FGL_J1454.4+5124_daily_bin883.fits sctable="SC_DATA" expcube=/scratch/kocevski/851181/ltcube_468201601_468460801_4FGL_J1454.4+5124_daily_bin883.fits outfile=/scratch/kocevski/851181/expmap_468201601_468460801_4FGL_J1454.4+5124_daily_bin883.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/851181/ltcube_468201601_468460801_4FGL_J1454.4+5124_daily_bin883.fits
.....................!
real 190.10
user 185.52
sys 4.22

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/851181/ft1_filtered_4FGL_J1454.4+5124_daily_bin883.fits scfile=/scratch/kocevski/851181/ft2_4FGL_J1454.4+5124_daily_bin883.fits outfile=/scratch/kocevski/851181/cmap_468201601_468460801_4FGL_J1454.4+5124_daily_bin883.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.53
user 0.39
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/851181/ft1_filtered_4FGL_J1454.4+5124_daily_bin883.fits scfile=/scratch/kocevski/851181/ft2_4FGL_J1454.4+5124_daily_bin883.fits outfile=/scratch/kocevski/851181/cmap_HighResolution_468201601_468460801_4FGL_J1454.4+5124_daily_bin883.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.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    2.3001       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    42.930       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.3303       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10347E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.5240       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    9.5094       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    1.5329       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.4677       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .17728E-02   1.0000         .10000E-03   10000.    
    20 'norm      '    .14019E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10194E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10883E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    14.242       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .98719       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .56672E-01   1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.1044       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .92300       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=   6508.586     FROM MIGRAD    STATUS=CONVERGED    733 CALLS     3022 TOTAL
                     EDM=   .76E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    24.548       -.67378E-06** at limit **
   2  norm          2.2999        2.4685       -.21097E-07   -.37693E-04
   3  Prefactor     .10000E-03    139.05        .12224E-05** at limit **
   4  Prefactor     42.910        36.883       -.32324E-06   -.48059E-04
   5  Prefactor     .10000E-03    7.7257       -.73428E-06** at limit **
   6  Prefactor     2.3306        3.3957        .16038E-06    .28665E-04
   7  Prefactor     .10000E-03    38.461       -.51398E-06** at limit **
   8  Prefactor     1.5253        2.3361        .41573E-06    .11029E-03
   9  Prefactor     .10000E-03    11.745        .24421E-06** at limit **
  10  Prefactor     .10000E-03    5.3784        .23161E-07** at limit **
  11  Prefactor     9.5065        20.285        .42454E-08   -.20977E-04
  12  Prefactor     .10000E-03    6.1644       -.32057E-06** at limit **
  13  Prefactor     .10000E-03    10.272       -.43351E-06** at limit **
  14  Prefactor     .10000E-03    3.8359       -.35357E-08** at limit **
  15  Prefactor     .10000E-03    8.2990        .75556E-06** at limit **
  16  norm          1.5326        1.1594        .20546E-07   -.74464E-04
  17  Prefactor     .10000E-03    2.4626        .38858E-08** at limit **
  18  Prefactor     4.4662        6.6096        .56470E-06   -.46795E-04
  19  Prefactor     .10005E-03    6.0353        .11157E-05** at limit **
  20  norm          .10001E-03    3.0215        .13539E-05** at limit **
  21  Prefactor     .10000E-03    4.2164       -.12889E-06** at limit **
  22  Prefactor     .10000E-03    27.321        .34563E-06** at limit **
  23  Prefactor     14.257        12.968        .51785E-06   -.23087E-03
  24  Prefactor     .10000E-03    4.9219       -.51258E-06** at limit **
  25  norm          .98685        6.4892        .39855E-05    .17311E-03
  26  Prefactor     .10012E-03    29.820       -.12460E-05** at limit **
  27  Normalizat    1.1044        .16425       -.38720E-06   -.32264E-03
  28  Prefactor     .92305        .18364       -.15241E-06   -.24869E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100001
  norm       = 2.29987
  Prefactor  = 0.000100004
  Prefactor  = 42.9099
  Prefactor  = 0.000100001
  Prefactor  = 2.33056
  Prefactor  = 0.000100001
  Prefactor  = 1.52528
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.50655
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 1.53264
  Prefactor  = 0.0001
  Prefactor  = 4.46621
  Prefactor  = 0.000100053
  norm       = 0.000100009
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 14.2575
  Prefactor  = 0.0001
  norm       = 0.986855
  Prefactor  = 0.000100125
  Normalizat = 1.10442
  Prefactor  = 0.92305
 **********
 **   18 **HESSE 
 **********

 FCN=   6508.586     FROM HESSE     STATUS=OK           519 CALLS     3541 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    24.608        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.2999        2.4666        .12699E-03   -1.5405    
   3  Prefactor     .10000E-03    139.25        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     42.910        36.800        .61185E-04   -1.4397    
   5  Prefactor     .10000E-03    7.7964        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.3306        3.3813        .17416E-03   -1.5403    
   7  Prefactor     .10000E-03    39.174        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.5253        2.3176        .14275E-03   -1.5461    
   9  Prefactor     .10000E-03    11.788        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    5.3803        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     9.5065        20.279        .12996E-03   -1.5091    
  12  Prefactor     .10000E-03    6.1804        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    10.301        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    3.8404        .15431E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    8.3941        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.5326        1.1640        .73168E-04   -1.5460    
  17  Prefactor     .10000E-03    2.4654        .12362E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     4.4662        6.5879        .19050E-03   -1.5285    
  19  Prefactor     .10005E-03    34.814        .35763E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10001E-03    6.4662        .23102E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    4.2282        .16150E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    27.510        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     14.257        12.691        .10614E-03   -1.4953    
  24  Prefactor     .10000E-03    5.0524        .17567E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .98685        6.9183        .41184E-03   -1.5509    
  26  Prefactor     .10012E-03    242.02        .84712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    1.1044        .19046        .21669E-03   -.89610    
  28  Prefactor     .92305        .21495        .26864E-03   -.95340    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.00295e-09
Minuit parameter uncertainties:
  1  0.000334601
  2  2.46673
  3  0.00144267
  4  36.8193
  5  0.000203464
  6  3.38154
  7  0.000280929
  8  2.31769
  9  8.21587e-05
  10  7.92953e-06
  11  20.2937
  12  7.98799e-05
  13  0.000140489
  14  9.58909e-07
  15  0.000215335
  16  1.16405
  17  1.79206e-06
  18  6.589
  19  0.00272661
  20  0.000469608
  21  2.11065e-05
  22  0.000290986
  23  12.6935
  24  6.84484e-05
  25  5.22644
  26  0.0110394
  27  0.190583
  28  0.215153
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  1.533e+00  1.164e+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:  9.231e-01  2.152e-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.104e+00  1.906e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 9.99
Ra Dec: 223.625 51.409
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 2.30e-08 +/- 1.75e-08
Energy Flux (Fixed Index): 1.65e-05 +/- 1.25e-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) = 6507.76905061
delta logL = 0.817376589865

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6507.62287607
delta logL = 0.96355113273

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .60230       1.0000         .10000E-03   10000.    
     2 'alpha     '    .91127       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1094       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93222       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=   6507.623     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      208 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .60132        .60612        .11682E-01   -.51092E-03
   2  alpha         .91049        .45353        .37773       -.33667E-04
   3  Normalizat    1.1095        .15901        .37631E-01    .76969E-05
   4  Prefactor     .93212        .18304        .45414E-01    .12994E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.601317
  alpha      = 0.910487
  Normalizat = 1.10946
  Prefactor  = 0.932117
 **********
 **   18 **HESSE 
 **********

 FCN=   6507.623     FROM HESSE     STATUS=OK            33 CALLS      241 TOTAL
                     EDM=   .29E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .60132        1.4754        .53795E-03   -1.5553    
   2  alpha         .91049        .98362        .16333E-02   -.68905    
   3  Normalizat    1.1095        .18681        .21636E-03   -.89449    
   4  Prefactor     .93212        .21532        .26776E-03   -.95028    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.87168e-12
Minuit parameter uncertainties:
  1  1.47545
  2  1.03214
  3  0.186924
  4  0.215519
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/851181': 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) = 6507.62287559
delta logL = 0.963551607484

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  6.013e-01  1.475e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  9.105e-01  1.032e+00  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:  9.321e-01  2.155e-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.109e+00  1.869e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.91
Ra Dec: 223.625 51.409
Photon Index (Free Index): 0.91 +/- 1.03
Photon Flux (Free Index): 4.87e-09 +/- 8.34e-09
Energy Flux (Free Index): 5.93e-05 +/- 8.08e-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/851181/cmap_HighResolution_468201601_468460801_4FGL_J1454.4+5124_daily_bin883.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.30e-08', energy_flux2='5.93e-05', photon_flux_error='1.75e-08', dlogl='9.64e-01', energy_flux='1.65e-05', photon_flux2='4.87e-09', job_status='DONE', time_completed='2021-09-10 13:06:07.691465', photon_index_error2='1.03', photon_index2='0.91', ts='9.99', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', energy_flux_error2='8.08e-05', EG='1.10', time_epoch_completed='1631304367.69', return_code='0', job_id='851181', GAL2='0.93', EG2='1.11', return_code2='0', energy_flux_error='1.25e-05', photon_flux_error2='8.34e-09', ts2='11.91', photon_index='1.97' WHERE bin_id='883' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 13:06:07 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0249>
Subject: Job 851181: <4FGL_J1454.4+5124_daily_bin883> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin883 223.625 51.409 468201601 468460801 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 :                                   708.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             277.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   881 sec.
    Turnaround time :                            883 sec.

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

