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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin570
RA = 223.625, Dec = 51.409
tmin = 387072001, tmax = 387331201
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='849687', job_status='RUN', time_executed='2021-09-10 12:46:47.272449', time_epoch_executed='1631303207.27' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='570'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/849687

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/849687/ft1_4FGL_J1454.4+5124_daily_bin570.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/849687/ft2_4FGL_J1454.4+5124_daily_bin570.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/849687/ft1_4FGL_J1454.4+5124_daily_bin570.fits outfile=/scratch/kocevski/849687/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin570.fits ra=223.625 dec=51.409 rad=12.0 tmin=387072001.0 tmax=387331201.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.40
user 3.20
sys 0.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/849687/ft2_4FGL_J1454.4+5124_daily_bin570.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/849687/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin570.fits evtable="EVENTS" outfile="/scratch/kocevski/849687/ft1_filtered_4FGL_J1454.4+5124_daily_bin570.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/849687/ft1_filtered_4FGL_J1454.4+5124_daily_bin570.fits" evtable="EVENTS" scfile=/scratch/kocevski/849687/ft2_4FGL_J1454.4+5124_daily_bin570.fits sctable="SC_DATA" outfile=/scratch/kocevski/849687/ltcube_387072001_387331201_4FGL_J1454.4+5124_daily_bin570.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/849687/ft2_4FGL_J1454.4+5124_daily_bin570.fits
.....................!
real 13.34
user 12.98
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/849687/ft1_filtered_4FGL_J1454.4+5124_daily_bin570.fits evtable="EVENTS" scfile=/scratch/kocevski/849687/ft2_4FGL_J1454.4+5124_daily_bin570.fits sctable="SC_DATA" expcube=/scratch/kocevski/849687/ltcube_387072001_387331201_4FGL_J1454.4+5124_daily_bin570.fits outfile=/scratch/kocevski/849687/expmap_387072001_387331201_4FGL_J1454.4+5124_daily_bin570.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/849687/ltcube_387072001_387331201_4FGL_J1454.4+5124_daily_bin570.fits
.....................!
real 191.67
user 187.18
sys 4.14

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/849687/ft1_filtered_4FGL_J1454.4+5124_daily_bin570.fits scfile=/scratch/kocevski/849687/ft2_4FGL_J1454.4+5124_daily_bin570.fits outfile=/scratch/kocevski/849687/cmap_387072001_387331201_4FGL_J1454.4+5124_daily_bin570.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.52
user 0.39
sys 0.12

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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.7985       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    17.110       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.5396       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10293E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    15.772       1.0000         .10000E-03   10000.    
    11 'Prefactor '    19.898       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.5606       1.0000         .10000E-03   10000.    
    14 'Prefactor '    20.196       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10142E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    1.3632       1.0000         .10000E-03   10000.    
    17 'Prefactor '    8.0103       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.5378       1.0000         .10000E-03   10000.    
    20 'norm      '    1.2366       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    21.792       1.0000         .10000E-03   10000.    
    23 'Prefactor '    9.6678       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10087E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    50.668       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    .74468       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.1101       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=   5049.656     FROM MIGRAD    STATUS=CONVERGED    685 CALLS     3515 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    33.367        .45359E-06** at limit **
   2  norm          2.7984        3.7846        .10552E-06    .13461E-04
   3  Prefactor     .10001E-03    158.82        .77944E-05** at limit **
   4  Prefactor     .10000E-03    32.437        .70395E-06** at limit **
   5  Prefactor     .10000E-03    16.817        .15020E-06** at limit **
   6  Prefactor     .10000E-03    1.1853        .14024E-08** at limit **
   7  Prefactor     17.109        19.200        .18105E-06    .88519E-05
   8  Prefactor     2.5389        2.5126        .21875E-06    .19351E-03
   9  Prefactor     .10000E-03    9.8069       -.21489E-07** at limit **
  10  Prefactor     15.774        29.299       -.11840E-05   -.43168E-04
  11  Prefactor     19.903        73.726       -.16128E-05   -.17971E-04
  12  Prefactor     .10000E-03    13.121       -.77523E-07** at limit **
  13  Prefactor     2.4431        62.648       -.75451E-05   -.67728E-04
  14  Prefactor     20.187        23.351        .12523E-06   -.17737E-04
  15  Prefactor     .10000E-03    9.7177        .43984E-06** at limit **
  16  norm          1.3636        1.5026        .39687E-07    .14896E-04
  17  Prefactor     8.0136        15.020       -.14151E-05    .62340E-04
  18  Prefactor     .10000E-03    2.3091       -.25974E-07** at limit **
  19  Prefactor     3.5342        8.9266        .42761E-05   -.17804E-03
  20  norm          1.2380        4.4797        .22028E-06   -.62694E-04
  21  Prefactor     .10000E-03    6.7308       -.65664E-07** at limit **
  22  Prefactor     21.789        25.706        .19270E-06    .30674E-04
  23  Prefactor     9.6755        19.649        .11372E-06    .27247E-04
  24  Prefactor     .10000E-03    5.4857       -.81865E-07** at limit **
  25  norm          50.672        14.942        .86056E-09    .41352E-04
  26  Prefactor     .10000E-03    28.109       -.89767E-06** at limit **
  27  Normalizat    .74468        .18425       -.41047E-06    .78593E-04
  28  Prefactor     1.1101        .19753        .17568E-06    .23444E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 2.79844
  Prefactor  = 0.000100007
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.1092
  Prefactor  = 2.53893
  Prefactor  = 0.0001
  Prefactor  = 15.7738
  Prefactor  = 19.9029
  Prefactor  = 0.0001
  Prefactor  = 2.4431
  Prefactor  = 20.1873
  Prefactor  = 0.0001
  norm       = 1.36361
  Prefactor  = 8.01357
  Prefactor  = 0.0001
  Prefactor  = 3.53421
  norm       = 1.23797
  Prefactor  = 0.0001
  Prefactor  = 21.7887
  Prefactor  = 9.67551
  Prefactor  = 0.0001
  norm       = 50.6722
  Prefactor  = 0.0001
  Normalizat = 0.744682
  Prefactor  = 1.11012
 **********
 **   18 **HESSE 
 **********

 FCN=   5049.656     FROM HESSE     STATUS=OK           521 CALLS     4036 TOTAL
                     EDM=   .35E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    33.372        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.7984        3.7710        .15317E-03   -1.5373    
   3  Prefactor     .10001E-03    159.73        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    32.496        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    16.835        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    1.1857        .75546E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     17.109        19.308        .96827E-04   -1.4880    
   8  Prefactor     2.5389        2.5034        .99369E-04   -1.5389    
   9  Prefactor     .10000E-03    9.7939        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     15.774        29.151        .10085E-03   -1.4913    
  11  Prefactor     19.903        73.531        .89790E-04   -1.4815    
  12  Prefactor     .10000E-03    13.151        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     2.4431        63.437        .25512E-03   -1.5395    
  14  Prefactor     20.187        23.242        .89126E-04   -1.4809    
  15  Prefactor     .10000E-03    9.7441        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.3636        1.4788        .87411E-04   -1.5474    
  17  Prefactor     8.0136        15.109        .14166E-03   -1.5142    
  18  Prefactor     .10000E-03    2.3159        .10544E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     3.5342        9.0292        .10745E-02   -1.5332    
  20  norm          1.2380        4.3566        .25436E-03   -1.5485    
  21  Prefactor     .10000E-03    6.7464        .17956E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     21.789        25.581        .85803E-04   -1.4774    
  23  Prefactor     9.6755        19.320        .12888E-03   -1.5086    
  24  Prefactor     .10000E-03    5.5043        .16238E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          50.672        14.938        .56340E-04   -1.4283    
  26  Prefactor     .10000E-03    28.132        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .74468        .21808        .24960E-03   -1.0215    
  28  Prefactor     1.1101        .23345        .24137E-03   -.89144    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.49304e-10
Minuit parameter uncertainties:
  1  5.44347e-05
  2  3.77127
  3  0.00210629
  4  9.68831e-05
  5  2.03157e-05
  6  9.6836e-08
  7  19.315
  8  2.50353
  9  4.043e-05
  10  29.1775
  11  73.8691
  12  1.24772e-05
  13  24.9273
  14  23.2525
  15  2.71016e-05
  16  1.4788
  17  15.1166
  18  2.01574e-06
  19  9.03263
  20  4.35771
  21  9.99711e-06
  22  25.594
  23  19.3323
  24  1.01911e-05
  25  14.9393
  26  0.000105807
  27  0.218334
  28  0.233663
Done.

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

Extracting fit parameters...

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

EG_v02
   Spectrum: FileFunction
641   Normalization:  7.447e-01  2.183e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.45
Ra Dec: 223.625 51.409
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 2.05e-08 +/- 2.22e-08
Energy Flux (Fixed Index): 1.47e-05 +/- 1.59e-05

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

Saving results to:
/scratch/kocevski/849687/likelihoodResults_387072001_387331201_4FGL_J1454.4+5124_daily_bin570.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) = 5049.40440324
delta logL = 0.251134556624

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5049.40155558
delta logL = 0.253982224297

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .95156       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5785       1.0000          .0000       5.0000    
     3 'Normalizat'    .72570       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1192       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=   5049.402     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      241 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .95285        16.096        .12993E-01    .58324E-03
   2  alpha         2.5776        3.7874        .24151        .58465E-04
   3  Normalizat    .72563        .47570E-01    .42633E-01    .49957E-05
   4  Prefactor     1.1192        .51479E-01    .54364E-01   -.26542E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.952845
  alpha      = 2.5776
  Normalizat = 0.725632
  Prefactor  = 1.11924
 **********
 **   18 **HESSE 
 **********

 FCN=   5049.402     FROM HESSE     STATUS=OK            35 CALLS      276 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .95285        1.7784        .59915E-03   -1.5513    
   2  alpha         2.5776        1.1446        .12288E-01    .31044E-01
   3  Normalizat    .72563        .19972        .25242E-03   -1.0289    
   4  Prefactor     1.1192        .22935        .24036E-03   -.88854    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.49075e-09
Minuit parameter uncertainties:
  1  1.77849
  2  1.1889
  3  0.199925
  4  0.229556
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/849687': 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) = 5049.40155487
delta logL = 0.253982933561

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  9.528e-01  1.778e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  2.578e+00  1.189e+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.119e+00  2.296e-01  0.000e+00  1.000e+01 ( 1.000e+00)
643        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
644        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
641   Normalization:  7.256e-01  1.999e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.96
Ra Dec: 223.625 51.409
Photon Index (Free Index): 2.58 +/- 1.19
Photon Flux (Free Index): 4.17e-08 +/- 4.49e-08
Energy Flux (Free Index): 1.20e-05 +/- 1.19e-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/849687/cmap_HighResolution_387072001_387331201_4FGL_J1454.4+5124_daily_bin570.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.44e-05', comment='SUCCESS', photon_flux='2.05e-08', energy_flux2='1.20e-05', photon_flux_error='2.22e-08', dlogl='2.54e-01', energy_flux='1.47e-05', photon_flux2='4.17e-08', job_status='DONE', time_completed='2021-09-10 12:59:14.657226', photon_index_error2='1.19', photon_index2='2.58', ts='1.45', fit_tolerance='1e-08', GAL='1.11', photon_index_error='0.00', photon_flux_upper_limit='7.61e-08', energy_flux_error2='1.19e-05', EG='0.74', time_epoch_completed='1631303954.66', return_code='0', job_id='849687', GAL2='1.12', EG2='0.73', return_code2='0', energy_flux_error='1.59e-05', photon_flux_error2='4.49e-08', ts2='1.96', photon_index='1.97' WHERE bin_id='570' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:59:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0123>
Subject: Job 849687: <4FGL_J1454.4+5124_daily_bin570> in cluster <slac> Done

Job <4FGL_J1454.4+5124_daily_bin570> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 10 12:46:30 2021
Job was executed on host(s) <bullet0123>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 12:46:31 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:46:31 2021
Terminated at Fri Sep 10 12:59:14 2021
Results reported at Fri Sep 10 12:59:14 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin570 223.625 51.409 387072001 387331201 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 :                                   746.03 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             357.40 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   763 sec.
    Turnaround time :                            764 sec.

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

