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


Performing analysis on: 4FGL_J2253.9+1609_daily_bin1664
RA = 343.496, Dec = 16.1506
tmin = 670636801, tmax = 670896001
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='316822', job_status='RUN', time_executed='2022-04-06 00:38:28.037539', time_epoch_executed='1649230708.04' WHERE source_name='4FGL J2253.9+1609' and cadence='daily' and bin_id='1664'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/316822

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/316822/ft1_4FGL_J2253.9+1609_daily_bin1664.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/316822/ft2_4FGL_J2253.9+1609_daily_bin1664.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/316822/ft1_4FGL_J2253.9+1609_daily_bin1664.fits outfile=/scratch/kocevski/316822/ft1_filteredMKT_4FGL_J2253.9+1609_daily_bin1664.fits ra=343.496 dec=16.1506 rad=12.0 tmin=670636801.0 tmax=670896001.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.37
user 5.10
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/316822/ft2_4FGL_J2253.9+1609_daily_bin1664.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/316822/ft1_filteredMKT_4FGL_J2253.9+1609_daily_bin1664.fits evtable="EVENTS" outfile="/scratch/kocevski/316822/ft1_filtered_4FGL_J2253.9+1609_daily_bin1664.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.32
sys 0.15

Number of photons that the gtmktime cut: 648

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/316822/ft1_filtered_4FGL_J2253.9+1609_daily_bin1664.fits" evtable="EVENTS" scfile=/scratch/kocevski/316822/ft2_4FGL_J2253.9+1609_daily_bin1664.fits sctable="SC_DATA" outfile=/scratch/kocevski/316822/ltcube_670636801_670896001_4FGL_J2253.9+1609_daily_bin1664.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/316822/ft2_4FGL_J2253.9+1609_daily_bin1664.fits
.....................!
real 11.74
user 11.38
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/316822/ft1_filtered_4FGL_J2253.9+1609_daily_bin1664.fits evtable="EVENTS" scfile=/scratch/kocevski/316822/ft2_4FGL_J2253.9+1609_daily_bin1664.fits sctable="SC_DATA" expcube=/scratch/kocevski/316822/ltcube_670636801_670896001_4FGL_J2253.9+1609_daily_bin1664.fits outfile=/scratch/kocevski/316822/expmap_670636801_670896001_4FGL_J2253.9+1609_daily_bin1664.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/316822/ltcube_670636801_670896001_4FGL_J2253.9+1609_daily_bin1664.fits
.....................!
real 192.31
user 186.91
sys 5.08

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/316822/ft1_filtered_4FGL_J2253.9+1609_daily_bin1664.fits scfile=/scratch/kocevski/316822/ft2_4FGL_J2253.9+1609_daily_bin1664.fits outfile=/scratch/kocevski/316822/cmap_670636801_670896001_4FGL_J2253.9+1609_daily_bin1664.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.53
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/316822/ft1_filtered_4FGL_J2253.9+1609_daily_bin1664.fits scfile=/scratch/kocevski/316822/ft2_4FGL_J2253.9+1609_daily_bin1664.fits outfile=/scratch/kocevski/316822/cmap_HighResolution_670636801_670896001_4FGL_J2253.9+1609_daily_bin1664.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.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.255       1.0000         .10000E-03   10000.    
     2 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.8894       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .88922       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    1.1771       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.1118       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .43705       1.0000         .10000E-03   10000.    
    12 'Prefactor '    7.5449       1.0000         .10000E-03   10000.    
    13 'Prefactor '    74.921       1.0000         .10000E-03   10000.    
    14 'Prefactor '    6.7990       1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.4275       1.0000         .10000E-03   10000.    
    16 'Prefactor '    11.891       1.0000         .10000E-03   10000.    
    17 'Prefactor '    19.267       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    10.549       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    7.2461       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0462       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .89811       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7274.581     FROM MIGRAD    STATUS=CONVERGED    508 CALLS     2720 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.256        16.132        .40465E-06    .13932E-04
   2  norm          .10000E-03    2.0111       -.17712E-07** at limit **
   3  Prefactor     .10000E-03    10.354        .68746E-06** at limit **
   4  Prefactor     5.8871        11.207       -.20550E-05   -.91212E-04
   5  Prefactor     .88922        .25610       -.55248E-07   -.77577E-04
   6  Prefactor     .10000E-03    1.9573       -.65731E-07** at limit **
   7  norm          1.1771        1.2917       -.20948E-07   -.66206E-04
   8  Prefactor     .10000E-03    18.621       -.51447E-06** at limit **
   9  Prefactor     3.1122        12.116       -.12747E-05   -.13188E-03
  10  Prefactor     .10000E-03    7.3373        .34286E-05** at limit **
  11  Prefactor     .43703        .16609       -.32461E-07   -.40029E-03
  12  Prefactor     7.5440        14.126       -.21064E-05   -.37165E-04
  13  Prefactor     74.910        51.025       -.11639E-04    .17749E-04
  14  Prefactor     6.7989        6.2197       -.20211E-06   -.68261E-04
  15  Prefactor     3.4271        11.825       -.82512E-06   -.12025E-03
  16  Prefactor     11.890        24.865       -.31978E-05   -.25388E-05
  17  Prefactor     19.266        9.7994       -.53328E-06    .55622E-04
  18  Prefactor     .10000E-03    7.5037       -.96638E-06** at limit **
  19  Prefactor     .10000E-03    7.6523       -.31152E-05** at limit **
  20  norm          10.542        8.7744        .61312E-07    .41034E-06
  21  Prefactor     .10000E-03    5.2129        .21123E-07** at limit **
  22  norm          7.2436        16.601       -.42399E-05   -.29188E-04
  23  Normalizat    1.0464        .23969        .40654E-05   -.39834E-04
  24  Prefactor     .89798        .12161        .31547E-06    .13731E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.2561
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.88712
  Prefactor  = 0.88922
  Prefactor  = 0.0001
  norm       = 1.17709
  Prefactor  = 0.0001
  Prefactor  = 3.11224
  Prefactor  = 0.0001
  Prefactor  = 0.437034
  Prefactor  = 7.54404
  Prefactor  = 74.91
  Prefactor  = 6.79893
  Prefactor  = 3.42708
  Prefactor  = 11.89
  Prefactor  = 19.2656
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 10.5423
  Prefactor  = 0.0001
  norm       = 7.24357
  Normalizat = 1.04642
  Prefactor  = 0.897985
 **********
 **   18 **HESSE 
 **********

 FCN=   7274.581     FROM HESSE     STATUS=OK           401 CALLS     3121 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.256        16.134        .99339E-04   -1.4901    
   2  norm          .10000E-03    2.0313        .11810E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    10.409        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.8871        11.251        .16548E-03   -1.5223    
   5  Prefactor     .88922        .25564        .21723E-04   -1.5519    
   6  Prefactor     .10000E-03    1.9580        .11653E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.1771        1.2746        .97189E-04   -1.5491    
   8  Prefactor     .10000E-03    18.668        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.1122        12.062        .22986E-03   -1.5355    
  10  Prefactor     .10000E-03    7.3306        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .43703        .16474        .20151E-04   -1.5576    
  12  Prefactor     7.5440        14.116        .14600E-03   -1.5159    
  13  Prefactor     74.910        50.899        .46388E-04   -1.3975    
  14  Prefactor     6.7989        6.2154        .15388E-03   -1.5186    
  15  Prefactor     3.4271        11.845        .21849E-03   -1.5338    
  16  Prefactor     11.890        24.889        .11617E-03   -1.5018    
  17  Prefactor     19.266        9.8323        .91248E-04   -1.4830    
  18  Prefactor     .10000E-03    7.5410        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    7.6560        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          10.542        8.7698        .12336E-03   -1.5058    
  21  Prefactor     .10000E-03    5.2873        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          7.2436        16.650        .14901E-03   -1.5170    
  23  Normalizat    1.0464        .28068        .34251E-03   -.91491    
  24  Prefactor     .89798        .14385        .20048E-03   -.96212    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.82252e-10
Minuit parameter uncertainties:
  1  16.1382
  2  4.34922e-06
  3  2.20381e-05
  4  11.2555
  5  0.25564
  6  8.04958e-07
  7  1.2746
  8  1.47201e-05
  9  12.0718
  10  4.09847e-06
  11  0.164741
  12  14.1223
  13  50.929
  14  6.21597
  15  11.8528
  16  24.9105
  17  9.83308
  18  7.57127e-07
  19  1.76693e-06
  20  8.77083
  21  7.93261e-06
  22  16.6603
  23  0.281076
  24  0.143909
Done.

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

Extracting fit parameters...

4FGL J2253.9+1609
   Spectrum: PLSuperExpCutoff2
316    Prefactor:  4.370e-01  1.647e-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:  8.980e-01  1.439e-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.046e+00  2.811e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 13.40
Ra Dec: 343.496 16.151
Photon Index (Fixed Index): 2.02 +/- 0.00
Photon Flux (Fixed Index): 1.59e-07 +/- 6.01e-08
Energy Flux (Fixed Index): 5.12e-05 +/- 1.93e-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) = 7273.53577961
delta logL = 1.04490252603

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7273.53252591
delta logL = 1.04815622359

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .59538       1.0000         .10000E-03   10000.    
     2 'Index1    '    2.6434       1.0000          .0000       10.000    
     3 'Normalizat'    .94098       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93721       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=   7273.533     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      214 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .59538        .22190        .46180E-02    .31996E-03
   2  Index1        2.6434        .45679        .18682       -.11216E-03
   3  Normalizat    .94097        .22598        .80937E-01   -.52754E-04
   4  Prefactor     .93721        .12260        .45478E-01    .44681E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.595384
  Index1     = 2.64342
  Normalizat = 0.940973
  Prefactor  = 0.937212
 **********
 **   18 **HESSE 
 **********

 FCN=   7273.533     FROM HESSE     STATUS=OK            33 CALLS      247 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .59538        .20022        .20551E-04   -1.5554    
   2  Index1        2.6434        .45171        .76258E-02   -.49078    
   3  Normalizat    .94097        .27157        .35828E-03   -.95035    
   4  Prefactor     .93721        .14586        .19662E-03   -.94853    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.06132e-10
Minuit parameter uncertainties:
  1  0.200223
  2  0.452501
  3  0.271969
  4  0.145923
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/316822': 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) = 7273.53252591
delta logL = 1.0481562247

Extracting fit parameters...

4FGL J2253.9+1609
   Spectrum: PLSuperExpCutoff2
316    Prefactor:  5.954e-01  2.002e-01  1.000e-04  1.000e+04 ( 1.000e-09)
317       Index1:  2.643e+00  4.525e-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.372e-01  1.459e-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.410e-01  2.720e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 15.70
Ra Dec: 343.496 16.151
Photon Index (Free Index): 2.64 +/- 0.45
Photon Flux (Free Index): 2.46e-07 +/- 9.39e-08
Energy Flux (Free Index): 5.13e-05 +/- 1.71e-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/316822/cmap_HighResolution_670636801_670896001_4FGL_J2253.9+1609_daily_bin1664.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.59e-07', energy_flux2='5.13e-05', photon_flux_error='6.01e-08', dlogl='1.05e+00', energy_flux='5.12e-05', photon_flux2='2.46e-07', job_status='DONE', time_completed='2022-04-06 00:49:04.800930', photon_index_error2='0.45', photon_index2='2.64', ts='13.40', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', energy_flux_error2='1.71e-05', EG='1.05', time_epoch_completed='1649231344.8', return_code='0', job_id='316822', GAL2='0.94', EG2='0.94', return_code2='0', energy_flux_error='1.93e-05', photon_flux_error2='9.39e-08', ts2='15.70', photon_index='2.02' WHERE bin_id='1664' AND source_name='4FGL J2253.9+1609' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Apr  6 00:49:04 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0241>
Subject: Job 316822: <4FGL_J2253.9+1609_daily_bin1664> in cluster <slac> Done

Job <4FGL_J2253.9+1609_daily_bin1664> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Wed Apr  6 00:35:52 2022
Job was executed on host(s) <bullet0241>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Apr  6 00:35:54 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Apr  6 00:35:54 2022
Terminated at Wed Apr  6 00:49:05 2022
Results reported at Wed Apr  6 00:49:05 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2253.9+1609_daily_bin1664 343.496 16.1506 670636801 670896001 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 :                                   639.13 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             323.89 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   791 sec.
    Turnaround time :                            793 sec.

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

