/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 120 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 = 7424
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1454.4+5124_daily_bin172
RA = 223.625, Dec = 51.409
tmin = 283910401, tmax = 284169601
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='847965', job_status='RUN', time_executed='2021-09-10 12:44:09.563459', time_epoch_executed='1631303049.56' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='172'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/847965

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/847965/ft1_4FGL_J1454.4+5124_daily_bin172.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/847965/ft2_4FGL_J1454.4+5124_daily_bin172.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/847965/ft1_4FGL_J1454.4+5124_daily_bin172.fits outfile=/scratch/kocevski/847965/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin172.fits ra=223.625 dec=51.409 rad=12.0 tmin=283910401.0 tmax=284169601.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.60
user 3.36
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/847965/ft1_filtered_4FGL_J1454.4+5124_daily_bin172.fits" evtable="EVENTS" scfile=/scratch/kocevski/847965/ft2_4FGL_J1454.4+5124_daily_bin172.fits sctable="SC_DATA" outfile=/scratch/kocevski/847965/ltcube_283910401_284169601_4FGL_J1454.4+5124_daily_bin172.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/847965/ft2_4FGL_J1454.4+5124_daily_bin172.fits
.....................!
real 11.68
user 11.33
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/847965/ft1_filtered_4FGL_J1454.4+5124_daily_bin172.fits evtable="EVENTS" scfile=/scratch/kocevski/847965/ft2_4FGL_J1454.4+5124_daily_bin172.fits sctable="SC_DATA" expcube=/scratch/kocevski/847965/ltcube_283910401_284169601_4FGL_J1454.4+5124_daily_bin172.fits outfile=/scratch/kocevski/847965/expmap_283910401_284169601_4FGL_J1454.4+5124_daily_bin172.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/847965/ltcube_283910401_284169601_4FGL_J1454.4+5124_daily_bin172.fits
.....................!
real 190.53
user 184.89
sys 4.44

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/847965/ft1_filtered_4FGL_J1454.4+5124_daily_bin172.fits scfile=/scratch/kocevski/847965/ft2_4FGL_J1454.4+5124_daily_bin172.fits outfile=/scratch/kocevski/847965/cmap_283910401_284169601_4FGL_J1454.4+5124_daily_bin172.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.52
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/847965/ft1_filtered_4FGL_J1454.4+5124_daily_bin172.fits scfile=/scratch/kocevski/847965/ft2_4FGL_J1454.4+5124_daily_bin172.fits outfile=/scratch/kocevski/847965/cmap_HighResolution_283910401_284169601_4FGL_J1454.4+5124_daily_bin172.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.53
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10105E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10639E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .12651E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10375E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.8569       1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.8587       1.0000         .10000E-03   10000.    
     7 'Prefactor '    12.371       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.7685       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .80186E-01   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .15506E-02   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10242E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10685E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    28.293       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.0370       1.0000         .10000E-03   10000.    
    16 'norm      '    1.1467       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .49955E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.7405       1.0000         .10000E-03   10000.    
    20 'norm      '    4.1571       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    17.438       1.0000         .10000E-03   10000.    
    23 'Prefactor '    4.7075       1.0000         .10000E-03   10000.    
    24 'Prefactor '    3.9025       1.0000         .10000E-03   10000.    
    25 'norm      '    .10213E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    212.90       1.0000         .10000E-03   10000.    
    27 'Normalizat'    .93229       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .98137       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6450E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6138.541     FROM MIGRAD    STATUS=CONVERGED    139 CALLS     2471 TOTAL
                     EDM=   .35E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10029E-03    44.993       -.11728E-05** at limit **
   2  norm          .10000E-03    7.4441        .83474E-07** at limit **
   3  Prefactor     .10081E-03    136.42        .94855E-05** at limit **
   4  Prefactor     .10000E-03    13.134       -.62632E-06** at limit **
   5  Prefactor     3.8548        1.0357       -.24649E-07    .31169E-04
   6  Prefactor     5.8586        4.0815        .88516E-07    .44664E-04
   7  Prefactor     12.370        1.0977        .18827E-06   -.45476E-03
   8  Prefactor     1.7760        2.2315        .12074E-06   -.15497E-03
   9  Prefactor     .10194E-03    667.71       -.52773E-04** at limit **
  10  Prefactor     .10273E-03    8.9418       -.80197E-05** at limit **
  11  Prefactor     .10000E-03    14.682        .12091E-05** at limit **
  12  Prefactor     .10000E-03    27.032       -.75938E-06** at limit **
  13  Prefactor     28.289        6.4657       -.26028E-06    .70979E-02
  14  Prefactor     .10000E-03    6.2303        .45386E-06** at limit **
  15  Prefactor     1.0197        2.1826       -.32434E-05    .16623E-03
  16  norm          1.1470        1.0186        .12368E-06    .85739E-04
  17  Prefactor     .10005E-03    26.931       -.62560E-05** at limit **
  18  Prefactor     .10000E-03    5.5743       -.49194E-06** at limit **
  19  Prefactor     2.7523        6.7673       -.35649E-05   -.45340E-03
  20  norm          4.1555        3.4409        .53084E-06   -.23970E-05
  21  Prefactor     .10000E-03    3.1411        .31299E-06** at limit **
  22  Prefactor     17.435        1.1595       -.10931E-07   -.10046E-02
  23  Prefactor     4.7057        3.4422       -.51293E-05    .34093E-03
  24  Prefactor     3.9021        5.3068        .93545E-05    .20746E-02
  25  norm          .10000E-03    3.7241        .55188E-07** at limit **
  26  Prefactor     212.88        3.2482       -.37235E-06    .67990E-02
  27  Normalizat    .93191        .19076        .51515E-06    .10154E-03
  28  Prefactor     .98177        .21334        .13115E-06    .88390E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100286
  norm       = 0.0001
  Prefactor  = 0.000100813
  Prefactor  = 0.0001
  Prefactor  = 3.85475
  Prefactor  = 5.85863
  Prefactor  = 12.3704
  Prefactor  = 1.77597
  Prefactor  = 0.000101937
  Prefactor  = 0.000102728
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 28.2894
  Prefactor  = 0.0001
  Prefactor  = 1.01973
  norm       = 1.14696
  Prefactor  = 0.000100053
  Prefactor  = 0.0001
  Prefactor  = 2.75234
  norm       = 4.15548
  Prefactor  = 0.0001
  Prefactor  = 17.4345
  Prefactor  = 4.70575
  Prefactor  = 3.90205
  norm       = 0.0001
  Prefactor  = 212.878
  Normalizat = 0.93191
  Prefactor  = 0.98177
 **********
 **   18 **HESSE 
 **********

 FCN=   6138.541     FROM HESSE     STATUS=OK           599 CALLS     3070 TOTAL
                     EDM=   .80E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10029E-03    49.931        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    2.0472        .58060E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10081E-03    142.02        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    13.141        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.8548        27.674        .51370E-02   -1.5315    
   6  Prefactor     5.8586        4.1247        .41479E-02   -1.5224    
   7  Prefactor     12.370        17.125        .28472E-02   -1.5004    
   8  Prefactor     1.7760        2.3125        .78734E-02   -1.5441    
   9  Prefactor     .10194E-03    20.361        .11128       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10273E-03    64.982        .10222E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    14.691        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    26.905        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     28.289        25.715        .18830E-02   -1.4644    
  14  Prefactor     .10000E-03    6.2209        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.0197        11.451        .92158E-01   -1.5506    
  16  norm          1.1470        1.0538        .10823E-01   -1.5494    
  17  Prefactor     .10005E-03    10.423        .71731E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    5.5025        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     2.7523        8.1498        .61485E-02   -1.5376    
  20  norm          4.1555        3.4756        .49421E-02   -1.5300    
  21  Prefactor     .10000E-03    3.1330        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     17.435        22.815        .23978E-02   -1.4873    
  23  Prefactor     4.7057        7.1639        .46367E-02   -1.5274    
  24  Prefactor     3.9021        6.1761        .51059E-02   -1.5313    
  25  norm          .10000E-03    3.7068        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     212.88        103.45        .69276E-03   -1.2779    
  27  Normalizat    .93191        .16735        .45313E-01   -.95348    
  28  Prefactor     .98177        .17983        .46034E-01   -.93340    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.99104e-07
Minuit parameter uncertainties:
  1  0.00757059
  2  7.13391e-06
  3  0.0215472
  4  4.69861e-05
  5  20.6702
  6  4.12491
  7  17.1318
  8  2.31265
  9  0.0125631
  10  0.0266596
  11  9.99331e-05
  12  0.000393907
  13  25.7253
  14  1.28823e-06
  15  6.83577
  16  1.05383
  17  0.00149008
  18  6.87852e-06
  19  8.15307
  20  3.47579
  21  1.90153e-07
  22  22.8267
  23  7.16516
  24  6.17715
  25  5.28174e-06
  26  103.542
  27  0.167441
  28  0.179944
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  1.147e+00  1.054e+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:  9.818e-01  1.799e-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:  9.319e-01  1.674e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.61
Ra Dec: 223.625 51.409
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 1.72e-08 +/- 1.58e-08
Energy Flux (Fixed Index): 1.23e-05 +/- 1.13e-05

TS (Fixed Index): 2.61
Ra Dec: 223.625 51.409
Photon Flux Upper Limit: 5.73e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.10e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/847965/likelihoodResults_283910401_284169601_4FGL_J1454.4+5124_daily_bin172.txt

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) = 6138.52428465
delta logL = 0.0166202074452

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6138.52140758
delta logL = 0.0194972853487

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.0700       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1055       1.0000          .0000       5.0000    
     3 'Normalizat'    .92937       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98286       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=   6138.521     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      200 TOTAL
                     EDM=   .60E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.0700        24.781        .11743E-01    .16397E-03
   2  alpha         2.1055        3.1479        .30414        .41901E-04
   3  Normalizat    .92941        .57745E-01    .45276E-01    .19946E-04
   4  Prefactor     .98282        .58472E-01    .46052E-01   -.11634E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.06996
  alpha      = 2.10551
  Normalizat = 0.92941
  Prefactor  = 0.98282
 **********
 **   18 **HESSE 
 **********

 FCN=   6138.521     FROM HESSE     STATUS=OK            35 CALLS      235 TOTAL
                     EDM=   .12E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.0700        1.1019        .69955E-03   -1.5501    
   2  alpha         2.1055        .72429        .15701E-01   -.15846    
   3  Normalizat    .92941        .18329        .22603E-03   -.95434    
   4  Prefactor     .98282        .21066        .25270E-03   -.93304    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.19908e-11
Minuit parameter uncertainties:
  1  1.10197
  2  0.735106
  3  0.183416
  4  0.210834
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/847965': 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) = 6138.52140754
delta logL = 0.0194973186954

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  1.070e+00  1.102e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  2.106e+00  7.351e-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:  9.828e-01  2.108e-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:  9.294e-01  1.834e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.65
Ra Dec: 223.625 51.409
Photon Index (Free Index): 2.11 +/- 0.74
Photon Flux (Free Index): 2.00e-08 +/- 2.17e-08
Energy Flux (Free Index): 1.09e-05 +/- 1.21e-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/847965/cmap_HighResolution_283910401_284169601_4FGL_J1454.4+5124_daily_bin172.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.10e-05', comment='SUCCESS', photon_flux='1.72e-08', energy_flux2='1.09e-05', photon_flux_error='1.58e-08', dlogl='1.95e-02', energy_flux='1.23e-05', photon_flux2='2.00e-08', job_status='DONE', time_completed='2021-09-10 12:56:33.671149', photon_index_error2='0.74', photon_index2='2.11', ts='2.61', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', photon_flux_upper_limit='5.73e-08', energy_flux_error2='1.21e-05', EG='0.93', time_epoch_completed='1631303793.67', return_code='0', job_id='847965', GAL2='0.98', EG2='0.93', return_code2='0', energy_flux_error='1.13e-05', photon_flux_error2='2.17e-08', ts2='2.65', photon_index='1.97' WHERE bin_id='172' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:56:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0037>
Subject: Job 847965: <4FGL_J1454.4+5124_daily_bin172> in cluster <slac> Done

Job <4FGL_J1454.4+5124_daily_bin172> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep 10 12:41:20 2021
Job was executed on host(s) <bullet0037>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 12:41:21 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:41:21 2021
Terminated at Fri Sep 10 12:56:34 2021
Results reported at Fri Sep 10 12:56:34 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin172 223.625 51.409 283910401 284169601 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 :                                   742.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             281.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   912 sec.
    Turnaround time :                            914 sec.

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

