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


Performing analysis on: 4FGL_J2253.9+1609_daily_bin1732
RA = 343.496, Dec = 16.1506
tmin = 688262401, tmax = 688521601
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='647685', job_status='RUN', time_executed='2022-10-27 00:37:01.608595', time_epoch_executed='1666856221.61' WHERE source_name='4FGL J2253.9+1609' and cadence='daily' and bin_id='1732'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/647685

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/647685/ft1_4FGL_J2253.9+1609_daily_bin1732.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/647685/ft2_4FGL_J2253.9+1609_daily_bin1732.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/647685/ft1_4FGL_J2253.9+1609_daily_bin1732.fits outfile=/scratch/kocevski/647685/ft1_filteredMKT_4FGL_J2253.9+1609_daily_bin1732.fits ra=343.496 dec=16.1506 rad=12.0 tmin=688262401.0 tmax=688521601.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.50
user 3.29
sys 0.19

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

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

Number of photons that the gtmktime cut: 883

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/647685/ft1_filtered_4FGL_J2253.9+1609_daily_bin1732.fits" evtable="EVENTS" scfile=/scratch/kocevski/647685/ft2_4FGL_J2253.9+1609_daily_bin1732.fits sctable="SC_DATA" outfile=/scratch/kocevski/647685/ltcube_688262401_688521601_4FGL_J2253.9+1609_daily_bin1732.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/647685/ft2_4FGL_J2253.9+1609_daily_bin1732.fits
.....................!
real 15.54
user 15.16
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/647685/ft1_filtered_4FGL_J2253.9+1609_daily_bin1732.fits evtable="EVENTS" scfile=/scratch/kocevski/647685/ft2_4FGL_J2253.9+1609_daily_bin1732.fits sctable="SC_DATA" expcube=/scratch/kocevski/647685/ltcube_688262401_688521601_4FGL_J2253.9+1609_daily_bin1732.fits outfile=/scratch/kocevski/647685/expmap_688262401_688521601_4FGL_J2253.9+1609_daily_bin1732.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/647685/ltcube_688262401_688521601_4FGL_J2253.9+1609_daily_bin1732.fits
.....................!
real 189.64
user 184.99
sys 4.30

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/647685/ft1_filtered_4FGL_J2253.9+1609_daily_bin1732.fits scfile=/scratch/kocevski/647685/ft2_4FGL_J2253.9+1609_daily_bin1732.fits outfile=/scratch/kocevski/647685/cmap_688262401_688521601_4FGL_J2253.9+1609_daily_bin1732.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.54
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/647685/ft1_filtered_4FGL_J2253.9+1609_daily_bin1732.fits scfile=/scratch/kocevski/647685/ft2_4FGL_J2253.9+1609_daily_bin1732.fits outfile=/scratch/kocevski/647685/cmap_HighResolution_688262401_688521601_4FGL_J2253.9+1609_daily_bin1732.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.54
user 0.38
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/647685/ft1_filtered_4FGL_J2253.9+1609_daily_bin1732.fits', '/scratch/kocevski/647685/ft2_4FGL_J2253.9+1609_daily_bin1732.fits', expMap='/scratch/kocevski/647685/expmap_688262401_688521601_4FGL_J2253.9+1609_daily_bin1732.fits', expCube='/scratch/kocevski/647685/ltcube_688262401_688521601_4FGL_J2253.9+1609_daily_bin1732.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/647685/Model_4FGL_J2253.9+1609_daily_bin1732.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/647685/ft1_filtered_4FGL_J2253.9+1609_daily_bin1732.fits
Spacecraft file(s): /scratch/kocevski/647685/ft2_4FGL_J2253.9+1609_daily_bin1732.fits
Exposure map: /scratch/kocevski/647685/expmap_688262401_688521601_4FGL_J2253.9+1609_daily_bin1732.fits
Exposure cube: /scratch/kocevski/647685/ltcube_688262401_688521601_4FGL_J2253.9+1609_daily_bin1732.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/647685/Model_4FGL_J2253.9+1609_daily_bin1732.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) = 9104.64535874

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    45.328       1.0000          .0000       .10000E+07
     2 'norm      '    .90625E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    .19548E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    6.5375       1.0000          .0000       .10000E+07
     5 'Prefactor '    .76181       1.0000         .10000E-03   10000.    
     6 'Prefactor '    7.2753       1.0000         .10000E-03   10000.    
     7 'norm      '    1.5482       1.0000          .0000       .10000E+07
     8 'Prefactor '    .36532E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .12664E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    3.4840       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10321E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    .21922E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    20.869       1.0000          .0000       .10000E+07
    14 'Prefactor '    .28685E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    .12322E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    2.3873       1.0000          .0000       .10000E+07
    17 'norm      '    3.2231       1.0000          .0000       .10000E+07
    18 'Prefactor '    .42291E-03   1.0000          .0000       .10000E+07
    19 'norm      '    .12788E-05   1.0000          .0000       .10000E+07
    20 'Normalizat'    1.0141       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0503       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=   9104.621     FROM MIGRAD    STATUS=CONVERGED    122 CALLS     1298 TOTAL
                     EDM=   .90E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     44.007        26.575       -.44476E-06    .64193E-02
   2  norm           .0000        1.7009        .22373E-07** at limit **
   3  Prefactor     .68334E-07    9.2851        .12385E-05** at limit **
   4  Prefactor     6.6701        2.9671        .22238E-06    .10365E-01
   5  Prefactor     .76155        .23593        .99571E-06   -.75382E-03
   6  Prefactor     7.2797        7.2709       -.41773E-06   -.37117E-05
   7  norm          1.5479        1.1106        .79217E-07   -.45430E-03
   8  Prefactor     .12745E-06    8.6405        .86455E-08** at limit **
   9  Prefactor     .44409E-09    6.8568       -.86680E-06** at limit **
  10  Prefactor     3.4838        .30816       -.10245E-06   -.14434E-03
  11  Prefactor     .13323E-07    8.1460       -.30391E-05** at limit **
  12  Prefactor     .13656E-07    9.7987        .19070E-05** at limit **
  13  Prefactor     20.908        2.1271        .12742E-06   -.66808E-02
  14  Prefactor     .10880E-07    3.8414       -.14630E-05** at limit **
  15  Prefactor      .0000        5.3359        .18244E-06** at limit **
  16  Prefactor     2.2065        4.9634       -.19165E-05    .11789E-01
  17  norm          3.3490        7.0535        .18318E-06    .76647E-03
  18  Prefactor     .55511E-10    4.9318       -.51951E-06** at limit **
  19  norm           .0000        3.6798       -.70805E-06** at limit **
  20  Normalizat    1.0145        .26231       -.17788E-04    .57092E-04
  21  Prefactor     1.0505        .14674        .51607E-05    .12450E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 44.0071
  norm       = 0
  Prefactor  = 6.83342e-08
  Prefactor  = 6.67012
  Prefactor  = 0.761549
  Prefactor  = 7.27966
  norm       = 1.54793
  Prefactor  = 1.27454e-07
  Prefactor  = 4.44089e-10
  Prefactor  = 3.48378
  Prefactor  = 1.33227e-08
  Prefactor  = 1.36557e-08
  Prefactor  = 20.9084
  Prefactor  = 1.08802e-08
  Prefactor  = 0
  Prefactor  = 2.20651
  norm       = 3.34901
  Prefactor  = 5.55112e-11
  norm       = 0
  Normalizat = 1.01445
  Prefactor  = 1.05049
 **********
 **   18 **HESSE 
 **********

 FCN=   9104.621     FROM HESSE     STATUS=OK           357 CALLS     1655 TOTAL
                     EDM=   .53E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     44.007        26.767        .14854E-03   -1.5575    
   2  norm           .0000        1.6987        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .68334E-07    17.859        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     6.6701        12.282        .39226E-03   -1.5656    
   5  Prefactor     .76155        .23808        .55330E-02   -1.5533    
   6  Prefactor     7.2797        7.2646        .37176E-02   -1.5168    
   7  norm          1.5479        1.0978        .85590E-03   -1.5683    
   8  Prefactor     .12745E-06    16.941        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .44409E-09    6.8636        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     3.4838        .30770        .33744E-02   -1.5335    
  11  Prefactor     .13323E-07    11.773        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .13656E-07    10.715        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     20.908        21.434        .21897E-03   -1.5617    
  14  Prefactor     .10880E-07    11.823        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        5.3459        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     2.2065        52.562        .66262E-03   -1.5678    
  17  norm          3.3490        7.0668        .56401E-03   -1.5671    
  18  Prefactor     .55511E-10    4.9220        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm           .0000        3.6763        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.0145        .23506        .87612E-01   -.92548    
  21  Prefactor     1.0505        .12600        .39889E-01   -.91065    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.26216e-08
Minuit parameter uncertainties:
  1  26.7667
  2  4.74103e-06
  3  0.00220977
  4  12.2821
  5  0.238077
  6  7.26551
  7  1.09784
  8  0.0029386
  9  0.000110539
  10  0.307696
  11  0.000791272
  12  0.000764518
  13  21.4337
  14  0.000716875
  15  2.21309e-05
  16  21.5388
  17  7.06682
  18  3.7247e-05
  19  1.78387e-05
  20  0.235298
  21  0.126036
Done.

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

Extracting fit parameters...

4FGL J2253.9+1609
   Spectrum: PLSuperExpCutoff2
316    Prefactor:  3.484e+00  3.077e-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:  1.050e+00  1.260e-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:  1.014e+00  2.353e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 451.40
Ra Dec: 343.496 16.151
Photon Index (Fixed Index): 2.02 +/- 0.00
Photon Flux (Fixed Index): 1.27e-06 +/- 1.12e-07
Energy Flux (Fixed Index): 4.08e-04 +/- 3.60e-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) = 9104.49758498
delta logL = 0.123283869829

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9104.496712
delta logL = 0.124156850299

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.4151       1.0000         .10000E-03   10000.    
     2 'Index1    '    1.9697       1.0000          .0000       10.000    
     3 'Normalizat'    1.0424       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0394       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=   9104.497     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      204 TOTAL
                     EDM=   .49E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.4151        .32147        .33583E-02    .43885E-03
   2  Index1        1.9697        .94909E-01    .47167E-01   -.85723E-04
   3  Normalizat    1.0424        .22619        .86669E-01    .17219E-04
   4  Prefactor     1.0394        .12586        .40572E-01    .11170E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.41506
  Index1     = 1.96968
  Normalizat = 1.0424
  Prefactor  = 1.03944
 **********
 **   18 **HESSE 
 **********

 FCN=   9104.497     FROM HESSE     STATUS=OK            31 CALLS      235 TOTAL
                     EDM=   .24E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.4151        .33594        .14841E-04   -1.5338    
   2  Index1        1.9697        .99533E-01    .20795E-03   -.65110    
   3  Normalizat    1.0424        .26571        .38379E-03   -.91623    
   4  Prefactor     1.0394        .14764        .21667E-03   -.91426    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.36464e-12
Minuit parameter uncertainties:
  1  0.33594
  2  0.0995433
  3  0.266049
  4  0.147702
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/647685': 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) = 9104.496712
delta logL = 0.124156850394

Extracting fit parameters...

4FGL J2253.9+1609
   Spectrum: PLSuperExpCutoff2
316    Prefactor:  3.415e+00  3.359e-01  1.000e-04  1.000e+04 ( 1.000e-09)
317       Index1:  1.970e+00  9.954e-02  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:  1.039e+00  1.477e-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:  1.042e+00  2.660e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 447.37
Ra Dec: 343.496 16.151
Photon Index (Free Index): 1.97 +/- 0.10
Photon Flux (Free Index): 1.24e-06 +/- 1.24e-07
Energy Flux (Free Index): 4.19e-04 +/- 4.37e-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/647685/cmap_HighResolution_688262401_688521601_4FGL_J2253.9+1609_daily_bin1732.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.27e-06', energy_flux2='4.19e-04', photon_flux_error='1.12e-07', dlogl='1.24e-01', energy_flux='4.08e-04', photon_flux2='1.24e-06', job_status='DONE', time_completed='2022-10-27 00:46:49.835575', photon_index_error2='0.10', photon_index2='1.97', ts='451.40', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', energy_flux_error2='4.37e-05', EG='1.01', time_epoch_completed='1666856809.84', return_code='0', job_id='647685', GAL2='1.04', EG2='1.04', return_code2='0', energy_flux_error='3.60e-05', photon_flux_error2='1.24e-07', ts2='447.37', photon_index='2.02' WHERE bin_id='1732' AND source_name='4FGL J2253.9+1609' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Oct 27 00:46:49 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0170>
Subject: Job 647685: <4FGL_J2253.9+1609_daily_bin1732> in cluster <slac> Done

Job <4FGL_J2253.9+1609_daily_bin1732> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Thu Oct 27 00:35:47 2022
Job was executed on host(s) <bullet0170>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Oct 27 00:35:48 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Oct 27 00:35:48 2022
Terminated at Thu Oct 27 00:46:50 2022
Results reported at Thu Oct 27 00:46:50 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2253.9+1609_daily_bin1732 343.496 16.1506 688262401 688521601 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 :                                   590.26 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             278.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   662 sec.
    Turnaround time :                            663 sec.

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

