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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin716
RA = 223.625, Dec = 51.409
tmin = 424915201, tmax = 425174401
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='850936', job_status='RUN', time_executed='2021-09-10 12:53:35.667580', time_epoch_executed='1631303615.67' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='716'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/850936

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/850936/ft1_4FGL_J1454.4+5124_daily_bin716.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/850936/ft2_4FGL_J1454.4+5124_daily_bin716.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/850936/ft1_4FGL_J1454.4+5124_daily_bin716.fits outfile=/scratch/kocevski/850936/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin716.fits ra=223.625 dec=51.409 rad=12.0 tmin=424915201.0 tmax=425174401.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.43
user 3.19
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/850936/ft2_4FGL_J1454.4+5124_daily_bin716.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/850936/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin716.fits evtable="EVENTS" outfile="/scratch/kocevski/850936/ft1_filtered_4FGL_J1454.4+5124_daily_bin716.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/850936/ft1_filtered_4FGL_J1454.4+5124_daily_bin716.fits" evtable="EVENTS" scfile=/scratch/kocevski/850936/ft2_4FGL_J1454.4+5124_daily_bin716.fits sctable="SC_DATA" outfile=/scratch/kocevski/850936/ltcube_424915201_425174401_4FGL_J1454.4+5124_daily_bin716.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/850936/ft2_4FGL_J1454.4+5124_daily_bin716.fits
.....................!
real 13.61
user 13.24
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/850936/ft1_filtered_4FGL_J1454.4+5124_daily_bin716.fits evtable="EVENTS" scfile=/scratch/kocevski/850936/ft2_4FGL_J1454.4+5124_daily_bin716.fits sctable="SC_DATA" expcube=/scratch/kocevski/850936/ltcube_424915201_425174401_4FGL_J1454.4+5124_daily_bin716.fits outfile=/scratch/kocevski/850936/expmap_424915201_425174401_4FGL_J1454.4+5124_daily_bin716.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/850936/ltcube_424915201_425174401_4FGL_J1454.4+5124_daily_bin716.fits
.....................!
real 192.05
user 187.16
sys 4.32

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/850936/ft1_filtered_4FGL_J1454.4+5124_daily_bin716.fits scfile=/scratch/kocevski/850936/ft2_4FGL_J1454.4+5124_daily_bin716.fits outfile=/scratch/kocevski/850936/cmap_424915201_425174401_4FGL_J1454.4+5124_daily_bin716.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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/850936/ft1_filtered_4FGL_J1454.4+5124_daily_bin716.fits scfile=/scratch/kocevski/850936/ft2_4FGL_J1454.4+5124_daily_bin716.fits outfile=/scratch/kocevski/850936/cmap_HighResolution_424915201_425174401_4FGL_J1454.4+5124_daily_bin716.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.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    2.3509       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .19598E-02   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.5926       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.7174       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10744E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    16.282       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.0332       1.0000         .10000E-03   10000.    
    14 'Prefactor '    21.991       1.0000         .10000E-03   10000.    
    15 'Prefactor '    11.882       1.0000         .10000E-03   10000.    
    16 'norm      '    5.0840       1.0000         .10000E-03   10000.    
    17 'Prefactor '    3.7427       1.0000         .10000E-03   10000.    
    18 'Prefactor '    6.1999       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    3.8990       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    1.7775       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .63620E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    5.8082       1.0000         .10000E-03   10000.    
    25 'norm      '    11.997       1.0000         .10000E-03   10000.    
    26 'Prefactor '    24.888       1.0000         .10000E-03   10000.    
    27 'Normalizat'    .86627       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.1269       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=   6945.027     FROM MIGRAD    STATUS=CONVERGED    710 CALLS     3489 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    26.615        .86992E-07** at limit **
   2  norm          2.3505        2.8196        .42122E-06    .70229E-03
   3  Prefactor     .10007E-03    413.07        .52036E-05** at limit **
   4  Prefactor     .10000E-03    16.704       -.14218E-06** at limit **
   5  Prefactor     .10000E-03    13.221       -.15290E-06** at limit **
   6  Prefactor     2.5925        2.6180       -.10010E-06   -.32033E-03
   7  Prefactor     .10000E-03    5.0628        .15101E-07** at limit **
   8  Prefactor     1.7170        2.0374        .29489E-06    .65591E-03
   9  Prefactor     .10000E-03    10.943       -.57497E-06** at limit **
  10  Prefactor     16.281        15.912       -.30740E-06   -.17006E-03
  11  Prefactor     .10000E-03    19.925       -.18866E-06** at limit **
  12  Prefactor     .10000E-03    19.590       -.75347E-08** at limit **
  13  Prefactor     3.9507        54.787        .99626E-06    .22303E-04
  14  Prefactor     21.989        16.445        .12302E-06   -.31576E-04
  15  Prefactor     11.882        18.145       -.92998E-08    .64358E-05
  16  norm          5.0842        2.1273        .38072E-07    .17842E-03
  17  Prefactor     3.7424        8.3367        .13741E-05    .39469E-03
  18  Prefactor     6.1994        6.9240        .56418E-06    .29386E-03
  19  Prefactor     .10000E-03    1.9585       -.76150E-07** at limit **
  20  norm          3.9000        2.8280       -.24228E-06   -.14938E-02
  21  Prefactor     .10000E-03    2.3302        .52883E-06** at limit **
  22  Prefactor     1.7844        27.159       -.13607E-05   -.29629E-03
  23  Prefactor     .10002E-03    18.709        .10378E-04** at limit **
  24  Prefactor     5.8085        4.9573       -.10218E-07   -.54392E-04
  25  norm          11.998        7.9545        .85082E-07    .10427E-04
  26  Prefactor     24.679        59.373       -.13996E-05   -.11453E-03
  27  Normalizat    .86644        .15395       -.15881E-05   -.78650E-03
  28  Prefactor     1.1266        .18014        .64045E-06   -.65015E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 2.35054
  Prefactor  = 0.000100066
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.59248
  Prefactor  = 0.0001
  Prefactor  = 1.71699
  Prefactor  = 0.0001
  Prefactor  = 16.2813
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.95068
  Prefactor  = 21.9892
  Prefactor  = 11.8821
  norm       = 5.08419
  Prefactor  = 3.74242
  Prefactor  = 6.19943
  Prefactor  = 0.0001
  norm       = 3.90003
  Prefactor  = 0.0001
  Prefactor  = 1.78439
  Prefactor  = 0.000100017
  Prefactor  = 5.80846
  norm       = 11.9976
  Prefactor  = 24.6794
  Normalizat = 0.866444
  Prefactor  = 1.12665
 **********
 **   18 **HESSE 
 **********

 FCN=   6945.027     FROM HESSE     STATUS=OK           517 CALLS     4006 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    26.617        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.3505        2.8264        .14878E-03   -1.5401    
   3  Prefactor     .10007E-03    416.73        .20247E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    16.713        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    13.235        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.5925        2.6249        .13198E-03   -1.5386    
   7  Prefactor     .10000E-03    5.0699        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.7170        2.0231        .12148E-03   -1.5446    
   9  Prefactor     .10000E-03    10.979        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     16.281        15.917        .99259E-04   -1.4901    
  11  Prefactor     .10000E-03    19.933        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    19.706        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     3.9507        54.950        .20079E-03   -1.5310    
  14  Prefactor     21.989        16.438        .85413E-04   -1.4770    
  15  Prefactor     11.882        18.065        .11621E-03   -1.5018    
  16  norm          5.0842        2.1250        .72008E-04   -1.5257    
  17  Prefactor     3.7424        8.4489        .20871E-03   -1.5321    
  18  Prefactor     6.1994        6.9299        .16122E-03   -1.5210    
  19  Prefactor     .10000E-03    1.9657        .11384E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          3.9000        2.8446        .11591E-03   -1.5313    
  21  Prefactor     .10000E-03    2.3519        .12464E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     1.7844        26.394        .31396E-03   -1.5441    
  23  Prefactor     .10002E-03    19.514        .37384E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     5.8085        4.9552        .16412E-03   -1.5226    
  25  norm          11.998        7.9544        .11565E-03   -1.5015    
  26  Prefactor     24.679        59.700        .80297E-04   -1.4714    
  27  Normalizat    .86644        .18492        .24279E-03   -.97649    
  28  Prefactor     1.1266        .21521        .25317E-03   -.88619    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.9902e-09
Minuit parameter uncertainties:
  1  4.42432e-05
  2  2.82657
  3  0.0105624
  4  3.68431e-05
  5  3.91054e-05
  6  2.62504
  7  3.32857e-06
  8  2.0232
  9  0.000123275
  10  15.9209
  11  4.82051e-05
  12  1.41231e-05
  13  29.5004
  14  16.4418
  15  18.0737
  16  2.12508
  17  8.4516
  18  6.93084
  19  7.69154e-06
  20  2.84465
  21  4.54908e-05
  22  13.7324
  23  0.00116439
  24  4.95556
  25  7.95507
  26  59.8454
  27  0.185056
  28  0.215379
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  5.084e+00  2.125e+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.127e+00  2.154e-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.664e-01  1.851e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 11.43
Ra Dec: 223.625 51.409
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 7.64e-08 +/- 3.19e-08
Energy Flux (Fixed Index): 5.47e-05 +/- 2.29e-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) = 6943.91149857
delta logL = 1.11544182589

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6943.9094995
delta logL = 1.11744089429

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.8577       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5230       1.0000          .0000       5.0000    
     3 'Normalizat'    .82374       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1579       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=   6943.909     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      235 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.8578        15.369        .60122E-03    .91013E-03
   2  alpha         2.5230        3.5629        .14993        .19113E-03
   3  Normalizat    .82373        .91430E-01    .43919E-01    .15561E-04
   4  Prefactor     1.1579        .86869E-01    .56530E-01    .29288E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.85775
  alpha      = 2.523
  Normalizat = 0.82373
  Prefactor  = 1.15788
 **********
 **   18 **HESSE 
 **********

 FCN=   6943.909     FROM HESSE     STATUS=OK            33 CALLS      268 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.8578        2.2214        .24049E-04   -1.5370    
   2  alpha         2.5230        .45110        .62247E-02    .91998E-02
   3  Normalizat    .82373        .18252        .24793E-03   -.99194    
   4  Prefactor     1.1579        .21295        .24997E-03   -.87637    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.50198e-10
Minuit parameter uncertainties:
  1  2.22141
  2  0.453587
  3  0.182652
  4  0.213104
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/850936': 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) = 6943.90949949
delta logL = 1.11744090259

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  2.858e+00  2.221e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  2.523e+00  4.536e-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.158e+00  2.131e-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.237e-01  1.827e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 13.74
Ra Dec: 223.625 51.409
Photon Index (Free Index): 2.52 +/- 0.45
Photon Flux (Free Index): 1.13e-07 +/- 4.53e-08
Energy Flux (Free Index): 3.43e-05 +/- 1.58e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/850936/cmap_HighResolution_424915201_425174401_4FGL_J1454.4+5124_daily_bin716.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.64e-08', energy_flux2='3.43e-05', photon_flux_error='3.19e-08', dlogl='1.12e+00', energy_flux='5.47e-05', photon_flux2='1.13e-07', job_status='DONE', time_completed='2021-09-10 13:06:38.689697', photon_index_error2='0.45', photon_index2='2.52', ts='11.43', fit_tolerance='1e-08', GAL='1.13', photon_index_error='0.00', energy_flux_error2='1.58e-05', EG='0.87', time_epoch_completed='1631304398.69', return_code='0', job_id='850936', GAL2='1.16', EG2='0.82', return_code2='0', energy_flux_error='2.29e-05', photon_flux_error2='4.53e-08', ts2='13.74', photon_index='1.97' WHERE bin_id='716' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 13:06:38 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0072>
Subject: Job 850936: <4FGL_J1454.4+5124_daily_bin716> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin716 223.625 51.409 424915201 425174401 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 :                                   783.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             289.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   928 sec.
    Turnaround time :                            930 sec.

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

