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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin788
RA = 223.625, Dec = 51.409
tmin = 443577601, tmax = 443836801
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='851043', job_status='RUN', time_executed='2021-09-10 12:53:24.893576', time_epoch_executed='1631303604.89' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='788'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/851043

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/851043/ft1_4FGL_J1454.4+5124_daily_bin788.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/851043/ft2_4FGL_J1454.4+5124_daily_bin788.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/851043/ft1_4FGL_J1454.4+5124_daily_bin788.fits outfile=/scratch/kocevski/851043/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin788.fits ra=223.625 dec=51.409 rad=12.0 tmin=443577601.0 tmax=443836801.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.58
user 3.33
sys 0.22

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/851043/ft1_filtered_4FGL_J1454.4+5124_daily_bin788.fits evtable="EVENTS" scfile=/scratch/kocevski/851043/ft2_4FGL_J1454.4+5124_daily_bin788.fits sctable="SC_DATA" expcube=/scratch/kocevski/851043/ltcube_443577601_443836801_4FGL_J1454.4+5124_daily_bin788.fits outfile=/scratch/kocevski/851043/expmap_443577601_443836801_4FGL_J1454.4+5124_daily_bin788.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/851043/ltcube_443577601_443836801_4FGL_J1454.4+5124_daily_bin788.fits
.....................!
real 190.30
user 185.37
sys 4.58

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/851043/ft1_filtered_4FGL_J1454.4+5124_daily_bin788.fits scfile=/scratch/kocevski/851043/ft2_4FGL_J1454.4+5124_daily_bin788.fits outfile=/scratch/kocevski/851043/cmap_443577601_443836801_4FGL_J1454.4+5124_daily_bin788.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.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/851043/ft1_filtered_4FGL_J1454.4+5124_daily_bin788.fits scfile=/scratch/kocevski/851043/ft2_4FGL_J1454.4+5124_daily_bin788.fits outfile=/scratch/kocevski/851043/cmap_HighResolution_443577601_443836801_4FGL_J1454.4+5124_daily_bin788.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.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    1.4895       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.2347       1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.1321       1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.2518       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .90078       1.0000         .10000E-03   10000.    
     9 'Prefactor '    13.094       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    13.799       1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.9839       1.0000         .10000E-03   10000.    
    13 'Prefactor '    30.530       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    3.8749       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10355E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.2556       1.0000         .10000E-03   10000.    
    20 'norm      '    .11264E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10592E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    17.064       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    98.042       1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.5143       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .47566       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=   7139.072     FROM MIGRAD    STATUS=CONVERGED    709 CALLS     3517 TOTAL
                     EDM=   .36E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    20.576       -.23431E-06** at limit **
   2  norm          1.4890        2.1825        .21403E-06   -.78564E-03
   3  Prefactor     .10000E-03    235.65       -.34111E-05** at limit **
   4  Prefactor     .10000E-03    14.309       -.50983E-06** at limit **
   5  Prefactor     5.2334        20.855        .20304E-05   -.74571E-05
   6  Prefactor     3.1323        3.2786        .10908E-06   -.24840E-03
   7  Prefactor     5.2562        15.955       -.19888E-05    .32661E-04
   8  Prefactor     .90548        1.8157       -.71629E-06   -.13176E-02
   9  Prefactor     13.086        25.475        .70814E-05   -.61475E-04
  10  Prefactor     .10000E-03    12.194       -.23846E-07** at limit **
  11  Prefactor     13.795        24.458        .27113E-05   -.36068E-04
  12  Prefactor     3.9826        36.937        .18012E-05   -.13987E-05
  13  Prefactor     30.525        31.072        .24653E-05   -.90235E-04
  14  Prefactor     .10000E-03    3.3804        .18446E-07** at limit **
  15  Prefactor     .10000E-03    4.3240       -.54823E-07** at limit **
  16  norm          3.8750        1.4967       -.33267E-08    .37509E-04
  17  Prefactor     .10000E-03    9.9432       -.10581E-06** at limit **
  18  Prefactor     .10000E-03    2.2476        .30981E-06** at limit **
  19  Prefactor     2.2607        4.8580       -.30010E-06   -.44222E-03
  20  norm          .10000E-03    1.6662        .60255E-07** at limit **
  21  Prefactor     .10000E-03    3.6772        .11251E-07** at limit **
  22  Prefactor     .10000E-03    37.080        .50552E-06** at limit **
  23  Prefactor     17.059        12.441       -.13114E-06   -.64768E-07
  24  Prefactor     .10000E-03    3.0422        .29638E-06** at limit **
  25  norm          .10000E-03    3.1938        .81510E-07** at limit **
  26  Prefactor     98.044        71.182        .13369E-05   -.15005E-04
  27  Normalizat    1.5141        .16789       -.10781E-07    .60708E-04
  28  Prefactor     .47582        .17786       -.14076E-05    .98526E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 1.48905
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.23344
  Prefactor  = 3.13233
  Prefactor  = 5.25615
  Prefactor  = 0.90548
  Prefactor  = 13.0858
  Prefactor  = 0.0001
  Prefactor  = 13.795
  Prefactor  = 3.98257
  Prefactor  = 30.5251
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.875
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.26069
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.0588
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 98.0445
  Normalizat = 1.51411
  Prefactor  = 0.475825
 **********
 **   18 **HESSE 
 **********

 FCN=   7139.072     FROM HESSE     STATUS=OK           521 CALLS     4038 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    20.576        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.4890        2.6822        .90412E-03   -1.5464    
   3  Prefactor     .10000E-03    235.55        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    14.318        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     5.2334        20.828        .17569E-03   -1.5250    
   6  Prefactor     3.1323        3.3125        .76171E-03   -1.5354    
   7  Prefactor     5.2562        16.030        .17540E-03   -1.5249    
   8  Prefactor     .90548        1.6205        .15502E-02   -1.5518    
   9  Prefactor     13.086        25.607        .11070E-03   -1.4984    
  10  Prefactor     .10000E-03    12.222        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     13.795        24.401        .10783E-03   -1.4965    
  12  Prefactor     3.9826        37.195        .20207E-03   -1.5309    
  13  Prefactor     30.525        30.825        .72513E-04   -1.4602    
  14  Prefactor     .10000E-03    3.3846        .15171E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    4.3339        .17158E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          3.8750        1.4967        .62269E-04   -1.5314    
  17  Prefactor     .10000E-03    10.088        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    2.2660        .12367E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     2.2607        7.9317        .13678E-02   -1.5407    
  20  norm          .10000E-03    4.0261        .20921E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    3.6842        .15798E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    37.505        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     17.059        12.343        .96958E-04   -1.4882    
  24  Prefactor     .10000E-03    3.0602        .14390E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .10000E-03    3.2064        .14746E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     98.044        71.129        .40597E-04   -1.3724    
  27  Normalizat    1.5141        .20088        .19712E-03   -.77383    
  28  Prefactor     .47582        .20318        .36307E-03   -1.1310    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.29843e-09
Minuit parameter uncertainties:
  1  6.84365e-06
  2  2.68243
  3  0.000376128
  4  1.37124e-05
  5  20.857
  6  3.31265
  7  16.0436
  8  1.62057
  9  25.6288
  10  2.86658e-05
  11  24.4182
  12  24.3614
  13  30.8412
  14  1.32198e-06
  15  2.32833e-06
  16  1.4967
  17  3.03174e-06
  18  1.12996e-06
  19  7.9354
  20  3.17778e-05
  21  5.30942e-06
  22  6.00871e-05
  23  12.3449
  24  1.80579e-06
  25  4.89009e-07
  26  71.1912
  27  0.200986
  28  0.203492
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  3.875e+00  1.497e+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:  4.758e-01  2.035e-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.514e+00  2.010e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 20.95
Ra Dec: 223.625 51.409
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 5.82e-08 +/- 2.25e-08
Energy Flux (Fixed Index): 4.17e-05 +/- 1.61e-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) = 7138.35388132
delta logL = 0.718451071727

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7138.3321941
delta logL = 0.740138298071

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.4101       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.5992       1.0000          .0000       5.0000    
     3 'Normalizat'    1.5304       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .46801       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=   7138.332     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      213 TOTAL
                     EDM=   .20E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.4100        2.3113        .47943E-02   -.69823E-04
   2  alpha         1.5990        .35452        .23610        .42447E-05
   3  Normalizat    1.5304        .16232        .44415E-01   -.30020E-05
   4  Prefactor     .46805        .17752        .82625E-01    .48019E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.40997
  alpha      = 1.59896
  Normalizat = 1.53041
  Prefactor  = 0.46805
 **********
 **   18 **HESSE 
 **********

 FCN=   7138.332     FROM HESSE     STATUS=OK            33 CALLS      246 TOTAL
                     EDM=   .12E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.4100        1.7777        .69538E-04   -1.5288    
   2  alpha         1.5990        .29650        .95917E-02   -.36871    
   3  Normalizat    1.5304        .18265        .19632E-03   -.76927    
   4  Prefactor     .46805        .19949        .36600E-03   -1.1347    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.17371e-13
Minuit parameter uncertainties:
  1  1.77773
  2  0.297305
  3  0.182732
  4  0.199789
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/851043': 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) = 7138.33219372
delta logL = 0.740138672134

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  4.410e+00  1.778e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  1.599e+00  2.973e-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:  4.681e-01  1.998e-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.530e+00  1.827e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 22.44
Ra Dec: 223.625 51.409
Photon Index (Free Index): 1.60 +/- 0.30
Photon Flux (Free Index): 4.11e-08 +/- 2.10e-08
Energy Flux (Free Index): 7.47e-05 +/- 4.94e-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/851043/cmap_HighResolution_443577601_443836801_4FGL_J1454.4+5124_daily_bin788.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.82e-08', energy_flux2='7.47e-05', photon_flux_error='2.25e-08', dlogl='7.40e-01', energy_flux='4.17e-05', photon_flux2='4.11e-08', job_status='DONE', time_completed='2021-09-10 13:06:38.610714', photon_index_error2='0.30', photon_index2='1.60', ts='20.95', fit_tolerance='1e-08', GAL='0.48', photon_index_error='0.00', energy_flux_error2='4.94e-05', EG='1.51', time_epoch_completed='1631304398.61', return_code='0', job_id='851043', GAL2='0.47', EG2='1.53', return_code2='0', energy_flux_error='1.61e-05', photon_flux_error2='2.10e-08', ts2='22.44', photon_index='1.97' WHERE bin_id='788' 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@bullet0299>
Subject: Job 851043: <4FGL_J1454.4+5124_daily_bin788> in cluster <slac> Done

Job <4FGL_J1454.4+5124_daily_bin788> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 10 12:51:16 2021
Job was executed on host(s) <bullet0299>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 12:51:17 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:17 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_bin788 223.625 51.409 443577601 443836801 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 :                                   794.07 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             297.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   921 sec.
    Turnaround time :                            923 sec.

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

