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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin674
RA = 223.625, Dec = 51.409
tmin = 414028801, tmax = 414288001
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='850876', job_status='RUN', time_executed='2021-09-10 12:53:30.905838', time_epoch_executed='1631303610.91' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='674'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/850876

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/850876/ft1_4FGL_J1454.4+5124_daily_bin674.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/850876/ft2_4FGL_J1454.4+5124_daily_bin674.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/850876/ft1_4FGL_J1454.4+5124_daily_bin674.fits outfile=/scratch/kocevski/850876/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin674.fits ra=223.625 dec=51.409 rad=12.0 tmin=414028801.0 tmax=414288001.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.20
user 4.93
sys 0.22

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/850876/ft1_filtered_4FGL_J1454.4+5124_daily_bin674.fits evtable="EVENTS" scfile=/scratch/kocevski/850876/ft2_4FGL_J1454.4+5124_daily_bin674.fits sctable="SC_DATA" expcube=/scratch/kocevski/850876/ltcube_414028801_414288001_4FGL_J1454.4+5124_daily_bin674.fits outfile=/scratch/kocevski/850876/expmap_414028801_414288001_4FGL_J1454.4+5124_daily_bin674.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/850876/ltcube_414028801_414288001_4FGL_J1454.4+5124_daily_bin674.fits
.....................!
real 191.43
user 186.10
sys 4.64

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/850876/ft1_filtered_4FGL_J1454.4+5124_daily_bin674.fits scfile=/scratch/kocevski/850876/ft2_4FGL_J1454.4+5124_daily_bin674.fits outfile=/scratch/kocevski/850876/cmap_414028801_414288001_4FGL_J1454.4+5124_daily_bin674.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/850876/ft1_filtered_4FGL_J1454.4+5124_daily_bin674.fits scfile=/scratch/kocevski/850876/ft2_4FGL_J1454.4+5124_daily_bin674.fits outfile=/scratch/kocevski/850876/cmap_HighResolution_414028801_414288001_4FGL_J1454.4+5124_daily_bin674.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.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .57327E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    36.831       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .95876       1.0000         .10000E-03   10000.    
     7 'Prefactor '    40.626       1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.2693       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10099E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.6596       1.0000         .10000E-03   10000.    
    15 'Prefactor '    8.9610       1.0000         .10000E-03   10000.    
    16 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10110E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10132E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    2.0773       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    17.081       1.0000         .10000E-03   10000.    
    24 'Prefactor '    3.5299       1.0000         .10000E-03   10000.    
    25 'norm      '    14.769       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    .68795       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.1256       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=   4063.296     FROM MIGRAD    STATUS=CONVERGED    682 CALLS     3494 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10001E-03    26.346       -.41477E-05** at limit **
   2  norm          .10000E-03    1.0463        .28544E-07** at limit **
   3  Prefactor     .10027E-03    307.43       -.25656E-04** at limit **
   4  Prefactor     .10000E-03    17.826       -.80349E-06** at limit **
   5  Prefactor     36.838        35.213        .48790E-06    .49913E-04
   6  Prefactor     .96057        3.4304        .70725E-06   -.76220E-04
   7  Prefactor     40.633        25.649       -.17715E-06   -.67576E-04
   8  Prefactor     6.2700        3.1145        .58174E-07   -.38303E-04
   9  Prefactor     .10000E-03    9.7899        .14045E-06** at limit **
  10  Prefactor     .10000E-03    9.0071        .12677E-05** at limit **
  11  Prefactor     .10000E-03    50.796        .23550E-05** at limit **
  12  Prefactor     .10000E-03    20.304        .31452E-05** at limit **
  13  Prefactor     .10000E-03    16.068       -.24238E-05** at limit **
  14  Prefactor     5.6650        13.673        .33370E-06   -.15078E-05
  15  Prefactor     8.9630        9.3996       -.66438E-07    .18794E-04
  16  norm          .10000E-03    .74490       -.12556E-07** at limit **
  17  Prefactor     .10000E-03    5.1820       -.63435E-07** at limit **
  18  Prefactor     .10000E-03    8.7868       -.14435E-05** at limit **
  19  Prefactor     .10000E-03    14.092        .15940E-05** at limit **
  20  norm          2.0757        3.9211        .17168E-07   -.24420E-04
  21  Prefactor     .10000E-03    17.066       -.18379E-05** at limit **
  22  Prefactor     .10000E-03    19.884        .27795E-05** at limit **
  23  Prefactor     17.076        16.721       -.64942E-07    .40786E-04
  24  Prefactor     3.5292        7.2777        .50925E-05   -.91931E-03
  25  norm          14.771        11.632       -.75606E-06   -.26454E-04
  26  Prefactor     .10000E-03    134.72       -.10240E-05** at limit **
  27  Normalizat    .68781        .19557       -.44209E-06   -.75876E-04
  28  Prefactor     1.1256        .22531       -.22898E-06   -.45992E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100007
  norm       = 0.0001
  Prefactor  = 0.000100275
  Prefactor  = 0.0001
  Prefactor  = 36.8382
  Prefactor  = 0.960566
  Prefactor  = 40.6328
  Prefactor  = 6.26996
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.000100002
  Prefactor  = 0.000100004
  Prefactor  = 0.000100002
  Prefactor  = 5.66498
  Prefactor  = 8.96297
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 2.07571
  Prefactor  = 0.000100001
  Prefactor  = 0.000100003
  Prefactor  = 17.0764
  Prefactor  = 3.52923
  norm       = 14.7706
  Prefactor  = 0.0001
  Normalizat = 0.687811
  Prefactor  = 1.12558
 **********
 **   18 **HESSE 
 **********

 FCN=   4063.296     FROM HESSE     STATUS=OK           517 CALLS     4011 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10001E-03    26.973        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    1.0483        .63668E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10027E-03    330.91        .21088E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    17.858        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     36.838        35.088        .66038E-04   -1.4493    
   6  Prefactor     .96057        3.1957        .21212E-02   -1.5512    
   7  Prefactor     40.633        25.448        .62889E-04   -1.4432    
   8  Prefactor     6.2700        3.1180        .75605E-04   -1.5207    
   9  Prefactor     .10000E-03    9.8004        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    9.0729        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    51.084        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    20.729        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    16.286        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     5.6650        13.633        .16885E-03   -1.5232    
  15  Prefactor     8.9630        9.3895        .13389E-03   -1.5109    
  16  norm          .10000E-03    1.0724        .10678E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    5.2010        .14169E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    9.1590        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    14.571        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          2.0757        3.8694        .15628E-03   -1.5420    
  21  Prefactor     .10000E-03    17.262        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    20.243        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     17.076        16.558        .96909E-04   -1.4881    
  24  Prefactor     3.5292        7.7927        .10758E-02   -1.5332    
  25  norm          14.771        11.665        .10422E-03   -1.4939    
  26  Prefactor     .10000E-03    134.87        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .68781        .22924        .24484E-03   -1.0438    
  28  Prefactor     1.1256        .26454        .23103E-03   -.88653    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.06359e-08
Minuit parameter uncertainties:
  1  0.000881523
  2  1.22832e-06
  3  0.019169
  4  0.000141678
  5  35.1077
  6  3.19623
  7  25.455
  8  3.11806
  9  1.84966e-05
  10  0.00015435
  11  0.000667068
  12  0.000579623
  13  0.000399358
  14  13.6407
  15  9.39103
  16  1.69573e-06
  17  7.21592e-06
  18  0.000133229
  19  0.000223481
  20  3.86982
  21  0.000244382
  22  0.000513402
  23  16.5621
  24  7.79492
  25  11.6665
  26  0.000469895
  27  0.229557
  28  0.264851
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  1.000e-04  1.696e-06  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.126e+00  2.649e-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:  6.878e-01  2.296e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/850876/likelihoodResults_414028801_414288001_4FGL_J1454.4+5124_daily_bin674.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): 102
logL (Free Index) = 4063.30071084
delta logL = -0.00439452021465

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4063.29631971
delta logL = -3.38588142768e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10864E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9471       1.0000          .0000       5.0000    
     3 'Normalizat'    .68778       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1257       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=   4063.296     FROM MIGRAD    STATUS=CONVERGED     65 CALLS      219 TOTAL
                     EDM=   .23E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    16.049        .90712E-02** at limit **
   2  alpha         1.6199        3.1840        .42501       -.10030E-06
   3  Normalizat    .68781        .16316E-01    .42127E-01    .12328E-04
   4  Prefactor     1.1256        .19369E-01    .36683E-01   -.48716E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.61988
  Normalizat = 0.687812
  Prefactor  = 1.12558
 **********
 **   18 **HESSE 
 **********

 FCN=   4063.296     FROM HESSE     STATUS=OK            33 CALLS      252 TOTAL
                     EDM=   .11E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.0498        .13690E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.6199        2.8247        .50000       -.35976    
   3  Normalizat    .68781        .22044        .24484E-03   -1.0438    
   4  Prefactor     1.1256        .26184        .23103E-03   -.88653    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.07813e-11
Minuit parameter uncertainties:
  1  6.13116e-06
  2  87.5886
  3  0.220725
  4  0.262143
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/850876': 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) = 4063.29630919
delta logL = 7.13039662514e-06

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  1.000e-04  6.131e-06  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  1.620e+00  8.759e+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.126e+00  2.621e-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:  6.878e-01  2.207e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 223.625 51.409

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/850876/cmap_HighResolution_414028801_414288001_4FGL_J1454.4+5124_daily_bin674.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.61e-05', job_status='DONE', photon_flux_upper_limit='5.05e-08', time_completed='2021-09-10 13:04:30.854298', job_id='850876', GAL2='1.13', fit_tolerance='1e-08', EG2='0.69', EG='0.69', time_epoch_completed='1631304270.85', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.13', dlogl='7.13e-06', ts2='-0.00', photon_index_error='0.00', photon_index='1.97' WHERE bin_id='674' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 13:04:30 PDT 2021


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

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin674 223.625 51.409 414028801 414288001 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 :                                   659.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             276.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   805 sec.
    Turnaround time :                            807 sec.

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

