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


Performing analysis on: 4FGL_J1454.4+5124_daily_bin536
RA = 223.625, Dec = 51.409
tmin = 378259201, tmax = 378518401
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='849638', job_status='RUN', time_executed='2021-09-10 12:48:30.013952', time_epoch_executed='1631303310.01' WHERE source_name='4FGL J1454.4+5124' and cadence='daily' and bin_id='536'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/849638

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/849638/ft1_4FGL_J1454.4+5124_daily_bin536.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/849638/ft2_4FGL_J1454.4+5124_daily_bin536.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/849638/ft1_4FGL_J1454.4+5124_daily_bin536.fits outfile=/scratch/kocevski/849638/ft1_filteredMKT_4FGL_J1454.4+5124_daily_bin536.fits ra=223.625 dec=51.409 rad=12.0 tmin=378259201.0 tmax=378518401.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 4.45
user 4.21
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/849638/ft1_filtered_4FGL_J1454.4+5124_daily_bin536.fits" evtable="EVENTS" scfile=/scratch/kocevski/849638/ft2_4FGL_J1454.4+5124_daily_bin536.fits sctable="SC_DATA" outfile=/scratch/kocevski/849638/ltcube_378259201_378518401_4FGL_J1454.4+5124_daily_bin536.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/849638/ft2_4FGL_J1454.4+5124_daily_bin536.fits
.....................!
real 11.87
user 11.48
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/849638/ft1_filtered_4FGL_J1454.4+5124_daily_bin536.fits evtable="EVENTS" scfile=/scratch/kocevski/849638/ft2_4FGL_J1454.4+5124_daily_bin536.fits sctable="SC_DATA" expcube=/scratch/kocevski/849638/ltcube_378259201_378518401_4FGL_J1454.4+5124_daily_bin536.fits outfile=/scratch/kocevski/849638/expmap_378259201_378518401_4FGL_J1454.4+5124_daily_bin536.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/849638/ltcube_378259201_378518401_4FGL_J1454.4+5124_daily_bin536.fits
.....................!
real 190.10
user 185.16
sys 4.59

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/849638/ft1_filtered_4FGL_J1454.4+5124_daily_bin536.fits scfile=/scratch/kocevski/849638/ft2_4FGL_J1454.4+5124_daily_bin536.fits outfile=/scratch/kocevski/849638/cmap_378259201_378518401_4FGL_J1454.4+5124_daily_bin536.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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/849638/ft1_filtered_4FGL_J1454.4+5124_daily_bin536.fits scfile=/scratch/kocevski/849638/ft2_4FGL_J1454.4+5124_daily_bin536.fits outfile=/scratch/kocevski/849638/cmap_HighResolution_378259201_378518401_4FGL_J1454.4+5124_daily_bin536.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.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    6.7566       1.0000         .10000E-03   10000.    
     3 'Prefactor '    107.85       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    70.960       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.6058       1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.0038       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10052E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    42.194       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.3026       1.0000         .10000E-03   10000.    
    16 'norm      '    4.2358       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .13029E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    5.3363       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .19356E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    31.332       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .11769E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    5.1462       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10218E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    .88546       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.0025       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=   6366.973     FROM MIGRAD    STATUS=CONVERGED    695 CALLS     4014 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    23.105        .15849E-05** at limit **
   2  norm          6.7558        4.0402        .28992E-06    .61059E-04
   3  Prefactor     107.89        480.60        .34831E-04    .92967E-05
   4  Prefactor     .10000E-03    11.081       -.93214E-06** at limit **
   5  Prefactor     70.944        38.007       -.83690E-05   -.20259E-03
   6  Prefactor     .10000E-03    3.7458        .29742E-06** at limit **
   7  Prefactor     .10000E-03    9.4875        .34677E-06** at limit **
   8  Prefactor     1.6054        1.8362        .13602E-06    .89576E-04
   9  Prefactor     .99903        2.0979        .18043E-06   -.44232E-03
  10  Prefactor     .10000E-03    9.0052        .12324E-05** at limit **
  11  Prefactor     .10000E-03    42.560       -.18572E-04** at limit **
  12  Prefactor     42.194        26.405       -.19656E-06   -.36621E-04
  13  Prefactor     .10000E-03    9.7748       -.70385E-06** at limit **
  14  Prefactor     .10000E-03    10.895       -.13992E-05** at limit **
  15  Prefactor     5.2942        15.328        .34409E-06   -.49889E-04
  16  norm          4.2358        1.9923        .28341E-07    .63261E-04
  17  Prefactor     .10000E-03    2.6627        .46195E-08** at limit **
  18  Prefactor     .10000E-03    8.0449       -.10637E-05** at limit **
  19  Prefactor     .10000E-03    2.1805        .76760E-08** at limit **
  20  norm          5.3366        3.7220       -.26737E-06   -.16581E-02
  21  Prefactor     .10166E-03    7.1950        .34658E-05** at limit **
  22  Prefactor     31.333        21.642       -.53315E-06   -.68191E-03
  23  Prefactor     .10000E-03    11.397        .15187E-05** at limit **
  24  Prefactor     .10000E-03    3.8504       -.81686E-07** at limit **
  25  norm          5.1462        5.6622        .16832E-05    .16455E-03
  26  Prefactor     .10000E-03    87.478       -.14992E-04** at limit **
  27  Normalizat    .88595        .15644        .74714E-06   -.40209E-03
  28  Prefactor     1.0021        .17926       -.64023E-06   -.23272E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 6.7558
  Prefactor  = 107.892
  Prefactor  = 0.0001
  Prefactor  = 70.9441
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.60542
  Prefactor  = 0.999035
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 42.194
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.2942
  norm       = 4.23584
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.3366
  Prefactor  = 0.000101658
  Prefactor  = 31.333
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  norm       = 5.1462
  Prefactor  = 0.000100001
  Normalizat = 0.885949
  Prefactor  = 1.00207
 **********
 **   18 **HESSE 
 **********

 FCN=   6366.973     FROM HESSE     STATUS=OK           513 CALLS     4527 TOTAL
                     EDM=   .33E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    23.105        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          6.7558        4.0404        .11918E-03   -1.5188    
   3  Prefactor     107.89        481.01        .38726E-04   -1.3627    
   4  Prefactor     .10000E-03    11.080        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     70.944        38.007        .47655E-04   -1.4021    
   6  Prefactor     .10000E-03    3.8255        .15078E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    9.5253        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.6054        1.8264        .11096E-03   -1.5455    
   9  Prefactor     .99903        29.679        .27098E-02   -1.5508    
  10  Prefactor     .10000E-03    9.0216        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    42.413        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     42.194        26.423        .61714E-04   -1.4408    
  13  Prefactor     .10000E-03    9.7782        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    10.962        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     5.2942        15.327        .87270E-03   -1.5248    
  16  norm          4.2358        1.9871        .71894E-04   -1.5296    
  17  Prefactor     .10000E-03    2.6697        .12714E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    8.3245        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    2.1928        .11503E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          5.3366        3.5953        .59378E-03   -1.5246    
  21  Prefactor     .10166E-03    52.506        .36224E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     31.333        20.839        .71582E-04   -1.4588    
  23  Prefactor     .10000E-03    11.471        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    9.1424        .29852E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          5.1462        5.5754        .17722E-03   -1.5254    
  26  Prefactor     .10000E-03    87.720        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .88595        .18442        .22943E-03   -.96956    
  28  Prefactor     1.0021        .21117        .25198E-03   -.92661    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.27483e-08
Minuit parameter uncertainties:
  1  3.95192e-05
  2  4.04056
  3  461.964
  4  2.64501e-06
  5  38.0201
  6  5.778e-05
  7  3.39958e-05
  8  1.82643
  9  10.8958
  10  3.17689e-05
  11  0.00048706
  12  26.4308
  13  1.19792e-05
  14  1.46988e-05
  15  15.3388
  16  1.98717
  17  6.51653e-07
  18  1.90298e-05
  19  1.42796e-06
  20  3.59547
  21  0.018679
  22  20.8436
  23  6.31524e-05
  24  0.000358467
  25  5.57591
  26  0.000720341
  27  0.184549
  28  0.21134
Done.

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

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  4.236e+00  1.987e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  1.968e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
309         beta:  5.547e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
310           Eb:  1.384e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
642    Prefactor:  1.002e+00  2.113e-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:  8.859e-01  1.845e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 10.43
Ra Dec: 223.625 51.409
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 6.37e-08 +/- 2.99e-08
Energy Flux (Fixed Index): 4.56e-05 +/- 2.14e-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) = 6366.81162146
delta logL = 0.161421049035

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6366.80941479
delta logL = 0.163627721096

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.5934       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1718       1.0000          .0000       5.0000    
     3 'Normalizat'    .87221       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0114       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=   6366.809     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      225 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.5934        27.855        .53292E-02   -.70028E-03
   2  alpha         2.1718        3.5714        .19311        .41162E-04
   3  Normalizat    .87222        .90513E-01    .44545E-01    .58814E-04
   4  Prefactor     1.0114        .80762E-01    .43135E-01   -.53889E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.59344
  alpha      = 2.17185
  Normalizat = 0.87222
  Prefactor  = 1.01136
 **********
 **   18 **HESSE 
 **********

 FCN=   6366.809     FROM HESSE     STATUS=OK            33 CALLS      258 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.5934        2.1680        .64202E-04   -1.5329    
   2  alpha         2.1718        .37979        .77722E-02   -.13164    
   3  Normalizat    .87222        .18105        .23099E-03   -.97443    
   4  Prefactor     1.0114        .21024        .25093E-03   -.92352    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.2567e-10
Minuit parameter uncertainties:
  1  2.16804
  2  0.381294
  3  0.181176
  4  0.210413
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/849638': 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) = 6366.80941479
delta logL = 0.163627726358

Extracting fit parameters...

4FGL J1454.4+5124
   Spectrum: LogParabola
307         norm:  3.593e+00  2.168e+00  1.000e-04  1.000e+04 ( 1.000e-12)
308        alpha:  2.172e+00  3.813e-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.011e+00  2.104e-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:  8.722e-01  1.812e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.70
Ra Dec: 223.625 51.409
Photon Index (Free Index): 2.17 +/- 0.38
Photon Flux (Free Index): 7.50e-08 +/- 3.77e-08
Energy Flux (Free Index): 3.64e-05 +/- 2.18e-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/849638/cmap_HighResolution_378259201_378518401_4FGL_J1454.4+5124_daily_bin536.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.37e-08', energy_flux2='3.64e-05', photon_flux_error='2.99e-08', dlogl='1.64e-01', energy_flux='4.56e-05', photon_flux2='7.50e-08', job_status='DONE', time_completed='2021-09-10 13:01:51.442876', photon_index_error2='0.38', photon_index2='2.17', ts='10.43', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', energy_flux_error2='2.18e-05', EG='0.89', time_epoch_completed='1631304111.44', return_code='0', job_id='849638', GAL2='1.01', EG2='0.87', return_code2='0', energy_flux_error='2.14e-05', photon_flux_error2='3.77e-08', ts2='10.70', photon_index='1.97' WHERE bin_id='536' AND source_name='4FGL J1454.4+5124' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 13:01:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0216>
Subject: Job 849638: <4FGL_J1454.4+5124_daily_bin536> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.4+5124_daily_bin536 223.625 51.409 378259201 378518401 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 :                                   800.44 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             291.07 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   923 sec.
    Turnaround time :                            925 sec.

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

