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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin495
RA = 223.625, Dec = 51.409
tmin = 367632001, tmax = 367891201
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='849579', job_status='RUN', time_executed='2021-09-10 12:50:18.797824', time_epoch_executed='1631303418.8' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='495'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/849579

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

Retrieving the FT1 file...

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

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

Retrieving 52 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/849579/ft1_4FGL_J1454.4+5124_daily_bin495.fits


Retrieving the FT1 file...

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

Retrieving 52 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/849579/ft2_4FGL_J1454.4+5124_daily_bin495.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/849579/ft1_4FGL_J1454.4+5124_daily_bin495.fits outfile=/scratch/kocevski/849579/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin495.fits ra=223.625 dec=51.409 rad=12.0 tmin=367632001.0 tmax=367891201.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.15
user 4.90
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/849579/ft2_4FGL_J1454.4+5124_daily_bin495.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/849579/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin495.fits evtable="EVENTS" outfile="/scratch/kocevski/849579/ft1_filtered_4FGL_J1454.4+5124_daily_bin495.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/849579/ft1_filtered_4FGL_J1454.4+5124_daily_bin495.fits" evtable="EVENTS" scfile=/scratch/kocevski/849579/ft2_4FGL_J1454.4+5124_daily_bin495.fits sctable="SC_DATA" outfile=/scratch/kocevski/849579/ltcube_367632001_367891201_4FGL_J1454.4+5124_daily_bin495.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/849579/ft2_4FGL_J1454.4+5124_daily_bin495.fits
.....................!
real 11.76
user 11.42
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/849579/ft1_filtered_4FGL_J1454.4+5124_daily_bin495.fits evtable="EVENTS" scfile=/scratch/kocevski/849579/ft2_4FGL_J1454.4+5124_daily_bin495.fits sctable="SC_DATA" expcube=/scratch/kocevski/849579/ltcube_367632001_367891201_4FGL_J1454.4+5124_daily_bin495.fits outfile=/scratch/kocevski/849579/expmap_367632001_367891201_4FGL_J1454.4+5124_daily_bin495.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/849579/ltcube_367632001_367891201_4FGL_J1454.4+5124_daily_bin495.fits
.....................!
real 193.03
user 187.43
sys 5.24

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/849579/ft1_filtered_4FGL_J1454.4+5124_daily_bin495.fits scfile=/scratch/kocevski/849579/ft2_4FGL_J1454.4+5124_daily_bin495.fits outfile=/scratch/kocevski/849579/cmap_367632001_367891201_4FGL_J1454.4+5124_daily_bin495.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.39
sys 0.13

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    55.473       1.0000         .10000E-03   10000.    
     2 'norm      '    1.4647       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10197E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    46.950       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .96291       1.0000         .10000E-03   10000.    
     9 'Prefactor '    45.888       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10334E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10165E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    19.427       1.0000         .10000E-03   10000.    
    16 'norm      '    1.7238       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.2189       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    3.8890       1.0000         .10000E-03   10000.    
    21 'Prefactor '    4.3052       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .11609E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    7.2743       1.0000         .10000E-03   10000.    
    25 'norm      '    2.8826       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.0678       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .67180       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=   6079.547     FROM MIGRAD    STATUS=CONVERGED    687 CALLS     3459 TOTAL
                     EDM=   .42E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          55.475        58.027        .58024E-06    .17652E-04
   2  norm          1.4649        3.2395        .91562E-07   -.30341E-03
   3  Prefactor     .10000E-03    227.72       -.11231E-05** at limit **
   4  Prefactor     .10000E-03    10.288       -.51452E-06** at limit **
   5  Prefactor     46.951        37.540        .17362E-06    .10460E-04
   6  Prefactor     .10000E-03    1.6768        .67225E-08** at limit **
   7  Prefactor     .10000E-03    10.789        .63913E-06** at limit **
   8  Prefactor     .96325        .99784        .73974E-08    .13956E-03
   9  Prefactor     45.889        24.420       -.38831E-06   -.69202E-04
  10  Prefactor     .10000E-03    18.089       -.20582E-05** at limit **
  11  Prefactor     .10000E-03    54.231        .46919E-06** at limit **
  12  Prefactor     .10000E-03    21.855        .12768E-05** at limit **
  13  Prefactor     .10000E-03    19.847        .52901E-05** at limit **
  14  Prefactor     .10000E-03    3.4319       -.12099E-07** at limit **
  15  Prefactor     19.428        15.886        .13513E-07   -.90063E-05
  16  norm          1.7239        1.0805       -.31675E-08    .17154E-03
  17  Prefactor     .10000E-03    7.2905        .70829E-07** at limit **
  18  Prefactor     5.2194        5.2843       -.11347E-06   -.10563E-03
  19  Prefactor     .10000E-03    3.8221        .41972E-08** at limit **
  20  norm          3.8887        3.7962        .11679E-07   -.32896E-04
  21  Prefactor     4.3078        8.5581        .40277E-07   -.67958E-04
  22  Prefactor     .10000E-03    6.5058       -.87405E-08** at limit **
  23  Prefactor     .10000E-03    18.104       -.58729E-06** at limit **
  24  Prefactor     7.2775        6.9075        .10901E-05   -.12036E-02
  25  norm          2.8813        8.0973       -.10671E-05   -.14688E-03
  26  Prefactor     .10000E-03    22.426       -.43045E-05** at limit **
  27  Normalizat    1.0675        .15588        .69815E-07   -.10264E-04
  28  Prefactor     .67207        .17003       -.17947E-06   -.24344E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 55.4748
  norm       = 1.46495
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 46.9507
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.963252
  Prefactor  = 45.889
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 19.4282
  norm       = 1.72386
  Prefactor  = 0.0001
  Prefactor  = 5.21942
  Prefactor  = 0.0001
  norm       = 3.88867
  Prefactor  = 4.30783
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.27754
  norm       = 2.88125
  Prefactor  = 0.000100001
  Normalizat = 1.06747
  Prefactor  = 0.672074
 **********
 **   18 **HESSE 
 **********

 FCN=   6079.547     FROM HESSE     STATUS=OK           515 CALLS     3974 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          55.475        58.045        .53857E-04   -1.4217    
   2  norm          1.4649        3.2615        .20204E-03   -1.5466    
   3  Prefactor     .10000E-03    227.76        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    10.295        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     46.951        37.721        .58518E-04   -1.4336    
   6  Prefactor     .10000E-03    1.6821        .98540E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    10.834        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .96325        1.0176        .76840E-04   -1.5512    
   9  Prefactor     45.889        24.533        .59189E-04   -1.4352    
  10  Prefactor     .10000E-03    18.272        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    54.851        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    21.990        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    20.621        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    3.4332        .14106E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     19.428        15.893        .90871E-04   -1.4826    
  16  norm          1.7239        1.0805        .15994E-03   -1.5445    
  17  Prefactor     .10000E-03    7.4034        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     5.2194        5.2792        .16947E-03   -1.5251    
  19  Prefactor     .10000E-03    3.8805        .14879E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          3.8887        3.7702        .12385E-03   -1.5314    
  21  Prefactor     4.3078        8.4692        .19416E-03   -1.5293    
  22  Prefactor     .10000E-03    6.5153        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    18.516        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     7.2775        10.164        .74358E-03   -1.5168    
  25  norm          2.8813        8.5021        .23938E-03   -1.5368    
  26  Prefactor     .10000E-03    22.896        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    1.0675        .18687        .20171E-03   -.90803    
  28  Prefactor     .67207        .20190        .27989E-03   -1.0463    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.04386e-09
Minuit parameter uncertainties:
  1  58.1043
  2  3.26193
  3  0.000306252
  4  2.9771e-05
  5  37.7398
  6  3.93972e-07
  7  3.45205e-05
  8  1.0176
  9  24.5387
  10  0.000143533
  11  5.61375e-05
  12  0.000100952
  13  0.000435411
  14  4.05493e-07
  15  15.8961
  16  1.08051
  17  3.30466e-06
  18  5.27968
  19  1.29623e-07
  20  3.77045
  21  8.47158
  22  1.9212e-07
  23  3.12408e-05
  24  10.1667
  25  8.50562
  26  0.00037078
  27  0.186987
  28  0.202122
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  1.724e+00  1.081e+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:  6.721e-01  2.021e-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.067e+00  1.870e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 13.64
Ra Dec: 223.625 51.409
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 2.59e-08 +/- 1.62e-08
Energy Flux (Fixed Index): 1.85e-05 +/- 1.16e-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) = 6078.65531274
delta logL = 0.89167922767

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6078.61802265
delta logL = 0.928969310479

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.6501       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.3036       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0808       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .66556       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=   6078.618     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      203 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.6500        1.0677        .82172E-03   -.12149E-02
   2  alpha         1.3035        .37539        .31550       -.29818E-04
   3  Normalizat    1.0807        .15007        .38842E-01    .39971E-05
   4  Prefactor     .66558        .16949        .63570E-01    .23257E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.64998
  alpha      = 1.30347
  Normalizat = 1.08074
  Prefactor  = 0.665575
 **********
 **   18 **HESSE 
 **********

 FCN=   6078.618     FROM HESSE     STATUS=OK            31 CALLS      234 TOTAL
                     EDM=   .15E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.6500        1.1800        .16434E-03   -1.5451    
   2  alpha         1.3035        .44210        .13061E-01   -.49907    
   3  Normalizat    1.0807        .17706        .20069E-03   -.90372    
   4  Prefactor     .66558        .19978        .28124E-03   -1.0489    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.54705e-12
Minuit parameter uncertainties:
  1  1.17999
  2  0.445148
  3  0.177154
  4  0.199996
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/849579': 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) = 6078.61802253
delta logL = 0.928969433923

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  1.650e+00  1.180e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  1.303e+00  4.451e-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:  6.656e-01  2.000e-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.081e+00  1.772e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 15.51
Ra Dec: 223.625 51.409
Photon Index (Free Index): 1.30 +/- 0.45
Photon Flux (Free Index): 1.24e-08 +/- 9.95e-09
Energy Flux (Free Index): 5.33e-05 +/- 5.55e-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/849579/cmap_HighResolution_367632001_367891201_4FGL_J1454.4+5124_daily_bin495.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.59e-08', energy_flux2='5.33e-05', photon_flux_error='1.62e-08', dlogl='9.29e-01', energy_flux='1.85e-05', photon_flux2='1.24e-08', job_status='DONE', time_completed='2021-09-10 13:02:40.445627', photon_index_error2='0.45', photon_index2='1.30', ts='13.64', fit_tolerance='1e-08', GAL='0.67', photon_index_error='0.00', energy_flux_error2='5.55e-05', EG='1.07', time_epoch_completed='1631304160.45', return_code='0', job_id='849579', GAL2='0.67', EG2='1.08', return_code2='0', energy_flux_error='1.16e-05', photon_flux_error2='9.95e-09', ts2='15.51', photon_index='1.97' WHERE bin_id='495' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 13:02:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0040>
Subject: Job 849579: <4FGL_J1454.4+5124_daily_bin495> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin495 223.625 51.409 367632001 367891201 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 :                                   741.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             279.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   976 sec.
    Turnaround time :                            978 sec.

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

