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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin894
RA = 223.625, Dec = 51.409
tmin = 471052801, tmax = 471312001
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='851197', job_status='RUN', time_executed='2021-09-10 12:53:31.318059', time_epoch_executed='1631303611.32' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='894'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/851197

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/851197/ft1_4FGL_J1454.4+5124_daily_bin894.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/851197/ft2_4FGL_J1454.4+5124_daily_bin894.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/851197/ft1_4FGL_J1454.4+5124_daily_bin894.fits outfile=/scratch/kocevski/851197/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin894.fits ra=223.625 dec=51.409 rad=12.0 tmin=471052801.0 tmax=471312001.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 4.07
user 3.78
sys 0.19

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/851197/ft1_filtered_4FGL_J1454.4+5124_daily_bin894.fits evtable="EVENTS" scfile=/scratch/kocevski/851197/ft2_4FGL_J1454.4+5124_daily_bin894.fits sctable="SC_DATA" expcube=/scratch/kocevski/851197/ltcube_471052801_471312001_4FGL_J1454.4+5124_daily_bin894.fits outfile=/scratch/kocevski/851197/expmap_471052801_471312001_4FGL_J1454.4+5124_daily_bin894.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/851197/ltcube_471052801_471312001_4FGL_J1454.4+5124_daily_bin894.fits
.....................!
real 189.35
user 185.02
sys 3.98

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/851197/ft1_filtered_4FGL_J1454.4+5124_daily_bin894.fits scfile=/scratch/kocevski/851197/ft2_4FGL_J1454.4+5124_daily_bin894.fits outfile=/scratch/kocevski/851197/cmap_471052801_471312001_4FGL_J1454.4+5124_daily_bin894.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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/851197/ft1_filtered_4FGL_J1454.4+5124_daily_bin894.fits scfile=/scratch/kocevski/851197/ft2_4FGL_J1454.4+5124_daily_bin894.fits outfile=/scratch/kocevski/851197/cmap_HighResolution_471052801_471312001_4FGL_J1454.4+5124_daily_bin894.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.53
user 0.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10345E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    1.8090       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .13125E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10149E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10774E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    31.357       1.0000         .10000E-03   10000.    
    11 'Prefactor '    10.823       1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.5389       1.0000         .10000E-03   10000.    
    13 'Prefactor '    41.370       1.0000         .10000E-03   10000.    
    14 'Prefactor '    25.700       1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.3961       1.0000         .10000E-03   10000.    
    16 'norm      '    3.7844       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.4121       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .34925       1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    2.9813       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10193E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    5.3981       1.0000         .10000E-03   10000.    
    25 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.2623       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .64342       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=   6035.856     FROM MIGRAD    STATUS=CONVERGED    687 CALLS     3508 TOTAL
                     EDM=   .98E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10001E-03    26.120       -.92910E-06** at limit **
   2  norm          1.8095        2.3276        .12351E-06    .16840E-03
   3  Prefactor     .10001E-03    156.13        .98047E-06** at limit **
   4  Prefactor     .10000E-03    58.568        .10177E-06** at limit **
   5  Prefactor     .10001E-03    63.145        .16553E-06** at limit **
   6  Prefactor     .10000E-03    4.8348        .31759E-06** at limit **
   7  Prefactor     .10000E-03    17.428        .11550E-06** at limit **
   8  Prefactor     .10000E-03    1.5858       -.24056E-06** at limit **
   9  Prefactor     .10000E-03    33.617        .66270E-06** at limit **
  10  Prefactor     31.388        26.452        .45040E-06    .92946E-04
  11  Prefactor     10.842        58.688        .16405E-06    .84862E-04
  12  Prefactor     5.5333        19.663        .18750E-06    .28692E-04
  13  Prefactor     41.393        34.288       -.26527E-06    .16185E-04
  14  Prefactor     25.700        19.900       -.98643E-06    .20350E-03
  15  Prefactor     1.4033        45.623        .19287E-04    .14502E-03
  16  norm          3.7841        1.8461       -.28607E-06    .17272E-03
  17  Prefactor     .10000E-03    4.7246       -.53801E-07** at limit **
  18  Prefactor     2.4095        5.6033        .47799E-05    .53816E-03
  19  Prefactor     .31756        5.8385       -.74642E-05    .66712E-03
  20  norm          .10000E-03    1.0941        .59724E-07** at limit **
  21  Prefactor     2.9805        5.2462       -.51397E-06   -.29457E-03
  22  Prefactor     .10000E-03    22.162        .19403E-06** at limit **
  23  Prefactor     .10000E-03    4.8162        .44301E-07** at limit **
  24  Prefactor     5.3978        5.0117        .32541E-07    .21224E-05
  25  norm          .10000E-03    2.5268       -.48334E-08** at limit **
  26  Prefactor     .10001E-03    36.803        .70619E-06** at limit **
  27  Normalizat    1.2625        .17024       -.17474E-06    .33419E-03
  28  Prefactor     .64338        .18268       -.11988E-05    .13002E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100008
  norm       = 1.80955
  Prefactor  = 0.000100009
  Prefactor  = 0.0001
  Prefactor  = 0.000100012
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 31.3878
  Prefactor  = 10.8422
  Prefactor  = 5.53328
  Prefactor  = 41.3926
  Prefactor  = 25.6996
  Prefactor  = 1.40329
  norm       = 3.78413
  Prefactor  = 0.0001
  Prefactor  = 2.40951
  Prefactor  = 0.317563
  norm       = 0.0001
  Prefactor  = 2.98053
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 5.39782
  norm       = 0.0001
  Prefactor  = 0.000100006
  Normalizat = 1.26246
  Prefactor  = 0.643376
 **********
 **   18 **HESSE 
 **********

 FCN=   6035.856     FROM HESSE     STATUS=OK           515 CALLS     4023 TOTAL
                     EDM=   .70E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10001E-03    26.294        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.8095        2.3137        .13051E-03   -1.5439    
   3  Prefactor     .10001E-03    156.32        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    59.161        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10001E-03    63.615        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    4.9974        .33353E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    17.550        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    1.6441        .19005E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    34.051        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     31.388        26.456        .71554E-04   -1.4587    
  11  Prefactor     10.842        58.362        .12178E-03   -1.5049    
  12  Prefactor     5.5333        19.691        .17071E-03   -1.5237    
  13  Prefactor     41.393        34.286        .31162E-03   -1.4420    
  14  Prefactor     25.700        19.811        .79020E-04   -1.4694    
  15  Prefactor     1.4033        45.029        .18374E-02   -1.5471    
  16  norm          3.7841        1.8416        .69529E-04   -1.5319    
  17  Prefactor     .10000E-03    4.7570        .16479E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     2.4095        5.5155        .12783E-02   -1.5398    
  19  Prefactor     .31756        27.109        .27166E-02   -1.5595    
  20  norm          .10000E-03    1.0988        .79312E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     2.9805        5.2316        .22853E-03   -1.5363    
  22  Prefactor     .10000E-03    22.412        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    4.8307        .16644E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     5.3978        5.0163        .16301E-03   -1.5243    
  25  norm          .10000E-03    2.5309        .12059E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10001E-03    36.937        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    1.2625        .19958        .20072E-03   -.84694    
  28  Prefactor     .64338        .21140        .30305E-03   -1.0579    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.01328e-09
Minuit parameter uncertainties:
  1  0.000904185
  2  2.31385
  3  0.00235414
  4  0.000333651
  5  0.00177249
  6  5.7449e-05
  7  0.000135003
  8  2.06752e-05
  9  2.09503e-05
  10  26.466
  11  50.386
  12  19.7141
  13  34.3018
  14  19.8163
  15  15.9108
  16  1.84166
  17  1.41516e-05
  18  5.51669
  19  5.86999
  20  4.37331e-06
  21  5.2324
  22  0.000450381
  23  2.23338e-06
  24  5.01671
  25  2.13088e-06
  26  0.000920074
  27  0.199702
  28  0.211663
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  3.784e+00  1.842e+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:  6.434e-01  2.117e-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.262e+00  1.997e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 11.37
Ra Dec: 223.625 51.409
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 5.69e-08 +/- 2.77e-08
Energy Flux (Fixed Index): 4.07e-05 +/- 1.98e-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) = 6035.85214662
delta logL = 0.00399046008351

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6035.85101528
delta logL = 0.00512179726502

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.6985       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0110       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2597       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .64512       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=   6035.851     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      195 TOTAL
                     EDM=   .47E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.6985        32.590        .52499E-02    .11728E-02
   2  alpha         2.0110        3.4746        .25539        .41006E-04
   3  Normalizat    1.2597        .10589        .33569E-01   -.74702E-07
   4  Prefactor     .64513        .78165E-01    .68391E-01    .26300E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.69853
  alpha      = 2.01104
  Normalizat = 1.25967
  Prefactor  = 0.645125
 **********
 **   18 **HESSE 
 **********

 FCN=   6035.851     FROM HESSE     STATUS=OK            33 CALLS      228 TOTAL
                     EDM=   .67E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.6985        2.0103        .68189E-04   -1.5323    
   2  alpha         2.0110        .42978        .94509E-02   -.19685    
   3  Normalizat    1.2597        .18883        .20089E-03   -.84778    
   4  Prefactor     .64513        .20924        .30266E-03   -1.0572    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.66575e-10
Minuit parameter uncertainties:
  1  2.01035
  2  0.432016
  3  0.188937
  4  0.209498
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/851197': 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) = 6035.85101526
delta logL = 0.00512181464637

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  3.699e+00  2.010e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  2.011e+00  4.320e-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:  6.451e-01  2.095e-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.260e+00  1.889e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.39
Ra Dec: 223.625 51.409
Photon Index (Free Index): 2.01 +/- 0.43
Photon Flux (Free Index): 5.94e-08 +/- 3.70e-08
Energy Flux (Free Index): 3.88e-05 +/- 2.61e-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/851197/cmap_HighResolution_471052801_471312001_4FGL_J1454.4+5124_daily_bin894.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.69e-08', energy_flux2='3.88e-05', photon_flux_error='2.77e-08', dlogl='5.12e-03', energy_flux='4.07e-05', photon_flux2='5.94e-08', job_status='DONE', time_completed='2021-09-10 13:05:41.803594', photon_index_error2='0.43', photon_index2='2.01', ts='11.37', fit_tolerance='1e-08', GAL='0.64', photon_index_error='0.00', energy_flux_error2='2.61e-05', EG='1.26', time_epoch_completed='1631304341.8', return_code='0', job_id='851197', GAL2='0.65', EG2='1.26', return_code2='0', energy_flux_error='1.98e-05', photon_flux_error2='3.70e-08', ts2='11.39', photon_index='1.97' WHERE bin_id='894' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 13:05:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0148>
Subject: Job 851197: <4FGL_J1454.4+5124_daily_bin894> in cluster <slac> Done

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

Your job looked like:

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

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

