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


Performing analysis on: 4FGL_J2253.9+1609_daily_bin1738
RA = 343.496, Dec = 16.1506
tmin = 689817601, tmax = 690076801
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='411995', job_status='RUN', time_executed='2022-11-14 00:52:31.141995', time_epoch_executed='1668415951.14' WHERE source_name='4FGL J2253.9+1609' and cadence='daily' and bin_id='1738'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/411995

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/411995/ft1_4FGL_J2253.9+1609_daily_bin1738.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/411995/ft2_4FGL_J2253.9+1609_daily_bin1738.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/411995/ft1_4FGL_J2253.9+1609_daily_bin1738.fits outfile=/scratch/kocevski/411995/ft1_filteredMKT_4FGL_J2253.9+1609_daily_bin1738.fits ra=343.496 dec=16.1506 rad=12.0 tmin=689817601.0 tmax=690076801.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 4.13
user 3.83
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/411995/ft1_filtered_4FGL_J2253.9+1609_daily_bin1738.fits" evtable="EVENTS" scfile=/scratch/kocevski/411995/ft2_4FGL_J2253.9+1609_daily_bin1738.fits sctable="SC_DATA" outfile=/scratch/kocevski/411995/ltcube_689817601_690076801_4FGL_J2253.9+1609_daily_bin1738.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/411995/ft2_4FGL_J2253.9+1609_daily_bin1738.fits
.....................!
real 13.57
user 13.00
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/411995/ft1_filtered_4FGL_J2253.9+1609_daily_bin1738.fits evtable="EVENTS" scfile=/scratch/kocevski/411995/ft2_4FGL_J2253.9+1609_daily_bin1738.fits sctable="SC_DATA" expcube=/scratch/kocevski/411995/ltcube_689817601_690076801_4FGL_J2253.9+1609_daily_bin1738.fits outfile=/scratch/kocevski/411995/expmap_689817601_690076801_4FGL_J2253.9+1609_daily_bin1738.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/411995/ltcube_689817601_690076801_4FGL_J2253.9+1609_daily_bin1738.fits
.....................!
real 192.82
user 185.33
sys 5.13

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/411995/ft1_filtered_4FGL_J2253.9+1609_daily_bin1738.fits scfile=/scratch/kocevski/411995/ft2_4FGL_J2253.9+1609_daily_bin1738.fits outfile=/scratch/kocevski/411995/cmap_689817601_690076801_4FGL_J2253.9+1609_daily_bin1738.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.56
user 0.36
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/411995/ft1_filtered_4FGL_J2253.9+1609_daily_bin1738.fits scfile=/scratch/kocevski/411995/ft2_4FGL_J2253.9+1609_daily_bin1738.fits outfile=/scratch/kocevski/411995/cmap_HighResolution_689817601_690076801_4FGL_J2253.9+1609_daily_bin1738.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/411995/ft1_filtered_4FGL_J2253.9+1609_daily_bin1738.fits evtable="EVENTS" scfile=/scratch/kocevski/411995/ft2_4FGL_J2253.9+1609_daily_bin1738.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/411995/Model_4FGL_J2253.9+1609_daily_bin1738.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/411995/ft1_filtered_4FGL_J2253.9+1609_daily_bin1738.fits.....................!
real 103.95
user 101.47
sys 1.30

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .95701E-07   1.0000          .0000       .10000E+07
     2 'norm      '    .38858E-09   1.0000          .0000       .10000E+07
     3 'Prefactor '    .18260E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .25162E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .89884       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .26094       1.0000          .0000       .10000E+07
     8 'Prefactor '    .16320E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    9.7472       1.0000          .0000       .10000E+07
    10 'Prefactor '    4.0259       1.0000         .10000E-03   10000.    
    11 'Prefactor '    29.638       1.0000          .0000       .10000E+07
    12 'Prefactor '    .27444E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    82.769       1.0000          .0000       .10000E+07
    14 'Prefactor '    12.615       1.0000          .0000       .10000E+07
    15 'Prefactor '    4.3664       1.0000          .0000       .10000E+07
    16 'Prefactor '    .41042E-03   1.0000          .0000       .10000E+07
    17 'norm      '    11.372       1.0000          .0000       .10000E+07
    18 'Prefactor '    .55511E-09   1.0000          .0000       .10000E+07
    19 'norm      '    .38913E-07   1.0000          .0000       .10000E+07
    20 'Normalizat'    1.1291       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .84335       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=   9397.074     FROM MIGRAD    STATUS=CONVERGED    179 CALLS     2047 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .68358E-05    38.952       -.24200E-06** at limit **
   2  norm          .11102E-09    1.0305        .54730E-07** at limit **
   3  Prefactor     .31217E-02    52.821        .43674E-06** at limit **
   4  Prefactor     .41231E-05    28.573       -.22909E-06** at limit **
   5  Prefactor     .89890        .23933       -.93776E-07   -.47435E-02
   6  Prefactor     .10000E-03    2.6445       -.10308E-06** at limit **
   7  norm          .26191        1.7572        .90420E-08    .66457E-03
   8  Prefactor     .41356E-07    13.176       -.79205E-07** at limit **
   9  Prefactor     9.7416        12.615        .94614E-08   -.51923E-02
  10  Prefactor     4.0259        .33949       -.25237E-07   -.24613E-02
  11  Prefactor     29.621        23.285       -.11471E-07   -.13781    
  12  Prefactor     .72548E-06    55.662       -.57716E-07** at limit **
  13  Prefactor     82.768        10.418        .29446E-07   -.12258E-01
  14  Prefactor     12.583        9.9494        .88331E-08    .98683E-03
  15  Prefactor     4.3687        14.378        .11422E-06    .12807E-02
  16  Prefactor     .76564E-04    145.58        .12177E-05** at limit **
  17  norm          11.370        11.164       -.19001E-07    .14546E-02
  18  Prefactor     .49960E-09    3.5535        .13338E-06** at limit **
  19  norm          .38858E-09    5.1669       -.62323E-07** at limit **
  20  Normalizat    1.1290        .27738        .18880E-05    .65380E-04
  21  Prefactor     .84341        .13992       -.87432E-06   -.21019E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.83575e-06
  norm       = 1.11022e-10
  Prefactor  = 0.00312169
  Prefactor  = 4.12315e-06
  Prefactor  = 0.898905
  Prefactor  = 0.0001
  norm       = 0.261909
  Prefactor  = 4.13558e-08
  Prefactor  = 9.74162
  Prefactor  = 4.02592
  Prefactor  = 29.6211
  Prefactor  = 7.25475e-07
  Prefactor  = 82.7677
  Prefactor  = 12.5831
  Prefactor  = 4.36865
  Prefactor  = 7.65643e-05
  norm       = 11.3698
  Prefactor  = 4.996e-10
  norm       = 3.88578e-10
  Normalizat = 1.12901
  Prefactor  = 0.843407
 **********
 **   18 **HESSE 
 **********

 FCN=   9397.074     FROM HESSE     STATUS=OK           373 CALLS     2420 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .68358E-05    42.008        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .11102E-09    1.0371        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .31217E-02    9.5229        .81519E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .41231E-05    59.039        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .89890        .24404        .52394E-02   -1.5518    
   6  Prefactor     .10000E-03    2.6451        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .26191        1.9033        .10778E-02   -1.5698    
   8  Prefactor     .41356E-07    13.263        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     9.7416        13.089        .32073E-03   -1.5646    
  10  Prefactor     4.0259        .34116        .34837E-02   -1.5307    
  11  Prefactor     29.621        26.362        .18372E-03   -1.5599    
  12  Prefactor     .72548E-06    6.9091        .67282E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     82.768        41.208        .10992E-03   -1.5526    
  14  Prefactor     12.583        9.9727        .28177E-03   -1.5637    
  15  Prefactor     4.3687        14.720        .48177E-03   -1.5666    
  16  Prefactor     .76564E-04    160.08        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          11.370        11.361        .29682E-03   -1.5641    
  18  Prefactor     .49960E-09    3.5845        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .38858E-09    5.1696        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.1290        .23967        .86669E-01   -.88826    
  21  Prefactor     .84341        .11974        .44279E-01   -.98148    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.29526e-06
Minuit parameter uncertainties:
  1  0.0338916
  2  1.92005e-05
  3  0.344834
  4  0.0312046
  5  0.244041
  6  7.29062e-06
  7  1.41207
  8  0.00148123
  9  13.0887
  10  0.34116
  11  26.3618
  12  0.00447773
  13  41.2086
  14  9.97268
  15  14.7204
  16  0.221422
  17  11.3614
  18  8.35751e-05
  19  8.68609e-05
  20  0.239906
  21  0.11978
Done.

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

Extracting fit parameters...

4FGL J2253.9+1609
   Spectrum: PLSuperExpCutoff2
316    Prefactor:  4.026e+00  3.412e-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.434e-01  1.198e-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.129e+00  2.399e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 479.00
Ra Dec: 343.496 16.151
Photon Index (Fixed Index): 2.02 +/- 0.00
Photon Flux (Fixed Index): 1.47e-06 +/- 1.24e-07
Energy Flux (Fixed Index): 4.71e-04 +/- 3.99e-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) = 9397.06530671
delta logL = 0.00887599427369

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9397.06258427
delta logL = 0.0115984272397

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.0533       1.0000         .10000E-03   10000.    
     2 'Index1    '    2.0342       1.0000          .0000       10.000    
     3 'Normalizat'    1.1191       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84710       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=   9397.063     FROM MIGRAD    STATUS=CONVERGED     44 CALLS      193 TOTAL
                     EDM=   .87E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.0533        .36531        .34898E-02   -.37312E-02
   2  Index1        2.0342        .91368E-01    .44913E-01   -.10362E-03
   3  Normalizat    1.1191        .22943        .86969E-01    .19239E-04
   4  Prefactor     .84710        .11975        .44327E-01   -.60335E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.05325
  Index1     = 2.03417
  Normalizat = 1.11907
  Prefactor  = 0.847096
 **********
 **   18 **HESSE 
 **********

 FCN=   9397.063     FROM HESSE     STATUS=OK            29 CALLS      222 TOTAL
                     EDM=   .68E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.0533        .38364        .15422E-04   -1.5305    
   2  Index1        2.0342        .96183E-01    .19809E-03   -.63498    
   3  Normalizat    1.1191        .27133        .38514E-03   -.89142    
   4  Prefactor     .84710        .14115        .23176E-03   -.98015    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.82546e-11
Minuit parameter uncertainties:
  1  0.383637
  2  0.0961925
  3  0.271665
  4  0.14121
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/411995': 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) = 9397.06258427
delta logL = 0.0115984272506

Extracting fit parameters...

4FGL J2253.9+1609
   Spectrum: PLSuperExpCutoff2
316    Prefactor:  4.053e+00  3.836e-01  1.000e-04  1.000e+04 ( 1.000e-09)
317       Index1:  2.034e+00  9.619e-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:  8.471e-01  1.412e-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.119e+00  2.717e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 471.47
Ra Dec: 343.496 16.151
Photon Index (Free Index): 2.03 +/- 0.10
Photon Flux (Free Index): 1.48e-06 +/- 1.45e-07
Energy Flux (Free Index): 4.68e-04 +/- 4.36e-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/411995/cmap_HighResolution_689817601_690076801_4FGL_J2253.9+1609_daily_bin1738.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.47e-06', energy_flux2='4.68e-04', photon_flux_error='1.24e-07', dlogl='1.16e-02', energy_flux='4.71e-04', photon_flux2='1.48e-06', job_status='DONE', time_completed='2022-11-14 01:04:01.988069', photon_index_error2='0.10', photon_index2='2.03', ts='479.00', fit_tolerance='1e-08', GAL='0.84', photon_index_error='0.00', energy_flux_error2='4.36e-05', EG='1.13', time_epoch_completed='1668416641.99', return_code='0', job_id='411995', GAL2='0.85', EG2='1.12', return_code2='0', energy_flux_error='3.99e-05', photon_flux_error2='1.45e-07', ts2='471.47', photon_index='2.02' WHERE bin_id='1738' AND source_name='4FGL J2253.9+1609' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Nov 14 01:04:02 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0251>
Subject: Job 411995: <4FGL_J2253.9+1609_daily_bin1738> in cluster <slac> Done

Job <4FGL_J2253.9+1609_daily_bin1738> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Nov 14 00:50:18 2022
Job was executed on host(s) <bullet0251>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Nov 14 00:50:51 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Nov 14 00:50:51 2022
Terminated at Mon Nov 14 01:04:02 2022
Results reported at Mon Nov 14 01:04:02 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2253.9+1609_daily_bin1738 343.496 16.1506 689817601 690076801 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 :                                   687.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             310.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   792 sec.
    Turnaround time :                            824 sec.

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

