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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin994
RA = 223.625, Dec = 51.409
tmin = 496972801, tmax = 497232001
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='852444', job_status='RUN', time_executed='2021-09-10 12:59:26.298550', time_epoch_executed='1631303966.3' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='994'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/852444

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/852444/ft1_4FGL_J1454.4+5124_daily_bin994.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/852444/ft2_4FGL_J1454.4+5124_daily_bin994.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/852444/ft1_4FGL_J1454.4+5124_daily_bin994.fits outfile=/scratch/kocevski/852444/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin994.fits ra=223.625 dec=51.409 rad=12.0 tmin=496972801.0 tmax=497232001.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.13
user 4.89
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/852444/ft1_filtered_4FGL_J1454.4+5124_daily_bin994.fits" evtable="EVENTS" scfile=/scratch/kocevski/852444/ft2_4FGL_J1454.4+5124_daily_bin994.fits sctable="SC_DATA" outfile=/scratch/kocevski/852444/ltcube_496972801_497232001_4FGL_J1454.4+5124_daily_bin994.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/852444/ft2_4FGL_J1454.4+5124_daily_bin994.fits
.....................!
real 12.58
user 12.23
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/852444/ft1_filtered_4FGL_J1454.4+5124_daily_bin994.fits evtable="EVENTS" scfile=/scratch/kocevski/852444/ft2_4FGL_J1454.4+5124_daily_bin994.fits sctable="SC_DATA" expcube=/scratch/kocevski/852444/ltcube_496972801_497232001_4FGL_J1454.4+5124_daily_bin994.fits outfile=/scratch/kocevski/852444/expmap_496972801_497232001_4FGL_J1454.4+5124_daily_bin994.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/852444/ltcube_496972801_497232001_4FGL_J1454.4+5124_daily_bin994.fits
.....................!
real 198.76
user 193.80
sys 4.56

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/852444/ft1_filtered_4FGL_J1454.4+5124_daily_bin994.fits scfile=/scratch/kocevski/852444/ft2_4FGL_J1454.4+5124_daily_bin994.fits outfile=/scratch/kocevski/852444/cmap_496972801_497232001_4FGL_J1454.4+5124_daily_bin994.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.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/852444/ft1_filtered_4FGL_J1454.4+5124_daily_bin994.fits scfile=/scratch/kocevski/852444/ft2_4FGL_J1454.4+5124_daily_bin994.fits outfile=/scratch/kocevski/852444/cmap_HighResolution_496972801_497232001_4FGL_J1454.4+5124_daily_bin994.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.40
sys 0.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    9.0950       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .14427E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10159E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    47.319       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .11187E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10127E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    26.763       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10438E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    21.609       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10199E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    63.459       1.0000         .10000E-03   10000.    
    16 'norm      '    4.9588       1.0000         .10000E-03   10000.    
    17 'Prefactor '    16.438       1.0000         .10000E-03   10000.    
    18 'Prefactor '    28.431       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10189E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    4.3723       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.1309       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .32774       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=   1934.227     FROM MIGRAD    STATUS=CONVERGED    703 CALLS     3524 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    40.433        .13650E-04** at limit **
   2  norm          9.0950        6.1091       -.17752E-05   -.14770E-03
   3  Prefactor     .10000E-03    538.43        .73237E-04** at limit **
   4  Prefactor     .10000E-03    36.534       -.54407E-05** at limit **
   5  Prefactor     47.324        63.804        .31007E-06   -.27500E-04
   6  Prefactor     .10000E-03    8.1514        .16509E-06** at limit **
   7  Prefactor     .10000E-03    19.308        .26396E-05** at limit **
   8  Prefactor     .10000E-03    2.2280       -.93213E-06** at limit **
   9  Prefactor     26.818        55.518        .76744E-04    .73106E-05
  10  Prefactor     .10000E-03    26.756        .61384E-05** at limit **
  11  Prefactor     .10000E-03    64.887       -.28837E-05** at limit **
  12  Prefactor     .10000E-03    33.042       -.12514E-04** at limit **
  13  Prefactor     21.453        61.237       -.66818E-04   -.25135E-04
  14  Prefactor     .10000E-03    27.792        .30950E-05** at limit **
  15  Prefactor     63.466        53.841        .33986E-06   -.40421E-04
  16  norm          4.9597        5.2481       -.12132E-06   -.12342E-03
  17  Prefactor     16.440        17.159       -.10932E-05   -.23120E-05
  18  Prefactor     28.430        19.447        .67111E-06   -.43749E-04
  19  Prefactor     .10000E-03    21.408       -.58851E-05** at limit **
  20  norm          4.3726        4.7102        .18973E-06    .19616E-04
  21  Prefactor     .10000E-03    6.8781        .84064E-07** at limit **
  22  Prefactor     .10000E-03    12.051        .11301E-05** at limit **
  23  Prefactor     .10000E-03    7.9839        .63734E-07** at limit **
  24  Prefactor     .10000E-03    12.147       -.10025E-05** at limit **
  25  norm          .10000E-03    8.8040        .56227E-07** at limit **
  26  Prefactor     .10000E-03    96.060       -.21746E-05** at limit **
  27  Normalizat    1.1305        .28828       -.94526E-05    .23489E-03
  28  Prefactor     .32811        .29834        .57421E-05   -.11314E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 9.095
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 47.3241
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 26.8184
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 21.453
  Prefactor  = 0.0001
  Prefactor  = 63.4663
  norm       = 4.9597
  Prefactor  = 16.4399
  Prefactor  = 28.4305
  Prefactor  = 0.0001
  norm       = 4.37257
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.13054
  Prefactor  = 0.328107
 **********
 **   18 **HESSE 
 **********

 FCN=   1934.227     FROM HESSE     STATUS=OK           507 CALLS     4031 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    40.430        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          9.0950        6.1341        .84740E-04   -1.5105    
   3  Prefactor     .10000E-03    538.29        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    36.555        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     47.324        63.968        .58290E-04   -1.4331    
   6  Prefactor     .10000E-03    8.2527        .12249E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    19.342        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    2.2545        .64141E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     26.818        55.573        .77438E-04   -1.4672    
  10  Prefactor     .10000E-03    26.745        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    64.905        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    33.135        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     21.453        61.262        .86165E-04   -1.4781    
  14  Prefactor     .10000E-03    27.853        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     63.466        53.910        .50375E-04   -1.4113    
  16  norm          4.9597        5.2296        .89157E-04   -1.5263    
  17  Prefactor     16.440        17.165        .98786E-04   -1.4897    
  18  Prefactor     28.430        19.423        .75137E-04   -1.4641    
  19  Prefactor     .10000E-03    21.518        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          4.3726        4.7120        .96441E-04   -1.5290    
  21  Prefactor     .10000E-03    6.8845        .11266E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    12.055        .14914E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    7.9917        .12138E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    12.180        .14971E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .10000E-03    8.8131        .12747E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    96.078        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    1.1305        .32190        .18699E-03   -.88777    
  28  Prefactor     .32811        .32783        .35826E-03   -1.2065    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.11715e-09
Minuit parameter uncertainties:
  1  2.28607e-08
  2  6.13452
  3  0.000228548
  4  0.0001008
  5  64.061
  6  3.57524e-05
  7  6.26997e-05
  8  0.000141022
  9  55.6809
  10  0.000579123
  11  4.53104e-05
  12  0.000145667
  13  61.4429
  14  1.15624e-05
  15  53.9516
  16  5.2301
  17  17.1705
  18  19.4272
  19  5.39448e-05
  20  4.71237
  21  1.73347e-05
  22  1.84606e-05
  23  2.09362e-05
  24  4.55092e-05
  25  2.19684e-05
  26  7.90305e-05
  27  0.322457
  28  0.329709
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  4.960e+00  5.230e+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:  3.281e-01  3.297e-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.131e+00  3.225e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.51
Ra Dec: 223.625 51.409
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 7.46e-08 +/- 7.86e-08
Energy Flux (Fixed Index): 5.33e-05 +/- 5.63e-05

TS (Fixed Index): 2.51
Ra Dec: 223.625 51.409
Photon Flux Upper Limit: 2.50e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.79e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/852444/likelihoodResults_496972801_497232001_4FGL_J1454.4+5124_daily_bin994.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) = 1933.58197096
delta logL = 0.644632607949

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1933.57154065
delta logL = 0.655062918434

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.2459       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.9243       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0492       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .38345       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=   1933.572     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      238 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.2466        32.245        .68553E-02    .20850E-02
   2  alpha         2.9245        3.9490        .13478        .18774E-03
   3  Normalizat    1.0494        .10753        .40609E-01   -.10133E-03
   4  Prefactor     .38333        .10570        .74898E-01   -.95962E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.24656
  alpha      = 2.92447
  Normalizat = 1.04938
  Prefactor  = 0.38333
 **********
 **   18 **HESSE 
 **********

 FCN=   1933.572     FROM HESSE     STATUS=OK            31 CALLS      269 TOTAL
                     EDM=   .75E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.2466        4.5870        .40335E-04   -1.5408    
   2  alpha         2.9245        1.1016        .56469E-02    .17062    
   3  Normalizat    1.0494        .31299        .19201E-03   -.91394    
   4  Prefactor     .38333        .33181        .33177E-03   -1.1767    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.4503e-10
Minuit parameter uncertainties:
  1  4.58769
  2  1.14209
  3  0.313546
  4  0.333483
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/852444': 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) = 1933.57153983
delta logL = 0.655063735077

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  2.247e+00  4.588e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  2.924e+00  1.142e+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:  3.833e-01  3.335e-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.049e+00  3.135e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.85
Ra Dec: 223.625 51.409
Photon Index (Free Index): 2.92 +/- 1.14
Photon Flux (Free Index): 1.97e-07 +/- 1.50e-07
Energy Flux (Free Index): 4.38e-05 +/- 3.01e-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/852444/cmap_HighResolution_496972801_497232001_4FGL_J1454.4+5124_daily_bin994.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.79e-04', comment='SUCCESS', photon_flux='7.46e-08', energy_flux2='4.38e-05', photon_flux_error='7.86e-08', dlogl='6.55e-01', energy_flux='5.33e-05', photon_flux2='1.97e-07', job_status='DONE', time_completed='2021-09-10 13:07:49.622030', photon_index_error2='1.14', photon_index2='2.92', ts='2.51', fit_tolerance='1e-08', GAL='0.33', photon_index_error='0.00', photon_flux_upper_limit='2.50e-07', energy_flux_error2='3.01e-05', EG='1.13', time_epoch_completed='1631304469.62', return_code='0', job_id='852444', GAL2='0.38', EG2='1.05', return_code2='0', energy_flux_error='5.63e-05', photon_flux_error2='1.50e-07', ts2='3.85', photon_index='1.97' WHERE bin_id='994' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 13:07:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0223>
Subject: Job 852444: <4FGL_J1454.4+5124_daily_bin994> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin994 223.625 51.409 496972801 497232001 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 :                                   500.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             255.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   707 sec.
    Turnaround time :                            709 sec.

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

