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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin1037
RA = 223.625, Dec = 51.409
tmin = 508118401, tmax = 508377601
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='852504', job_status='RUN', time_executed='2021-09-10 12:56:21.562401', time_epoch_executed='1631303781.56' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='1037'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/852504

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/852504/ft1_4FGL_J1454.4+5124_daily_bin1037.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/852504/ft2_4FGL_J1454.4+5124_daily_bin1037.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/852504/ft1_4FGL_J1454.4+5124_daily_bin1037.fits outfile=/scratch/kocevski/852504/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin1037.fits ra=223.625 dec=51.409 rad=12.0 tmin=508118401.0 tmax=508377601.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.72
user 3.44
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/852504/ft2_4FGL_J1454.4+5124_daily_bin1037.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/852504/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin1037.fits evtable="EVENTS" outfile="/scratch/kocevski/852504/ft1_filtered_4FGL_J1454.4+5124_daily_bin1037.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/852504/ft1_filtered_4FGL_J1454.4+5124_daily_bin1037.fits" evtable="EVENTS" scfile=/scratch/kocevski/852504/ft2_4FGL_J1454.4+5124_daily_bin1037.fits sctable="SC_DATA" outfile=/scratch/kocevski/852504/ltcube_508118401_508377601_4FGL_J1454.4+5124_daily_bin1037.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/852504/ft2_4FGL_J1454.4+5124_daily_bin1037.fits
.....................!
real 11.91
user 11.54
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/852504/ft1_filtered_4FGL_J1454.4+5124_daily_bin1037.fits evtable="EVENTS" scfile=/scratch/kocevski/852504/ft2_4FGL_J1454.4+5124_daily_bin1037.fits sctable="SC_DATA" expcube=/scratch/kocevski/852504/ltcube_508118401_508377601_4FGL_J1454.4+5124_daily_bin1037.fits outfile=/scratch/kocevski/852504/expmap_508118401_508377601_4FGL_J1454.4+5124_daily_bin1037.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/852504/ltcube_508118401_508377601_4FGL_J1454.4+5124_daily_bin1037.fits
.....................!
real 190.23
user 184.86
sys 5.00

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/852504/ft1_filtered_4FGL_J1454.4+5124_daily_bin1037.fits scfile=/scratch/kocevski/852504/ft2_4FGL_J1454.4+5124_daily_bin1037.fits outfile=/scratch/kocevski/852504/cmap_508118401_508377601_4FGL_J1454.4+5124_daily_bin1037.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/852504/ft1_filtered_4FGL_J1454.4+5124_daily_bin1037.fits scfile=/scratch/kocevski/852504/ft2_4FGL_J1454.4+5124_daily_bin1037.fits outfile=/scratch/kocevski/852504/cmap_HighResolution_508118401_508377601_4FGL_J1454.4+5124_daily_bin1037.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=223.625 yref=51.409 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.54
user 0.37
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    54.096       1.0000         .10000E-03   10000.    
     2 'norm      '    .83090       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .29048E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.9121       1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.3457       1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.6305       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10138E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    31.654       1.0000         .10000E-03   10000.    
    12 'Prefactor '    36.917       1.0000         .10000E-03   10000.    
    13 'Prefactor '    6.7169       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    5.8221       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.3473       1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.0596       1.0000         .10000E-03   10000.    
    20 'norm      '    2.0890       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .99688E-02   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10114E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    6.5679       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    11.556       1.0000         .10000E-03   10000.    
    26 'Prefactor '    45.037       1.0000         .10000E-03   10000.    
    27 'Normalizat'    .88386       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.1967       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=   6597.026     FROM MIGRAD    STATUS=CONVERGED    672 CALLS     3476 TOTAL
                     EDM=   .83E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          54.093        63.519       -.23290E-06   -.15224E-04
   2  norm          .83117        3.5148        .90644E-06    .18394E-04
   3  Prefactor     .10002E-03    229.15        .96798E-05** at limit **
   4  Prefactor     .10000E-03    18.625       -.35895E-06** at limit **
   5  Prefactor     .10000E-03    24.523        .88541E-06** at limit **
   6  Prefactor     2.9122        2.8647       -.15128E-06    .18267E-03
   7  Prefactor     4.3442        20.729        .11044E-05    .51631E-05
   8  Prefactor     4.6305        3.0297        .16986E-06    .16822E-03
   9  Prefactor     .10000E-03    19.318        .11925E-06** at limit **
  10  Prefactor     .10000E-03    33.057       -.63764E-06** at limit **
  11  Prefactor     31.664        62.750       -.10487E-05    .10187E-04
  12  Prefactor     36.924        32.972       -.26759E-06    .29376E-04
  13  Prefactor     6.7176        24.356        .33178E-06    .76164E-05
  14  Prefactor     .10000E-03    20.206        .12766E-05** at limit **
  15  Prefactor     .10000E-03    7.3250        .46191E-07** at limit **
  16  norm          5.8222        1.9677       -.17628E-07   -.14810E-03
  17  Prefactor     .10000E-03    2.0937       -.47874E-07** at limit **
  18  Prefactor     4.3476        6.8536        .27787E-05   -.95766E-04
  19  Prefactor     2.0603        5.1610        .95270E-06   -.58659E-04
  20  norm          2.0902        3.3514        .18963E-05   -.46473E-03
  21  Prefactor     .10001E-03    6.6365       -.36384E-06** at limit **
  22  Prefactor     .10000E-03    10.643        .32680E-06** at limit **
  23  Prefactor     6.5888        14.922       -.22852E-05   -.52367E-03
  24  Prefactor     .10000E-03    4.1157       -.22770E-07** at limit **
  25  norm          11.556        8.3313        .14343E-06   -.10464E-04
  26  Prefactor     45.019        53.914        .20283E-05   -.90108E-04
  27  Normalizat    .88389        .17539       -.14418E-05   -.30982E-03
  28  Prefactor     1.1966        .18843       -.29580E-06   -.30633E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 54.0928
  norm       = 0.83117
  Prefactor  = 0.000100023
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.91216
  Prefactor  = 4.34418
  Prefactor  = 4.63051
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 31.6636
  Prefactor  = 36.924
  Prefactor  = 6.7176
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.82217
  Prefactor  = 0.0001
  Prefactor  = 4.34762
  Prefactor  = 2.06034
  norm       = 2.09018
  Prefactor  = 0.000100014
  Prefactor  = 0.0001
  Prefactor  = 6.58881
  Prefactor  = 0.0001
  norm       = 11.5556
  Prefactor  = 45.0185
  Normalizat = 0.883891
  Prefactor  = 1.19664
 **********
 **   18 **HESSE 
 **********

 FCN=   6597.026     FROM HESSE     STATUS=OK           519 CALLS     3995 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          54.093        62.988        .27267E-03   -1.4236    
   2  norm          .83117        3.4531        .27466E-03   -1.5526    
   3  Prefactor     .10002E-03    224.45        .21403E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    18.617        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    24.570        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.9122        2.8676        .13178E-03   -1.5367    
   7  Prefactor     4.3442        20.850        .19322E-03   -1.5291    
   8  Prefactor     4.6305        3.0228        .10598E-03   -1.5278    
   9  Prefactor     .10000E-03    19.364        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    33.095        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     31.664        62.574        .71217E-04   -1.4582    
  12  Prefactor     36.924        32.973        .65962E-04   -1.4492    
  13  Prefactor     6.7176        24.327        .15482E-03   -1.5190    
  14  Prefactor     .10000E-03    20.442        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    7.3405        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          5.8222        1.9668        .63729E-04   -1.5225    
  17  Prefactor     .10000E-03    2.0954        .11475E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     4.3476        6.8118        .96594E-03   -1.5291    
  19  Prefactor     2.0603        5.1472        .27816E-03   -1.5421    
  20  norm          2.0902        3.3377        .88224E-03   -1.5419    
  21  Prefactor     .10001E-03    44.315        .34298E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    10.677        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     6.5888        14.109        .78295E-03   -1.5195    
  24  Prefactor     .10000E-03    4.1526        .16060E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          11.556        8.3173        .11785E-03   -1.5028    
  26  Prefactor     45.019        53.680        .29871E-03   -1.4365    
  27  Normalizat    .88389        .21005        .25160E-03   -.97029    
  28  Prefactor     1.1966        .22711        .25339E-03   -.86435    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.38561e-09
Minuit parameter uncertainties:
  1  63.0654
  2  3.38844
  3  0.0045456
  4  7.11575e-05
  5  5.14791e-05
  6  2.86773
  7  19.0447
  8  3.0229
  9  2.77871e-05
  10  0.000292586
  11  62.7041
  12  32.9891
  13  24.3632
  14  9.36914e-05
  15  5.95345e-06
  16  1.96682
  17  3.10286e-06
  18  6.81304
  19  5.14835
  20  3.33796
  21  0.00155167
  22  6.95059e-05
  23  14.1162
  24  3.73169e-07
  25  8.31809
  26  53.7377
  27  0.210248
  28  0.2273
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  5.822e+00  1.967e+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.197e+00  2.273e-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:  8.839e-01  2.102e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 33.66
Ra Dec: 223.625 51.409
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 8.75e-08 +/- 2.96e-08
Energy Flux (Fixed Index): 6.26e-05 +/- 2.12e-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) = 6595.89506103
delta logL = 1.13061013301

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6595.87998724
delta logL = 1.14568392616

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.3569       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.5521       1.0000          .0000       5.0000    
     3 'Normalizat'    .91047       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1864       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=   6595.880     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      203 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.3569        2.3946        .39799E-02   -.67009E-02
   2  alpha         1.5521        .26494        .20365       -.11608E-04
   3  Normalizat    .91047        .16196        .45035E-01    .21485E-04
   4  Prefactor     1.1864        .18694        .57572E-01   -.45459E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 6.35692
  alpha      = 1.55212
  Normalizat = 0.910473
  Prefactor  = 1.18638
 **********
 **   18 **HESSE 
 **********

 FCN=   6595.880     FROM HESSE     STATUS=OK            31 CALLS      234 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.3569        2.3066        .71126E-04   -1.5204    
   2  alpha         1.5521        .26832        .85271E-02   -.38888    
   3  Normalizat    .91047        .19326        .24844E-03   -.96093    
   4  Prefactor     1.1864        .22363        .25459E-03   -.86752    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.71947e-09
Minuit parameter uncertainties:
  1  2.30664
  2  0.268927
  3  0.193406
  4  0.22381
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/852504': 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) = 6595.87998724
delta logL = 1.14568392736

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  6.357e+00  2.307e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  1.552e+00  2.689e-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:  1.186e+00  2.238e-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:  9.105e-01  1.934e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 35.98
Ra Dec: 223.625 51.409
Photon Index (Free Index): 1.55 +/- 0.27
Photon Flux (Free Index): 5.65e-08 +/- 2.70e-08
Energy Flux (Free Index): 1.18e-04 +/- 6.82e-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/852504/cmap_HighResolution_508118401_508377601_4FGL_J1454.4+5124_daily_bin1037.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.75e-08', energy_flux2='1.18e-04', photon_flux_error='2.96e-08', dlogl='1.15e+00', energy_flux='6.26e-05', photon_flux2='5.65e-08', job_status='DONE', time_completed='2021-09-10 13:08:57.760865', photon_index_error2='0.27', photon_index2='1.55', ts='33.66', fit_tolerance='1e-08', GAL='1.20', photon_index_error='0.00', energy_flux_error2='6.82e-05', EG='0.88', time_epoch_completed='1631304537.76', return_code='0', job_id='852504', GAL2='1.19', EG2='0.91', return_code2='0', energy_flux_error='2.12e-05', photon_flux_error2='2.70e-08', ts2='35.98', photon_index='1.97' WHERE bin_id='1037' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 13:08:57 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0295>
Subject: Job 852504: <4FGL_J1454.4+5124_daily_bin1037> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin1037 223.625 51.409 508118401 508377601 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 :                                   754.18 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             300.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   771 sec.
    Turnaround time :                            773 sec.

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

