/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 137 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 = 7472
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1454.4+5124_daily_bin380
RA = 223.625, Dec = 51.409
tmin = 337824001, tmax = 338083201
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='849409', job_status='RUN', time_executed='2021-09-10 12:48:40.329512', time_epoch_executed='1631303320.33' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='380'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/849409

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/849409/ft1_4FGL_J1454.4+5124_daily_bin380.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/849409/ft2_4FGL_J1454.4+5124_daily_bin380.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/849409/ft1_4FGL_J1454.4+5124_daily_bin380.fits outfile=/scratch/kocevski/849409/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin380.fits ra=223.625 dec=51.409 rad=12.0 tmin=337824001.0 tmax=338083201.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.48
user 3.25
sys 0.19

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/849409/ft1_filtered_4FGL_J1454.4+5124_daily_bin380.fits evtable="EVENTS" scfile=/scratch/kocevski/849409/ft2_4FGL_J1454.4+5124_daily_bin380.fits sctable="SC_DATA" expcube=/scratch/kocevski/849409/ltcube_337824001_338083201_4FGL_J1454.4+5124_daily_bin380.fits outfile=/scratch/kocevski/849409/expmap_337824001_338083201_4FGL_J1454.4+5124_daily_bin380.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/849409/ltcube_337824001_338083201_4FGL_J1454.4+5124_daily_bin380.fits
.....................!
real 189.39
user 185.09
sys 3.94

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/849409/ft1_filtered_4FGL_J1454.4+5124_daily_bin380.fits scfile=/scratch/kocevski/849409/ft2_4FGL_J1454.4+5124_daily_bin380.fits outfile=/scratch/kocevski/849409/cmap_337824001_338083201_4FGL_J1454.4+5124_daily_bin380.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.52
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/849409/ft1_filtered_4FGL_J1454.4+5124_daily_bin380.fits scfile=/scratch/kocevski/849409/ft2_4FGL_J1454.4+5124_daily_bin380.fits outfile=/scratch/kocevski/849409/cmap_HighResolution_337824001_338083201_4FGL_J1454.4+5124_daily_bin380.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/849409/ft1_filtered_4FGL_J1454.4+5124_daily_bin380.fits evtable="EVENTS" scfile=/scratch/kocevski/849409/ft2_4FGL_J1454.4+5124_daily_bin380.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/849409/Model_4FGL_J1454.4+5124_daily_bin380.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/849409/ft1_filtered_4FGL_J1454.4+5124_daily_bin380.fits.....................!
real 51.09
user 49.80
sys 1.10

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10067E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    8.4449       1.0000         .10000E-03   10000.    
     3 'Prefactor '    268.67       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10217E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .15362E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    7.8700       1.0000         .10000E-03   10000.    
    10 'Prefactor '    8.7045       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    64.666       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    15.582       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10063E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    3.9412       1.0000         .10000E-03   10000.    
    17 'Prefactor '    5.5152       1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.7984       1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.5708       1.0000         .10000E-03   10000.    
    20 'norm      '    3.0477       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .72840       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10828E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    4.2888       1.0000         .10000E-03   10000.    
    25 'norm      '    .10095E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    .77132       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.2648       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=   6605.330     FROM MIGRAD    STATUS=CONVERGED    675 CALLS     4024 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    29.239       -.14771E-05** at limit **
   2  norm          8.4451        4.6044        .58762E-07    .56932E-05
   3  Prefactor     268.22        443.93        .21503E-04    .80065E-05
   4  Prefactor     .10000E-03    16.527       -.12255E-05** at limit **
   5  Prefactor     .10000E-03    120.65        .88538E-06** at limit **
   6  Prefactor     .10000E-03    2.0682        .73948E-09** at limit **
   7  Prefactor     .10000E-03    3.9252       -.12159E-08** at limit **
   8  Prefactor     .10000E-03    1.6670       -.49352E-07** at limit **
   9  Prefactor     7.8704        21.736        .35261E-06    .46642E-05
  10  Prefactor     8.7061        19.974        .34893E-06    .18020E-05
  11  Prefactor     .10000E-03    20.585        .23675E-05** at limit **
  12  Prefactor     64.665        38.281        .25411E-06   -.13101E-04
  13  Prefactor     .10000E-03    17.097       -.81584E-06** at limit **
  14  Prefactor     15.577        14.715       -.13279E-06   -.28329E-04
  15  Prefactor     .10000E-03    7.0767        .12237E-06** at limit **
  16  norm          3.9417        2.0464        .14035E-07   -.34002E-04
  17  Prefactor     5.5136        11.517        .12881E-06   -.34676E-05
  18  Prefactor     2.7981        4.6030        .16595E-05    .93310E-04
  19  Prefactor     4.5703        7.3274        .23652E-06    .11874E-05
  20  norm          3.0479        2.9568       -.36881E-08   -.14325E-03
  21  Prefactor     .10000E-03    4.5464       -.10285E-08** at limit **
  22  Prefactor     .71704        13.084        .17530E-05   -.25106E-03
  23  Prefactor     .10000E-03    13.654        .59060E-06** at limit **
  24  Prefactor     4.2869        5.1398        .91333E-07    .20566E-05
  25  norm          .10000E-03    4.7167        .96171E-08** at limit **
  26  Prefactor     .10000E-03    27.717        .29544E-06** at limit **
  27  Normalizat    .77107        .17039       -.94106E-06   -.94132E-04
  28  Prefactor     1.2652        .18782        .13528E-06   -.88290E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 8.44515
  Prefactor  = 268.221
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.87038
  Prefactor  = 8.70613
  Prefactor  = 0.0001
  Prefactor  = 64.6653
  Prefactor  = 0.0001
  Prefactor  = 15.577
  Prefactor  = 0.0001
  norm       = 3.94168
  Prefactor  = 5.51357
  Prefactor  = 2.79806
  Prefactor  = 4.57034
  norm       = 3.04788
  Prefactor  = 0.0001
  Prefactor  = 0.717035
  Prefactor  = 0.0001
  Prefactor  = 4.28688
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.771067
  Prefactor  = 1.26518
 **********
 **   18 **HESSE 
 **********

 FCN=   6605.330     FROM HESSE     STATUS=OK           519 CALLS     4543 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    29.242        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          8.4451        4.6065        .12241E-03   -1.5127    
   3  Prefactor     268.22        444.64        .12369E-03   -1.2418    
   4  Prefactor     .10000E-03    16.536        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    126.18        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    2.1017        .11413E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    3.9277        .15725E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    1.7048        .20335E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     7.8704        21.697        .14293E-03   -1.5147    
  10  Prefactor     8.7061        19.848        .13586E-03   -1.5118    
  11  Prefactor     .10000E-03    20.605        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     64.665        38.390        .49905E-04   -1.4098    
  13  Prefactor     .10000E-03    17.111        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     15.577        14.708        .10147E-03   -1.4918    
  15  Prefactor     .10000E-03    7.0940        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          3.9417        2.0412        .79266E-04   -1.5311    
  17  Prefactor     5.5136        11.382        .17108E-03   -1.5238    
  18  Prefactor     2.7981        4.6176        .10844E-02   -1.5373    
  19  Prefactor     4.5703        7.2618        .18828E-03   -1.5280    
  20  norm          3.0479        2.9448        .13210E-03   -1.5359    
  21  Prefactor     .10000E-03    4.5663        .16895E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .71704        89.085        .53081E-02   -1.5539    
  23  Prefactor     .10000E-03    13.803        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     4.2869        5.1339        .19454E-03   -1.5294    
  25  norm          .10000E-03    4.7891        .17227E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    27.725        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .77107        .20250        .25911E-03   -1.0115    
  28  Prefactor     1.2652        .22483        .24401E-03   -.84348    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.58475e-09
Minuit parameter uncertainties:
  1  2.46296e-05
  2  4.60672
  3  450.453
  4  1.43932e-05
  5  6.69887e-05
  6  8.74163e-07
  7  5.63263e-07
  8  1.34483e-06
  9  21.7188
  10  19.8629
  11  3.54614e-05
  12  38.4051
  13  1.27713e-05
  14  14.7117
  15  2.03787e-06
  16  2.04122
  17  11.386
  18  4.61815
  19  7.26324
  20  2.94496
  21  7.08148e-06
  22  16.008
  23  3.43749e-05
  24  5.13443
  25  7.37373e-07
  26  6.97347e-06
  27  0.2027
  28  0.225001
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  3.942e+00  2.041e+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.265e+00  2.250e-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.711e-01  2.027e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.96
Ra Dec: 223.625 51.409
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 5.92e-08 +/- 3.07e-08
Energy Flux (Fixed Index): 4.24e-05 +/- 2.20e-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) = 6602.81058741
delta logL = 2.51925693201

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6602.74710289
delta logL = 2.58274145562

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.0777       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.0927       1.0000          .0000       5.0000    
     3 'Normalizat'    .67645       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3322       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=   6602.747     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      221 TOTAL
                     EDM=   .94E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.0779        4.9275        .66853E-02   -.39735E-02
   2  alpha         3.0928        1.8028        .13211       -.96519E-04
   3  Normalizat    .67656        .62206E-01    .62058E-01   -.99304E-04
   4  Prefactor     1.3319        .69585E-01    .53899E-01    .18218E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.07789
  alpha      = 3.0928
  Normalizat = 0.676565
  Prefactor  = 1.33192
 **********
 **   18 **HESSE 
 **********

 FCN=   6602.747     FROM HESSE     STATUS=OK            33 CALLS      254 TOTAL
                     EDM=   .58E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.0779        1.5871        .29832E-04   -1.5500    
   2  alpha         3.0928        .73258        .56073E-02    .23940    
   3  Normalizat    .67656        .19500        .27454E-03   -1.0483    
   4  Prefactor     1.3319        .22664        .23830E-03   -.82363    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.80228e-10
Minuit parameter uncertainties:
  1  1.58711
  2  0.744166
  3  0.195199
  4  0.226813
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/849409': 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) = 6602.7471007
delta logL = 2.58274364263

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  1.078e+00  1.587e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  3.093e+00  7.442e-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.332e+00  2.268e-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:  6.766e-01  1.952e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.31
Ra Dec: 223.625 51.409
Photon Index (Free Index): 3.09 +/- 0.74
Photon Flux (Free Index): 1.34e-07 +/- 5.33e-08
Energy Flux (Free Index): 2.73e-05 +/- 1.16e-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/849409/cmap_HighResolution_337824001_338083201_4FGL_J1454.4+5124_daily_bin380.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.92e-08', energy_flux2='2.73e-05', photon_flux_error='3.07e-08', dlogl='2.58e+00', energy_flux='4.24e-05', photon_flux2='1.34e-07', job_status='DONE', time_completed='2021-09-10 13:02:04.582318', photon_index_error2='0.74', photon_index2='3.09', ts='5.96', fit_tolerance='1e-08', GAL='1.27', photon_index_error='0.00', energy_flux_error2='1.16e-05', EG='0.77', time_epoch_completed='1631304124.58', return_code='0', job_id='849409', GAL2='1.33', EG2='0.68', return_code2='0', energy_flux_error='2.20e-05', photon_flux_error2='5.33e-08', ts2='11.31', photon_index='1.97' WHERE bin_id='380' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 13:02:04 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0249>
Subject: Job 849409: <4FGL_J1454.4+5124_daily_bin380> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin380 223.625 51.409 337824001 338083201 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 :                                   805.41 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             259.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   950 sec.
    Turnaround time :                            952 sec.

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

