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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin797
RA = 223.625, Dec = 51.409
tmin = 445910401, tmax = 446169601
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='851056', job_status='RUN', time_executed='2021-09-10 12:54:59.562477', time_epoch_executed='1631303699.56' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='797'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/851056

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/851056/ft1_4FGL_J1454.4+5124_daily_bin797.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/851056/ft2_4FGL_J1454.4+5124_daily_bin797.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/851056/ft1_4FGL_J1454.4+5124_daily_bin797.fits outfile=/scratch/kocevski/851056/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin797.fits ra=223.625 dec=51.409 rad=12.0 tmin=445910401.0 tmax=446169601.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 4.16
user 3.73
sys 0.41

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/851056/ft1_filtered_4FGL_J1454.4+5124_daily_bin797.fits" evtable="EVENTS" scfile=/scratch/kocevski/851056/ft2_4FGL_J1454.4+5124_daily_bin797.fits sctable="SC_DATA" outfile=/scratch/kocevski/851056/ltcube_445910401_446169601_4FGL_J1454.4+5124_daily_bin797.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/851056/ft2_4FGL_J1454.4+5124_daily_bin797.fits
.....................!
real 12.02
user 11.66
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/851056/ft1_filtered_4FGL_J1454.4+5124_daily_bin797.fits evtable="EVENTS" scfile=/scratch/kocevski/851056/ft2_4FGL_J1454.4+5124_daily_bin797.fits sctable="SC_DATA" expcube=/scratch/kocevski/851056/ltcube_445910401_446169601_4FGL_J1454.4+5124_daily_bin797.fits outfile=/scratch/kocevski/851056/expmap_445910401_446169601_4FGL_J1454.4+5124_daily_bin797.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/851056/ltcube_445910401_446169601_4FGL_J1454.4+5124_daily_bin797.fits
.....................!
real 191.16
user 186.08
sys 4.71

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/851056/ft1_filtered_4FGL_J1454.4+5124_daily_bin797.fits scfile=/scratch/kocevski/851056/ft2_4FGL_J1454.4+5124_daily_bin797.fits outfile=/scratch/kocevski/851056/cmap_445910401_446169601_4FGL_J1454.4+5124_daily_bin797.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.35
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/851056/ft1_filtered_4FGL_J1454.4+5124_daily_bin797.fits scfile=/scratch/kocevski/851056/ft2_4FGL_J1454.4+5124_daily_bin797.fits outfile=/scratch/kocevski/851056/cmap_HighResolution_445910401_446169601_4FGL_J1454.4+5124_daily_bin797.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.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10065E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    3.5732       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10125E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.4358       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.1750       1.0000         .10000E-03   10000.    
    10 'Prefactor '    51.828       1.0000         .10000E-03   10000.    
    11 'Prefactor '    27.478       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .46774E-02   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10145E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    6.5037       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .73015       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    5.9211       1.0000         .10000E-03   10000.    
    20 'norm      '    4.7337       1.0000         .10000E-03   10000.    
    21 'Prefactor '    20.018       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10294E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    4.2768       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10204E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.2474       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .75225       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=   6444.969     FROM MIGRAD    STATUS=CONVERGED    691 CALLS     3002 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    92.065        .21106E-05** at limit **
   2  norm          3.5729        3.8213        .75928E-06    .19087E-03
   3  Prefactor     .10002E-03    134.55       -.13481E-04** at limit **
   4  Prefactor     .10000E-03    18.488        .34444E-06** at limit **
   5  Prefactor     .10000E-03    21.240       -.25226E-05** at limit **
   6  Prefactor     4.4361        3.5743        .20872E-06    .13870E-03
   7  Prefactor     .10000E-03    7.0273        .34120E-05** at limit **
   8  Prefactor     .10000E-03    1.0468        .15287E-08** at limit **
   9  Prefactor     3.1526        35.770       -.14478E-05   -.39875E-04
  10  Prefactor     51.820        26.565       -.40433E-07   -.19124E-04
  11  Prefactor     27.472        33.625       -.12862E-05   -.59609E-04
  12  Prefactor     .10008E-03    11.012       -.63149E-06** at limit **
  13  Prefactor     .10000E-03    14.185       -.42620E-06** at limit **
  14  Prefactor     6.5052        11.283        .36898E-06   -.70374E-05
  15  Prefactor     .10000E-03    6.2151       -.48527E-07** at limit **
  16  norm          .73019        .66128        .15776E-08    .12869E-03
  17  Prefactor     .10000E-03    2.8683        .10468E-07** at limit **
  18  Prefactor     .10000E-03    2.3426        .11428E-07** at limit **
  19  Prefactor     5.9209        6.9065        .10475E-07   -.88700E-04
  20  norm          4.7340        4.1267        .24017E-06    .48526E-04
  21  Prefactor     20.028        13.184       -.10303E-05   -.32059E-04
  22  Prefactor     .10000E-03    19.776        .21112E-05** at limit **
  23  Prefactor     4.2695        11.865        .41809E-05   -.77531E-03
  24  Prefactor     .10000E-03    7.0162       -.39792E-05** at limit **
  25  norm          .10000E-03    7.7186        .85352E-06** at limit **
  26  Prefactor     .10001E-03    110.92        .11827E-04** at limit **
  27  Normalizat    1.2473        .17238       -.26245E-06    .40584E-04
  28  Prefactor     .75239        .18723       -.12834E-06    .18455E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 3.57286
  Prefactor  = 0.000100016
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 4.4361
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 3.15264
  Prefactor  = 51.8198
  Prefactor  = 27.472
  Prefactor  = 0.000100077
  Prefactor  = 0.0001
  Prefactor  = 6.50522
  Prefactor  = 0.0001
  norm       = 0.73019
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.92092
  norm       = 4.73402
  Prefactor  = 20.0276
  Prefactor  = 0.0001
  Prefactor  = 4.26953
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.000100012
  Normalizat = 1.24726
  Prefactor  = 0.75239
 **********
 **   18 **HESSE 
 **********

 FCN=   6444.969     FROM HESSE     STATUS=OK           519 CALLS     3521 TOTAL
                     EDM=   .57E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    92.344        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.5729        3.8163        .15567E-03   -1.5330    
   3  Prefactor     .10002E-03    136.36        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    18.498        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    21.340        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.4361        3.5768        .13245E-03   -1.5287    
   7  Prefactor     .10000E-03    7.1500        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    1.0539        .79944E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.1526        35.546        .22744E-03   -1.5353    
  10  Prefactor     51.820        26.451        .55709E-04   -1.4267    
  11  Prefactor     27.472        33.648        .76425E-04   -1.4659    
  12  Prefactor     .10008E-03    97.425        .51406E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    14.192        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     6.5052        11.276        .15737E-03   -1.5198    
  15  Prefactor     .10000E-03    6.2378        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .73019        .71447        .60517E-03   -1.5537    
  17  Prefactor     .10000E-03    2.8717        .13271E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    2.3551        .11997E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     5.9209        6.9282        .16503E-03   -1.5221    
  20  norm          4.7340        4.1162        .13508E-03   -1.5273    
  21  Prefactor     20.028        14.659        .89520E-04   -1.4813    
  22  Prefactor     .10000E-03    19.901        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     4.2695        18.040        .97409E-03   -1.5295    
  24  Prefactor     .10000E-03    7.2779        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .10000E-03    7.9245        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10001E-03    112.80        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    1.2473        .20249        .21196E-03   -.85155    
  28  Prefactor     .75239        .21850        .29912E-03   -1.0151    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.65295e-09
Minuit parameter uncertainties:
  1  0.00028836
  2  3.81652
  3  0.00298576
  4  2.6931e-05
  5  0.000222146
  6  3.577
  7  0.000170425
  8  5.22852e-07
  9  21.1875
  10  26.4568
  11  33.671
  12  0.0054876
  13  2.2455e-05
  14  11.2795
  15  1.96492e-06
  16  0.714477
  17  1.64669e-06
  18  1.7266e-07
  19  6.92911
  20  4.11644
  21  14.662
  22  0.000170873
  23  17.5614
  24  0.000169964
  25  7.5068e-05
  26  0.00230803
  27  0.202616
  28  0.21875
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  7.302e-01  7.145e-01  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:  7.524e-01  2.188e-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.247e+00  2.026e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.04
Ra Dec: 223.625 51.409
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 1.10e-08 +/- 1.07e-08
Energy Flux (Fixed Index): 7.85e-06 +/- 7.69e-06

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) = 6439.79080292
delta logL = 5.17826162146

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6439.7253203
delta logL = 5.24374423463

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .50982E-01   1.0000         .10000E-03   10000.    
     2 'alpha     '    .18424E-06   1.0000          .0000       5.0000    
     3 'Normalizat'    1.2479       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .75795       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=   6439.725     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      226 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .51097E-01    .55157E-01    .39911E-02   -.64778E-02
   2  alpha         .49377E-12    .41449        .46424    ** at limit **
   3  Normalizat    1.2480        .16422        .33809E-01    .22604E-03
   4  Prefactor     .75784        .18570        .67362E-01    .18152E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0510966
  alpha      = 4.93772e-13
  Normalizat = 1.24801
  Prefactor  = 0.757845
 **********
 **   18 **HESSE 
 **********

 FCN=   6439.725     FROM HESSE     STATUS=OK            31 CALLS      257 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .51097E-01    .51294E-01    .14809E-03   -1.5663    
   2  alpha         .49377E-12    .50707        .35414E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.2480        .19070        .21183E-03   -.85132    
   4  Prefactor     .75784        .21526        .29804E-03   -1.0130    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.7933e-10
Minuit parameter uncertainties:
  1  0.051294
  2  1.01839e-06
  3  0.190809
  4  0.215497
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/851056': 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) = 6439.72531748
delta logL = 5.24374705527

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  5.110e-02  5.129e-02  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  4.938e-13  1.018e-06  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:  7.578e-01  2.155e-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.248e+00  1.908e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 18.53
Ra Dec: 223.625 51.409
Photon Index (Free Index): 0.00 +/- 0.00
Photon Flux (Free Index): 2.77e-09 +/- 2.78e-09
Energy Flux (Free Index): 1.16e-04 +/- 1.17e-04

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/851056/cmap_HighResolution_445910401_446169601_4FGL_J1454.4+5124_daily_bin797.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.10e-08', energy_flux2='1.16e-04', photon_flux_error='1.07e-08', dlogl='5.24e+00', energy_flux='7.85e-06', photon_flux2='2.77e-09', job_status='DONE', time_completed='2021-09-10 13:06:58.017894', photon_index_error2='0.00', photon_index2='0.00', ts='8.04', fit_tolerance='1e-08', GAL='0.75', photon_index_error='0.00', energy_flux_error2='1.17e-04', EG='1.25', time_epoch_completed='1631304418.02', return_code='0', job_id='851056', GAL2='0.76', EG2='1.25', return_code2='0', energy_flux_error='7.69e-06', photon_flux_error2='2.78e-09', ts2='18.53', photon_index='1.97' WHERE bin_id='797' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 13:06:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0141>
Subject: Job 851056: <4FGL_J1454.4+5124_daily_bin797> in cluster <slac> Done

Job <4FGL_J1454.4+5124_daily_bin797> 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) <bullet0141>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 12:51:18 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:18 2021
Terminated at Fri Sep 10 13:06:58 2021
Results reported at Fri Sep 10 13:06:58 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin797 223.625 51.409 445910401 446169601 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 :                                   718.52 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             271.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   940 sec.
    Turnaround time :                            942 sec.

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

