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


Performing analysis on: 4FGL_J1454.1+1622_daily_bin519
RA = 223.544, Dec = 16.3747
tmin = 373852801, tmax = 374112001
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='841399', job_status='RUN', time_executed='2021-09-10 12:23:34.688061', time_epoch_executed='1631301814.69' WHERE source_name='4FGL J1454.1+1622' and cadence='daily' and bin_id='519'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/841399

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/841399/ft1_4FGL_J1454.1+1622_daily_bin519.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/841399/ft2_4FGL_J1454.1+1622_daily_bin519.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/841399/ft1_4FGL_J1454.1+1622_daily_bin519.fits outfile=/scratch/kocevski/841399/ft1_filteredMKT_4FGL_J1454.1+1622_daily_bin519.fits ra=223.544 dec=16.3747 rad=12.0 tmin=373852801.0 tmax=374112001.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 5.21
user 4.20
sys 0.26

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/841399/ft2_4FGL_J1454.1+1622_daily_bin519.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/841399/ft1_filteredMKT_4FGL_J1454.1+1622_daily_bin519.fits evtable="EVENTS" outfile="/scratch/kocevski/841399/ft1_filtered_4FGL_J1454.1+1622_daily_bin519.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.85
user 0.34
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/841399/ft1_filtered_4FGL_J1454.1+1622_daily_bin519.fits" evtable="EVENTS" scfile=/scratch/kocevski/841399/ft2_4FGL_J1454.1+1622_daily_bin519.fits sctable="SC_DATA" outfile=/scratch/kocevski/841399/ltcube_373852801_374112001_4FGL_J1454.1+1622_daily_bin519.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/841399/ft2_4FGL_J1454.1+1622_daily_bin519.fits
.....................!
real 12.72
user 11.23
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/841399/ft1_filtered_4FGL_J1454.1+1622_daily_bin519.fits evtable="EVENTS" scfile=/scratch/kocevski/841399/ft2_4FGL_J1454.1+1622_daily_bin519.fits sctable="SC_DATA" expcube=/scratch/kocevski/841399/ltcube_373852801_374112001_4FGL_J1454.1+1622_daily_bin519.fits outfile=/scratch/kocevski/841399/expmap_373852801_374112001_4FGL_J1454.1+1622_daily_bin519.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/841399/ltcube_373852801_374112001_4FGL_J1454.1+1622_daily_bin519.fits
.....................!
real 191.94
user 185.67
sys 4.32

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/841399/ft1_filtered_4FGL_J1454.1+1622_daily_bin519.fits scfile=/scratch/kocevski/841399/ft2_4FGL_J1454.1+1622_daily_bin519.fits outfile=/scratch/kocevski/841399/cmap_373852801_374112001_4FGL_J1454.1+1622_daily_bin519.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.37
sys 0.14

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.323       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    10.838       1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.7593       1.0000         .10000E-03   10000.    
     5 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10574E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    23.510       1.0000         .10000E-03   10000.    
     8 'norm      '    4.2680       1.0000         .10000E-03   10000.    
     9 'Prefactor '    9.9043       1.0000         .10000E-03   10000.    
    10 'Prefactor '    14.291       1.0000         .10000E-03   10000.    
    11 'Prefactor '    14.907       1.0000         .10000E-03   10000.    
    12 'Prefactor '    54.910       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.7490       1.0000         .10000E-03   10000.    
    15 'norm      '    .53302E-01   1.0000         .10000E-03   10000.    
    16 'norm      '    .10029E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    18.799       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    12.839       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1960       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0716       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=   6934.394     FROM MIGRAD    STATUS=CONVERGED    497 CALLS     2554 TOTAL
                     EDM=   .57E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.320        28.022       -.24008E-05   -.93166E-05
   2  Prefactor     .10000E-03    6.2693        .42604E-06** at limit **
   3  norm          10.837        3.5524        .94540E-08    .23374E-04
   4  Prefactor     5.7586        6.8788       -.41187E-06   -.25014E-03
   5  norm          .10000E-03    1.1484        .11889E-06** at limit **
   6  Prefactor     .10000E-03    51.262       -.80381E-05** at limit **
   7  norm          23.512        24.393        .10460E-05    .73914E-04
   8  norm          4.2677        3.7995       -.61496E-06   -.10338E-03
   9  Prefactor     9.9038        20.072       -.12001E-06   -.92764E-05
  10  Prefactor     14.290        19.012       -.26660E-06    .48611E-04
  11  Prefactor     14.908        15.989        .12738E-06    .45745E-04
  12  Prefactor     54.909        33.240       -.46824E-06    .49594E-04
  13  Prefactor     .10000E-03    16.571       -.11959E-04** at limit **
  14  Prefactor     3.7490        6.7948       -.75076E-06   -.22053E-03
  15  norm          .53272E-01    .14958       -.27385E-06   -.36903E-02
  16  norm          .10000E-03    7.7718        .60360E-06** at limit **
  17  norm          18.742        37.505       -.66802E-04    .29809E-05
  18  Prefactor     .10000E-03    11.001        .23146E-06** at limit **
  19  Prefactor     12.838        10.593       -.75779E-06   -.36356E-04
  20  Prefactor     .10000E-03    67.062        .16580E-04** at limit **
  21  Prefactor     .10000E-03    16.111        .12596E-04** at limit **
  22  Normalizat    1.1963        .23019       -.19041E-05    .14623E-03
  23  Prefactor     1.0715        .14827        .26611E-05   -.15637E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.3197
  Prefactor  = 0.0001
  norm       = 10.8373
  Prefactor  = 5.75858
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 23.5122
  norm       = 4.26769
  Prefactor  = 9.90378
  Prefactor  = 14.2895
  Prefactor  = 14.9078
  Prefactor  = 54.909
  Prefactor  = 0.0001
  Prefactor  = 3.74904
  norm       = 0.0532716
  norm       = 0.0001
  norm       = 18.7424
  Prefactor  = 0.0001
  Prefactor  = 12.8378
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.19629
  Prefactor  = 1.0715
 **********
 **   18 **HESSE 
 **********

 FCN=   6934.394     FROM HESSE     STATUS=OK           374 CALLS     2928 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.320        28.041        .10232E-03   -1.4925    
   2  Prefactor     .10000E-03    6.3407        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          10.837        3.5535        .87124E-04   -1.5049    
   4  Prefactor     5.7586        6.8882        .16736E-03   -1.5228    
   5  norm          .10000E-03    1.1616        .87104E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    51.332        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          23.512        24.361        .82613E-04   -1.4738    
   8  norm          4.2677        3.7983        .14843E-03   -1.5295    
   9  Prefactor     9.9038        20.050        .12733E-03   -1.5078    
  10  Prefactor     14.290        18.939        .10595E-03   -1.4952    
  11  Prefactor     14.908        15.978        .10374E-03   -1.4936    
  12  Prefactor     54.909        33.243        .54131E-04   -1.4225    
  13  Prefactor     .10000E-03    16.571        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.7490        6.7831        .20852E-03   -1.5321    
  15  norm          .53272E-01    .16420        .50005E-03   -1.5662    
  16  norm          .10000E-03    7.9242        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          18.742        37.479        .92376E-04   -1.4842    
  18  Prefactor     .10000E-03    11.004        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     12.838        10.592        .11179E-03   -1.4991    
  20  Prefactor     .10000E-03    67.497        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    16.127        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.1963        .27591        .30562E-03   -.86717    
  23  Prefactor     1.0715        .17812        .21384E-03   -.90383    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.12746e-09
Minuit parameter uncertainties:
  1  28.065
  2  8.02166e-06
  3  3.55354
  4  6.88911
  5  6.37644e-07
  6  0.000133706
  7  24.3712
  8  3.79856
  9  20.0638
  10  18.9465
  11  15.9827
  12  33.254
  13  1.65571e-05
  14  6.78454
  15  0.164197
  16  1.1534e-06
  17  37.5266
  18  2.24321e-06
  19  10.5936
  20  0.000166016
  21  1.75153e-05
  22  0.276246
  23  0.178214
Done.

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

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  5.491e+01  3.325e+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:  1.072e+00  1.782e-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.196e+00  2.762e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.20
Ra Dec: 223.544 16.375
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 8.23e-08 +/- 4.98e-08
Energy Flux (Fixed Index): 2.67e-05 +/- 1.62e-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) = 6934.38595666
delta logL = 0.00775237455855

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6934.38006363
delta logL = 0.0136454033463

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    50.904       1.0000         .10000E-03   10000.    
     2 'Index     '    2.5110       1.0000          .0000       10.000    
     3 'Normalizat'    1.1877       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0750       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=   6934.380     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      234 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     50.904        605.71        .14052E-02    .49732E-03
   2  Index         2.5111        6.2550        .13313        .12701E-03
   3  Normalizat    1.1875        .14153        .69287E-01    .75903E-05
   4  Prefactor     1.0751        .64352E-01    .38626E-01    .30712E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 50.9044
  Index      = 2.51107
  Normalizat = 1.18749
  Prefactor  = 1.07509
 **********
 **   18 **HESSE 
 **********

 FCN=   6934.380     FROM HESSE     STATUS=OK            31 CALLS      265 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     50.904        41.542        .56210E-04   -1.4280    
   2  Index         2.5111        .66106        .68834E-02   -.52104    
   3  Normalizat    1.1875        .27141        .30657E-03   -.86990    
   4  Prefactor     1.0751        .17823        .21352E-03   -.90267    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.76158e-09
Minuit parameter uncertainties:
  1  41.5654
  2  0.663649
  3  0.271733
  4  0.178331
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/841399': 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) = 6934.38006343
delta logL = 0.0136456043156

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  5.090e+01  4.157e+01  1.000e-04  1.000e+04 ( 1.000e-13)
221        Index:  2.511e+00  6.636e-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:  1.075e+00  1.783e-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.187e+00  2.717e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.24
Ra Dec: 223.544 16.375
Photon Index (Free Index): 2.51 +/- 0.66
Photon Flux (Free Index): 8.94e-08 +/- 6.53e-08
Energy Flux (Free Index): 2.56e-05 +/- 1.62e-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/841399/cmap_HighResolution_373852801_374112001_4FGL_J1454.1+1622_daily_bin519.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.23e-08', energy_flux2='2.56e-05', photon_flux_error='4.98e-08', dlogl='1.36e-02', energy_flux='2.67e-05', photon_flux2='8.94e-08', job_status='DONE', time_completed='2021-09-10 12:33:09.724289', photon_index_error2='0.66', photon_index2='2.51', ts='5.20', fit_tolerance='1e-08', GAL='1.07', photon_index_error='0.00', energy_flux_error2='1.62e-05', EG='1.20', time_epoch_completed='1631302389.72', return_code='0', job_id='841399', GAL2='1.08', EG2='1.19', return_code2='0', energy_flux_error='1.62e-05', photon_flux_error2='6.53e-08', ts2='5.24', photon_index='2.41' WHERE bin_id='519' AND source_name='4FGL J1454.1+1622' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 12:33:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0117>
Subject: Job 841399: <4FGL_J1454.1+1622_daily_bin519> in cluster <slac> Done

Job <4FGL_J1454.1+1622_daily_bin519> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Sep 10 12:22:23 2021
Job was executed on host(s) <bullet0117>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 12:22:24 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:22:24 2021
Terminated at Fri Sep 10 12:33:10 2021
Results reported at Fri Sep 10 12:33:10 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.1+1622_daily_bin519 223.544 16.3747 373852801 374112001 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 :                                   563.45 sec.
    Max Memory :                                 1068 MB
    Average Memory :                             287.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   646 sec.
    Turnaround time :                            647 sec.

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

