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


Performing analysis on: 4FGL_J2253.9+1609_daily_bin1713
RA = 343.496, Dec = 16.1506
tmin = 683337601, tmax = 683596801
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='253566', job_status='RUN', time_executed='2022-09-17 00:23:47.861897', time_epoch_executed='1663399427.86' WHERE source_name='4FGL J2253.9+1609' and cadence='daily' and bin_id='1713'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/253566

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/253566/ft1_4FGL_J2253.9+1609_daily_bin1713.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/253566/ft2_4FGL_J2253.9+1609_daily_bin1713.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/253566/ft1_4FGL_J2253.9+1609_daily_bin1713.fits outfile=/scratch/kocevski/253566/ft1_filteredMKT_4FGL_J2253.9+1609_daily_bin1713.fits ra=343.496 dec=16.1506 rad=12.0 tmin=683337601.0 tmax=683596801.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 2.94
user 2.68
sys 0.21

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

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

Number of photons that the gtmktime cut: 771

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/253566/ft1_filtered_4FGL_J2253.9+1609_daily_bin1713.fits" evtable="EVENTS" scfile=/scratch/kocevski/253566/ft2_4FGL_J2253.9+1609_daily_bin1713.fits sctable="SC_DATA" outfile=/scratch/kocevski/253566/ltcube_683337601_683596801_4FGL_J2253.9+1609_daily_bin1713.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/253566/ft2_4FGL_J2253.9+1609_daily_bin1713.fits
.....................!
real 14.55
user 12.59
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/253566/ft1_filtered_4FGL_J2253.9+1609_daily_bin1713.fits evtable="EVENTS" scfile=/scratch/kocevski/253566/ft2_4FGL_J2253.9+1609_daily_bin1713.fits sctable="SC_DATA" expcube=/scratch/kocevski/253566/ltcube_683337601_683596801_4FGL_J2253.9+1609_daily_bin1713.fits outfile=/scratch/kocevski/253566/expmap_683337601_683596801_4FGL_J2253.9+1609_daily_bin1713.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/253566/ltcube_683337601_683596801_4FGL_J2253.9+1609_daily_bin1713.fits
.....................!
real 156.54
user 152.26
sys 3.80

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/253566/ft1_filtered_4FGL_J2253.9+1609_daily_bin1713.fits scfile=/scratch/kocevski/253566/ft2_4FGL_J2253.9+1609_daily_bin1713.fits outfile=/scratch/kocevski/253566/cmap_683337601_683596801_4FGL_J2253.9+1609_daily_bin1713.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.49
user 0.35
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/253566/ft1_filtered_4FGL_J2253.9+1609_daily_bin1713.fits scfile=/scratch/kocevski/253566/ft2_4FGL_J2253.9+1609_daily_bin1713.fits outfile=/scratch/kocevski/253566/cmap_HighResolution_683337601_683596801_4FGL_J2253.9+1609_daily_bin1713.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.50
user 0.34
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96829E-02   1.0000          .0000       .10000E+07
     2 'norm      '    .57299E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .28810E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    4.4553       1.0000          .0000       .10000E+07
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.6399       1.0000         .10000E-03   10000.    
     7 'norm      '    3.6645       1.0000          .0000       .10000E+07
     8 'Prefactor '    24.923       1.0000          .0000       .10000E+07
     9 'Prefactor '    1.7735       1.0000          .0000       .10000E+07
    10 'Prefactor '    2.4476       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .68933E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .41197E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    58.864       1.0000          .0000       .10000E+07
    14 'Prefactor '    14.303       1.0000          .0000       .10000E+07
    15 'Prefactor '    .22752E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .10140E-02   1.0000          .0000       .10000E+07
    17 'norm      '    .25182E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    8.4659       1.0000          .0000       .10000E+07
    19 'norm      '    7.1849       1.0000          .0000       .10000E+07
    20 'Normalizat'    1.1908       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .81533       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=   7909.815     FROM MIGRAD    STATUS=CONVERGED    128 CALLS     1620 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10031E-06    9.3382       -.27767E-05** at limit **
   2  norm          .25036E-07    4.3483       -.69082E-06** at limit **
   3  Prefactor     .40024E-07    5.3701        .64190E-06** at limit **
   4  Prefactor     4.4739        4.1538        .19179E-05    .65013E-01
   5  Prefactor     .10000E-03    .63950E-01   -.13814E-05** at limit **
   6  Prefactor     3.6498        4.3931       -.18249E-05    .61858E-04
   7  norm          3.6645        1.9572        .67556E-07    .38180E-02
   8  Prefactor     25.274        22.014        .28297E-05   -.53644E-01
   9  Prefactor     1.7790        4.7957       -.34178E-05   -.48012E-01
  10  Prefactor     2.4472        .26870       -.11436E-06    .30260E-03
  11  Prefactor     .44964E-08    21.912       -.55887E-06** at limit **
  12  Prefactor     .38064E-06    6.9881        .19955E-05** at limit **
  13  Prefactor     59.448        21.203        .15730E-05    .38905E-01
  14  Prefactor     14.302        7.5438       -.20800E-06    .43926E-02
  15  Prefactor     .28866E-08    3.3193       -.69676E-06** at limit **
  16  Prefactor     .25252E-06    5.6236       -.19315E-05** at limit **
  17  norm          .55511E-09    2.2918       -.10703E-07** at limit **
  18  Prefactor     8.5306        7.1200        .31245E-06    .90193E-02
  19  norm          7.1937        1.7805       -.36893E-06   -.32854E-01
  20  Normalizat    1.1896        .24878       -.60074E-05    .11852E-03
  21  Prefactor     .81546        .13528       -.64140E-06    .10030E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.00309e-07
  norm       = 2.50355e-08
  Prefactor  = 4.00235e-08
  Prefactor  = 4.47388
  Prefactor  = 0.0001
  Prefactor  = 3.64977
  norm       = 3.66451
  Prefactor  = 25.2737
  Prefactor  = 1.77901
  Prefactor  = 2.44724
  Prefactor  = 4.4964e-09
  Prefactor  = 3.8064e-07
  Prefactor  = 59.4481
  Prefactor  = 14.3021
  Prefactor  = 2.88658e-09
  Prefactor  = 2.5252e-07
  norm       = 5.55112e-10
  Prefactor  = 8.53058
  norm       = 7.19366
  Normalizat = 1.18963
  Prefactor  = 0.815461
 **********
 **   18 **HESSE 
 **********

 FCN=   7909.815     FROM HESSE     STATUS=OK           361 CALLS     1981 TOTAL
                     EDM=   .43E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10031E-06    9.6981        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .25036E-07    4.3627        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .40024E-07    5.5043        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.4739        8.5756        .47682E-03   -1.5666    
   5  Prefactor     .10000E-03    .51495E-01    .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.6498        4.4009        .52937E-02   -1.5326    
   7  norm          3.6645        2.0386        .52742E-03   -1.5670    
   8  Prefactor     25.274        33.170        .20035E-03   -1.5607    
   9  Prefactor     1.7790        11.547        .78589E-03   -1.5681    
  10  Prefactor     2.4472        .27180        .32492E-02   -1.5395    
  11  Prefactor     .44964E-08    21.961        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .38064E-06    8.3124        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     59.448        29.031        .13035E-03   -1.5554    
  14  Prefactor     14.302        7.8814        .26458E-03   -1.5632    
  15  Prefactor     .28866E-08    3.3351        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .25252E-06    6.4578        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .55511E-09    2.2921        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     8.5306        7.3139        .34429E-03   -1.5650    
  19  norm          7.1937        7.8546        .37398E-03   -1.5654    
  20  Normalizat    1.1896        .21574        .72926E-01   -.86924    
  21  Prefactor     .81546        .11524        .43916E-01   -.99161    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.31344e-07
Minuit parameter uncertainties:
  1  0.00197262
  2  0.000660991
  3  0.000938498
  4  8.57562
  5  2.08507e-09
  6  4.40126
  7  2.03864
  8  33.1704
  9  9.06457
  10  0.271797
  11  0.000629989
  12  0.00355743
  13  29.0311
  14  7.88137
  15  0.000196036
  16  0.00255394
  17  7.23567e-05
  18  7.31389
  19  7.85456
  20  0.215906
  21  0.115276
Done.

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

Extracting fit parameters...

4FGL J2253.9+1609
   Spectrum: PLSuperExpCutoff2
316    Prefactor:  2.447e+00  2.718e-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.155e-01  1.153e-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.190e+00  2.159e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 282.10
Ra Dec: 343.496 16.151
Photon Index (Fixed Index): 2.02 +/- 0.00
Photon Flux (Fixed Index): 8.93e-07 +/- 9.91e-08
Energy Flux (Fixed Index): 2.87e-04 +/- 3.18e-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) = 7909.32788165
delta logL = 0.487484991431

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7909.3261455
delta logL = 0.48922114166

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.5553       1.0000         .10000E-03   10000.    
     2 'Index1    '    2.1438       1.0000          .0000       10.000    
     3 'Normalizat'    1.1382       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83450       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=   7909.326     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      207 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.5552        .27966        .32697E-02   -.83446E-02
   2  Index1        2.1438        .12199        .57066E-01    .17364E-03
   3  Normalizat    1.1382        .20901        .74163E-01   -.12968E-03
   4  Prefactor     .83451        .11551        .44165E-01   -.79586E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.55525
  Index1     = 2.14381
  Normalizat = 1.13818
  Prefactor  = 0.834514
 **********
 **   18 **HESSE 
 **********

 FCN=   7909.326     FROM HESSE     STATUS=OK            29 CALLS      236 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.5552        .29047        .14451E-04   -1.5388    
   2  Index1        2.1438        .12716        .25122E-03   -.60801    
   3  Normalizat    1.1382        .24715        .32821E-03   -.88535    
   4  Prefactor     .83451        .13607        .21153E-03   -.98468    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.79396e-10
Minuit parameter uncertainties:
  1  0.290465
  2  0.127178
  3  0.247405
  4  0.136123
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/253566': 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) = 7909.3261455
delta logL = 0.489221144814

Extracting fit parameters...

4FGL J2253.9+1609
   Spectrum: PLSuperExpCutoff2
316    Prefactor:  2.555e+00  2.905e-01  1.000e-04  1.000e+04 ( 1.000e-09)
317       Index1:  2.144e+00  1.272e-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.345e-01  1.361e-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.138e+00  2.474e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 282.61
Ra Dec: 343.496 16.151
Photon Index (Free Index): 2.14 +/- 0.13
Photon Flux (Free Index): 9.44e-07 +/- 1.13e-07
Energy Flux (Free Index): 2.71e-04 +/- 3.26e-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/253566/cmap_HighResolution_683337601_683596801_4FGL_J2253.9+1609_daily_bin1713.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.93e-07', energy_flux2='2.71e-04', photon_flux_error='9.91e-08', dlogl='4.89e-01', energy_flux='2.87e-04', photon_flux2='9.44e-07', job_status='DONE', time_completed='2022-09-17 00:31:54.649023', photon_index_error2='0.13', photon_index2='2.14', ts='282.10', fit_tolerance='1e-08', GAL='0.82', photon_index_error='0.00', energy_flux_error2='3.26e-05', EG='1.19', time_epoch_completed='1663399914.65', return_code='0', job_id='253566', GAL2='0.83', EG2='1.14', return_code2='0', energy_flux_error='3.18e-05', photon_flux_error2='1.13e-07', ts2='282.61', photon_index='2.02' WHERE bin_id='1713' AND source_name='4FGL J2253.9+1609' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 17 00:31:54 PDT 2022


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

Job <4FGL_J2253.9+1609_daily_bin1713> 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) <bullet0189>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 17 00:20:43 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:43 2022
Terminated at Sat Sep 17 00:31:55 2022
Results reported at Sat Sep 17 00:31:55 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2253.9+1609_daily_bin1713 343.496 16.1506 683337601 683596801 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 :                                   486.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             261.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   671 sec.
    Turnaround time :                            697 sec.

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

