aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 67 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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 = 7485
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2253.9+1609_daily_bin1710
RA = 343.496, Dec = 16.1506
tmin = 682560001, tmax = 682819201
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='253561', job_status='RUN', time_executed='2022-09-17 00:21:57.899771', time_epoch_executed='1663399317.9' WHERE source_name='4FGL J2253.9+1609' and cadence='daily' and bin_id='1710'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/253561

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/253561/ft1_4FGL_J2253.9+1609_daily_bin1710.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/253561/ft2_4FGL_J2253.9+1609_daily_bin1710.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/253561/ft1_4FGL_J2253.9+1609_daily_bin1710.fits outfile=/scratch/kocevski/253561/ft1_filteredMKT_4FGL_J2253.9+1609_daily_bin1710.fits ra=343.496 dec=16.1506 rad=12.0 tmin=682560001.0 tmax=682819201.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 3.76
user 3.40
sys 0.25

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/253561/ft2_4FGL_J2253.9+1609_daily_bin1710.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/253561/ft2_4FGL_J2253.9+1609_daily_bin1710.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/253561/ft1_filteredMKT_4FGL_J2253.9+1609_daily_bin1710.fits evtable="EVENTS" outfile="/scratch/kocevski/253561/ft1_filtered_4FGL_J2253.9+1609_daily_bin1710.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.51
user 0.34
sys 0.16

Number of photons that the gtmktime cut: 684

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/253561/ft1_filtered_4FGL_J2253.9+1609_daily_bin1710.fits" evtable="EVENTS" scfile=/scratch/kocevski/253561/ft2_4FGL_J2253.9+1609_daily_bin1710.fits sctable="SC_DATA" outfile=/scratch/kocevski/253561/ltcube_682560001_682819201_4FGL_J2253.9+1609_daily_bin1710.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/253561/ft2_4FGL_J2253.9+1609_daily_bin1710.fits
.....................!
real 14.08
user 13.63
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/253561/ft1_filtered_4FGL_J2253.9+1609_daily_bin1710.fits evtable="EVENTS" scfile=/scratch/kocevski/253561/ft2_4FGL_J2253.9+1609_daily_bin1710.fits sctable="SC_DATA" expcube=/scratch/kocevski/253561/ltcube_682560001_682819201_4FGL_J2253.9+1609_daily_bin1710.fits outfile=/scratch/kocevski/253561/expmap_682560001_682819201_4FGL_J2253.9+1609_daily_bin1710.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/253561/ltcube_682560001_682819201_4FGL_J2253.9+1609_daily_bin1710.fits
.....................!
real 194.15
user 187.84
sys 5.10

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

Setting source of interest to:
4FGL J2253.9+1609 @ 343.496 16.1506

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/253561/ft1_filtered_4FGL_J2253.9+1609_daily_bin1710.fits scfile=/scratch/kocevski/253561/ft2_4FGL_J2253.9+1609_daily_bin1710.fits outfile=/scratch/kocevski/253561/cmap_682560001_682819201_4FGL_J2253.9+1609_daily_bin1710.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=343.496 yref=16.1506 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.59
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/253561/ft1_filtered_4FGL_J2253.9+1609_daily_bin1710.fits scfile=/scratch/kocevski/253561/ft2_4FGL_J2253.9+1609_daily_bin1710.fits outfile=/scratch/kocevski/253561/cmap_HighResolution_682560001_682819201_4FGL_J2253.9+1609_daily_bin1710.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=343.496 yref=16.1506 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.56
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/253561/ft1_filtered_4FGL_J2253.9+1609_daily_bin1710.fits evtable="EVENTS" scfile=/scratch/kocevski/253561/ft2_4FGL_J2253.9+1609_daily_bin1710.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/253561/Model_4FGL_J2253.9+1609_daily_bin1710.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/253561/ft1_filtered_4FGL_J2253.9+1609_daily_bin1710.fits.....................!
real 75.47
user 73.70
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/253561/ft1_filtered_4FGL_J2253.9+1609_daily_bin1710.fits', '/scratch/kocevski/253561/ft2_4FGL_J2253.9+1609_daily_bin1710.fits', expMap='/scratch/kocevski/253561/expmap_682560001_682819201_4FGL_J2253.9+1609_daily_bin1710.fits', expCube='/scratch/kocevski/253561/ltcube_682560001_682819201_4FGL_J2253.9+1609_daily_bin1710.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/253561/Model_4FGL_J2253.9+1609_daily_bin1710.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2253.9+1609'

4FGL J2253.9+1609
   Spectrum: PLSuperExpCutoff2
316    Prefactor:  5.306e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-09)
317       Index1:  2.020e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
318        Scale:  2.324e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed
319    Expfactor:  2.085e+01  0.000e+00 -1.000e+00  1.000e+02 ( 1.000e-03) fixed
320       Index2:  5.143e-01  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/253561/ft1_filtered_4FGL_J2253.9+1609_daily_bin1710.fits
Spacecraft file(s): /scratch/kocevski/253561/ft2_4FGL_J2253.9+1609_daily_bin1710.fits
Exposure map: /scratch/kocevski/253561/expmap_682560001_682819201_4FGL_J2253.9+1609_daily_bin1710.fits
Exposure cube: /scratch/kocevski/253561/ltcube_682560001_682819201_4FGL_J2253.9+1609_daily_bin1710.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/253561/Model_4FGL_J2253.9+1609_daily_bin1710.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) = 7147.85455812

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    20.783       1.0000          .0000       .10000E+07
     2 'norm      '    .72462E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    2.3221       1.0000          .0000       .10000E+07
     4 'Prefactor '    .60830E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .20108       1.0000         .10000E-03   10000.    
     6 'Prefactor '    11.034       1.0000         .10000E-03   10000.    
     7 'norm      '    1.6354       1.0000          .0000       .10000E+07
     8 'Prefactor '    .93256E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    28.824       1.0000          .0000       .10000E+07
    10 'Prefactor '    1.2432       1.0000         .10000E-03   10000.    
    11 'Prefactor '    74.299       1.0000          .0000       .10000E+07
    12 'Prefactor '    2.6589       1.0000          .0000       .10000E+07
    13 'Prefactor '    10.479       1.0000          .0000       .10000E+07
    14 'Prefactor '    .19002E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .17335E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    5.4092       1.0000          .0000       .10000E+07
    17 'norm      '    .21173E-05   1.0000          .0000       .10000E+07
    18 'Prefactor '    .15044E-02   1.0000          .0000       .10000E+07
    19 'norm      '    5.3065       1.0000          .0000       .10000E+07
    20 'Normalizat'    .94265       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .93191       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5100E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7147.834     FROM MIGRAD    STATUS=CONVERGED    116 CALLS     1682 TOTAL
                     EDM=   .62E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     21.189        16.722       -.15672E-06    .10006E-01
   2  norm          .61062E-09    3.5832       -.48521E-07** at limit **
   3  Prefactor     2.2900        5.8459       -.75342E-06   -.50427E-03
   4  Prefactor     .12657E-06    4.4416        .34099E-06** at limit **
   5  Prefactor     .20132        .13906       -.29662E-06   -.31242E-03
   6  Prefactor     11.053        8.6168       -.28038E-05   -.32811E-02
   7  norm          1.6348        1.4806        .31481E-07    .35769E-04
   8  Prefactor     .51126E-07    6.1825        .88535E-06** at limit **
   9  Prefactor     28.812        1.5145        .37891E-07   -.41948E-02
  10  Prefactor     1.2435        .21071        .24622E-06    .13093E-03
  11  Prefactor     76.193        40.253        .57253E-06   -.60100E-03
  12  Prefactor     2.7023        6.8952        .15150E-07   -.47743E-03
  13  Prefactor     10.538        7.1740        .12874E-06   -.88060E-02
  14  Prefactor     .36804E-07    5.6222        .87727E-06** at limit **
  15  Prefactor     .10525E-06    3.7630       -.67281E-06** at limit **
  16  Prefactor     5.4993        2.0620       -.24578E-07   -.43462E-02
  17  norm          .10630E-06    2.0854        .65527E-06** at limit **
  18  Prefactor     .25518E-06    2.7644       -.39745E-06** at limit **
  19  norm          5.3094        1.5829        .74383E-07   -.78390E-02
  20  Normalizat    .94110        .23786        .57339E-05   -.26311E-04
  21  Prefactor     .93192        .13750       -.42016E-05   -.20531E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 21.1889
  norm       = 6.10623e-10
  Prefactor  = 2.28999
  Prefactor  = 1.26565e-07
  Prefactor  = 0.201317
  Prefactor  = 11.0529
  norm       = 1.63482
  Prefactor  = 5.11258e-08
  Prefactor  = 28.812
  Prefactor  = 1.24351
  Prefactor  = 76.1928
  Prefactor  = 2.70235
  Prefactor  = 10.5384
  Prefactor  = 3.68039e-08
  Prefactor  = 1.05249e-07
  Prefactor  = 5.49927
  norm       = 1.06304e-07
  Prefactor  = 2.55185e-07
  norm       = 5.30938
  Normalizat = 0.941102
  Prefactor  = 0.931919
 **********
 **   18 **HESSE 
 **********

 FCN=   7147.834     FROM HESSE     STATUS=OK           363 CALLS     2045 TOTAL
                     EDM=   .53E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     21.189        18.418        .21942E-03   -1.5616    
   2  norm          .61062E-09    3.5733        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.2900        5.8806        .67283E-03   -1.5678    
   4  Prefactor     .12657E-06    5.4939        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .20132        .14510        .56795E-02   -1.5618    
   6  Prefactor     11.053        8.9523        .30153E-02   -1.5043    
   7  norm          1.6348        1.4999        .82626E-03   -1.5682    
   8  Prefactor     .51126E-07    7.8184        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     28.812        12.943        .18629E-03   -1.5601    
  10  Prefactor     1.2435        .21063        .33949E-02   -1.5485    
  11  Prefactor     76.193        40.182        .11602E-03   -1.5533    
  12  Prefactor     2.7023        6.9287        .62484E-03   -1.5675    
  13  Prefactor     10.538        18.876        .30927E-03   -1.5643    
  14  Prefactor     .36804E-07    6.6590        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10525E-06    4.6076        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     5.4993        13.296        .43183E-03   -1.5661    
  17  norm          .10630E-06    7.9237        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .25518E-06    4.9872        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          5.3094        9.7768        .43606E-03   -1.5662    
  20  Normalizat    .94110        .20633        .74324E-01   -.95031    
  21  Prefactor     .93192        .11741        .45410E-01   -.95035    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.32453e-07
Minuit parameter uncertainties:
  1  18.4182
  2  9.23674e-05
  3  5.88062
  4  0.00166756
  5  0.145101
  6  8.95343
  7  1.49988
  8  0.00126437
  9  12.9432
  10  0.210628
  11  40.1819
  12  6.92873
  13  18.8756
  14  0.000989824
  15  0.00139291
  16  13.2957
  17  0.00183547
  18  0.00225635
  19  9.77678
  20  0.206501
  21  0.117444
Done.

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

Extracting fit parameters...

4FGL J2253.9+1609
   Spectrum: PLSuperExpCutoff2
316    Prefactor:  1.244e+00  2.106e-01  1.000e-04  1.000e+04 ( 1.000e-09)
317       Index1:  2.020e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
318        Scale:  2.324e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed
319    Expfactor:  2.085e+01  0.000e+00 -1.000e+00  1.000e+02 ( 1.000e-03) fixed
320       Index2:  5.143e-01  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
507    Prefactor:  9.319e-01  1.174e-01  0.000e+00  1.000e+01 ( 1.000e+00)
508        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
509        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
506   Normalization:  9.411e-01  2.065e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 95.28
Ra Dec: 343.496 16.151
Photon Index (Fixed Index): 2.02 +/- 0.00
Photon Flux (Fixed Index): 4.54e-07 +/- 7.68e-08
Energy Flux (Fixed Index): 1.46e-04 +/- 2.47e-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) = 7146.65587764
delta logL = 1.17814567406

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7146.62784374
delta logL = 1.20617957723

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.3633       1.0000         .10000E-03   10000.    
     2 'Index1    '    2.3292       1.0000          .0000       10.000    
     3 'Normalizat'    .85834       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96583       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5100E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7146.628     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      206 TOTAL
                     EDM=   .85E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.3632        .22053        .34111E-02    .88656E-04
   2  Index1        2.3293        .20056        .88591E-01   -.43130E-04
   3  Normalizat    .85814        .20440        .77194E-01    .25197E-04
   4  Prefactor     .96597        .11802        .45839E-01    .14721E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.36325
  Index1     = 2.32928
  Normalizat = 0.858145
  Prefactor  = 0.965975
 **********
 **   18 **HESSE 
 **********

 FCN=   7146.628     FROM HESSE     STATUS=OK            31 CALLS      237 TOTAL
                     EDM=   .62E-15    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.3632        .22463        .15085E-04   -1.5474    
   2  Index1        2.3293        .20739        .38685E-03   -.56349    
   3  Normalizat    .85814        .24168        .34168E-03   -.97947    
   4  Prefactor     .96597        .13910        .18906E-03   -.93872    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.15266e-16
Minuit parameter uncertainties:
  1  0.224627
  2  0.20747
  3  0.241982
  4  0.139147
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/253561': 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) = 7146.62784305
delta logL = 1.20618026434

Extracting fit parameters...

4FGL J2253.9+1609
   Spectrum: PLSuperExpCutoff2
316    Prefactor:  1.363e+00  2.246e-01  1.000e-04  1.000e+04 ( 1.000e-09)
317       Index1:  2.329e+00  2.075e-01  0.000e+00  1.000e+01 (-1.000e+00)
318        Scale:  2.324e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed
319    Expfactor:  2.085e+01  0.000e+00 -1.000e+00  1.000e+02 ( 1.000e-03) fixed
320       Index2:  5.143e-01  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
507    Prefactor:  9.660e-01  1.391e-01  0.000e+00  1.000e+01 ( 1.000e+00)
508        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
509        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
506   Normalization:  8.581e-01  2.420e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 97.77
Ra Dec: 343.496 16.151
Photon Index (Free Index): 2.33 +/- 0.21
Photon Flux (Free Index): 5.19e-07 +/- 9.21e-08
Energy Flux (Free Index): 1.30e-04 +/- 2.28e-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/253561/cmap_HighResolution_682560001_682819201_4FGL_J2253.9+1609_daily_bin1710.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.54e-07', energy_flux2='1.30e-04', photon_flux_error='7.68e-08', dlogl='1.21e+00', energy_flux='1.46e-04', photon_flux2='5.19e-07', job_status='DONE', time_completed='2022-09-17 00:31:26.146869', photon_index_error2='0.21', photon_index2='2.33', ts='95.28', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', energy_flux_error2='2.28e-05', EG='0.94', time_epoch_completed='1663399886.15', return_code='0', job_id='253561', GAL2='0.97', EG2='0.86', return_code2='0', energy_flux_error='2.47e-05', photon_flux_error2='9.21e-08', ts2='97.77', photon_index='2.02' WHERE bin_id='1710' AND source_name='4FGL J2253.9+1609' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 17 00:31:26 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0262>
Subject: Job 253561: <4FGL_J2253.9+1609_daily_bin1710> in cluster <slac> Done

Job <4FGL_J2253.9+1609_daily_bin1710> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Sep 17 00:20:18 2022
Job was executed on host(s) <bullet0262>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 17 00:20:40 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 17 00:20:40 2022
Terminated at Sat Sep 17 00:31:27 2022
Results reported at Sat Sep 17 00:31:27 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2253.9+1609_daily_bin1710 343.496 16.1506 682560001 682819201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2253.9+1609 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   567.46 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             325.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   647 sec.
    Turnaround time :                            669 sec.

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

