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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin618
RA = 223.625, Dec = 51.409
tmin = 399513601, tmax = 399772801
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='849758', job_status='RUN', time_executed='2021-09-10 12:48:53.314300', time_epoch_executed='1631303333.31' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='618'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/849758

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/849758/ft1_4FGL_J1454.4+5124_daily_bin618.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/849758/ft2_4FGL_J1454.4+5124_daily_bin618.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/849758/ft1_4FGL_J1454.4+5124_daily_bin618.fits outfile=/scratch/kocevski/849758/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin618.fits ra=223.625 dec=51.409 rad=12.0 tmin=399513601.0 tmax=399772801.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 5.25
user 5.00
sys 0.24

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/849758/ft1_filtered_4FGL_J1454.4+5124_daily_bin618.fits evtable="EVENTS" scfile=/scratch/kocevski/849758/ft2_4FGL_J1454.4+5124_daily_bin618.fits sctable="SC_DATA" expcube=/scratch/kocevski/849758/ltcube_399513601_399772801_4FGL_J1454.4+5124_daily_bin618.fits outfile=/scratch/kocevski/849758/expmap_399513601_399772801_4FGL_J1454.4+5124_daily_bin618.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/849758/ltcube_399513601_399772801_4FGL_J1454.4+5124_daily_bin618.fits
.....................!
real 193.36
user 187.61
sys 5.39

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

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/849758/ft1_filtered_4FGL_J1454.4+5124_daily_bin618.fits scfile=/scratch/kocevski/849758/ft2_4FGL_J1454.4+5124_daily_bin618.fits outfile=/scratch/kocevski/849758/cmap_HighResolution_399513601_399772801_4FGL_J1454.4+5124_daily_bin618.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.36
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11309E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .65096       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .11260E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    36.883       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .16836E-01   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.6800       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .13082E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11837E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.3151       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .15064E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .13367       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    2.4591       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.1137       1.0000         .10000E-03   10000.    
    19 'Prefactor '    6.1838       1.0000         .10000E-03   10000.    
    20 'norm      '    .10029E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10050E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    18.970       1.0000         .10000E-03   10000.    
    23 'Prefactor '    4.8834       1.0000         .10000E-03   10000.    
    24 'Prefactor '    14.261       1.0000         .10000E-03   10000.    
    25 'norm      '    4.8267       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.1313       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .83032       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=   5262.856     FROM MIGRAD    STATUS=CONVERGED    714 CALLS     3514 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    254.27        .15436E-06** at limit **
   2  norm          .64705        3.9041        .24945E-05    .77457E-04
   3  Prefactor     .10001E-03    425.75       -.19066E-05** at limit **
   4  Prefactor     .10000E-03    13.268        .20143E-07** at limit **
   5  Prefactor     36.887        41.709       -.21758E-06   -.75122E-04
   6  Prefactor     .10545E-03    5.4132        .80204E-06** at limit **
   7  Prefactor     .10000E-03    6.3049        .33006E-07** at limit **
   8  Prefactor     5.6742        2.8634        .95082E-07   -.14472E-03
   9  Prefactor     .10000E-03    76.327       -.81929E-07** at limit **
  10  Prefactor     .10000E-03    132.45        .92107E-06** at limit **
  11  Prefactor     3.2858        126.59        .11920E-05   -.89513E-05
  12  Prefactor     .10000E-03    28.293        .36565E-07** at limit **
  13  Prefactor     .10000E-03    97.925       -.12911E-05** at limit **
  14  Prefactor     .12272        8.2855        .49160E-06   -.14498E-03
  15  Prefactor     .10000E-03    5.5396       -.45045E-07** at limit **
  16  norm          2.4588        1.5858        .20312E-07   -.85705E-04
  17  Prefactor     .10000E-03    7.3443       -.32736E-07** at limit **
  18  Prefactor     5.1143        6.0129        .21798E-06   -.19785E-04
  19  Prefactor     6.1835        5.6938        .12879E-06   -.89517E-05
  20  norm          .10000E-03    1.4162       -.39824E-08** at limit **
  21  Prefactor     .10000E-03    3.2129        .44648E-09** at limit **
  22  Prefactor     18.974        18.110       -.27316E-07   -.57825E-05
  23  Prefactor     4.8860        12.874        .51772E-06    .70138E-05
  24  Prefactor     14.262        10.058       -.21308E-07   -.51418E-05
  25  norm          4.8269        9.1106        .28771E-06    .93253E-05
  26  Prefactor     .10000E-03    23.441        .60062E-08** at limit **
  27  Normalizat    1.1310        .18049       -.49398E-06   -.18872E-03
  28  Prefactor     .83043        .20499       -.24104E-06   -.15198E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.647049
  Prefactor  = 0.000100009
  Prefactor  = 0.0001
  Prefactor  = 36.8869
  Prefactor  = 0.00010545
  Prefactor  = 0.0001
  Prefactor  = 5.67421
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.28584
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.122718
  Prefactor  = 0.0001
  norm       = 2.45876
  Prefactor  = 0.0001
  Prefactor  = 5.11434
  Prefactor  = 6.1835
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 18.9742
  Prefactor  = 4.88601
  Prefactor  = 14.2617
  norm       = 4.82687
  Prefactor  = 0.0001
  Normalizat = 1.13105
  Prefactor  = 0.830432
 **********
 **   18 **HESSE 
 **********

 FCN=   5262.856     FROM HESSE     STATUS=OK           533 CALLS     4047 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    255.26        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .64705        3.9111        .27201E-03   -1.5547    
   3  Prefactor     .10001E-03    426.25        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    13.269        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     36.887        41.763        .65992E-04   -1.4493    
   6  Prefactor     .10545E-03    4.9506        .47568E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    6.3120        .17790E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     5.6742        2.8470        .82759E-04   -1.5232    
   9  Prefactor     .10000E-03    77.877        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    135.56        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.2858        126.49        .22234E-03   -1.5345    
  12  Prefactor     .10000E-03    28.563        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    99.775        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .12272        11.085        .72100E-01   -1.5638    
  15  Prefactor     .10000E-03    5.5477        .16672E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          2.4588        1.5826        .70748E-04   -1.5394    
  17  Prefactor     .10000E-03    7.4106        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     5.1143        6.0082        .17779E-03   -1.5256    
  19  Prefactor     6.1835        5.6943        .16002E-03   -1.5211    
  20  norm          .10000E-03    1.4226        .84255E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    3.2173        .12691E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     18.974        18.049        .91959E-04   -1.4837    
  23  Prefactor     4.8860        12.816        .18202E-03   -1.5266    
  24  Prefactor     14.262        10.033        .10606E-03   -1.4952    
  25  norm          4.8269        9.0803        .18311E-03   -1.5269    
  26  Prefactor     .10000E-03    23.442        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    1.1310        .21397        .21451E-03   -.88761    
  28  Prefactor     .83043        .24286        .28238E-03   -.98616    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.41251e-10
Minuit parameter uncertainties:
  1  0.000352277
  2  3.18166
  3  0.00390639
  4  2.32311e-06
  5  41.7961
  6  0.0103894
  7  2.97992e-07
  8  2.84707
  9  5.14335e-05
  10  0.000100529
  11  40.8657
  12  1.3907e-05
  13  0.000501709
  14  2.33221
  15  1.83117e-06
  16  1.58258
  17  1.61808e-06
  18  6.00891
  19  5.69479
  20  2.24665e-07
  21  5.88255e-07
  22  18.0542
  23  12.8228
  24  10.034
  25  9.08292
  26  2.53846e-06
  27  0.214131
  28  0.243179
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  2.459e+00  1.583e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  1.968e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
309         beta:  5.547e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
310           Eb:  1.384e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
642    Prefactor:  8.304e-01  2.432e-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.131e+00  2.141e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.25
Ra Dec: 223.625 51.409
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 3.70e-08 +/- 2.38e-08
Energy Flux (Fixed Index): 2.64e-05 +/- 1.70e-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) = 5262.85524584
delta logL = 0.000395341370677

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5262.85511857
delta logL = 0.00052261205019

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.4314       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9848       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1304       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83088       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=   5262.855     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      196 TOTAL
                     EDM=   .58E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.4314        38.464        .65609E-02    .12925E-03
   2  alpha         1.9848        3.3101        .28764        .21451E-04
   3  Normalizat    1.1304        .93506E-01    .36879E-01    .47340E-04
   4  Prefactor     .83088        .83047E-01    .63824E-01   -.24944E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.43136
  alpha      = 1.98483
  Normalizat = 1.1304
  Prefactor  = 0.830879
 **********
 **   18 **HESSE 
 **********

 FCN=   5262.855     FROM HESSE     STATUS=OK            33 CALLS      229 TOTAL
                     EDM=   .57E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.4314        1.8191        .70239E-04   -1.5396    
   2  alpha         1.9848        .51628        .10761E-01   -.20755    
   3  Normalizat    1.1304        .20961        .21456E-03   -.88782    
   4  Prefactor     .83088        .24064        .28231E-03   -.98600    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.67708e-10
Minuit parameter uncertainties:
  1  1.81914
  2  0.520194
  3  0.209762
  4  0.240942
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/849758': 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) = 5262.85511857
delta logL = 0.000522612610439

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  2.431e+00  1.819e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  1.985e+00  5.202e-01  0.000e+00  5.000e+00 ( 1.000e+00)
309         beta:  5.547e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
310           Eb:  1.384e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
642    Prefactor:  8.309e-01  2.409e-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.130e+00  2.098e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.24
Ra Dec: 223.625 51.409
Photon Index (Free Index): 1.98 +/- 0.52
Photon Flux (Free Index): 3.75e-08 +/- 2.86e-08
Energy Flux (Free Index): 2.59e-05 +/- 2.43e-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/849758/cmap_HighResolution_399513601_399772801_4FGL_J1454.4+5124_daily_bin618.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.70e-08', energy_flux2='2.59e-05', photon_flux_error='2.38e-08', dlogl='5.23e-04', energy_flux='2.64e-05', photon_flux2='3.75e-08', job_status='DONE', time_completed='2021-09-10 13:00:19.214604', photon_index_error2='0.52', photon_index2='1.98', ts='6.25', fit_tolerance='1e-08', GAL='0.83', photon_index_error='0.00', energy_flux_error2='2.43e-05', EG='1.13', time_epoch_completed='1631304019.21', return_code='0', job_id='849758', GAL2='0.83', EG2='1.13', return_code2='0', energy_flux_error='1.70e-05', photon_flux_error2='2.86e-08', ts2='6.24', photon_index='1.97' WHERE bin_id='618' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 13:00:19 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0244>
Subject: Job 849758: <4FGL_J1454.4+5124_daily_bin618> in cluster <slac> Done

Job <4FGL_J1454.4+5124_daily_bin618> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 10 12:46:35 2021
Job was executed on host(s) <bullet0244>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 12:46:35 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 12:46:35 2021
Terminated at Fri Sep 10 13:00:19 2021
Results reported at Fri Sep 10 13:00:19 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin618 223.625 51.409 399513601 399772801 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 :                                   685.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             254.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   824 sec.
    Turnaround time :                            824 sec.

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

