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


Performing analysis on: 4FGL_J1454.1+1622_daily_bin1061
RA = 223.544, Dec = 16.3747
tmin = 514339201, tmax = 514598401
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='844258', job_status='RUN', time_executed='2021-09-10 12:33:10.360593', time_epoch_executed='1631302390.36' WHERE source_name='4FGL J1454.1+1622' and cadence='daily' and bin_id='1061'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/844258

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/844258/ft1_4FGL_J1454.1+1622_daily_bin1061.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/844258/ft2_4FGL_J1454.1+1622_daily_bin1061.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/844258/ft1_4FGL_J1454.1+1622_daily_bin1061.fits outfile=/scratch/kocevski/844258/ft1_filteredMKT_4FGL_J1454.1+1622_daily_bin1061.fits ra=223.544 dec=16.3747 rad=12.0 tmin=514339201.0 tmax=514598401.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.23
user 3.90
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/844258/ft2_4FGL_J1454.1+1622_daily_bin1061.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/844258/ft1_filteredMKT_4FGL_J1454.1+1622_daily_bin1061.fits evtable="EVENTS" outfile="/scratch/kocevski/844258/ft1_filtered_4FGL_J1454.1+1622_daily_bin1061.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.02
user 0.33
sys 0.19

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/844258/ft1_filtered_4FGL_J1454.1+1622_daily_bin1061.fits evtable="EVENTS" scfile=/scratch/kocevski/844258/ft2_4FGL_J1454.1+1622_daily_bin1061.fits sctable="SC_DATA" expcube=/scratch/kocevski/844258/ltcube_514339201_514598401_4FGL_J1454.1+1622_daily_bin1061.fits outfile=/scratch/kocevski/844258/expmap_514339201_514598401_4FGL_J1454.1+1622_daily_bin1061.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/844258/ltcube_514339201_514598401_4FGL_J1454.1+1622_daily_bin1061.fits
.....................!
real 195.00
user 185.76
sys 5.06

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/844258/ft1_filtered_4FGL_J1454.1+1622_daily_bin1061.fits scfile=/scratch/kocevski/844258/ft2_4FGL_J1454.1+1622_daily_bin1061.fits outfile=/scratch/kocevski/844258/cmap_514339201_514598401_4FGL_J1454.1+1622_daily_bin1061.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 0.53
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/844258/ft1_filtered_4FGL_J1454.1+1622_daily_bin1061.fits scfile=/scratch/kocevski/844258/ft2_4FGL_J1454.1+1622_daily_bin1061.fits outfile=/scratch/kocevski/844258/cmap_HighResolution_514339201_514598401_4FGL_J1454.1+1622_daily_bin1061.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.57
user 0.38
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/844258/ft1_filtered_4FGL_J1454.1+1622_daily_bin1061.fits', '/scratch/kocevski/844258/ft2_4FGL_J1454.1+1622_daily_bin1061.fits', expMap='/scratch/kocevski/844258/expmap_514339201_514598401_4FGL_J1454.1+1622_daily_bin1061.fits', expCube='/scratch/kocevski/844258/ltcube_514339201_514598401_4FGL_J1454.1+1622_daily_bin1061.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/844258/Model_4FGL_J1454.1+1622_daily_bin1061.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/844258/ft1_filtered_4FGL_J1454.1+1622_daily_bin1061.fits
Spacecraft file(s): /scratch/kocevski/844258/ft2_4FGL_J1454.1+1622_daily_bin1061.fits
Exposure map: /scratch/kocevski/844258/expmap_514339201_514598401_4FGL_J1454.1+1622_daily_bin1061.fits
Exposure cube: /scratch/kocevski/844258/ltcube_514339201_514598401_4FGL_J1454.1+1622_daily_bin1061.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/844258/Model_4FGL_J1454.1+1622_daily_bin1061.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) = 6777.30792095

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.6130       1.0000         .10000E-03   10000.    
     3 'norm      '    4.8979       1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.2350       1.0000         .10000E-03   10000.    
     5 'norm      '    4.2125       1.0000         .10000E-03   10000.    
     6 'Prefactor '    65.325       1.0000         .10000E-03   10000.    
     7 'norm      '    .10107E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    11.071       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10065E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    31.697       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    86.813       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    11.509       1.0000         .10000E-03   10000.    
    15 'norm      '    .95672       1.0000         .10000E-03   10000.    
    16 'norm      '    1.8920       1.0000         .10000E-03   10000.    
    17 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    12.048       1.0000         .10000E-03   10000.    
    19 'Prefactor '    8.6480       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    68.380       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.2455       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .85271       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=   6777.295     FROM MIGRAD    STATUS=CONVERGED    485 CALLS     2485 TOTAL
                     EDM=   .22E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    15.987        .21470E-06** at limit **
   2  Prefactor     2.6136        5.0205       -.11922E-07    .13197E-05
   3  norm          4.8981        2.7105       -.14872E-07   -.33250E-05
   4  Prefactor     3.2350        6.0175        .18524E-05   -.10586E-04
   5  norm          4.2129        2.8114        .12519E-07   -.28884E-05
   6  Prefactor     65.330        39.011       -.38227E-06   -.13767E-04
   7  norm          .10000E-03    15.218        .68359E-06** at limit **
   8  norm          11.071        5.1669        .13655E-07   -.62632E-05
   9  Prefactor     .10000E-03    23.188        .18706E-06** at limit **
  10  Prefactor     31.694        28.292        .37239E-06   -.40817E-05
  11  Prefactor     .10000E-03    6.1170        .65413E-07** at limit **
  12  Prefactor     86.821        36.978       -.51512E-06   -.45998E-05
  13  Prefactor     .10000E-03    19.785       -.92900E-06** at limit **
  14  Prefactor     11.511        10.499        .19260E-06   -.10836E-04
  15  norm          .95677        .25035        .78652E-08   -.81530E-04
  16  norm          1.8921        4.2846        .24011E-06    .38020E-05
  17  norm          .10000E-03    24.041        .32358E-06** at limit **
  18  Prefactor     11.999        35.396        .80993E-05    .13129E-05
  19  Prefactor     8.6492        7.7660        .16694E-07   -.51733E-05
  20  Prefactor     .10000E-03    10.345       -.19682E-06** at limit **
  21  Prefactor     68.379        42.162        .16724E-06   -.31610E-05
  22  Normalizat    1.2451        .22736       -.74464E-06    .52642E-05
  23  Prefactor     .85296        .14176       -.17553E-06   -.23078E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 2.61359
  norm       = 4.8981
  Prefactor  = 3.23498
  norm       = 4.21292
  Prefactor  = 65.3297
  norm       = 0.0001
  norm       = 11.0713
  Prefactor  = 0.0001
  Prefactor  = 31.6938
  Prefactor  = 0.0001
  Prefactor  = 86.8213
  Prefactor  = 0.0001
  Prefactor  = 11.5112
  norm       = 0.956771
  norm       = 1.89214
  norm       = 0.0001
  Prefactor  = 11.9986
  Prefactor  = 8.64924
  Prefactor  = 0.0001
  Prefactor  = 68.3787
  Normalizat = 1.24511
  Prefactor  = 0.852965
 **********
 **   18 **HESSE 
 **********

 FCN=   6777.295     FROM HESSE     STATUS=OK           372 CALLS     2857 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    16.024        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.6136        4.9971        .24622E-03   -1.5385    
   3  norm          4.8981        2.7131        .48892E-03   -1.5265    
   4  Prefactor     3.2350        6.0245        .11260E-02   -1.5348    
   5  norm          4.2129        2.8127        .10856E-03   -1.5297    
   6  Prefactor     65.330        39.005        .49654E-04   -1.4090    
   7  norm          .10000E-03    15.247        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          11.071        5.1676        .12041E-03   -1.5042    
   9  Prefactor     .10000E-03    23.264        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     31.694        28.321        .71170E-04   -1.4581    
  11  Prefactor     .10000E-03    6.1235        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     86.821        37.061        .43119E-04   -1.3842    
  13  Prefactor     .10000E-03    19.782        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     11.511        10.503        .59043E-03   -1.5029    
  15  norm          .95677        .25002        .19966E-04   -1.5512    
  16  norm          1.8921        4.2522        .24974E-03   -1.5433    
  17  norm          .10000E-03    24.059        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     11.999        35.389        .11541E-03   -1.5015    
  19  Prefactor     8.6492        7.7752        .13631E-03   -1.5120    
  20  Prefactor     .10000E-03    10.354        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     68.379        42.178        .48540E-04   -1.4052    
  22  Normalizat    1.2451        .27299        .29740E-03   -.85220    
  23  Prefactor     .85296        .16986        .22708E-03   -.97805    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.08264e-10
Minuit parameter uncertainties:
  1  4.83171e-06
  2  4.99787
  3  2.71319
  4  6.02564
  5  2.81281
  6  39.0206
  7  1.94659e-05
  8  5.16777
  9  2.55934e-05
  10  28.3325
  11  3.82222e-06
  12  37.0711
  13  5.9895e-06
  14  10.5044
  15  0.250021
  16  4.25291
  17  8.31599e-07
  18  35.4514
  19  7.77607
  20  5.69364e-06
  21  42.1962
  22  0.273304
  23  0.169962
Done.

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

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  8.682e+01  3.707e+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:  8.530e-01  1.700e-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.245e+00  2.733e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 12.02
Ra Dec: 223.544 16.375
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 1.30e-07 +/- 5.55e-08
Energy Flux (Fixed Index): 4.22e-05 +/- 1.80e-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) = 6777.28804001
delta logL = 0.00724285919387

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6777.28412613
delta logL = 0.011156740271

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    90.585       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3460       1.0000          .0000       10.000    
     3 'Normalizat'    1.2534       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84959       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.

 FCN=   6777.284     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      236 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     90.585        639.72        .10555E-02    .10478E-03
   2  Index         2.3460        3.2257        .14532        .10032E-03
   3  Normalizat    1.2532        .15443        .67046E-01    .10833E-04
   4  Prefactor     .84973        .66897E-01    .44359E-01    .12359E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 90.5847
  Index      = 2.34603
  Normalizat = 1.25319
  Prefactor  = 0.849731
 **********
 **   18 **HESSE 
 **********

 FCN=   6777.284     FROM HESSE     STATUS=OK            31 CALLS      267 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     90.585        46.794        .42220E-04   -1.3802    
   2  Index         2.3460        .42777        .53557E-02   -.55954    
   3  Normalizat    1.2532        .26830        .29661E-03   -.84975    
   4  Prefactor     .84973        .17046        .22747E-03   -.97920    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.44745e-09
Minuit parameter uncertainties:
  1  46.8134
  2  0.428504
  3  0.268602
  4  0.170567
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/844258': 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) = 6777.28412573
delta logL = 0.0111571397038

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  9.058e+01  4.681e+01  1.000e-04  1.000e+04 ( 1.000e-13)
221        Index:  2.346e+00  4.285e-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:  8.497e-01  1.706e-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.253e+00  2.686e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.94
Ra Dec: 223.544 16.375
Photon Index (Free Index): 2.35 +/- 0.43
Photon Flux (Free Index): 1.24e-07 +/- 6.87e-08
Energy Flux (Free Index): 4.37e-05 +/- 2.23e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/844258/cmap_HighResolution_514339201_514598401_4FGL_J1454.1+1622_daily_bin1061.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.30e-07', energy_flux2='4.37e-05', photon_flux_error='5.55e-08', dlogl='1.12e-02', energy_flux='4.22e-05', photon_flux2='1.24e-07', job_status='DONE', time_completed='2021-09-10 12:42:33.136492', photon_index_error2='0.43', photon_index2='2.35', ts='12.02', fit_tolerance='1e-08', GAL='0.85', photon_index_error='0.00', energy_flux_error2='2.23e-05', EG='1.25', time_epoch_completed='1631302953.14', return_code='0', job_id='844258', GAL2='0.85', EG2='1.25', return_code2='0', energy_flux_error='1.80e-05', photon_flux_error2='6.87e-08', ts2='11.94', photon_index='2.41' WHERE bin_id='1061' AND source_name='4FGL J1454.1+1622' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:42:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0256>
Subject: Job 844258: <4FGL_J1454.1+1622_daily_bin1061> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.1+1622_daily_bin1061 223.544 16.3747 514339201 514598401 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 :                                   556.44 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             331.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   628 sec.
    Turnaround time :                            629 sec.

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

