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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin513
RA = 223.625, Dec = 51.409
tmin = 372297601, tmax = 372556801
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='849605', job_status='RUN', time_executed='2021-09-10 12:49:15.904588', time_epoch_executed='1631303355.9' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='513'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/849605

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/849605/ft1_4FGL_J1454.4+5124_daily_bin513.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/849605/ft2_4FGL_J1454.4+5124_daily_bin513.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/849605/ft1_4FGL_J1454.4+5124_daily_bin513.fits outfile=/scratch/kocevski/849605/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin513.fits ra=223.625 dec=51.409 rad=12.0 tmin=372297601.0 tmax=372556801.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.29
user 3.08
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/849605/ft1_filtered_4FGL_J1454.4+5124_daily_bin513.fits" evtable="EVENTS" scfile=/scratch/kocevski/849605/ft2_4FGL_J1454.4+5124_daily_bin513.fits sctable="SC_DATA" outfile=/scratch/kocevski/849605/ltcube_372297601_372556801_4FGL_J1454.4+5124_daily_bin513.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/849605/ft2_4FGL_J1454.4+5124_daily_bin513.fits
.....................!
real 11.90
user 11.55
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/849605/ft1_filtered_4FGL_J1454.4+5124_daily_bin513.fits evtable="EVENTS" scfile=/scratch/kocevski/849605/ft2_4FGL_J1454.4+5124_daily_bin513.fits sctable="SC_DATA" expcube=/scratch/kocevski/849605/ltcube_372297601_372556801_4FGL_J1454.4+5124_daily_bin513.fits outfile=/scratch/kocevski/849605/expmap_372297601_372556801_4FGL_J1454.4+5124_daily_bin513.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/849605/ltcube_372297601_372556801_4FGL_J1454.4+5124_daily_bin513.fits
.....................!
real 190.40
user 185.09
sys 4.89

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/849605/ft1_filtered_4FGL_J1454.4+5124_daily_bin513.fits scfile=/scratch/kocevski/849605/ft2_4FGL_J1454.4+5124_daily_bin513.fits outfile=/scratch/kocevski/849605/cmap_372297601_372556801_4FGL_J1454.4+5124_daily_bin513.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.57
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/849605/ft1_filtered_4FGL_J1454.4+5124_daily_bin513.fits scfile=/scratch/kocevski/849605/ft2_4FGL_J1454.4+5124_daily_bin513.fits outfile=/scratch/kocevski/849605/cmap_HighResolution_372297601_372556801_4FGL_J1454.4+5124_daily_bin513.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.56
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .12602E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    22.179       1.0000         .10000E-03   10000.    
     3 'Prefactor '    275.59       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10554E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .15576       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10124E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10108E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10224E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    104.62       1.0000         .10000E-03   10000.    
    12 'Prefactor '    11.148       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .17522E-02   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10084E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.4038       1.0000         .10000E-03   10000.    
    16 'norm      '    2.9018       1.0000         .10000E-03   10000.    
    17 'Prefactor '    3.4364       1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.3316       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .14856E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    12.627       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10065E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .16139E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .10019E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    10.075       1.0000         .10000E-03   10000.    
    27 'Normalizat'    .76259       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.1950       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=   6322.114     FROM MIGRAD    STATUS=CONVERGED    720 CALLS     4096 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    27.220        .15163E-05** at limit **
   2  norm          22.183        6.1562       -.12124E-06   -.56007E-04
   3  Prefactor     275.80        699.75        .10844E-04    .38589E-04
   4  Prefactor     .10000E-03    49.151        .94527E-06** at limit **
   5  Prefactor     .15863        78.173        .60605E-05   -.18893E-03
   6  Prefactor     .10000E-03    3.2248        .11926E-08** at limit **
   7  Prefactor     .10000E-03    10.167        .24642E-06** at limit **
   8  Prefactor     .10000E-03    1.2157       -.23203E-06** at limit **
   9  Prefactor     .10000E-03    8.9635       -.22697E-06** at limit **
  10  Prefactor     .10000E-03    11.405       -.42178E-06** at limit **
  11  Prefactor     104.64        58.170        .11489E-05    .20086E-03
  12  Prefactor     11.150        12.830       -.10133E-06   -.60825E-05
  13  Prefactor     .10001E-03    156.30       -.71118E-05** at limit **
  14  Prefactor     .10000E-03    6.0388       -.37813E-06** at limit **
  15  Prefactor     3.4064        18.152       -.19579E-05   -.23664E-03
  16  norm          2.9021        1.6128       -.50373E-07   -.40433E-03
  17  Prefactor     3.4303        7.1839        .70905E-06    .11965E-03
  18  Prefactor     2.3315        6.0859       -.69421E-06   -.55373E-03
  19  Prefactor     .10006E-03    9.4712        .83684E-06** at limit **
  20  norm          .10000E-03    .78155       -.42724E-07** at limit **
  21  Prefactor     .10000E-03    2.2550       -.31210E-07** at limit **
  22  Prefactor     12.626        15.990        .65137E-06    .15734E-04
  23  Prefactor     .10013E-03    17.331        .16952E-05** at limit **
  24  Prefactor     .10000E-03    3.7411       -.90445E-06** at limit **
  25  norm          .10000E-03    2.8413        .13086E-07** at limit **
  26  Prefactor     10.087        66.280        .17085E-05    .44933E-04
  27  Normalizat    .76273        .16412        .11210E-05    .37613E-03
  28  Prefactor     1.1949        .18560        .15275E-06    .45776E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100002
  norm       = 22.1827
  Prefactor  = 275.797
  Prefactor  = 0.0001
  Prefactor  = 0.158626
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 104.637
  Prefactor  = 11.1501
  Prefactor  = 0.000100011
  Prefactor  = 0.0001
  Prefactor  = 3.40637
  norm       = 2.90215
  Prefactor  = 3.43034
  Prefactor  = 2.33147
  Prefactor  = 0.00010006
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.6258
  Prefactor  = 0.000100128
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 10.0865
  Normalizat = 0.762733
  Prefactor  = 1.19485
 **********
 **   18 **HESSE 
 **********

 FCN=   6322.114     FROM HESSE     STATUS=OK           535 CALLS     4631 TOTAL
                     EDM=   .57E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    27.233        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          22.183        6.1335        .85052E-04   -1.4766    
   3  Prefactor     275.80        695.11        .12217E-03   -1.2371    
   4  Prefactor     .10000E-03    49.284        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .15863        38.782        .12273       -1.5628    
   6  Prefactor     .10000E-03    3.2647        .13925E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    10.221        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    2.2784        .16865E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    8.9856        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    11.513        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     104.64        58.711        .39313E-04   -1.3659    
  12  Prefactor     11.150        12.835        .11999E-03   -1.5040    
  13  Prefactor     .10001E-03    183.38        .68143E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    6.0615        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.4064        17.197        .21928E-03   -1.5339    
  16  norm          2.9021        1.6058        .71548E-04   -1.5367    
  17  Prefactor     3.4303        7.5672        .21819E-03   -1.5338    
  18  Prefactor     2.3315        5.9015        .26856E-03   -1.5403    
  19  Prefactor     .10006E-03    7.8356        .50412E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    .78279        .68640E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    2.2585        .11655E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     12.626        15.136        .11273E-03   -1.4997    
  23  Prefactor     .10013E-03    33.411        .38310E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    10.245        .28431E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .10000E-03    2.8473        .13087E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     10.087        65.907        .12624E-03   -1.5073    
  27  Normalizat    .76273        .20105        .24753E-03   -1.0147    
  28  Prefactor     1.1949        .22641        .23867E-03   -.86490    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.73757e-09
Minuit parameter uncertainties:
  1  0.000417409
  2  6.13369
  3  717.882
  4  0.000307547
  5  4.96227
  6  8.86419e-06
  7  3.49141e-05
  8  2.42095e-05
  9  3.68758e-05
  10  7.7613e-05
  11  58.7436
  12  12.8382
  13  0.00278956
  14  6.49269e-05
  15  15.3141
  16  1.60582
  17  7.56931
  18  5.903
  19  0.00137568
  20  3.25725e-06
  21  8.40555e-06
  22  15.1405
  23  0.00414302
  24  0.000106897
  25  2.55658e-06
  26  51.6493
  27  0.201245
  28  0.226598
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  2.902e+00  1.606e+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.195e+00  2.266e-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.627e-01  2.012e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.65
Ra Dec: 223.625 51.409
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 4.36e-08 +/- 2.41e-08
Energy Flux (Fixed Index): 3.12e-05 +/- 1.73e-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) = 6321.72890326
delta logL = 0.385309396966

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6321.71731598
delta logL = 0.396896673261

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.0995       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3335       1.0000          .0000       5.0000    
     3 'Normalizat'    .74756       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2041       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=   6321.717     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      234 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.0995        20.297        .71206E-02    .41203E-03
   2  alpha         2.3334        3.6412        .20446        .59447E-04
   3  Normalizat    .74756        .69212E-01    .42922E-01    .18176E-04
   4  Prefactor     1.2041        .72225E-01    .53778E-01    .62366E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 2.09949
  alpha      = 2.33337
  Normalizat = 0.74756
  Prefactor  = 1.20414
 **********
 **   18 **HESSE 
 **********

 FCN=   6321.717     FROM HESSE     STATUS=OK            33 CALLS      267 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.0995        1.6454        .57105E-04   -1.5418    
   2  alpha         2.3334        .45059        .82214E-02   -.66701E-01
   3  Normalizat    .74756        .18919        .24971E-03   -1.0204    
   4  Prefactor     1.2041        .22368        .23778E-03   -.86204    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.03092e-09
Minuit parameter uncertainties:
  1  1.64546
  2  0.453079
  3  0.189358
  4  0.223855
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/849605': 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) = 6321.71731576
delta logL = 0.396896896781

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  2.099e+00  1.645e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  2.333e+00  4.531e-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.204e+00  2.239e-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.476e-01  1.894e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.42
Ra Dec: 223.625 51.409
Photon Index (Free Index): 2.33 +/- 0.45
Photon Flux (Free Index): 5.82e-08 +/- 3.26e-08
Energy Flux (Free Index): 2.21e-05 +/- 1.42e-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/849605/cmap_HighResolution_372297601_372556801_4FGL_J1454.4+5124_daily_bin513.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.36e-08', energy_flux2='2.21e-05', photon_flux_error='2.41e-08', dlogl='3.97e-01', energy_flux='3.12e-05', photon_flux2='5.82e-08', job_status='DONE', time_completed='2021-09-10 13:02:28.671466', photon_index_error2='0.45', photon_index2='2.33', ts='6.65', fit_tolerance='1e-08', GAL='1.19', photon_index_error='0.00', energy_flux_error2='1.42e-05', EG='0.76', time_epoch_completed='1631304148.67', return_code='0', job_id='849605', GAL2='1.20', EG2='0.75', return_code2='0', energy_flux_error='1.73e-05', photon_flux_error2='3.26e-08', ts2='7.42', photon_index='1.97' WHERE bin_id='513' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 13:02:28 PDT 2021


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

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin513 223.625 51.409 372297601 372556801 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 :                                   791.00 sec.
    Max Memory :                                 1118 MB
    Average Memory :                             274.23 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   962 sec.
    Turnaround time :                            964 sec.

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

