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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin191
RA = 223.625, Dec = 51.409
tmin = 288835201, tmax = 289094401
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='847992', job_status='RUN', time_executed='2021-09-10 12:44:51.907234', time_epoch_executed='1631303091.91' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='191'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/847992

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/847992/ft1_4FGL_J1454.4+5124_daily_bin191.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/847992/ft2_4FGL_J1454.4+5124_daily_bin191.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/847992/ft1_4FGL_J1454.4+5124_daily_bin191.fits outfile=/scratch/kocevski/847992/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin191.fits ra=223.625 dec=51.409 rad=12.0 tmin=288835201.0 tmax=289094401.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.65
user 3.44
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/847992/ft2_4FGL_J1454.4+5124_daily_bin191.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/847992/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin191.fits evtable="EVENTS" outfile="/scratch/kocevski/847992/ft1_filtered_4FGL_J1454.4+5124_daily_bin191.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/847992/ft1_filtered_4FGL_J1454.4+5124_daily_bin191.fits" evtable="EVENTS" scfile=/scratch/kocevski/847992/ft2_4FGL_J1454.4+5124_daily_bin191.fits sctable="SC_DATA" outfile=/scratch/kocevski/847992/ltcube_288835201_289094401_4FGL_J1454.4+5124_daily_bin191.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/847992/ft2_4FGL_J1454.4+5124_daily_bin191.fits
.....................!
real 11.79
user 11.43
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/847992/ft1_filtered_4FGL_J1454.4+5124_daily_bin191.fits evtable="EVENTS" scfile=/scratch/kocevski/847992/ft2_4FGL_J1454.4+5124_daily_bin191.fits sctable="SC_DATA" expcube=/scratch/kocevski/847992/ltcube_288835201_289094401_4FGL_J1454.4+5124_daily_bin191.fits outfile=/scratch/kocevski/847992/expmap_288835201_289094401_4FGL_J1454.4+5124_daily_bin191.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/847992/ltcube_288835201_289094401_4FGL_J1454.4+5124_daily_bin191.fits
.....................!
real 193.04
user 187.94
sys 4.75

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/847992/ft1_filtered_4FGL_J1454.4+5124_daily_bin191.fits scfile=/scratch/kocevski/847992/ft2_4FGL_J1454.4+5124_daily_bin191.fits outfile=/scratch/kocevski/847992/cmap_288835201_289094401_4FGL_J1454.4+5124_daily_bin191.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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/847992/ft1_filtered_4FGL_J1454.4+5124_daily_bin191.fits scfile=/scratch/kocevski/847992/ft2_4FGL_J1454.4+5124_daily_bin191.fits outfile=/scratch/kocevski/847992/cmap_HighResolution_288835201_289094401_4FGL_J1454.4+5124_daily_bin191.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.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.4328       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    18.471       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .98237       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    8.1355       1.0000         .10000E-03   10000.    
    16 'norm      '    1.7098       1.0000         .10000E-03   10000.    
    17 'Prefactor '    7.7690       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .72126E-01   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10137E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10830E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    9.1146       1.0000         .10000E-03   10000.    
    22 'Prefactor '    28.580       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .11058E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    6.8978       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.0117       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.0756       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=   6436.846     FROM MIGRAD    STATUS=CONVERGED    692 CALLS     3509 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    21.990        .40828E-05** at limit **
   2  norm          .10000E-03    2.0168        .34991E-07** at limit **
   3  Prefactor     .10000E-03    151.54        .16202E-03** at limit **
   4  Prefactor     .10000E-03    16.974        .46208E-06** at limit **
   5  Prefactor     3.4264        38.728        .16218E-04   -.33092E-04
   6  Prefactor     .10000E-03    2.0212       -.62918E-07** at limit **
   7  Prefactor     .10000E-03    12.105        .87361E-05** at limit **
   8  Prefactor     .10000E-03    .87204       -.10353E-06** at limit **
   9  Prefactor     .10000E-03    13.157       -.12770E-04** at limit **
  10  Prefactor     18.468        18.527        .45234E-05    .80332E-04
  11  Prefactor     .74889        31.644       -.83357E-06   -.14033E-03
  12  Prefactor     .10000E-03    16.831       -.14714E-06** at limit **
  13  Prefactor     .10000E-03    8.7624       -.20720E-06** at limit **
  14  Prefactor     .10000E-03    4.0561        .73118E-09** at limit **
  15  Prefactor     8.1804        13.161       -.56240E-05    .10430E-03
  16  norm          1.7099        1.3060        .18736E-06    .15188E-03
  17  Prefactor     7.7691        8.8843       -.29640E-06   -.19620E-04
  18  Prefactor     .31099E-03    4.7399       -.15228E-05** at limit **
  19  Prefactor     .10000E-03    8.5196       -.56437E-06** at limit **
  20  norm          .10000E-03    2.2916        .12350E-06** at limit **
  21  Prefactor     9.1088        8.1425        .13563E-05    .23257E-03
  22  Prefactor     28.569        26.694       -.26967E-05    .19259E-03
  23  Prefactor     .10000E-03    26.084       -.84298E-05** at limit **
  24  Prefactor     .10000E-03    5.8149       -.53215E-08** at limit **
  25  norm          6.8906        8.7710       -.41122E-06   -.11728E-03
  26  Prefactor     .10000E-03    19.416        .10055E-04** at limit **
  27  Normalizat    1.0118        .16596       -.44649E-07    .29033E-03
  28  Prefactor     1.0758        .18757       -.20214E-06    .22662E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.42636
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 18.4684
  Prefactor  = 0.748894
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.18039
  norm       = 1.70993
  Prefactor  = 7.76915
  Prefactor  = 0.000310985
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 9.10881
  Prefactor  = 28.5685
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 6.89058
  Prefactor  = 0.0001
  Normalizat = 1.01176
  Prefactor  = 1.07582
 **********
 **   18 **HESSE 
 **********

 FCN=   6436.846     FROM HESSE     STATUS=OK           527 CALLS     4036 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    21.990        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    2.0430        .11121E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    151.43        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    16.982        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.4264        38.553        .21831E-03   -1.5338    
   6  Prefactor     .10000E-03    2.0338        .11137E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    12.197        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    .88303        .73013E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    13.221        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     18.468        18.544        .93191E-04   -1.4848    
  11  Prefactor     .74889        36.925        .14578       -1.5535    
  12  Prefactor     .10000E-03    16.885        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    8.7635        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    4.0580        .15779E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     8.1804        13.147        .14056E-03   -1.5136    
  16  norm          1.7099        1.2989        .76611E-04   -1.5446    
  17  Prefactor     7.7691        8.8799        .14386E-03   -1.5150    
  18  Prefactor     .31099E-03    5.2052        .50290E-01   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    8.7574        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    6.0249        .22989E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     9.1088        7.9616        .13275E-03   -1.5104    
  22  Prefactor     28.569        26.547        .74941E-04   -1.4638    
  23  Prefactor     .10000E-03    26.282        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    5.8570        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          6.8906        8.7547        .15276E-03   -1.5183    
  26  Prefactor     .10000E-03    19.417        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    1.0118        .20390        .22881E-03   -.92638    
  28  Prefactor     1.0758        .23001        .25758E-03   -.90243    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.9881e-09
Minuit parameter uncertainties:
  1  1.01736e-07
  2  4.90818e-06
  3  1.58071e-06
  4  3.11345e-05
  5  23.005
  6  9.41682e-06
  7  3.28607e-05
  8  1.16436e-05
  9  2.33751e-05
  10  18.5502
  11  10.5234
  12  5.75004e-06
  13  3.54738e-06
  14  6.52944e-06
  15  13.1516
  16  1.29891
  17  8.88137
  18  0.0662846
  19  1.81965e-05
  20  3.56455e-05
  21  7.96255
  22  26.5584
  23  0.000276701
  24  1.31241e-05
  25  8.75632
  26  1.06324e-06
  27  0.204062
  28  0.230223
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  1.710e+00  1.299e+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:  1.076e+00  2.302e-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.012e+00  2.041e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.24
Ra Dec: 223.625 51.409
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 2.57e-08 +/- 1.95e-08
Energy Flux (Fixed Index): 1.84e-05 +/- 1.40e-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) = 6436.75741255
delta logL = 0.0883130842194

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6436.75726434
delta logL = 0.0884612870877

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.7240       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7078       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0171       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0749       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=   6436.757     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      206 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7246        56.135        .79967E-02    .11046E-03
   2  alpha         1.7078        3.1825        .32398       -.36022E-06
   3  Normalizat    1.0173        .13229        .43807E-01    .53184E-05
   4  Prefactor     1.0747        .11201        .58294E-01    .99386E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.7246
  alpha      = 1.70783
  Normalizat = 1.01735
  Prefactor  = 1.07467
 **********
 **   18 **HESSE 
 **********

 FCN=   6436.757     FROM HESSE     STATUS=OK            33 CALLS      239 TOTAL
                     EDM=   .88E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7246        1.4265        .82725E-04   -1.5445    
   2  alpha         1.7078        .63007        .16715E-01   -.32243    
   3  Normalizat    1.0173        .19767        .22830E-03   -.92451    
   4  Prefactor     1.0747        .22957        .25779E-03   -.90280    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.82742e-14
Minuit parameter uncertainties:
  1  1.42656
  2  0.637735
  3  0.197811
  4  0.229779
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/847992': 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) = 6436.75726357
delta logL = 0.0884620636298

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  1.725e+00  1.427e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  1.708e+00  6.377e-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:  1.075e+00  2.298e-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.017e+00  1.978e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.42
Ra Dec: 223.625 51.409
Photon Index (Free Index): 1.71 +/- 0.64
Photon Flux (Free Index): 1.81e-08 +/- 2.26e-08
Energy Flux (Free Index): 2.44e-05 +/- 2.71e-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/847992/cmap_HighResolution_288835201_289094401_4FGL_J1454.4+5124_daily_bin191.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.57e-08', energy_flux2='2.44e-05', photon_flux_error='1.95e-08', dlogl='8.85e-02', energy_flux='1.84e-05', photon_flux2='1.81e-08', job_status='DONE', time_completed='2021-09-10 12:57:26.294176', photon_index_error2='0.64', photon_index2='1.71', ts='4.24', fit_tolerance='1e-08', GAL='1.08', photon_index_error='0.00', energy_flux_error2='2.71e-05', EG='1.01', time_epoch_completed='1631303846.29', return_code='0', job_id='847992', GAL2='1.07', EG2='1.02', return_code2='0', energy_flux_error='1.40e-05', photon_flux_error2='2.26e-08', ts2='4.42', photon_index='1.97' WHERE bin_id='191' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:57:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0292>
Subject: Job 847992: <4FGL_J1454.4+5124_daily_bin191> in cluster <slac> Done

Job <4FGL_J1454.4+5124_daily_bin191> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep 10 12:41:22 2021
Job was executed on host(s) <bullet0292>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 12:41:23 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:23 2021
Terminated at Fri Sep 10 12:57:26 2021
Results reported at Fri Sep 10 12:57:26 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin191 223.625 51.409 288835201 289094401 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 :                                   754.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             247.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   963 sec.
    Turnaround time :                            964 sec.

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

