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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin978
RA = 223.625, Dec = 51.409
tmin = 492825601, tmax = 493084801
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='851320', job_status='RUN', time_executed='2021-09-10 12:54:14.446696', time_epoch_executed='1631303654.45' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='978'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/851320

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/851320/ft1_4FGL_J1454.4+5124_daily_bin978.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/851320/ft2_4FGL_J1454.4+5124_daily_bin978.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/851320/ft1_4FGL_J1454.4+5124_daily_bin978.fits outfile=/scratch/kocevski/851320/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin978.fits ra=223.625 dec=51.409 rad=12.0 tmin=492825601.0 tmax=493084801.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.71
user 3.50
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/851320/ft2_4FGL_J1454.4+5124_daily_bin978.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/851320/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin978.fits evtable="EVENTS" outfile="/scratch/kocevski/851320/ft1_filtered_4FGL_J1454.4+5124_daily_bin978.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/851320/ft1_filtered_4FGL_J1454.4+5124_daily_bin978.fits" evtable="EVENTS" scfile=/scratch/kocevski/851320/ft2_4FGL_J1454.4+5124_daily_bin978.fits sctable="SC_DATA" outfile=/scratch/kocevski/851320/ltcube_492825601_493084801_4FGL_J1454.4+5124_daily_bin978.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/851320/ft2_4FGL_J1454.4+5124_daily_bin978.fits
.....................!
real 11.72
user 11.39
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/851320/ft1_filtered_4FGL_J1454.4+5124_daily_bin978.fits evtable="EVENTS" scfile=/scratch/kocevski/851320/ft2_4FGL_J1454.4+5124_daily_bin978.fits sctable="SC_DATA" expcube=/scratch/kocevski/851320/ltcube_492825601_493084801_4FGL_J1454.4+5124_daily_bin978.fits outfile=/scratch/kocevski/851320/expmap_492825601_493084801_4FGL_J1454.4+5124_daily_bin978.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/851320/ltcube_492825601_493084801_4FGL_J1454.4+5124_daily_bin978.fits
.....................!
real 193.56
user 188.41
sys 4.76

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/851320/ft1_filtered_4FGL_J1454.4+5124_daily_bin978.fits scfile=/scratch/kocevski/851320/ft2_4FGL_J1454.4+5124_daily_bin978.fits outfile=/scratch/kocevski/851320/cmap_492825601_493084801_4FGL_J1454.4+5124_daily_bin978.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.37
sys 0.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10478E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.4190       1.0000         .10000E-03   10000.    
     4 'Prefactor '    34.255       1.0000         .10000E-03   10000.    
     5 'Prefactor '    54.643       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    14.403       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10095E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    21.944       1.0000         .10000E-03   10000.    
    16 'norm      '    3.5054       1.0000         .10000E-03   10000.    
    17 'Prefactor '    8.2055       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10213E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .81904       1.0000         .10000E-03   10000.    
    20 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    10.332       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    3.6602       1.0000         .10000E-03   10000.    
    25 'norm      '    13.358       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .13723E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.0582       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .83988       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=   6133.654     FROM MIGRAD    STATUS=CONVERGED    688 CALLS     3528 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    30.140       -.19301E-07** at limit **
   2  norm          .10000E-03    2.4703        .35737E-06** at limit **
   3  Prefactor     2.8876        6904.1       -.14087E-03    .63821E-06
   4  Prefactor     34.256        49.015       -.50045E-06    .45993E-04
   5  Prefactor     54.620        45.076        .14906E-05    .64960E-04
   6  Prefactor     .10000E-03    1.4229       -.16262E-06** at limit **
   7  Prefactor     .10000E-03    8.2365       -.18808E-06** at limit **
   8  Prefactor     .10000E-03    1.5601       -.61230E-06** at limit **
   9  Prefactor     .10000E-03    11.803        .67915E-07** at limit **
  10  Prefactor     14.341        24.558        .18081E-05    .19376E-03
  11  Prefactor     .10000E-03    16.884       -.98527E-07** at limit **
  12  Prefactor     .10000E-03    6.2769        .97464E-07** at limit **
  13  Prefactor     .10000E-03    8.4911        .27768E-06** at limit **
  14  Prefactor     .10000E-03    3.5675       -.78136E-07** at limit **
  15  Prefactor     21.958        17.952        .41469E-06    .27193E-04
  16  norm          3.5054        1.7503       -.29178E-07    .37347E-04
  17  Prefactor     8.1772        10.770        .39300E-06    .94383E-04
  18  Prefactor     .10000E-03    8.1378        .19115E-06** at limit **
  19  Prefactor     .86649        5.4027       -.42388E-06    .22534E-03
  20  norm          .10000E-03    1.6374        .20502E-06** at limit **
  21  Prefactor     .10000E-03    3.5690        .12640E-06** at limit **
  22  Prefactor     10.332        13.750        .31045E-06   -.25192E-06
  23  Prefactor     .10000E-03    12.007        .16087E-06** at limit **
  24  Prefactor     3.6607        6.8765        .57326E-06    .63395E-04
  25  norm          13.359        9.5679       -.90235E-07   -.29772E-05
  26  Prefactor     .10000E-03    99.549        .15422E-06** at limit **
  27  Normalizat    1.0579        .16875       -.20430E-05    .13209E-03
  28  Prefactor     .84003        .18196        .17112E-05   -.43977E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 2.88757
  Prefactor  = 34.2564
  Prefactor  = 54.6197
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.3414
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 21.958
  norm       = 3.50537
  Prefactor  = 8.17722
  Prefactor  = 0.0001
  Prefactor  = 0.866487
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.3317
  Prefactor  = 0.0001
  Prefactor  = 3.66071
  norm       = 13.3586
  Prefactor  = 0.0001
  Normalizat = 1.05789
  Prefactor  = 0.840028
 **********
 **   18 **HESSE 
 **********

 FCN=   6133.654     FROM HESSE     STATUS=OK           519 CALLS     4047 TOTAL
                     EDM=   .79E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    30.140        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    4.9347        .23740E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.8876        6917.8        .21877E-02   -1.5368    
   4  Prefactor     34.256        48.628        .68469E-04   -1.4537    
   5  Prefactor     54.620        45.243        .54263E-04   -1.4229    
   6  Prefactor     .10000E-03    1.4267        .91246E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    8.3102        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    2.3868        .17558E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    11.882        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     14.341        23.536        .10554E-03   -1.4950    
  11  Prefactor     .10000E-03    16.890        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    6.2811        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    8.4938        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    3.5691        .14447E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     21.958        17.923        .85504E-04   -1.4770    
  16  norm          3.5054        1.7476        .68312E-04   -1.5333    
  17  Prefactor     8.1772        11.138        .13996E-03   -1.5136    
  18  Prefactor     .10000E-03    8.3619        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .86649        22.457        .28762E-02   -1.5522    
  20  norm          .10000E-03    1.6666        .97850E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    3.5920        .14440E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     10.332        13.721        .12466E-03   -1.5065    
  23  Prefactor     .10000E-03    12.198        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     3.6607        6.8484        .21113E-03   -1.5325    
  25  norm          13.359        9.5350        .10959E-03   -1.4977    
  26  Prefactor     .10000E-03    99.750        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    1.0579        .19416        .21289E-03   -.91115    
  28  Prefactor     .84003        .20952        .26804E-03   -.98269    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.89092e-10
Minuit parameter uncertainties:
  1  7.7054e-07
  2  1.03962e-05
  3  232.821
  4  48.6848
  5  45.2713
  6  3.66801e-06
  7  3.18327e-07
  8  5.21868e-06
  9  4.48759e-06
  10  23.551
  11  9.5803e-06
  12  5.03239e-06
  13  7.53886e-06
  14  2.57871e-06
  15  17.9277
  16  1.74762
  17  11.1412
  18  5.45285e-06
  19  8.82562
  20  3.36939e-06
  21  5.23644e-06
  22  13.7252
  23  2.10985e-05
  24  6.84982
  25  9.53605
  26  9.57174e-05
  27  0.194294
  28  0.209715
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  3.505e+00  1.748e+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:  8.400e-01  2.097e-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.058e+00  1.943e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 15.34
Ra Dec: 223.625 51.409
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 5.27e-08 +/- 2.63e-08
Energy Flux (Fixed Index): 3.77e-05 +/- 1.88e-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) = 6133.65301901
delta logL = 0.00073581271954

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6133.65285789
delta logL = 0.000896938287951

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.4755       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9856       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0571       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84042       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=   6133.653     FROM MIGRAD    STATUS=CONVERGED     40 CALLS      187 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.4755        32.847        .54227E-02    .39777E-03
   2  alpha         1.9856        3.4460        .25690        .62936E-04
   3  Normalizat    1.0571        .10407        .40107E-01    .55821E-04
   4  Prefactor     .84042        .81140E-01    .44241E-01   -.28108E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.47549
  alpha      = 1.98557
  Normalizat = 1.05706
  Prefactor  = 0.840418
 **********
 **   18 **HESSE 
 **********

 FCN=   6133.653     FROM HESSE     STATUS=OK            33 CALLS      220 TOTAL
                     EDM=   .52E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.4755        1.8471        .67733E-04   -1.5335    
   2  alpha         1.9856        .41011        .95914E-02   -.20725    
   3  Normalizat    1.0571        .18129        .21296E-03   -.91143    
   4  Prefactor     .84042        .20564        .26796E-03   -.98255    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.20397e-11
Minuit parameter uncertainties:
  1  1.84712
  2  0.41205
  3  0.181393
  4  0.205832
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/851320': 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) = 6133.65285789
delta logL = 0.000896938458027

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  3.475e+00  1.847e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  1.986e+00  4.121e-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:  8.404e-01  2.058e-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.057e+00  1.814e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 15.36
Ra Dec: 223.625 51.409
Photon Index (Free Index): 1.99 +/- 0.41
Photon Flux (Free Index): 5.36e-08 +/- 3.36e-08
Energy Flux (Free Index): 3.70e-05 +/- 2.47e-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/851320/cmap_HighResolution_492825601_493084801_4FGL_J1454.4+5124_daily_bin978.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.27e-08', energy_flux2='3.70e-05', photon_flux_error='2.63e-08', dlogl='8.97e-04', energy_flux='3.77e-05', photon_flux2='5.36e-08', job_status='DONE', time_completed='2021-09-10 13:06:31.119896', photon_index_error2='0.41', photon_index2='1.99', ts='15.34', fit_tolerance='1e-08', GAL='0.84', photon_index_error='0.00', energy_flux_error2='2.47e-05', EG='1.06', time_epoch_completed='1631304391.12', return_code='0', job_id='851320', GAL2='0.84', EG2='1.06', return_code2='0', energy_flux_error='1.88e-05', photon_flux_error2='3.36e-08', ts2='15.36', photon_index='1.97' WHERE bin_id='978' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 13:06:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0220>
Subject: Job 851320: <4FGL_J1454.4+5124_daily_bin978> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin978 223.625 51.409 492825601 493084801 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 :                                   736.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             322.07 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   896 sec.
    Turnaround time :                            897 sec.

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

