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


Performing analysis on: 4FGL_J2253.9+1609_daily_bin1768
RA = 343.496, Dec = 16.1506
tmin = 697593601, tmax = 697852801
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='284729', job_status='RUN', time_executed='2023-02-12 01:49:17.735118', time_epoch_executed='1676195357.74' WHERE source_name='4FGL J2253.9+1609' and cadence='daily' and bin_id='1768'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/284729

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/284729/ft1_4FGL_J2253.9+1609_daily_bin1768.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/284729/ft2_4FGL_J2253.9+1609_daily_bin1768.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/284729/ft1_4FGL_J2253.9+1609_daily_bin1768.fits outfile=/scratch/kocevski/284729/ft1_filteredMKT_4FGL_J2253.9+1609_daily_bin1768.fits ra=343.496 dec=16.1506 rad=12.0 tmin=697593601.0 tmax=697852801.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.10
user 2.79
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/284729/ft2_4FGL_J2253.9+1609_daily_bin1768.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/284729/ft1_filteredMKT_4FGL_J2253.9+1609_daily_bin1768.fits evtable="EVENTS" outfile="/scratch/kocevski/284729/ft1_filtered_4FGL_J2253.9+1609_daily_bin1768.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.46
user 0.28
sys 0.17

Number of photons that the gtmktime cut: 857

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/284729/ft1_filtered_4FGL_J2253.9+1609_daily_bin1768.fits evtable="EVENTS" scfile=/scratch/kocevski/284729/ft2_4FGL_J2253.9+1609_daily_bin1768.fits sctable="SC_DATA" expcube=/scratch/kocevski/284729/ltcube_697593601_697852801_4FGL_J2253.9+1609_daily_bin1768.fits outfile=/scratch/kocevski/284729/expmap_697593601_697852801_4FGL_J2253.9+1609_daily_bin1768.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/284729/ltcube_697593601_697852801_4FGL_J2253.9+1609_daily_bin1768.fits
.....................!
real 157.19
user 151.95
sys 4.75

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/284729/ft1_filtered_4FGL_J2253.9+1609_daily_bin1768.fits scfile=/scratch/kocevski/284729/ft2_4FGL_J2253.9+1609_daily_bin1768.fits outfile=/scratch/kocevski/284729/cmap_697593601_697852801_4FGL_J2253.9+1609_daily_bin1768.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.48
user 0.31
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/284729/ft1_filtered_4FGL_J2253.9+1609_daily_bin1768.fits scfile=/scratch/kocevski/284729/ft2_4FGL_J2253.9+1609_daily_bin1768.fits outfile=/scratch/kocevski/284729/cmap_HighResolution_697593601_697852801_4FGL_J2253.9+1609_daily_bin1768.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.49
user 0.32
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.568       1.0000          .0000       .10000E+07
     2 'norm      '    1.1901       1.0000          .0000       .10000E+07
     3 'Prefactor '    59.038       1.0000          .0000       .10000E+07
     4 'Prefactor '    9.1990       1.0000          .0000       .10000E+07
     5 'Prefactor '    2.7948       1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.1974       1.0000         .10000E-03   10000.    
     7 'norm      '    1.3932       1.0000          .0000       .10000E+07
     8 'Prefactor '    36.299       1.0000          .0000       .10000E+07
     9 'Prefactor '    2.6952       1.0000          .0000       .10000E+07
    10 'Prefactor '    2.1054       1.0000         .10000E-03   10000.    
    11 'Prefactor '    37.992       1.0000          .0000       .10000E+07
    12 'Prefactor '    .13100E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    11.285       1.0000          .0000       .10000E+07
    14 'Prefactor '    1.3489       1.0000          .0000       .10000E+07
    15 'Prefactor '    .38361E-05   1.0000          .0000       .10000E+07
    16 'Prefactor '    9.4839       1.0000          .0000       .10000E+07
    17 'norm      '    .67518E-06   1.0000          .0000       .10000E+07
    18 'Prefactor '    1.4206       1.0000          .0000       .10000E+07
    19 'norm      '    .32249E-02   1.0000          .0000       .10000E+07
    20 'Normalizat'    1.0700       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .84017       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=   9046.957     FROM MIGRAD    STATUS=CONVERGED    135 CALLS     1674 TOTAL
                     EDM=   .80E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.539        9.5560       -.95595E-07    .36128E-02
   2  norm          1.1919        2.5058       -.20081E-06    .10863E-02
   3  Prefactor     58.968        7.8766       -.30471E-07    .74618E-01
   4  Prefactor     9.0148        11.445        .87566E-07   -.18686E-02
   5  Prefactor     2.7948        .37234        .56641E-07   -.23485E-03
   6  Prefactor     6.2043        8.1810        .10265E-06    .53443E-05
   7  norm          1.3933        1.2683        .27056E-07   -.25210E-03
   8  Prefactor     36.453        2.1135        .70952E-09    .51092E-02
   9  Prefactor     2.7190        8.2390       -.16204E-06    .26259E-03
  10  Prefactor     2.1054        .26704       -.33165E-06    .23532E-02
  11  Prefactor     39.394        47.101        .18417E-06   -.19147E-02
  12  Prefactor     .43021E-07    44.009        .66125E-06** at limit **
  13  Prefactor     11.235        17.079       -.22341E-06   -.14155E-01
  14  Prefactor     1.3573        3.4074       -.83670E-07    .20714E-03
  15  Prefactor      .0000        2.7980       -.20717E-06** at limit **
  16  Prefactor     9.1166        11.712        .29621E-06    .28050E-03
  17  norm           .0000        1.9172        .65394E-07** at limit **
  18  Prefactor     1.4198        3.8531        .17693E-06   -.35437E-03
  19  norm          .31419E-07    30.237        .75126E-06** at limit **
  20  Normalizat    1.0702        .26770        .10358E-05    .28178E-05
  21  Prefactor     .84007        .14012        .38000E-06    .18393E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.5388
  norm       = 1.19188
  Prefactor  = 58.9681
  Prefactor  = 9.01479
  Prefactor  = 2.79483
  Prefactor  = 6.20427
  norm       = 1.39331
  Prefactor  = 36.4534
  Prefactor  = 2.71905
  Prefactor  = 2.10536
  Prefactor  = 39.3938
  Prefactor  = 4.30211e-08
  Prefactor  = 11.2351
  Prefactor  = 1.35734
  Prefactor  = 0
  Prefactor  = 9.1166
  norm       = 0
  Prefactor  = 1.41979
  norm       = 3.14193e-08
  Normalizat = 1.07017
  Prefactor  = 0.840072
 **********
 **   18 **HESSE 
 **********

 FCN=   9046.957     FROM HESSE     STATUS=OK           371 CALLS     2045 TOTAL
                     EDM=   .55E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.539        20.131        .24579E-03   -1.5627    
   2  norm          1.1919        2.5694        .10439E-02   -1.5686    
   3  Prefactor     58.968        21.180        .13016E-03   -1.5554    
   4  Prefactor     9.0148        11.673        .33020E-03   -1.5648    
   5  Prefactor     2.7948        .38307        .45055E-02   -1.5374    
   6  Prefactor     6.2043        8.1731        .40314E-02   -1.5210    
   7  norm          1.3933        1.2530        .91995E-03   -1.5684    
   8  Prefactor     36.453        35.613        .16600E-03   -1.5587    
   9  Prefactor     2.7190        8.2882        .62030E-03   -1.5675    
  10  Prefactor     2.1054        .27076        .37076E-02   -1.5418    
  11  Prefactor     39.394        46.950        .16226E-03   -1.5582    
  12  Prefactor     .43021E-07    43.334        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     11.235        20.059        .29798E-03   -1.5641    
  14  Prefactor     1.3573        3.4614        .94195E-03   -1.5685    
  15  Prefactor      .0000        2.7986        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     9.1166        11.704        .32517E-03   -1.5648    
  17  norm           .0000        1.9191        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     1.4198        3.9057        .90730E-03   -1.5684    
  19  norm          .31419E-07    30.577        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.0702        .22792        .83983E-01   -.90715    
  21  Prefactor     .84007        .11927        .44238E-01   -.98268    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.51454e-08
Minuit parameter uncertainties:
  1  20.1313
  2  2.56938
  3  21.1799
  4  11.6729
  5  0.383073
  6  8.17454
  7  1.25302
  8  35.6128
  9  8.28823
  10  0.270761
  11  46.9509
  12  0.00273099
  13  20.059
  14  3.46142
  15  5.66016e-06
  16  11.704
  17  4.6177e-07
  18  3.90574
  19  0.00195996
  20  0.228134
  21  0.119304
Done.

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

Extracting fit parameters...

4FGL J2253.9+1609
   Spectrum: PLSuperExpCutoff2
316    Prefactor:  2.105e+00  2.708e-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.401e-01  1.193e-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.070e+00  2.281e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 182.00
Ra Dec: 343.496 16.151
Photon Index (Fixed Index): 2.02 +/- 0.00
Photon Flux (Fixed Index): 7.68e-07 +/- 9.87e-08
Energy Flux (Fixed Index): 2.47e-04 +/- 3.17e-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) = 9045.49697686
delta logL = 1.4600166074

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9045.49684238
delta logL = 1.46015109244

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.3313       1.0000         .10000E-03   10000.    
     2 'Index1    '    2.2785       1.0000          .0000       10.000    
     3 'Normalizat'    .94876       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88810       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=   9045.497     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      209 TOTAL
                     EDM=   .13E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.3313        .28689        .37603E-02    .30581E-04
   2  Index1        2.2786        .14725        .72679E-01   -.66230E-04
   3  Normalizat    .94860        .22324        .88165E-01    .33195E-04
   4  Prefactor     .88818        .12042        .44853E-01    .74794E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.33133
  Index1     = 2.27858
  Normalizat = 0.9486
  Prefactor  = 0.888175
 **********
 **   18 **HESSE 
 **********

 FCN=   9045.497     FROM HESSE     STATUS=OK            31 CALLS      240 TOTAL
                     EDM=   .10E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.3313        .30030        .16625E-04   -1.5403    
   2  Index1        2.2786        .15584        .31865E-03   -.57554    
   3  Normalizat    .94860        .26522        .39043E-03   -.94773    
   4  Prefactor     .88818        .14243        .22071E-03   -.96556    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.98407e-14
Minuit parameter uncertainties:
  1  0.300305
  2  0.155877
  3  0.265592
  4  0.142493
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/284729': 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) = 9045.4968421
delta logL = 1.46015136694

Extracting fit parameters...

4FGL J2253.9+1609
   Spectrum: PLSuperExpCutoff2
316    Prefactor:  2.331e+00  3.003e-01  1.000e-04  1.000e+04 ( 1.000e-09)
317       Index1:  2.279e+00  1.559e-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:  8.882e-01  1.425e-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.486e-01  2.656e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 184.06
Ra Dec: 343.496 16.151
Photon Index (Free Index): 2.28 +/- 0.16
Photon Flux (Free Index): 8.80e-07 +/- 1.24e-07
Energy Flux (Free Index): 2.27e-04 +/- 2.94e-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/284729/cmap_HighResolution_697593601_697852801_4FGL_J2253.9+1609_daily_bin1768.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.68e-07', energy_flux2='2.27e-04', photon_flux_error='9.87e-08', dlogl='1.46e+00', energy_flux='2.47e-04', photon_flux2='8.80e-07', job_status='DONE', time_completed='2023-02-12 01:57:54.886482', photon_index_error2='0.16', photon_index2='2.28', ts='182.00', fit_tolerance='1e-08', GAL='0.84', photon_index_error='0.00', energy_flux_error2='2.94e-05', EG='1.07', time_epoch_completed='1676195874.89', return_code='0', job_id='284729', GAL2='0.89', EG2='0.95', return_code2='0', energy_flux_error='3.17e-05', photon_flux_error2='1.24e-07', ts2='184.06', photon_index='2.02' WHERE bin_id='1768' AND source_name='4FGL J2253.9+1609' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Feb 12 01:57:54 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0189>
Subject: Job 284729: <4FGL_J2253.9+1609_daily_bin1768> in cluster <slac> Done

Job <4FGL_J2253.9+1609_daily_bin1768> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sun Feb 12 01:45:18 2023
Job was executed on host(s) <bullet0189>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Feb 12 01:46:45 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Feb 12 01:46:45 2023
Terminated at Sun Feb 12 01:57:55 2023
Results reported at Sun Feb 12 01:57:55 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2253.9+1609_daily_bin1768 343.496 16.1506 697593601 697852801 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 :                                   518.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             276.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   670 sec.
    Turnaround time :                            757 sec.

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

