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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin758
RA = 223.625, Dec = 51.409
tmin = 435801601, tmax = 436060801
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='850998', job_status='RUN', time_executed='2021-09-10 12:54:33.257817', time_epoch_executed='1631303673.26' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='758'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/850998

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/850998/ft1_4FGL_J1454.4+5124_daily_bin758.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/850998/ft2_4FGL_J1454.4+5124_daily_bin758.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/850998/ft1_4FGL_J1454.4+5124_daily_bin758.fits outfile=/scratch/kocevski/850998/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin758.fits ra=223.625 dec=51.409 rad=12.0 tmin=435801601.0 tmax=436060801.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 5.63
user 5.32
sys 0.27

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/850998/ft1_filtered_4FGL_J1454.4+5124_daily_bin758.fits" evtable="EVENTS" scfile=/scratch/kocevski/850998/ft2_4FGL_J1454.4+5124_daily_bin758.fits sctable="SC_DATA" outfile=/scratch/kocevski/850998/ltcube_435801601_436060801_4FGL_J1454.4+5124_daily_bin758.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/850998/ft2_4FGL_J1454.4+5124_daily_bin758.fits
.....................!
real 12.45
user 12.01
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/850998/ft1_filtered_4FGL_J1454.4+5124_daily_bin758.fits evtable="EVENTS" scfile=/scratch/kocevski/850998/ft2_4FGL_J1454.4+5124_daily_bin758.fits sctable="SC_DATA" expcube=/scratch/kocevski/850998/ltcube_435801601_436060801_4FGL_J1454.4+5124_daily_bin758.fits outfile=/scratch/kocevski/850998/expmap_435801601_436060801_4FGL_J1454.4+5124_daily_bin758.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/850998/ltcube_435801601_436060801_4FGL_J1454.4+5124_daily_bin758.fits
.....................!
real 189.84
user 185.01
sys 4.47

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/850998/ft1_filtered_4FGL_J1454.4+5124_daily_bin758.fits scfile=/scratch/kocevski/850998/ft2_4FGL_J1454.4+5124_daily_bin758.fits outfile=/scratch/kocevski/850998/cmap_435801601_436060801_4FGL_J1454.4+5124_daily_bin758.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.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/850998/ft1_filtered_4FGL_J1454.4+5124_daily_bin758.fits scfile=/scratch/kocevski/850998/ft2_4FGL_J1454.4+5124_daily_bin758.fits outfile=/scratch/kocevski/850998/cmap_HighResolution_435801601_436060801_4FGL_J1454.4+5124_daily_bin758.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/850998/ft1_filtered_4FGL_J1454.4+5124_daily_bin758.fits evtable="EVENTS" scfile=/scratch/kocevski/850998/ft2_4FGL_J1454.4+5124_daily_bin758.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/850998/Model_4FGL_J1454.4+5124_daily_bin758.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/850998/ft1_filtered_4FGL_J1454.4+5124_daily_bin758.fits.....................!
real 42.12
user 40.66
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    6.1484       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.1801       1.0000         .10000E-03   10000.    
     7 'Prefactor '    33.367       1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.6751       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    30.143       1.0000         .10000E-03   10000.    
    13 'Prefactor '    15.038       1.0000         .10000E-03   10000.    
    14 'Prefactor '    47.163       1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.0554       1.0000         .10000E-03   10000.    
    16 'norm      '    1.3553       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .11062E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    5.4912       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .47672E-01   1.0000         .10000E-03   10000.    
    22 'Prefactor '    13.048       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10867E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    3.3317       1.0000         .10000E-03   10000.    
    26 'Prefactor '    58.976       1.0000         .10000E-03   10000.    
    27 'Normalizat'    .67366       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.0968       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=   4687.091     FROM MIGRAD    STATUS=CONVERGED    749 CALLS     3571 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    54.049        .17340E-05** at limit **
   2  norm          6.1479        6.9085        .22949E-06   -.45543E-04
   3  Prefactor     .10000E-03    178.82       -.16411E-05** at limit **
   4  Prefactor     .10000E-03    20.080       -.65820E-07** at limit **
   5  Prefactor     .10000E-03    38.261       -.10280E-04** at limit **
   6  Prefactor     2.1810        4.6789       -.65779E-07   -.82237E-04
   7  Prefactor     33.365        28.919        .49421E-06    .25745E-04
   8  Prefactor     3.6762        3.3674       -.13039E-06   -.23287E-03
   9  Prefactor     .10000E-03    10.507       -.20037E-07** at limit **
  10  Prefactor     .10000E-03    36.798        .99058E-05** at limit **
  11  Prefactor     .10000E-03    83.176        .20225E-06** at limit **
  12  Prefactor     30.143        29.555       -.10344E-06   -.15010E-04
  13  Prefactor     15.038        22.554        .32769E-06    .65499E-05
  14  Prefactor     47.168        23.820        .11856E-05    .85836E-04
  15  Prefactor     3.0440        17.143        .19118E-05   -.51817E-03
  16  norm          1.3562        1.7126       -.22497E-06   -.20559E-03
  17  Prefactor     .10000E-03    8.3166        .23065E-07** at limit **
  18  Prefactor     .10000E-03    2.1558       -.35672E-07** at limit **
  19  Prefactor     .10000E-03    7.3199       -.53900E-06** at limit **
  20  norm          5.5024        4.3956        .42995E-06   -.16732E-02
  21  Prefactor     .10596E-03    8.1032        .10551E-05** at limit **
  22  Prefactor     13.069        18.615       -.55106E-05   -.42292E-03
  23  Prefactor     .10000E-03    24.879        .97891E-06** at limit **
  24  Prefactor     .10000E-03    8.9346       -.26096E-06** at limit **
  25  norm          3.3312        5.6354        .90944E-06   -.13659E-02
  26  Prefactor     58.971        61.426       -.46886E-08   -.12059E-05
  27  Normalizat    .67360        .19456        .23061E-06   -.12606E-03
  28  Prefactor     1.0970        .20765       -.49169E-07   -.12344E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 6.14788
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 2.18101
  Prefactor  = 33.3648
  Prefactor  = 3.67615
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 30.1432
  Prefactor  = 15.038
  Prefactor  = 47.1682
  Prefactor  = 3.04396
  norm       = 1.35616
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  norm       = 5.50241
  Prefactor  = 0.000105963
  Prefactor  = 13.0687
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 3.33117
  Prefactor  = 58.9715
  Normalizat = 0.673597
  Prefactor  = 1.097
 **********
 **   18 **HESSE 
 **********

 FCN=   4687.091     FROM HESSE     STATUS=OK           525 CALLS     4096 TOTAL
                     EDM=   .78E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    54.049        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          6.1479        6.8963        .16191E-03   -1.5212    
   3  Prefactor     .10000E-03    178.82        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    20.083        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    38.139        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.1810        4.6522        .20897E-03   -1.5413    
   7  Prefactor     33.365        28.938        .69371E-04   -1.4552    
   8  Prefactor     3.6762        3.3573        .11286E-03   -1.5324    
   9  Prefactor     .10000E-03    10.514        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    36.626        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    83.386        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     30.143        29.553        .72976E-04   -1.4609    
  13  Prefactor     15.038        22.548        .10329E-03   -1.4932    
  14  Prefactor     47.168        23.906        .58386E-04   -1.4333    
  15  Prefactor     3.0440        24.736        .11605E-02   -1.5359    
  16  norm          1.3562        1.6879        .91644E-04   -1.5475    
  17  Prefactor     .10000E-03    8.3686        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    2.1614        .98153E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    27.546        .35075E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          5.5024        4.7709        .55474E-03   -1.5239    
  21  Prefactor     .10596E-03    28.481        .48163E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     13.069        19.764        .11089E-03   -1.4985    
  23  Prefactor     .10000E-03    25.298        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    9.1368        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          3.3312        6.9135        .11088E-02   -1.5343    
  26  Prefactor     58.971        61.434        .52243E-04   -1.4171    
  27  Normalizat    .67360        .22266        .26245E-03   -1.0494    
  28  Prefactor     1.0970        .24080        .23392E-03   -.89562    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.801e-09
Minuit parameter uncertainties:
  1  0.000104409
  2  6.89715
  3  0.000193598
  4  5.88477e-06
  5  0.000567595
  6  4.65298
  7  28.9503
  8  3.35743
  9  3.96178e-06
  10  0.000472785
  11  0.000166959
  12  29.5677
  13  22.5606
  14  23.9105
  15  17.3642
  16  1.68797
  17  2.82255e-06
  18  1.99154e-06
  19  0.000521824
  20  4.77126
  21  0.0260772
  22  19.7742
  23  0.000388634
  24  1.38906e-05
  25  6.9152
  26  61.4999
  27  0.222956
  28  0.241043
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  1.356e+00  1.688e+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.097e+00  2.410e-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:  6.736e-01  2.230e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.17
Ra Dec: 223.625 51.409
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 2.04e-08 +/- 2.54e-08
Energy Flux (Fixed Index): 1.46e-05 +/- 1.82e-05

TS (Fixed Index): 1.17
Ra Dec: 223.625 51.409
Photon Flux Upper Limit: 8.15e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.83e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/850998/likelihoodResults_435801601_436060801_4FGL_J1454.4+5124_daily_bin758.txt

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) = 4686.76256583
delta logL = 0.328803187901

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4686.75701281
delta logL = 0.334356201109

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .92977       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6790       1.0000          .0000       5.0000    
     3 'Normalizat'    .64600       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1117       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=   4686.757     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      239 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .92752        15.743        .12540E-01    .92967E-03
   2  alpha         2.6797        3.8373        .22768        .72584E-04
   3  Normalizat    .64537        .47341E-01    .60514E-01    .12342E-03
   4  Prefactor     1.1125        .50953E-01    .37157E-01   -.74099E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.927517
  alpha      = 2.67975
  Normalizat = 0.645372
  Prefactor  = 1.11253
 **********
 **   18 **HESSE 
 **********

 FCN=   4686.757     FROM HESSE     STATUS=OK            35 CALLS      274 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .92752        1.9693        .57212E-03   -1.5515    
   2  alpha         2.6797        1.2213        .11368E-01    .71962E-01
   3  Normalizat    .64537        .21943        .26770E-03   -1.0609    
   4  Prefactor     1.1125        .24234        .23229E-03   -.89067    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.08415e-10
Minuit parameter uncertainties:
  1  1.96939
  2  1.27629
  3  0.219729
  4  0.242578
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/850998': 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) = 4686.7570058
delta logL = 0.334363210995

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  9.275e-01  1.969e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  2.680e+00  1.276e+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:  1.113e+00  2.426e-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:  6.454e-01  2.197e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.84
Ra Dec: 223.625 51.409
Photon Index (Free Index): 2.68 +/- 1.28
Photon Flux (Free Index): 4.95e-08 +/- 5.24e-08
Energy Flux (Free Index): 1.31e-05 +/- 1.29e-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/850998/cmap_HighResolution_435801601_436060801_4FGL_J1454.4+5124_daily_bin758.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.83e-05', comment='SUCCESS', photon_flux='2.04e-08', energy_flux2='1.31e-05', photon_flux_error='2.54e-08', dlogl='3.34e-01', energy_flux='1.46e-05', photon_flux2='4.95e-08', job_status='DONE', time_completed='2021-09-10 13:06:17.714447', photon_index_error2='1.28', photon_index2='2.68', ts='1.17', fit_tolerance='1e-08', GAL='1.10', photon_index_error='0.00', photon_flux_upper_limit='8.15e-08', energy_flux_error2='1.29e-05', EG='0.67', time_epoch_completed='1631304377.71', return_code='0', job_id='850998', GAL2='1.11', EG2='0.65', return_code2='0', energy_flux_error='1.82e-05', photon_flux_error2='5.24e-08', ts2='1.84', photon_index='1.97' WHERE bin_id='758' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 13:06:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0066>
Subject: Job 850998: <4FGL_J1454.4+5124_daily_bin758> in cluster <slac> Done

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

Your job looked like:

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

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

