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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin551
RA = 223.625, Dec = 51.409
tmin = 382147201, tmax = 382406401
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='849660', job_status='RUN', time_executed='2021-09-10 12:50:20.263982', time_epoch_executed='1631303420.26' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='551'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/849660

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/849660/ft1_4FGL_J1454.4+5124_daily_bin551.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/849660/ft2_4FGL_J1454.4+5124_daily_bin551.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/849660/ft1_4FGL_J1454.4+5124_daily_bin551.fits outfile=/scratch/kocevski/849660/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin551.fits ra=223.625 dec=51.409 rad=12.0 tmin=382147201.0 tmax=382406401.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.42
user 3.19
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/849660/ft2_4FGL_J1454.4+5124_daily_bin551.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/849660/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin551.fits evtable="EVENTS" outfile="/scratch/kocevski/849660/ft1_filtered_4FGL_J1454.4+5124_daily_bin551.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/849660/ft1_filtered_4FGL_J1454.4+5124_daily_bin551.fits" evtable="EVENTS" scfile=/scratch/kocevski/849660/ft2_4FGL_J1454.4+5124_daily_bin551.fits sctable="SC_DATA" outfile=/scratch/kocevski/849660/ltcube_382147201_382406401_4FGL_J1454.4+5124_daily_bin551.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/849660/ft2_4FGL_J1454.4+5124_daily_bin551.fits
.....................!
real 12.19
user 11.83
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/849660/ft1_filtered_4FGL_J1454.4+5124_daily_bin551.fits evtable="EVENTS" scfile=/scratch/kocevski/849660/ft2_4FGL_J1454.4+5124_daily_bin551.fits sctable="SC_DATA" expcube=/scratch/kocevski/849660/ltcube_382147201_382406401_4FGL_J1454.4+5124_daily_bin551.fits outfile=/scratch/kocevski/849660/expmap_382147201_382406401_4FGL_J1454.4+5124_daily_bin551.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/849660/ltcube_382147201_382406401_4FGL_J1454.4+5124_daily_bin551.fits
.....................!
real 190.24
user 185.53
sys 4.36

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/849660/ft1_filtered_4FGL_J1454.4+5124_daily_bin551.fits scfile=/scratch/kocevski/849660/ft2_4FGL_J1454.4+5124_daily_bin551.fits outfile=/scratch/kocevski/849660/cmap_382147201_382406401_4FGL_J1454.4+5124_daily_bin551.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.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/849660/ft1_filtered_4FGL_J1454.4+5124_daily_bin551.fits scfile=/scratch/kocevski/849660/ft2_4FGL_J1454.4+5124_daily_bin551.fits outfile=/scratch/kocevski/849660/cmap_HighResolution_382147201_382406401_4FGL_J1454.4+5124_daily_bin551.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/849660/ft1_filtered_4FGL_J1454.4+5124_daily_bin551.fits evtable="EVENTS" scfile=/scratch/kocevski/849660/ft2_4FGL_J1454.4+5124_daily_bin551.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/849660/Model_4FGL_J1454.4+5124_daily_bin551.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/849660/ft1_filtered_4FGL_J1454.4+5124_daily_bin551.fits.....................!
real 44.59
user 43.28
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    .11675E-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 '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10487E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.2440       1.0000         .10000E-03   10000.    
     9 'Prefactor '    25.302       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    30.026       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10118E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.9398       1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.3002       1.0000         .10000E-03   10000.    
    16 'norm      '    1.6875       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    8.2063       1.0000         .10000E-03   10000.    
    19 'Prefactor '    10.112       1.0000         .10000E-03   10000.    
    20 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    5.3305       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    5.0241       1.0000         .10000E-03   10000.    
    25 'norm      '    44.411       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.2348       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .46148       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=   5220.906     FROM MIGRAD    STATUS=CONVERGED    682 CALLS     3461 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    26.121       -.39887E-05** at limit **
   2  norm          .10014E-03    1.4870       -.26955E-06** at limit **
   3  Prefactor     .10000E-03    133.82       -.35206E-05** at limit **
   4  Prefactor     .10000E-03    25.372       -.27650E-05** at limit **
   5  Prefactor     .10001E-03    19.662        .49974E-05** at limit **
   6  Prefactor     .10000E-03    3.6713        .53634E-06** at limit **
   7  Prefactor     .10000E-03    8.2472       -.84900E-06** at limit **
   8  Prefactor     2.2448        2.2796        .64374E-07   -.10239E-03
   9  Prefactor     25.306        22.875       -.58327E-07   -.37222E-04
  10  Prefactor     .10000E-03    11.455        .12804E-05** at limit **
  11  Prefactor     30.034        50.872        .16079E-05    .86996E-04
  12  Prefactor     .10000E-03    13.948       -.10859E-05** at limit **
  13  Prefactor     .10000E-03    13.867       -.12039E-05** at limit **
  14  Prefactor     5.9406        13.089        .25455E-05   -.42249E-03
  15  Prefactor     3.3011        9.3798        .90682E-07   -.13212E-04
  16  norm          1.6875        1.2118       -.27705E-07   -.12550E-03
  17  Prefactor     .10000E-03    7.6932        .24266E-07** at limit **
  18  Prefactor     8.2068        5.6269        .76321E-06    .68990E-03
  19  Prefactor     10.114        9.1335        .15240E-06   -.69054E-04
  20  norm          .10000E-03    1.3283       -.17309E-06** at limit **
  21  Prefactor     5.3292        6.7398        .25632E-05   -.10551E-02
  22  Prefactor     .10000E-03    8.0126        .24215E-06** at limit **
  23  Prefactor     .10000E-03    5.6791       -.29450E-06** at limit **
  24  Prefactor     5.0269        14.954       -.35758E-06   -.68985E-04
  25  norm          44.394        20.664        .40348E-06    .11205E-03
  26  Prefactor     .10001E-03    36.252        .56262E-05** at limit **
  27  Normalizat    1.2345        .17328       -.74402E-06   -.46285E-04
  28  Prefactor     .46172        .18369       -.50651E-06   -.75749E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100005
  norm       = 0.000100138
  Prefactor  = 0.000100004
  Prefactor  = 0.000100002
  Prefactor  = 0.000100007
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 2.24482
  Prefactor  = 25.3058
  Prefactor  = 0.0001
  Prefactor  = 30.0344
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.94056
  Prefactor  = 3.3011
  norm       = 1.68753
  Prefactor  = 0.0001
  Prefactor  = 8.2068
  Prefactor  = 10.1137
  norm       = 0.0001
  Prefactor  = 5.32924
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.02693
  norm       = 44.3939
  Prefactor  = 0.000100009
  Normalizat = 1.23451
  Prefactor  = 0.461725
 **********
 **   18 **HESSE 
 **********

 FCN=   5220.906     FROM HESSE     STATUS=OK           523 CALLS     3984 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    26.683        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10014E-03    2.0220        .33584E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    134.25        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    25.666        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10001E-03    20.518        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    7.9908        .26643E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    8.3034        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.2448        2.2662        .10392E-03   -1.5408    
   9  Prefactor     25.306        22.918        .79637E-04   -1.4701    
  10  Prefactor     .10000E-03    11.524        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     30.034        51.435        .73119E-04   -1.4611    
  12  Prefactor     .10000E-03    14.049        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    13.918        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     5.9406        13.600        .82382E-03   -1.5220    
  15  Prefactor     3.3011        9.3300        .22286E-03   -1.5345    
  16  norm          1.6875        1.2030        .65040E-04   -1.5448    
  17  Prefactor     .10000E-03    7.7354        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     8.2068        5.7001        .13774E-03   -1.5135    
  19  Prefactor     10.114        9.1601        .12601E-03   -1.5072    
  20  norm          .10000E-03    1.3389        .81367E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     5.3292        7.2696        .87036E-03   -1.5246    
  22  Prefactor     .10000E-03    8.0349        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    5.7122        .16822E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     5.0269        14.774        .17940E-03   -1.5260    
  25  norm          44.394        20.435        .60160E-04   -1.4374    
  26  Prefactor     .10001E-03    37.393        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    1.2345        .19661        .18920E-03   -.85543    
  28  Prefactor     .46172        .20584        .32520E-03   -1.1377    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.43928e-09
Minuit parameter uncertainties:
  1  0.000707781
  2  0.0010559
  3  0.00140407
  4  0.000484794
  5  0.000761184
  6  0.000139677
  7  8.5778e-05
  8  2.26627
  9  22.9259
  10  0.000147075
  11  51.5112
  12  0.000132343
  13  0.000149776
  14  13.6067
  15  9.33414
  16  1.20305
  17  8.26907e-06
  18  5.70043
  19  9.16134
  20  8.41733e-06
  21  7.27082
  22  2.29492e-05
  23  2.7587e-05
  24  14.7849
  25  20.4383
  26  0.00118738
  27  0.196732
  28  0.206174
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  1.688e+00  1.203e+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:  4.617e-01  2.062e-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.235e+00  1.967e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.32
Ra Dec: 223.625 51.409
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 2.54e-08 +/- 1.81e-08
Energy Flux (Fixed Index): 1.82e-05 +/- 1.29e-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) = 5220.90582277
delta logL = 0.000613598031123

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5220.90567722
delta logL = 0.000759147735153

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.7097       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9469       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2350       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .46144       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=   5220.906     FROM MIGRAD    STATUS=CONVERGED     42 CALLS      195 TOTAL
                     EDM=   .74E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7097        32.864        .80379E-02    .53446E-03
   2  alpha         1.9469        3.1175        .32570        .16144E-04
   3  Normalizat    1.2350        .78388E-01    .34084E-01   -.18962E-04
   4  Prefactor     .46144        .70258E-01    .73462E-01    .72446E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.70965
  alpha      = 1.94688
  Normalizat = 1.235
  Prefactor  = 0.461442
 **********
 **   18 **HESSE 
 **********

 FCN=   5220.906     FROM HESSE     STATUS=OK            31 CALLS      226 TOTAL
                     EDM=   .47E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7097        1.3554        .65570E-04   -1.5446    
   2  alpha         1.9469        .55520        .12090E-01   -.22309    
   3  Normalizat    1.2350        .18665        .18917E-03   -.85528    
   4  Prefactor     .46144        .20462        .32530E-03   -1.1378    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.69391e-11
Minuit parameter uncertainties:
  1  1.35538
  2  0.560119
  3  0.18675
  4  0.204943
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/849660': 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) = 5220.90567722
delta logL = 0.000759147758799

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  1.710e+00  1.355e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  1.947e+00  5.601e-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:  4.614e-01  2.049e-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.235e+00  1.868e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.32
Ra Dec: 223.625 51.409
Photon Index (Free Index): 1.95 +/- 0.56
Photon Flux (Free Index): 2.49e-08 +/- 2.14e-08
Energy Flux (Free Index): 1.87e-05 +/- 1.92e-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/849660/cmap_HighResolution_382147201_382406401_4FGL_J1454.4+5124_daily_bin551.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.54e-08', energy_flux2='1.87e-05', photon_flux_error='1.81e-08', dlogl='7.59e-04', energy_flux='1.82e-05', photon_flux2='2.49e-08', job_status='DONE', time_completed='2021-09-10 13:01:31.990431', photon_index_error2='0.56', photon_index2='1.95', ts='4.32', fit_tolerance='1e-08', GAL='0.46', photon_index_error='0.00', energy_flux_error2='1.92e-05', EG='1.23', time_epoch_completed='1631304091.99', return_code='0', job_id='849660', GAL2='0.46', EG2='1.24', return_code2='0', energy_flux_error='1.29e-05', photon_flux_error2='2.14e-08', ts2='4.32', photon_index='1.97' WHERE bin_id='551' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 13:01:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0288>
Subject: Job 849660: <4FGL_J1454.4+5124_daily_bin551> in cluster <slac> Done

Job <4FGL_J1454.4+5124_daily_bin551> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 10 12:46:28 2021
Job was executed on host(s) <bullet0288>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 12:46:30 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:46:30 2021
Terminated at Fri Sep 10 13:01:32 2021
Results reported at Fri Sep 10 13:01:32 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin551 223.625 51.409 382147201 382406401 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 :                                   671.36 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             265.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   902 sec.
    Turnaround time :                            904 sec.

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

