aklog: Couldn't determine realm of user:aklog: unknown RPC error (-1765328189)  while getting realm
/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 17 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 = 17293
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1454.1+1622_weekly_bin496
RA = 223.544, Dec = 16.3747
tmin = 538963201, tmax = 539568001
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='624691', job_status='RUN', time_executed='2021-07-22 09:03:36.567164', time_epoch_executed='1626969816.57' WHERE source_name='4FGL J1454.1+1622' and cadence='weekly' and bin_id='496'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/624691

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/624691/ft1_4FGL_J1454.1+1622_weekly_bin496.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/624691/ft2_4FGL_J1454.1+1622_weekly_bin496.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/624691/ft1_4FGL_J1454.1+1622_weekly_bin496.fits outfile=/scratch/kocevski/624691/ft1_filteredMKT_4FGL_J1454.1+1622_weekly_bin496.fits ra=223.544 dec=16.3747 rad=12.0 tmin=538963201.0 tmax=539568001.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 11.58
user 11.20
sys 0.35

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/624691/ft1_filtered_4FGL_J1454.1+1622_weekly_bin496.fits evtable="EVENTS" scfile=/scratch/kocevski/624691/ft2_4FGL_J1454.1+1622_weekly_bin496.fits sctable="SC_DATA" expcube=/scratch/kocevski/624691/ltcube_538963201_539568001_4FGL_J1454.1+1622_weekly_bin496.fits outfile=/scratch/kocevski/624691/expmap_538963201_539568001_4FGL_J1454.1+1622_weekly_bin496.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/624691/ltcube_538963201_539568001_4FGL_J1454.1+1622_weekly_bin496.fits
.....................!
real 192.63
user 187.30
sys 4.67

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/624691/ft1_filtered_4FGL_J1454.1+1622_weekly_bin496.fits scfile=/scratch/kocevski/624691/ft2_4FGL_J1454.1+1622_weekly_bin496.fits outfile=/scratch/kocevski/624691/cmap_538963201_539568001_4FGL_J1454.1+1622_weekly_bin496.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.58
user 0.41
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/624691/ft1_filtered_4FGL_J1454.1+1622_weekly_bin496.fits scfile=/scratch/kocevski/624691/ft2_4FGL_J1454.1+1622_weekly_bin496.fits outfile=/scratch/kocevski/624691/cmap_HighResolution_538963201_539568001_4FGL_J1454.1+1622_weekly_bin496.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.58
user 0.42
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.2945       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .14304E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .19892       1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.8425       1.0000         .10000E-03   10000.    
     5 'norm      '    5.3369       1.0000         .10000E-03   10000.    
     6 'Prefactor '    20.795       1.0000         .10000E-03   10000.    
     7 'norm      '    .14617E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    7.5809       1.0000         .10000E-03   10000.    
     9 'Prefactor '    33.283       1.0000         .10000E-03   10000.    
    10 'Prefactor '    41.836       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.9862       1.0000         .10000E-03   10000.    
    12 'Prefactor '    32.905       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    1.1371       1.0000         .10000E-03   10000.    
    16 'norm      '    5.3110       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10766E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    5.1671       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    15.410       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .90104       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0898       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=   9350.586     FROM MIGRAD    STATUS=CONVERGED    508 CALLS     2574 TOTAL
                     EDM=   .63E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.2643        69.203       -.42622E-04   -.37945E-04
   2  Prefactor     .10000E-03    13.745        .16294E-06** at limit **
   3  norm          .21045        1.1962       -.81293E-06   -.17583E-03
   4  Prefactor     5.8417        7.7988        .23418E-06    .28458E-04
   5  norm          5.3372        2.9689        .36803E-06    .17417E-03
   6  Prefactor     20.773        20.827        .17828E-05   -.13092E-04
   7  norm          .10005E-03    7.2113        .14468E-06** at limit **
   8  norm          7.5810        4.5427       -.46056E-06   -.35789E-05
   9  Prefactor     33.259        37.280       -.23431E-04    .19304E-04
  10  Prefactor     41.824        25.782       -.51680E-05    .24634E-04
  11  Prefactor     1.9947        44.509        .28173E-05   -.24083E-04
  12  Prefactor     32.904        35.247        .28759E-05    .29938E-04
  13  Prefactor     .10000E-03    15.475       -.37129E-06** at limit **
  14  Prefactor     .10000E-03    5.6246       -.77633E-06** at limit **
  15  norm          1.1371        .23581       -.24856E-07    .41507E-03
  16  norm          5.3108        4.6059       -.86529E-06   -.74001E-04
  17  norm          .10000E-03    15.109        .13446E-05** at limit **
  18  Prefactor     .10000E-03    83.713        .56706E-05** at limit **
  19  Prefactor     5.1675        7.2333        .59492E-06   -.14513E-03
  20  Prefactor     .10000E-03    21.336       -.61722E-05** at limit **
  21  Prefactor     15.405        27.883       -.65213E-05   -.75786E-06
  22  Normalizat    .90077        .20486        .65379E-05    .11008E-03
  23  Prefactor     1.0899        .12621        .60558E-06    .49002E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.26434
  Prefactor  = 0.000100002
  norm       = 0.210454
  Prefactor  = 5.84174
  norm       = 5.33715
  Prefactor  = 20.7728
  norm       = 0.000100049
  norm       = 7.58105
  Prefactor  = 33.2588
  Prefactor  = 41.8245
  Prefactor  = 1.99467
  Prefactor  = 32.9035
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.13709
  norm       = 5.31077
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 5.16748
  Prefactor  = 0.0001
  Prefactor  = 15.4047
  Normalizat = 0.900771
  Prefactor  = 1.08992
 **********
 **   18 **HESSE 
 **********

 FCN=   9350.586     FROM HESSE     STATUS=OK           380 CALLS     2954 TOTAL
                     EDM=   .36E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.2643        70.364        .27097E-03   -1.5407    
   2  Prefactor     .10000E-03    14.117        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .21045        4.7554        .20462E-02   -1.5616    
   4  Prefactor     5.8417        7.7553        .16615E-03   -1.5225    
   5  norm          5.3372        2.9667        .11932E-03   -1.5246    
   6  Prefactor     20.773        19.058        .87834E-04   -1.4796    
   7  norm          .10005E-03    22.290        .45786E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          7.5810        4.5425        .14565E-03   -1.5157    
   9  Prefactor     33.259        37.067        .69458E-04   -1.4554    
  10  Prefactor     41.824        25.756        .61977E-04   -1.4414    
  11  Prefactor     1.9947        43.285        .29403E-03   -1.5425    
  12  Prefactor     32.904        34.979        .69855E-04   -1.4560    
  13  Prefactor     .10000E-03    15.492        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    5.7233        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.1371        .23538        .19746E-04   -1.5495    
  16  norm          5.3108        4.6112        .17440E-03   -1.5247    
  17  norm          .10000E-03    15.109        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    84.118        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     5.1675        7.2233        .17685E-03   -1.5253    
  20  Prefactor     .10000E-03    21.413        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     15.405        27.905        .10203E-03   -1.4923    
  22  Normalizat    .90077        .24002        .34600E-03   -.96433    
  23  Prefactor     1.0899        .14946        .20607E-03   -.89789    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.61209e-08
Minuit parameter uncertainties:
  1  25.2771
  2  0.000370949
  3  2.00049
  4  7.75658
  5  2.9668
  6  19.0638
  7  0.00209513
  8  4.54271
  9  37.0923
  10  25.7631
  11  18.5986
  12  35.0003
  13  4.69944e-06
  14  2.00495e-05
  15  0.235376
  16  4.61151
  17  2.73608e-06
  18  0.00047562
  19  7.22449
  20  7.62183e-05
  21  27.9284
  22  0.240305
  23  0.149518
Done.

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

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  3.290e+01  3.500e+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.090e+00  1.495e-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:  9.008e-01  2.403e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.40
Ra Dec: 223.544 16.375
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 4.93e-08 +/- 5.24e-08
Energy Flux (Fixed Index): 1.60e-05 +/- 1.70e-05

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

Saving results to:
/scratch/kocevski/624691/likelihoodResults_538963201_539568001_4FGL_J1454.1+1622_weekly_bin496.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) = 9350.56823958
delta logL = 0.0176386459498

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9350.5624865
delta logL = 0.0233917231781

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    36.431       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2094       1.0000          .0000       10.000    
     3 'Normalizat'    .91185       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0849       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=   9350.562     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      281 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     36.468        36.802        .66398E-04   -.95883E-05
   2  Index         2.2114        .86258        .10996E-01    .68366E-04
   3  Normalizat    .91158        .23233        .34418E-03    .90507E-04
   4  Prefactor     1.0850        .14978        .20647E-03   -.14882E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 36.4679
  Index      = 2.21141
  Normalizat = 0.911581
  Prefactor  = 1.085
 **********
 **   18 **HESSE 
 **********

 FCN=   9350.562     FROM HESSE     STATUS=OK            25 CALLS      306 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     36.468        36.250        .26559E-05   -1.4499    
   2  Index         2.2114        .84859        .21993E-02   -.59163    
   3  Normalizat    .91158        .23223        .13767E-04   -.96054    
   4  Prefactor     1.0850        .14979        .41294E-04   -.89947    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.01894e-10
Minuit parameter uncertainties:
  1  36.272
  2  0.854619
  3  0.23249
  4  0.149844
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/624691': 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) = 9350.56248204
delta logL = 0.0233961876329

Extracting fit parameters...

4FGL J1454.1+1622
   Spectrum: PowerLaw
220    Prefactor:  3.647e+01  3.627e+01  1.000e-04  1.000e+04 ( 1.000e-13)
221        Index:  2.211e+00  8.546e-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.085e+00  1.498e-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:  9.116e-01  2.325e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.45
Ra Dec: 223.544 16.375
Photon Index (Free Index): 2.21 +/- 0.85
Photon Flux (Free Index): 4.10e-08 +/- 5.52e-08
Energy Flux (Free Index): 1.80e-05 +/- 2.06e-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/624691/cmap_HighResolution_538963201_539568001_4FGL_J1454.1+1622_weekly_bin496.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.14e-02', comment='SUCCESS', photon_flux='4.93e-08', energy_flux2='1.80e-05', photon_flux_error='5.24e-08', dlogl='2.34e-02', energy_flux='1.60e-05', photon_flux2='4.10e-08', job_status='DONE', time_completed='2021-07-22 09:17:38.238678', photon_index_error2='0.85', photon_index2='2.21', ts='1.40', fit_tolerance='1e-08', GAL='1.09', photon_index_error='0.00', photon_flux_upper_limit='1.47e-07', energy_flux_error2='2.06e-05', EG='0.90', time_epoch_completed='1626970658.24', return_code='0', job_id='624691', GAL2='1.09', EG2='0.91', return_code2='0', energy_flux_error='1.70e-05', photon_flux_error2='5.52e-08', ts2='1.45', photon_index='2.41' WHERE bin_id='496' AND source_name='4FGL J1454.1+1622' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Thu Jul 22 09:17:38 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0093>
Subject: Job 624691: <4FGL_J1454.1+1622_weekly_bin496> in cluster <slac> Done

Job <4FGL_J1454.1+1622_weekly_bin496> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Jul 22 09:01:37 2021
Job was executed on host(s) <bullet0093>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jul 22 09:03:06 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jul 22 09:03:06 2021
Terminated at Thu Jul 22 09:17:39 2021
Results reported at Thu Jul 22 09:17:39 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1454.1+1622_weekly_bin496 223.544 16.3747 538963201 539568001 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 :                                   802.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             317.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   875 sec.
    Turnaround time :                            962 sec.

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

