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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin778
RA = 223.625, Dec = 51.409
tmin = 440985601, tmax = 441244801
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='851029', job_status='RUN', time_executed='2021-09-10 12:53:48.413635', time_epoch_executed='1631303628.41' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='778'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/851029

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/851029/ft1_4FGL_J1454.4+5124_daily_bin778.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/851029/ft2_4FGL_J1454.4+5124_daily_bin778.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/851029/ft1_4FGL_J1454.4+5124_daily_bin778.fits outfile=/scratch/kocevski/851029/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin778.fits ra=223.625 dec=51.409 rad=12.0 tmin=440985601.0 tmax=441244801.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.46
user 3.24
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/851029/ft1_filtered_4FGL_J1454.4+5124_daily_bin778.fits" evtable="EVENTS" scfile=/scratch/kocevski/851029/ft2_4FGL_J1454.4+5124_daily_bin778.fits sctable="SC_DATA" outfile=/scratch/kocevski/851029/ltcube_440985601_441244801_4FGL_J1454.4+5124_daily_bin778.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/851029/ft2_4FGL_J1454.4+5124_daily_bin778.fits
.....................!
real 15.41
user 14.92
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/851029/ft1_filtered_4FGL_J1454.4+5124_daily_bin778.fits evtable="EVENTS" scfile=/scratch/kocevski/851029/ft2_4FGL_J1454.4+5124_daily_bin778.fits sctable="SC_DATA" expcube=/scratch/kocevski/851029/ltcube_440985601_441244801_4FGL_J1454.4+5124_daily_bin778.fits outfile=/scratch/kocevski/851029/expmap_440985601_441244801_4FGL_J1454.4+5124_daily_bin778.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/851029/ltcube_440985601_441244801_4FGL_J1454.4+5124_daily_bin778.fits
.....................!
real 192.17
user 185.87
sys 5.72

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/851029/ft1_filtered_4FGL_J1454.4+5124_daily_bin778.fits scfile=/scratch/kocevski/851029/ft2_4FGL_J1454.4+5124_daily_bin778.fits outfile=/scratch/kocevski/851029/cmap_440985601_441244801_4FGL_J1454.4+5124_daily_bin778.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 1.11
user 0.40
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/851029/ft1_filtered_4FGL_J1454.4+5124_daily_bin778.fits scfile=/scratch/kocevski/851029/ft2_4FGL_J1454.4+5124_daily_bin778.fits outfile=/scratch/kocevski/851029/cmap_HighResolution_440985601_441244801_4FGL_J1454.4+5124_daily_bin778.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 1.46
user 0.40
sys 0.19

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    62.927       1.0000         .10000E-03   10000.    
     2 'norm      '    3.2187       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    67.805       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10072E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.5047       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .11847E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .64142       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    7.9293       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    4.5427       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .17276E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    2.0926       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10078E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    5.7892       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .92456E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    152.15       1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.3452       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .59981       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=   6953.463     FROM MIGRAD    STATUS=CONVERGED    721 CALLS     3511 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          62.925        60.898       -.16660E-06   -.25961E-04
   2  norm          3.2193        3.8589        .30493E-06    .19213E-03
   3  Prefactor     .10001E-03    99.649        .24228E-05** at limit **
   4  Prefactor     67.796        43.622       -.15023E-06   -.38981E-04
   5  Prefactor     .10000E-03    14.443        .25208E-06** at limit **
   6  Prefactor     3.5044        2.9023       -.17296E-07   -.17077E-04
   7  Prefactor     .10000E-03    5.2923        .17411E-07** at limit **
   8  Prefactor     .10000E-03    1.1703        .40330E-06** at limit **
   9  Prefactor     .40797        29.652       -.45017E-05    .40371E-03
  10  Prefactor     .10000E-03    37.386        .90969E-07** at limit **
  11  Prefactor     .10000E-03    53.628       -.10340E-05** at limit **
  12  Prefactor     .10000E-03    17.967        .35538E-07** at limit **
  13  Prefactor     .10000E-03    15.482       -.36834E-06** at limit **
  14  Prefactor     7.9255        11.848        .36271E-05    .39285E-03
  15  Prefactor     .10000E-03    3.6443       -.46435E-07** at limit **
  16  norm          4.5429        1.5986       -.58065E-07   -.47586E-04
  17  Prefactor     .10000E-03    5.2192        .81127E-07** at limit **
  18  Prefactor     .10000E-03    3.0254        .85923E-07** at limit **
  19  Prefactor     .10000E-03    11.614        .23615E-06** at limit **
  20  norm          2.0919        2.6804        .20618E-06    .10600E-04
  21  Prefactor     .10001E-03    4.9903        .34794E-06** at limit **
  22  Prefactor     .10000E-03    3.8652       -.13543E-08** at limit **
  23  Prefactor     5.7847        9.7279        .49730E-06   -.19716E-05
  24  Prefactor     .10000E-03    2.9759        .13954E-07** at limit **
  25  norm          .10000E-03    5.5072       -.23671E-06** at limit **
  26  Prefactor     152.12        95.698       -.12008E-05   -.23014E-03
  27  Normalizat    1.3453        .15985       -.22781E-07    .10022E-03
  28  Prefactor     .59984        .17440       -.88730E-06    .28111E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 62.9248
  norm       = 3.21927
  Prefactor  = 0.000100015
  Prefactor  = 67.796
  Prefactor  = 0.0001
  Prefactor  = 3.50443
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.407965
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.9255
  Prefactor  = 0.0001
  norm       = 4.54287
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.09185
  Prefactor  = 0.000100007
  Prefactor  = 0.0001
  Prefactor  = 5.7847
  Prefactor  = 0.0001
  norm       = 0.000100002
  Prefactor  = 152.124
  Normalizat = 1.34531
  Prefactor  = 0.599841
 **********
 **   18 **HESSE 
 **********

 FCN=   6953.463     FROM HESSE     STATUS=OK           521 CALLS     4032 TOTAL
                     EDM=   .48E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          62.925        60.902        .50586E-04   -1.4120    
   2  norm          3.2193        3.8332        .17006E-03   -1.5349    
   3  Prefactor     .10001E-03    100.32        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     67.796        43.350        .48744E-04   -1.4059    
   5  Prefactor     .10000E-03    14.465        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.5044        2.9008        .12588E-03   -1.5334    
   7  Prefactor     .10000E-03    5.3017        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    14.809        .15909E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .40797        22.639        .99080E-01   -1.5580    
  10  Prefactor     .10000E-03    37.796        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    54.020        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    18.091        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    15.504        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     7.9255        12.007        .71196E-03   -1.5145    
  15  Prefactor     .10000E-03    3.6513        .15546E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          4.5429        1.5979        .60361E-04   -1.5282    
  17  Prefactor     .10000E-03    5.2591        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    6.3731        .28002E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    12.100        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          2.0919        2.5833        .14084E-03   -1.5419    
  21  Prefactor     .10001E-03    18.382        .32306E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    3.8664        .16009E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     5.7847        9.2393        .16692E-03   -1.5227    
  24  Prefactor     .10000E-03    2.9835        .14040E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .10000E-03    20.171        .37643E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     152.12        96.392        .16339E-03   -1.3235    
  27  Normalizat    1.3453        .18158        .19858E-03   -.82224    
  28  Prefactor     .59984        .19657        .31777E-03   -1.0759    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.81679e-09
Minuit parameter uncertainties:
  1  60.9621
  2  3.83352
  3  0.00243012
  4  43.3703
  5  9.1426e-05
  6  2.90092
  7  1.80139e-06
  8  0.000275191
  9  6.07985
  10  0.000164893
  11  0.00058524
  12  2.09894e-05
  13  0.000116189
  14  12.0108
  15  6.02321e-06
  16  1.59793
  17  1.34988e-05
  18  1.62087e-05
  19  4.14089e-05
  20  2.58347
  21  0.000718109
  22  1.08199e-06
  23  9.24155
  24  2.7323e-06
  25  0.000349354
  26  96.4916
  27  0.181667
  28  0.196793
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  4.543e+00  1.598e+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:  5.998e-01  1.968e-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.345e+00  1.817e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 39.69
Ra Dec: 223.625 51.409
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 6.83e-08 +/- 2.40e-08
Energy Flux (Fixed Index): 4.89e-05 +/- 1.72e-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) = 6952.28366646
delta logL = 1.1794171969

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6952.27144485
delta logL = 1.19163880931

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.0211       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.5357       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3660       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .59207       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=   6952.271     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      203 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.0211        2.0567        .44864E-02   -.41968E-02
   2  alpha         1.5357        .27714        .21763       -.13200E-04
   3  Normalizat    1.3659        .15522        .31718E-01   -.13164E-04
   4  Prefactor     .59208        .17312        .72293E-01    .45876E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.02113
  alpha      = 1.53572
  Normalizat = 1.36595
  Prefactor  = 0.592079
 **********
 **   18 **HESSE 
 **********

 FCN=   6952.271     FROM HESSE     STATUS=OK            31 CALLS      234 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.0211        1.9393        .68815E-04   -1.5260    
   2  alpha         1.5357        .27921        .89881E-02   -.39598    
   3  Normalizat    1.3659        .17495        .19749E-03   -.81619    
   4  Prefactor     .59208        .19493        .32001E-03   -1.0792    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.30766e-09
Minuit parameter uncertainties:
  1  1.93928
  2  0.279897
  3  0.175022
  4  0.195156
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/851029': 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) = 6952.27144484
delta logL = 1.19163881664

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  5.021e+00  1.939e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  1.536e+00  2.799e-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:  5.921e-01  1.952e-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.366e+00  1.750e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 42.09
Ra Dec: 223.625 51.409
Photon Index (Free Index): 1.54 +/- 0.28
Photon Flux (Free Index): 4.40e-08 +/- 2.21e-08
Energy Flux (Free Index): 9.59e-05 +/- 5.85e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/851029/cmap_HighResolution_440985601_441244801_4FGL_J1454.4+5124_daily_bin778.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.83e-08', energy_flux2='9.59e-05', photon_flux_error='2.40e-08', dlogl='1.19e+00', energy_flux='4.89e-05', photon_flux2='4.40e-08', job_status='DONE', time_completed='2021-09-10 13:07:19.811444', photon_index_error2='0.28', photon_index2='1.54', ts='39.69', fit_tolerance='1e-08', GAL='0.60', photon_index_error='0.00', energy_flux_error2='5.85e-05', EG='1.35', time_epoch_completed='1631304439.81', return_code='0', job_id='851029', GAL2='0.59', EG2='1.37', return_code2='0', energy_flux_error='1.72e-05', photon_flux_error2='2.21e-08', ts2='42.09', photon_index='1.97' WHERE bin_id='778' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 13:07:19 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0202>
Subject: Job 851029: <4FGL_J1454.4+5124_daily_bin778> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin778 223.625 51.409 440985601 441244801 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 :                                   804.25 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             275.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   964 sec.
    Turnaround time :                            965 sec.

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

