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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin866
RA = 223.625, Dec = 51.409
tmin = 463795201, tmax = 464054401
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='851156', job_status='RUN', time_executed='2021-09-10 12:53:54.916405', time_epoch_executed='1631303634.92' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='866'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/851156

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/851156/ft1_4FGL_J1454.4+5124_daily_bin866.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/851156/ft2_4FGL_J1454.4+5124_daily_bin866.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/851156/ft1_4FGL_J1454.4+5124_daily_bin866.fits outfile=/scratch/kocevski/851156/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin866.fits ra=223.625 dec=51.409 rad=12.0 tmin=463795201.0 tmax=464054401.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.42
user 3.19
sys 0.21

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/851156/ft1_filtered_4FGL_J1454.4+5124_daily_bin866.fits evtable="EVENTS" scfile=/scratch/kocevski/851156/ft2_4FGL_J1454.4+5124_daily_bin866.fits sctable="SC_DATA" expcube=/scratch/kocevski/851156/ltcube_463795201_464054401_4FGL_J1454.4+5124_daily_bin866.fits outfile=/scratch/kocevski/851156/expmap_463795201_464054401_4FGL_J1454.4+5124_daily_bin866.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/851156/ltcube_463795201_464054401_4FGL_J1454.4+5124_daily_bin866.fits
.....................!
real 190.63
user 184.90
sys 5.37

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

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

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

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    4.1022       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .11939E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    50.818       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .15448E-02   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .20487       1.0000         .10000E-03   10000.    
     7 'Prefactor '    25.708       1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.1074       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    27.054       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .11575E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .23313E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    5.0662       1.0000         .10000E-03   10000.    
    17 'Prefactor '    8.9054       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10133E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10036E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    3.8394       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .63075E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .11017E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .29814E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    17.234       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    .88522       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .90926       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=   6116.659     FROM MIGRAD    STATUS=CONVERGED   1314 CALLS     4709 TOTAL
                     EDM=   .72E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    24.697        .18142E-02** at limit **
   2  norm          4.1014        3.8389        .14088E-03   -.26704E-03
   3  Prefactor     .10000E-03    128.03        .18142E-02** at limit **
   4  Prefactor     50.819        45.957        .56258E-04    .54764E-04
   5  Prefactor     .10014E-03    36.576        .12637    ** at limit **
   6  Prefactor     .19714        18.533        .24017E-02   -.18857E-03
   7  Prefactor     25.714        23.105        .79007E-04    .10015E-03
   8  Prefactor     4.1094        3.8900        .11143E-03   -.17344E-03
   9  Prefactor     .10000E-03    7.2202        .18142E-02** at limit **
  10  Prefactor     27.019        38.895        .77020E-04    .97420E-04
  11  Prefactor     .10000E-03    48.103        .18142E-02** at limit **
  12  Prefactor     .10001E-03    162.80        .70158E-02** at limit **
  13  Prefactor     .10000E-03    8.9175        .18142E-02** at limit **
  14  Prefactor     .10000E-03    16.455        .82202E-01** at limit **
  15  Prefactor     .10000E-03    7.6040        .18142E-02** at limit **
  16  norm          5.0662        2.0722        .68196E-04    .22472E-03
  17  Prefactor     8.9058        8.6237        .13431E-03   -.10834E-04
  18  Prefactor     .10000E-03    5.7162        .35788E-03** at limit **
  19  Prefactor     .10000E-03    3.7437        .14695E-02** at limit **
  20  norm          .10000E-03    1.8309        .10229E-02** at limit **
  21  Prefactor     3.8400        6.2499        .20597E-03   -.12756E-03
  22  Prefactor     .10000E-03    166.12        .57223E-02** at limit **
  23  Prefactor     .10000E-03    13.819        .36285E-03** at limit **
  24  Prefactor     .10000E-03    19.282        .32961E-02** at limit **
  25  norm          17.229        9.3430        .96479E-04   -.59625E-04
  26  Prefactor     .10000E-03    24.397        .18142E-02** at limit **
  27  Normalizat    .88502        .19387        .22591E-03    .84744E-04
  28  Prefactor     .90961        .20711        .25447E-03    .42755E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 4.10136
  Prefactor  = 0.0001
  Prefactor  = 50.8187
  Prefactor  = 0.000100136
  Prefactor  = 0.197136
  Prefactor  = 25.7141
  Prefactor  = 4.10937
  Prefactor  = 0.0001
  Prefactor  = 27.0195
  Prefactor  = 0.0001
  Prefactor  = 0.000100008
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.06624
  Prefactor  = 8.90576
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 3.84004
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 17.2288
  Prefactor  = 0.0001
  Normalizat = 0.885017
  Prefactor  = 0.909606
 **********
 **   18 **HESSE 
 **********

 FCN=   6116.659     FROM HESSE     STATUS=OK           513 CALLS     5222 TOTAL
                     EDM=   .98E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    24.697        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          4.1014        3.8386        .56351E-05   -1.5303    
   3  Prefactor     .10000E-03    128.03        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     50.819        45.957        .11252E-04   -1.4281    
   5  Prefactor     .10014E-03    35.205        .12884       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .19714        18.328        .96067E-04   -1.5619    
   7  Prefactor     25.714        23.054        .31603E-05   -1.4693    
   8  Prefactor     4.1094        3.8883        .44574E-05   -1.5303    
   9  Prefactor     .10000E-03    7.2204        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     27.019        38.870        .30808E-05   -1.4668    
  11  Prefactor     .10000E-03    48.109        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10001E-03    167.86        .28063E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    8.9177        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    15.754        .84691E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    7.6047        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          5.0662        2.0720        .27278E-05   -1.5258    
  17  Prefactor     8.9058        8.6227        .53725E-05   -1.5111    
  18  Prefactor     .10000E-03    5.7165        .71577E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    3.7444        .29391E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    1.8312        .20459E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     3.8400        6.2382        .82387E-05   -1.5316    
  22  Prefactor     .10000E-03    172.67        .22889E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    13.820        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    19.551        .65922E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          17.229        9.3259        .38591E-05   -1.4878    
  26  Prefactor     .10000E-03    24.397        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .88502        .19403        .90365E-05   -.96989    
  28  Prefactor     .90961        .20723        .10179E-04   -.95806    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.8019e-10
Minuit parameter uncertainties:
  1  8.55109e-06
  2  3.8388
  3  0.00043211
  4  45.9886
  5  0.00438342
  6  3.80188
  7  23.0615
  8  3.88853
  9  2.37955e-05
  10  38.9069
  11  0.000114916
  12  0.0022536
  13  1.38881e-05
  14  8.24301e-05
  15  1.35881e-05
  16  2.07205
  17  8.62393
  18  2.40078e-05
  19  3.71514e-07
  20  2.52638e-05
  21  6.23927
  22  0.000184365
  23  0.000221191
  24  0.000134697
  25  9.32666
  26  1.4115e-05
  27  0.194186
  28  0.207406
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  5.066e+00  2.072e+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:  9.096e-01  2.074e-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.850e-01  1.942e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 13.50
Ra Dec: 223.625 51.409
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 7.62e-08 +/- 3.11e-08
Energy Flux (Fixed Index): 5.45e-05 +/- 2.23e-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) = 6114.33820298
delta logL = 2.32114004535

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6114.33018173
delta logL = 2.32916129882

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.1240       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.8140       1.0000          .0000       5.0000    
     3 'Normalizat'    .79352       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97295       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=   6114.330     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      251 TOTAL
                     EDM=   .63E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.1241        2.0522        .35211E-04   -.39036E-03
   2  alpha         2.8142        .54113        .51515E-02    .33206E-03
   3  Normalizat    .79351        .18768        .23648E-03   -.29374E-04
   4  Prefactor     .97297        .21017        .24656E-03    .16599E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.12408
  alpha      = 2.81417
  Normalizat = 0.793512
  Prefactor  = 0.97297
 **********
 **   18 **HESSE 
 **********

 FCN=   6114.330     FROM HESSE     STATUS=OK            25 CALLS      276 TOTAL
                     EDM=   .11E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.1241        1.7595        .14084E-05   -1.5416    
   2  alpha         2.8142        .46466        .10303E-02    .12600    
   3  Normalizat    .79351        .18605        .94591E-05   -1.0031    
   4  Prefactor     .97297        .20885        .98625E-05   -.93636    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.12942e-11
Minuit parameter uncertainties:
  1  1.75958
  2  0.467418
  3  0.186202
  4  0.209028
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/851156': 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) = 6114.33018074
delta logL = 2.3291622861

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  2.124e+00  1.760e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  2.814e+00  4.674e-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:  9.730e-01  2.090e-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.935e-01  1.862e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 18.23
Ra Dec: 223.625 51.409
Photon Index (Free Index): 2.81 +/- 0.47
Photon Flux (Free Index): 1.48e-07 +/- 5.57e-08
Energy Flux (Free Index): 3.54e-05 +/- 1.25e-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/851156/cmap_HighResolution_463795201_464054401_4FGL_J1454.4+5124_daily_bin866.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.62e-08', energy_flux2='3.54e-05', photon_flux_error='3.11e-08', dlogl='2.33e+00', energy_flux='5.45e-05', photon_flux2='1.48e-07', job_status='DONE', time_completed='2021-09-10 13:07:27.580907', photon_index_error2='0.47', photon_index2='2.81', ts='13.50', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', energy_flux_error2='1.25e-05', EG='0.89', time_epoch_completed='1631304447.58', return_code='0', job_id='851156', GAL2='0.97', EG2='0.79', return_code2='0', energy_flux_error='2.23e-05', photon_flux_error2='5.57e-08', ts2='18.23', photon_index='1.97' WHERE bin_id='866' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 13:07:27 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0283>
Subject: Job 851156: <4FGL_J1454.4+5124_daily_bin866> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin866 223.625 51.409 463795201 464054401 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 :                                   812.13 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             298.87 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   962 sec.
    Turnaround time :                            965 sec.

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

