/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 51 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 = 7516
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1454.1+1622_daily_bin1231
RA = 223.544, Dec = 16.3747
tmin = 558403201, tmax = 558662401
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='844694', job_status='RUN', time_executed='2021-09-10 12:35:11.013261', time_epoch_executed='1631302511.01' WHERE source_name='4FGL J1454.1+1622' and cadence='daily' and bin_id='1231'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/844694

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/844694/ft1_4FGL_J1454.1+1622_daily_bin1231.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/844694/ft2_4FGL_J1454.1+1622_daily_bin1231.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/844694/ft1_4FGL_J1454.1+1622_daily_bin1231.fits outfile=/scratch/kocevski/844694/ft1_filteredMKT_4FGL_J1454.1+1622_daily_bin1231.fits ra=223.544 dec=16.3747 rad=12.0 tmin=558403201.0 tmax=558662401.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.28
user 3.57
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/844694/ft2_4FGL_J1454.1+1622_daily_bin1231.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/844694/ft2_4FGL_J1454.1+1622_daily_bin1231.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/844694/ft1_filteredMKT_4FGL_J1454.1+1622_daily_bin1231.fits evtable="EVENTS" outfile="/scratch/kocevski/844694/ft1_filtered_4FGL_J1454.1+1622_daily_bin1231.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 1.06
user 0.35
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/844694/ft1_filtered_4FGL_J1454.1+1622_daily_bin1231.fits" evtable="EVENTS" scfile=/scratch/kocevski/844694/ft2_4FGL_J1454.1+1622_daily_bin1231.fits sctable="SC_DATA" outfile=/scratch/kocevski/844694/ltcube_558403201_558662401_4FGL_J1454.1+1622_daily_bin1231.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/844694/ft2_4FGL_J1454.1+1622_daily_bin1231.fits
.....................!
real 12.90
user 11.57
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/844694/ft1_filtered_4FGL_J1454.1+1622_daily_bin1231.fits evtable="EVENTS" scfile=/scratch/kocevski/844694/ft2_4FGL_J1454.1+1622_daily_bin1231.fits sctable="SC_DATA" expcube=/scratch/kocevski/844694/ltcube_558403201_558662401_4FGL_J1454.1+1622_daily_bin1231.fits outfile=/scratch/kocevski/844694/expmap_558403201_558662401_4FGL_J1454.1+1622_daily_bin1231.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/844694/ltcube_558403201_558662401_4FGL_J1454.1+1622_daily_bin1231.fits
.....................!
real 192.12
user 186.00
sys 4.50

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 148 point sources and 0 extended sources

Setting source of interest to:
4FGL J1454.1+1622 @ 223.544 16.3747

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/844694/ft1_filtered_4FGL_J1454.1+1622_daily_bin1231.fits scfile=/scratch/kocevski/844694/ft2_4FGL_J1454.1+1622_daily_bin1231.fits outfile=/scratch/kocevski/844694/cmap_558403201_558662401_4FGL_J1454.1+1622_daily_bin1231.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.544 yref=16.3747 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.24
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/844694/ft1_filtered_4FGL_J1454.1+1622_daily_bin1231.fits scfile=/scratch/kocevski/844694/ft2_4FGL_J1454.1+1622_daily_bin1231.fits outfile=/scratch/kocevski/844694/cmap_HighResolution_558403201_558662401_4FGL_J1454.1+1622_daily_bin1231.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.544 yref=16.3747 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.63
user 0.37
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/844694/ft1_filtered_4FGL_J1454.1+1622_daily_bin1231.fits evtable="EVENTS" scfile=/scratch/kocevski/844694/ft2_4FGL_J1454.1+1622_daily_bin1231.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/844694/Model_4FGL_J1454.1+1622_daily_bin1231.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/844694/ft1_filtered_4FGL_J1454.1+1622_daily_bin1231.fits.....................!
real 52.82
user 48.15
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/844694/ft1_filtered_4FGL_J1454.1+1622_daily_bin1231.fits', '/scratch/kocevski/844694/ft2_4FGL_J1454.1+1622_daily_bin1231.fits', expMap='/scratch/kocevski/844694/expmap_558403201_558662401_4FGL_J1454.1+1622_daily_bin1231.fits', expCube='/scratch/kocevski/844694/ltcube_558403201_558662401_4FGL_J1454.1+1622_daily_bin1231.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/844694/Model_4FGL_J1454.1+1622_daily_bin1231.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1454.1+1622'

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  7.482e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
221        Index:  2.409e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
222        Scale:  9.226e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/844694/ft1_filtered_4FGL_J1454.1+1622_daily_bin1231.fits
Spacecraft file(s): /scratch/kocevski/844694/ft2_4FGL_J1454.1+1622_daily_bin1231.fits
Exposure map: /scratch/kocevski/844694/expmap_558403201_558662401_4FGL_J1454.1+1622_daily_bin1231.fits
Exposure cube: /scratch/kocevski/844694/ltcube_558403201_558662401_4FGL_J1454.1+1622_daily_bin1231.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/844694/Model_4FGL_J1454.1+1622_daily_bin1231.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) = 6239.5531314

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    82.873       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    7.0157       1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.5746       1.0000         .10000E-03   10000.    
     5 'norm      '    9.0583       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10237E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .95020E-02   1.0000         .10000E-03   10000.    
     8 'norm      '    .16741       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10262E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10446E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    25.509       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10148E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    1.2497       1.0000         .10000E-03   10000.    
    16 'norm      '    4.2026       1.0000         .10000E-03   10000.    
    17 'norm      '    .10409E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10328E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10062E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    24.050       1.0000         .10000E-03   10000.    
    21 'Prefactor '    54.159       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.4392       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .70644       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4810E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6239.542     FROM MIGRAD    STATUS=CONVERGED    535 CALLS     2563 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     82.862        44.706       -.44950E-05    .16518E-04
   2  Prefactor     .10000E-03    2.8558        .18892E-06** at limit **
   3  norm          7.0155        3.1483       -.10575E-06    .13861E-03
   4  Prefactor     6.5740        7.4437       -.79231E-05   -.16471E-03
   5  norm          9.0575        3.8682        .37246E-06    .76753E-04
   6  Prefactor     .10000E-03    37.317       -.17702E-04** at limit **
   7  norm          .10155E-03    11.429        .35770E-05** at limit **
   8  norm          .15870        2.1764       -.12453E-05    .37308E-03
   9  Prefactor     .10000E-03    17.958       -.14067E-05** at limit **
  10  Prefactor     .10000E-03    36.731       -.14451E-04** at limit **
  11  Prefactor     .10000E-03    30.578        .32383E-04** at limit **
  12  Prefactor     25.487        37.847       -.83490E-05   -.14368E-03
  13  Prefactor     .10000E-03    23.341       -.78445E-05** at limit **
  14  Prefactor     .10000E-03    2.4621       -.15203E-06** at limit **
  15  norm          1.2496        .29497       -.34301E-07   -.40044E-03
  16  norm          4.2022        4.3144        .79128E-07    .19243E-03
  17  norm          .10000E-03    15.922        .20043E-05** at limit **
  18  Prefactor     .10000E-03    194.15       -.30836E-04** at limit **
  19  Prefactor     .10000E-03    4.2920       -.19004E-06** at limit **
  20  Prefactor     24.048        46.027       -.21960E-05    .26548E-04
  21  Prefactor     54.159        50.931       -.94499E-06    .26765E-04
  22  Normalizat    1.4393        .24600        .46453E-05   -.17746E-03
  23  Prefactor     .70656        .14562       -.45018E-06    .17652E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 82.862
  Prefactor  = 0.0001
  norm       = 7.01551
  Prefactor  = 6.57396
  norm       = 9.05748
  Prefactor  = 0.0001
  norm       = 0.000101548
  norm       = 0.158699
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 25.487
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.24962
  norm       = 4.20223
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 24.0483
  Prefactor  = 54.1586
  Normalizat = 1.43929
  Prefactor  = 0.706557
 **********
 **   18 **HESSE 
 **********

 FCN=   6239.542     FROM HESSE     STATUS=OK           366 CALLS     2929 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     82.862        44.782        .44123E-04   -1.3885    
   2  Prefactor     .10000E-03    2.8605        .13036E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          7.0155        3.1482        .90835E-04   -1.5178    
   4  Prefactor     6.5740        7.4759        .15651E-03   -1.5195    
   5  norm          9.0575        3.8704        .97029E-04   -1.5106    
   6  Prefactor     .10000E-03    37.429        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10155E-03    81.373        .51387E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .15870        13.078        .22409E-02   -1.5628    
   9  Prefactor     .10000E-03    17.989        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    37.091        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    30.930        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     25.487        38.149        .79315E-04   -1.4698    
  13  Prefactor     .10000E-03    23.316        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    2.4640        .12104E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.2496        .29508        .19931E-04   -1.5484    
  16  norm          4.2022        4.3206        .16233E-03   -1.5298    
  17  norm          .10000E-03    15.922        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    196.56        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    4.3034        .15982E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     24.048        46.162        .81681E-04   -1.4727    
  21  Prefactor     54.159        50.928        .54503E-04   -1.4235    
  22  Normalizat    1.4393        .29976        .28348E-03   -.79499    
  23  Prefactor     .70656        .17710        .24072E-03   -1.0327    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.02784e-08
Minuit parameter uncertainties:
  1  44.8001
  2  3.26858e-05
  3  3.14829
  4  7.477
  5  3.87046
  6  0.000147358
  7  0.0224801
  8  2.88106
  9  0.000119405
  10  3.38687e-05
  11  0.000182485
  12  38.1858
  13  6.24323e-05
  14  2.56813e-06
  15  0.295083
  16  4.3209
  17  2.75122e-07
  18  0.000147539
  19  9.6539e-06
  20  46.231
  21  50.9693
  22  0.300124
  23  0.177243
Done.

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

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  2.549e+01  3.819e+01  1.000e-04  1.000e+04 ( 1.000e-13)
221        Index:  2.409e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
222        Scale:  9.226e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
478    Prefactor:  7.066e-01  1.772e-01  0.000e+00  1.000e+01 ( 1.000e+00)
479        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
480        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
477   Normalization:  1.439e+00  3.001e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.54
Ra Dec: 223.544 16.375
Photon Flux Upper Limit: 1.60e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.24e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/844694/likelihoodResults_558403201_558662401_4FGL_J1454.1+1622_daily_bin1231.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): 0
logL (Free Index) = 6238.84044254
delta logL = 0.701286642098

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6238.83983324
delta logL = 0.701895938815

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.401       1.0000         .10000E-03   10000.    
     2 'Index     '    3.2891       1.0000          .0000       10.000    
     3 'Normalizat'    1.3759       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .72821       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4810E+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=   6238.840     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      298 TOTAL
                     EDM=   .55E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.392        27.193        .10206E-03   -.28338E-03
   2  Index         3.2896        .93261        .53305E-02   -.12152E-03
   3  Normalizat    1.3763        .29019        .28855E-03    .17809E-04
   4  Prefactor     .72796        .17669        .23728E-03    .34183E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.3919
  Index      = 3.28964
  Normalizat = 1.37629
  Prefactor  = 0.727958
 **********
 **   18 **HESSE 
 **********

 FCN=   6238.840     FROM HESSE     STATUS=OK            25 CALLS      323 TOTAL
                     EDM=   .59E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.392        22.719        .40824E-05   -1.4923    
   2  Index         3.2896        .77968        .21322E-03   -.34912    
   3  Normalizat    1.3763        .29065        .11542E-04   -.81317    
   4  Prefactor     .72796        .17685        .47456E-04   -1.0244    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.91749e-10
Minuit parameter uncertainties:
  1  22.7321
  2  0.783307
  3  0.291003
  4  0.176985
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/844694': 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) = 6238.83983165
delta logL = 0.70189753632

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  1.539e+01  2.273e+01  1.000e-04  1.000e+04 ( 1.000e-13)
221        Index:  3.290e+00  7.833e-01  0.000e+00  1.000e+01 (-1.000e+00)
222        Scale:  9.226e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
478    Prefactor:  7.280e-01  1.770e-01  0.000e+00  1.000e+01 ( 1.000e+00)
479        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
480        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
477   Normalization:  1.376e+00  2.910e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.00
Ra Dec: 223.544 16.375
Photon Index (Free Index): 3.29 +/- 0.78
Photon Flux (Free Index): 1.01e-07 +/- 8.41e-08
Energy Flux (Free Index): 1.79e-05 +/- 1.47e-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/844694/cmap_HighResolution_558403201_558662401_4FGL_J1454.1+1622_daily_bin1231.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.24e-02', comment='SUCCESS', energy_flux2='1.79e-05', dlogl='7.02e-01', photon_flux2='1.01e-07', job_status='DONE', time_completed='2021-09-10 12:45:10.692123', photon_index_error2='0.78', photon_index2='3.29', ts='0.54', fit_tolerance='1e-08', GAL='0.71', photon_index_error='0.00', photon_flux_upper_limit='1.60e-07', energy_flux_error2='1.47e-05', EG='1.44', time_epoch_completed='1631303110.69', return_code='0', job_id='844694', GAL2='0.73', EG2='1.38', return_code2='0', photon_flux_error2='8.41e-08', ts2='2.00', photon_index='2.41' WHERE bin_id='1231' AND source_name='4FGL J1454.1+1622' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:45:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0072>
Subject: Job 844694: <4FGL_J1454.1+1622_daily_bin1231> in cluster <slac> Done

Job <4FGL_J1454.1+1622_daily_bin1231> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Fri Sep 10 12:32:24 2021
Job was executed on host(s) <bullet0072>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 12:32:25 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:32:25 2021
Terminated at Fri Sep 10 12:45:11 2021
Results reported at Fri Sep 10 12:45:11 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.1+1622_daily_bin1231 223.544 16.3747 558403201 558662401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1454.1+1622 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   582.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             271.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   765 sec.
    Turnaround time :                            767 sec.

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

