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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin688
RA = 223.625, Dec = 51.409
tmin = 417657601, tmax = 417916801
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='850896', job_status='RUN', time_executed='2021-09-10 12:53:56.212679', time_epoch_executed='1631303636.21' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='688'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/850896

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/850896/ft1_4FGL_J1454.4+5124_daily_bin688.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/850896/ft2_4FGL_J1454.4+5124_daily_bin688.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/850896/ft1_4FGL_J1454.4+5124_daily_bin688.fits outfile=/scratch/kocevski/850896/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin688.fits ra=223.625 dec=51.409 rad=12.0 tmin=417657601.0 tmax=417916801.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 6.01
user 5.76
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/850896/ft2_4FGL_J1454.4+5124_daily_bin688.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/850896/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin688.fits evtable="EVENTS" outfile="/scratch/kocevski/850896/ft1_filtered_4FGL_J1454.4+5124_daily_bin688.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.33
sys 0.15

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/850896/ft1_filtered_4FGL_J1454.4+5124_daily_bin688.fits evtable="EVENTS" scfile=/scratch/kocevski/850896/ft2_4FGL_J1454.4+5124_daily_bin688.fits sctable="SC_DATA" expcube=/scratch/kocevski/850896/ltcube_417657601_417916801_4FGL_J1454.4+5124_daily_bin688.fits outfile=/scratch/kocevski/850896/expmap_417657601_417916801_4FGL_J1454.4+5124_daily_bin688.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/850896/ltcube_417657601_417916801_4FGL_J1454.4+5124_daily_bin688.fits
.....................!
real 192.82
user 188.44
sys 4.02

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/850896/ft1_filtered_4FGL_J1454.4+5124_daily_bin688.fits scfile=/scratch/kocevski/850896/ft2_4FGL_J1454.4+5124_daily_bin688.fits outfile=/scratch/kocevski/850896/cmap_417657601_417916801_4FGL_J1454.4+5124_daily_bin688.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/850896/ft1_filtered_4FGL_J1454.4+5124_daily_bin688.fits scfile=/scratch/kocevski/850896/ft2_4FGL_J1454.4+5124_daily_bin688.fits outfile=/scratch/kocevski/850896/cmap_HighResolution_417657601_417916801_4FGL_J1454.4+5124_daily_bin688.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=223.625 yref=51.409 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.55
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    128.57       1.0000         .10000E-03   10000.    
     2 'norm      '    5.0343       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.2465       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10128E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.5125       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10200E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.6174       1.0000         .10000E-03   10000.    
     9 'Prefactor '    9.9178       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10133E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    58.153       1.0000         .10000E-03   10000.    
    12 'Prefactor '    14.283       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .12247E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .50791E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    15.239       1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.3758       1.0000         .10000E-03   10000.    
    20 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    2.7458       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    11.236       1.0000         .10000E-03   10000.    
    26 'Prefactor '    77.459       1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.4791       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .29790       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=   3700.917     FROM MIGRAD    STATUS=CONVERGED    689 CALLS     3505 TOTAL
                     EDM=   .24E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          128.58        130.07       -.61724E-06    .64426E-06
   2  norm          5.0325        7.6680       -.72662E-06   -.12959E-04
   3  Prefactor     .10000E-03    251.79        .98746E-05** at limit **
   4  Prefactor     6.2213        117.30        .54434E-05    .38392E-05
   5  Prefactor     .10000E-03    131.37       -.99946E-05** at limit **
   6  Prefactor     5.5181        8.5239        .14192E-05    .25475E-04
   7  Prefactor     .10000E-03    100.82        .77517E-06** at limit **
   8  Prefactor     4.6176        3.5817        .87338E-07    .27149E-04
   9  Prefactor     9.9170        25.790        .17953E-06   -.34059E-05
  10  Prefactor     .10000E-03    25.487       -.35262E-06** at limit **
  11  Prefactor     58.143        68.812        .11016E-05    .17003E-05
  12  Prefactor     14.279        35.489        .59492E-06   -.93781E-05
  13  Prefactor     .10000E-03    44.309        .34444E-06** at limit **
  14  Prefactor     .10000E-03    19.625       -.57651E-07** at limit **
  15  Prefactor     .10005E-03    21.649        .55153E-06** at limit **
  16  norm          .10000E-03    1.0685       -.19199E-07** at limit **
  17  Prefactor     .10000E-03    8.8315        .39285E-06** at limit **
  18  Prefactor     15.245        10.739        .35161E-07   -.54522E-04
  19  Prefactor     3.3697        11.979        .39422E-05   -.15468E-04
  20  norm          .10000E-03    1.3438        .77496E-07** at limit **
  21  Prefactor     2.7458        5.6794        .16717E-05   -.40431E-05
  22  Prefactor     .10000E-03    10.913        .96764E-07** at limit **
  23  Prefactor     .10000E-03    5.1989        .57681E-07** at limit **
  24  Prefactor     .10000E-03    3.0334       -.52112E-09** at limit **
  25  norm          11.236        11.205        .26413E-06   -.75264E-05
  26  Prefactor     77.454        76.465        .60043E-06   -.33471E-05
  27  Normalizat    1.4795        .25427       -.16546E-05    .13355E-04
  28  Prefactor     .29759        .25605        .13006E-05   -.94211E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 128.581
  norm       = 5.03245
  Prefactor  = 0.0001
  Prefactor  = 6.2213
  Prefactor  = 0.000100001
  Prefactor  = 5.51808
  Prefactor  = 0.000100001
  Prefactor  = 4.61765
  Prefactor  = 9.917
  Prefactor  = 0.0001
  Prefactor  = 58.1431
  Prefactor  = 14.279
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100051
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 15.2451
  Prefactor  = 3.36966
  norm       = 0.0001
  Prefactor  = 2.74577
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 11.2356
  Prefactor  = 77.4541
  Normalizat = 1.47952
  Prefactor  = 0.297585
 **********
 **   18 **HESSE 
 **********

 FCN=   3700.917     FROM HESSE     STATUS=OK           521 CALLS     4026 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          128.58        130.02        .17753E-03   -1.3435    
   2  norm          5.0325        7.6979        .17922E-03   -1.5259    
   3  Prefactor     .10000E-03    251.27        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     6.2213        117.33        .16061E-03   -1.5209    
   5  Prefactor     .10000E-03    133.66        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     5.5181        8.5262        .17113E-03   -1.5238    
   7  Prefactor     .10000E-03    101.41        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     4.6176        3.5736        .95480E-04   -1.5278    
   9  Prefactor     9.9170        25.811        .12724E-03   -1.5078    
  10  Prefactor     .10000E-03    25.585        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     58.143        68.669        .52609E-04   -1.4181    
  12  Prefactor     14.279        35.563        .10598E-03   -1.4952    
  13  Prefactor     .10000E-03    44.408        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    19.690        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10005E-03    266.37        .51531E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    1.1178        .12262E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    8.8727        .17653E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     15.245        10.335        .10260E-03   -1.4927    
  19  Prefactor     3.3697        11.996        .11012E-02   -1.5341    
  20  norm          .10000E-03    1.3481        .68836E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     2.7458        5.6821        .10108E-02   -1.5377    
  22  Prefactor     .10000E-03    10.934        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    5.2076        .13545E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    3.0344        .10346E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          11.236        11.186        .59758E-03   -1.5037    
  26  Prefactor     77.454        76.370        .45627E-04   -1.3946    
  27  Normalizat    1.4795        .26913        .19171E-03   -.78355    
  28  Prefactor     .29759        .26488        .41917E-03   -1.2240    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.67686e-10
Minuit parameter uncertainties:
  1  130.307
  2  7.69945
  3  9.21701e-05
  4  54.1587
  5  0.000521327
  6  8.52808
  7  0.00074283
  8  3.57377
  9  25.8401
  10  1.71587e-05
  11  68.7626
  12  35.6159
  13  5.35459e-06
  14  4.27624e-05
  15  0.00738336
  16  9.70356e-07
  17  9.71313e-07
  18  10.3366
  19  12.0044
  20  2.96272e-07
  21  5.68323
  22  1.54618e-06
  23  1.29119e-06
  24  2.10859e-08
  25  11.1878
  26  76.4671
  27  0.269388
  28  0.265968
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  1.000e-04  9.704e-07  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:  2.976e-01  2.660e-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.480e+00  2.694e-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.66e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.05e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/850896/likelihoodResults_417657601_417916801_4FGL_J1454.4+5124_daily_bin688.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) = 3700.92124423
delta logL = -0.00410365640937

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3700.91714081
delta logL = -2.40798271989e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9689       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4796       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .29761       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3700.917     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      240 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2.1267        .12262E-03** at limit **
   2  alpha         1.9737        4.0131        .50000       -.13708E-05
   3  Normalizat    1.4795        .24797        .19171E-03    .83777E-04
   4  Prefactor     .29759        .25886        .41916E-03    .24600E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100002
  alpha      = 1.97374
  Normalizat = 1.47952
  Prefactor  = 0.297585
 **********
 **   18 **HESSE 
 **********

 FCN=   3700.917     FROM HESSE     STATUS=OK            29 CALLS      269 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.1367        .24524E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.9737        3.1856        .50000       -.21209    
   3  Normalizat    1.4795        .24795        .38341E-04   -.78355    
   4  Prefactor     .29759        .25884        .16766E-04   -1.2240    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.4906e-09
Minuit parameter uncertainties:
  1  0.000104922
  2  75.4191
  3  0.248156
  4  0.259848
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/850896': 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) = 3700.91714057
delta logL = 3.55794327334e-09

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  1.000e-04  1.049e-04  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  1.974e+00  7.542e+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:  2.976e-01  2.598e-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.480e+00  2.482e-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/850896/cmap_HighResolution_417657601_417916801_4FGL_J1454.4+5124_daily_bin688.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.05e-05', job_status='DONE', photon_flux_upper_limit='5.66e-08', time_completed='2021-09-10 13:04:41.920449', job_id='850896', GAL2='0.30', fit_tolerance='1e-08', EG2='1.48', EG='1.48', time_epoch_completed='1631304281.92', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.30', dlogl='3.56e-09', ts2='-0.00', photon_index_error='0.00', photon_index='1.97' WHERE bin_id='688' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 13:04:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0222>
Subject: Job 850896: <4FGL_J1454.4+5124_daily_bin688> in cluster <slac> Done

Job <4FGL_J1454.4+5124_daily_bin688> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 10 12:51:05 2021
Job was executed on host(s) <bullet0222>, 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:42 2021
Results reported at Fri Sep 10 13:04:42 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin688 223.625 51.409 417657601 417916801 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 :                                   645.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             295.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   816 sec.
    Turnaround time :                            817 sec.

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

