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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin655
RA = 223.625, Dec = 51.409
tmin = 409104001, tmax = 409363201
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='850848', job_status='RUN', time_executed='2021-09-10 12:53:34.916504', time_epoch_executed='1631303614.92' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='655'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/850848

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/850848/ft1_4FGL_J1454.4+5124_daily_bin655.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/850848/ft2_4FGL_J1454.4+5124_daily_bin655.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/850848/ft1_4FGL_J1454.4+5124_daily_bin655.fits outfile=/scratch/kocevski/850848/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin655.fits ra=223.625 dec=51.409 rad=12.0 tmin=409104001.0 tmax=409363201.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.51
user 5.22
sys 0.25

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/850848/ft1_filtered_4FGL_J1454.4+5124_daily_bin655.fits evtable="EVENTS" scfile=/scratch/kocevski/850848/ft2_4FGL_J1454.4+5124_daily_bin655.fits sctable="SC_DATA" expcube=/scratch/kocevski/850848/ltcube_409104001_409363201_4FGL_J1454.4+5124_daily_bin655.fits outfile=/scratch/kocevski/850848/expmap_409104001_409363201_4FGL_J1454.4+5124_daily_bin655.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/850848/ltcube_409104001_409363201_4FGL_J1454.4+5124_daily_bin655.fits
.....................!
real 191.52
user 185.28
sys 5.67

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/850848/ft1_filtered_4FGL_J1454.4+5124_daily_bin655.fits scfile=/scratch/kocevski/850848/ft2_4FGL_J1454.4+5124_daily_bin655.fits outfile=/scratch/kocevski/850848/cmap_409104001_409363201_4FGL_J1454.4+5124_daily_bin655.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/850848/ft1_filtered_4FGL_J1454.4+5124_daily_bin655.fits scfile=/scratch/kocevski/850848/ft2_4FGL_J1454.4+5124_daily_bin655.fits outfile=/scratch/kocevski/850848/cmap_HighResolution_409104001_409363201_4FGL_J1454.4+5124_daily_bin655.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.58
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10021E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10073E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .12964E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    7.7172       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.0741       1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.2728       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    50.632       1.0000         .10000E-03   10000.    
    12 'Prefactor '    24.789       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    13.449       1.0000         .10000E-03   10000.    
    16 'norm      '    2.4281       1.0000         .10000E-03   10000.    
    17 'Prefactor '    13.101       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .62519       1.0000         .10000E-03   10000.    
    20 'norm      '    3.2036       1.0000         .10000E-03   10000.    
    21 'Prefactor '    7.7524       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10092E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10075E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .51955       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .18298E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.0291       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.0088       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=   4824.263     FROM MIGRAD    STATUS=CONVERGED    730 CALLS     3539 TOTAL
                     EDM=   .36E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    28.323       -.61540E-06** at limit **
   2  norm          .10000E-03    2.3722       -.11739E-06** at limit **
   3  Prefactor     .10000E-03    928.83        .64667E-05** at limit **
   4  Prefactor     .10000E-03    22.991        .26755E-07** at limit **
   5  Prefactor     7.7023        37.957        .59630E-05    .11323E-03
   6  Prefactor     .10000E-03    5.2362        .42560E-06** at limit **
   7  Prefactor     1.0761        34.035       -.77267E-05    .41493E-05
   8  Prefactor     7.2724        3.2985       -.81949E-07   -.15897E-03
   9  Prefactor     .10000E-03    9.4121        .14027E-06** at limit **
  10  Prefactor     .10000E-03    10.007       -.14953E-06** at limit **
  11  Prefactor     50.619        59.388        .38071E-06    .17564E-04
  12  Prefactor     24.788        29.402        .13447E-06   -.63440E-05
  13  Prefactor     .10000E-03    39.513       -.50832E-06** at limit **
  14  Prefactor     .10000E-03    6.5193        .11206E-07** at limit **
  15  Prefactor     13.448        15.549       -.28933E-07   -.72701E-05
  16  norm          2.4281        1.6905        .63538E-08   -.37298E-04
  17  Prefactor     13.114        16.890       -.22383E-05   -.29335E-03
  18  Prefactor     .10000E-03    2.2631        .37579E-07** at limit **
  19  Prefactor     .59313        31.674        .11015E-04   -.17527E-03
  20  norm          3.2046        5.1185       -.71477E-06    .10347E-04
  21  Prefactor     7.7484        13.874        .46816E-08   -.94689E-04
  22  Prefactor     .10000E-03    32.955        .18687E-05** at limit **
  23  Prefactor     .10000E-03    10.496        .56628E-06** at limit **
  24  Prefactor     .10000E-03    3.7904        .94750E-07** at limit **
  25  norm          .51775        9.4368        .31334E-05    .20123E-03
  26  Prefactor     .10009E-03    1680.6       -.21912E-04** at limit **
  27  Normalizat    1.0290        .20550       -.36041E-06    .59187E-04
  28  Prefactor     1.0089        .22036        .19095E-06    .59089E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.70225
  Prefactor  = 0.000100005
  Prefactor  = 1.07608
  Prefactor  = 7.27244
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 50.6189
  Prefactor  = 24.7882
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 13.4477
  norm       = 2.42811
  Prefactor  = 13.1136
  Prefactor  = 0.0001
  Prefactor  = 0.593126
  norm       = 3.2046
  Prefactor  = 7.74845
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.517751
  Prefactor  = 0.000100094
  Normalizat = 1.02902
  Prefactor  = 1.0089
 **********
 **   18 **HESSE 
 **********

 FCN=   4824.263     FROM HESSE     STATUS=OK           527 CALLS     4066 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    28.321        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    4.3058        .20664E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    929.53        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    23.001        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     7.7023        38.202        .14435E-03   -1.5153    
   6  Prefactor     .10000E-03    12.252        .28696E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.0761        138.69        .58641E-02   -1.5501    
   8  Prefactor     7.2724        3.3040        .80989E-04   -1.5169    
   9  Prefactor     .10000E-03    9.4195        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    10.015        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     50.619        59.341        .56360E-04   -1.4284    
  12  Prefactor     24.788        29.402        .80455E-04   -1.4712    
  13  Prefactor     .10000E-03    39.710        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    6.5237        .17318E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     13.448        15.545        .10922E-03   -1.4974    
  16  norm          2.4281        1.6895        .72505E-04   -1.5396    
  17  Prefactor     13.114        16.882        .11067E-03   -1.4984    
  18  Prefactor     .10000E-03    2.2678        .10203E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .59313        44.227        .29213E-02   -1.5554    
  20  norm          3.2046        5.1165        .83863E-03   -1.5350    
  21  Prefactor     7.7484        13.818        .14402E-03   -1.5151    
  22  Prefactor     .10000E-03    33.257        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    10.563        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    3.7970        .13203E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .51775        24.437        .37244E-02   -1.5564    
  26  Prefactor     .10009E-03    1661.0        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    1.0290        .24250        .23190E-03   -.92064    
  28  Prefactor     1.0089        .25938        .26823E-03   -.92433    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.63823e-09
Minuit parameter uncertainties:
  1  4.41271e-06
  2  4.75857e-05
  3  0.000474063
  4  1.17091e-05
  5  34.342
  6  0.000487184
  7  24.4903
  8  3.30405
  9  8.077e-06
  10  4.24698e-06
  11  59.4102
  12  29.4187
  13  4.77461e-05
  14  9.88599e-07
  15  15.5498
  16  1.68953
  17  16.8884
  18  4.22275e-06
  19  10.2505
  20  5.11717
  21  13.8236
  22  0.000140117
  23  5.50955e-05
  24  6.07264e-06
  25  7.11634
  26  0.0257582
  27  0.242757
  28  0.259698
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  2.428e+00  1.690e+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.009e+00  2.597e-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.029e+00  2.428e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.33
Ra Dec: 223.625 51.409
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 3.65e-08 +/- 2.54e-08
Energy Flux (Fixed Index): 2.61e-05 +/- 1.82e-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) = 4824.12884783
delta logL = 0.133986968457

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4824.12583144
delta logL = 0.137003352228

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.8438       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3310       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0122       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0201       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4824.126     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      260 TOTAL
                     EDM=   .77E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.8439        1.9574        .59393E-04   -.41939E-03
   2  alpha         2.3310        .77148        .99658E-02   -.30333E-04
   3  Normalizat    1.0122        .22380        .23349E-03    .19428E-04
   4  Prefactor     1.0201        .25482        .26703E-03    .95581E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.84388
  alpha      = 2.33096
  Normalizat = 1.01224
  Prefactor  = 1.02014
 **********
 **   18 **HESSE 
 **********

 FCN=   4824.126     FROM HESSE     STATUS=OK            25 CALLS      285 TOTAL
                     EDM=   .95E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.8439        1.8256        .23757E-05   -1.5436    
   2  alpha         2.3310        .72054        .39863E-03   -.67668E-01
   3  Normalizat    1.0122        .22350        .93395E-05   -.92621    
   4  Prefactor     1.0201        .25480        .10681E-04   -.92061    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.46534e-11
Minuit parameter uncertainties:
  1  1.82561
  2  0.730962
  3  0.223711
  4  0.255104
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/850848': 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) = 4824.12583144
delta logL = 0.137003353057

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  1.844e+00  1.826e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  2.331e+00  7.310e-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.020e+00  2.551e-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.012e+00  2.237e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.59
Ra Dec: 223.625 51.409
Photon Index (Free Index): 2.33 +/- 0.73
Photon Flux (Free Index): 5.09e-08 +/- 4.41e-08
Energy Flux (Free Index): 1.94e-05 +/- 1.50e-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/850848/cmap_HighResolution_409104001_409363201_4FGL_J1454.4+5124_daily_bin655.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.65e-08', energy_flux2='1.94e-05', photon_flux_error='2.54e-08', dlogl='1.37e-01', energy_flux='2.61e-05', photon_flux2='5.09e-08', job_status='DONE', time_completed='2021-09-10 13:04:43.608589', photon_index_error2='0.73', photon_index2='2.33', ts='6.33', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', energy_flux_error2='1.50e-05', EG='1.03', time_epoch_completed='1631304283.61', return_code='0', job_id='850848', GAL2='1.02', EG2='1.01', return_code2='0', energy_flux_error='1.82e-05', photon_flux_error2='4.41e-08', ts2='6.59', photon_index='1.97' WHERE bin_id='655' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 13:04:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0219>
Subject: Job 850848: <4FGL_J1454.4+5124_daily_bin655> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin655 223.625 51.409 409104001 409363201 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 :                                   667.42 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             291.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   820 sec.
    Turnaround time :                            822 sec.

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

