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


Performing analysis on: 4FGL_J2253.9+1609_daily_bin1745
RA = 343.496, Dec = 16.1506
tmin = 691632001, tmax = 691891201
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='658755', job_status='RUN', time_executed='2022-12-05 01:31:45.817595', time_epoch_executed='1670232705.82' WHERE source_name='4FGL J2253.9+1609' and cadence='daily' and bin_id='1745'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/658755

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/658755/ft1_4FGL_J2253.9+1609_daily_bin1745.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/658755/ft2_4FGL_J2253.9+1609_daily_bin1745.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/658755/ft1_4FGL_J2253.9+1609_daily_bin1745.fits outfile=/scratch/kocevski/658755/ft1_filteredMKT_4FGL_J2253.9+1609_daily_bin1745.fits ra=343.496 dec=16.1506 rad=12.0 tmin=691632001.0 tmax=691891201.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.36
user 2.17
sys 0.18

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

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

Number of photons that the gtmktime cut: 1209

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/658755/ft1_filtered_4FGL_J2253.9+1609_daily_bin1745.fits" evtable="EVENTS" scfile=/scratch/kocevski/658755/ft2_4FGL_J2253.9+1609_daily_bin1745.fits sctable="SC_DATA" outfile=/scratch/kocevski/658755/ltcube_691632001_691891201_4FGL_J2253.9+1609_daily_bin1745.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/658755/ft2_4FGL_J2253.9+1609_daily_bin1745.fits
.....................!
real 12.67
user 12.27
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/658755/ft1_filtered_4FGL_J2253.9+1609_daily_bin1745.fits evtable="EVENTS" scfile=/scratch/kocevski/658755/ft2_4FGL_J2253.9+1609_daily_bin1745.fits sctable="SC_DATA" expcube=/scratch/kocevski/658755/ltcube_691632001_691891201_4FGL_J2253.9+1609_daily_bin1745.fits outfile=/scratch/kocevski/658755/expmap_691632001_691891201_4FGL_J2253.9+1609_daily_bin1745.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/658755/ltcube_691632001_691891201_4FGL_J2253.9+1609_daily_bin1745.fits
.....................!
real 190.75
user 185.16
sys 5.25

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/658755/ft1_filtered_4FGL_J2253.9+1609_daily_bin1745.fits scfile=/scratch/kocevski/658755/ft2_4FGL_J2253.9+1609_daily_bin1745.fits outfile=/scratch/kocevski/658755/cmap_691632001_691891201_4FGL_J2253.9+1609_daily_bin1745.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.55
user 0.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/658755/ft1_filtered_4FGL_J2253.9+1609_daily_bin1745.fits scfile=/scratch/kocevski/658755/ft2_4FGL_J2253.9+1609_daily_bin1745.fits outfile=/scratch/kocevski/658755/cmap_HighResolution_691632001_691891201_4FGL_J2253.9+1609_daily_bin1745.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.55
user 0.37
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .29940E-03   1.0000          .0000       .10000E+07
     2 'norm      '    .10658E-07   1.0000          .0000       .10000E+07
     3 'Prefactor '    .48819E-01   1.0000          .0000       .10000E+07
     4 'Prefactor '    .83645E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    1.6623       1.0000         .10000E-03   10000.    
     6 'Prefactor '    10.952       1.0000         .10000E-03   10000.    
     7 'norm      '    1.9350       1.0000          .0000       .10000E+07
     8 'Prefactor '    33.205       1.0000          .0000       .10000E+07
     9 'Prefactor '    .20726E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    3.6010       1.0000         .10000E-03   10000.    
    11 'Prefactor '    12.297       1.0000          .0000       .10000E+07
    12 'Prefactor '    2.1421       1.0000          .0000       .10000E+07
    13 'Prefactor '    81.642       1.0000          .0000       .10000E+07
    14 'Prefactor '    .18616E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    .93841E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .38306E-03   1.0000          .0000       .10000E+07
    17 'norm      '    .35802E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    8.9030       1.0000          .0000       .10000E+07
    19 'norm      '    4.8074       1.0000          .0000       .10000E+07
    20 'Normalizat'    1.1313       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .85848       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=   12051.26     FROM MIGRAD    STATUS=CONVERGED    115 CALLS     1682 TOTAL
                     EDM=   .98E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .13806E-06    4.3514        .34824E-06** at limit **
   2  norm           .0000        .82304        .91886E-07** at limit **
   3  Prefactor      .0000        17.334        .23748E-05** at limit **
   4  Prefactor      .0000        5.1989        .29731E-06** at limit **
   5  Prefactor     1.6623        .23989        .20255E-07   -.27855E-03
   6  Prefactor     10.950        5.4725        .68367E-05    .77028E-02
   7  norm          1.9349        1.1472       -.50708E-07   -.54569E-03
   8  Prefactor     33.105        5.3191       -.29143E-06   -.67521E-01
   9  Prefactor     .72164E-09    6.0492       -.36382E-05** at limit **
  10  Prefactor     3.6007        .27053        .76117E-07   -.27486E-05
  11  Prefactor     11.779        27.380       -.31541E-05    .41301E-01
  12  Prefactor     2.1434        4.6989       -.11084E-05    .34103E-01
  13  Prefactor     81.267        19.578       -.79372E-06   -.12446    
  14  Prefactor      .0000        3.8913       -.10902E-05** at limit **
  15  Prefactor      .0000        1.7786       -.47230E-06** at limit **
  16  Prefactor     .14266E-06    3.9354       -.13408E-06** at limit **
  17  norm           .0000        1.6517        .22164E-07** at limit **
  18  Prefactor     8.8744        6.0123        .99223E-07   -.53557E-02
  19  norm          4.8080        1.0963       -.12360E-07    .58592E-02
  20  Normalizat    1.1327        .22950        .18532E-04    .38024E-06
  21  Prefactor     .85828        .12031       -.36562E-05    .19782E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.38056e-07
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 1.66229
  Prefactor  = 10.95
  norm       = 1.93493
  Prefactor  = 33.1049
  Prefactor  = 7.21645e-10
  Prefactor  = 3.60074
  Prefactor  = 11.7785
  Prefactor  = 2.14339
  Prefactor  = 81.2666
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 1.42664e-07
  norm       = 0
  Prefactor  = 8.87442
  norm       = 4.80798
  Normalizat = 1.13265
  Prefactor  = 0.858276
 **********
 **   18 **HESSE 
 **********

 FCN=   12051.26     FROM HESSE     STATUS=OK           365 CALLS     2047 TOTAL
                     EDM=   .54E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .13806E-06    8.2296        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        .82527        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        5.9622        .82081E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        5.2073        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.6623        .24364        .43683E-02   -1.5450    
   6  Prefactor     10.950        6.7269        .30266E-02   -1.5046    
   7  norm          1.9349        1.1410        .74623E-03   -1.5680    
   8  Prefactor     33.105        29.080        .17356E-03   -1.5593    
   9  Prefactor     .72164E-09    6.0755        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     3.6007        .27700        .33275E-02   -1.5328    
  11  Prefactor     11.779        33.687        .28540E-03   -1.5639    
  12  Prefactor     2.1434        7.9448        .70391E-03   -1.5679    
  13  Prefactor     81.267        31.404        .11068E-03   -1.5528    
  14  Prefactor      .0000        3.8678        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        1.7794        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .14266E-06    8.1404        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm           .0000        1.6510        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     8.8744        6.0175        .33568E-03   -1.5648    
  19  norm          4.8080        9.7342        .45860E-03   -1.5664    
  20  Normalizat    1.1327        .19613        .82515E-01   -.88710    
  21  Prefactor     .85828        .10336        .44474E-01   -.97615    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.41843e-07
Minuit parameter uncertainties:
  1  0.00213166
  2  7.07027e-07
  3  1.3344e-05
  4  6.53787e-06
  5  0.243639
  6  6.72737
  7  1.141
  8  29.0801
  9  0.000131838
  10  0.277003
  11  33.688
  12  7.94484
  13  31.4038
  14  2.66418e-07
  15  6.76844e-06
  16  0.00215531
  17  1.30014e-05
  18  6.0175
  19  9.7342
  20  0.196255
  21  0.103381
Done.

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

Extracting fit parameters...

4FGL J2253.9+1609
   Spectrum: PLSuperExpCutoff2
316    Prefactor:  3.601e+00  2.770e-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.583e-01  1.034e-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.133e+00  1.963e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 606.33
Ra Dec: 343.496 16.151
Photon Index (Fixed Index): 2.02 +/- 0.00
Photon Flux (Fixed Index): 1.31e-06 +/- 1.01e-07
Energy Flux (Fixed Index): 4.22e-04 +/- 3.24e-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) = 12048.6648489
delta logL = 2.59162134287

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12048.664789
delta logL = 2.59168124273

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.8049       1.0000         .10000E-03   10000.    
     2 'Index1    '    2.2253       1.0000          .0000       10.000    
     3 'Normalizat'    1.0246       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90119       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=   12048.66     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      209 TOTAL
                     EDM=   .71E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.8053        .27976        .33531E-02   -.10416E-03
   2  Index1        2.2255        .90306E-01    .52006E-01   -.68116E-04
   3  Normalizat    1.0245        .18927        .85806E-01    .35904E-04
   4  Prefactor     .90130        .10407        .45020E-01    .10936E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.80531
  Index1     = 2.2255
  Normalizat = 1.02448
  Prefactor  = 0.901304
 **********
 **   18 **HESSE 
 **********

 FCN=   12048.66     FROM HESSE     STATUS=OK            31 CALLS      240 TOTAL
                     EDM=   .25E-15    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.8053        .28610        .14818E-04   -1.5318    
   2  Index1        2.2255        .92762E-01    .22910E-03   -.58824    
   3  Normalizat    1.0245        .22179        .37994E-03   -.92215    
   4  Prefactor     .90130        .12175        .22446E-03   -.96096    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.47937e-16
Minuit parameter uncertainties:
  1  0.286104
  2  0.0927694
  3  0.221986
  4  0.121784
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/658755': 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) = 12048.6647856
delta logL = 2.59168459923

Extracting fit parameters...

4FGL J2253.9+1609
   Spectrum: PLSuperExpCutoff2
316    Prefactor:  3.805e+00  2.861e-01  1.000e-04  1.000e+04 ( 1.000e-09)
317       Index1:  2.225e+00  9.277e-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:  9.013e-01  1.218e-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.024e+00  2.220e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 609.27
Ra Dec: 343.496 16.151
Photon Index (Free Index): 2.23 +/- 0.09
Photon Flux (Free Index): 1.42e-06 +/- 1.14e-07
Energy Flux (Free Index): 3.82e-04 +/- 3.18e-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/658755/cmap_HighResolution_691632001_691891201_4FGL_J2253.9+1609_daily_bin1745.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.31e-06', energy_flux2='3.82e-04', photon_flux_error='1.01e-07', dlogl='2.59e+00', energy_flux='4.22e-04', photon_flux2='1.42e-06', job_status='DONE', time_completed='2022-12-05 01:44:09.599107', photon_index_error2='0.09', photon_index2='2.23', ts='606.33', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', energy_flux_error2='3.18e-05', EG='1.13', time_epoch_completed='1670233449.6', return_code='0', job_id='658755', GAL2='0.90', EG2='1.02', return_code2='0', energy_flux_error='3.24e-05', photon_flux_error2='1.14e-07', ts2='609.27', photon_index='2.02' WHERE bin_id='1745' AND source_name='4FGL J2253.9+1609' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Dec  5 01:44:09 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0214>
Subject: Job 658755: <4FGL_J2253.9+1609_daily_bin1745> in cluster <slac> Done

Job <4FGL_J2253.9+1609_daily_bin1745> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Mon Dec  5 01:30:21 2022
Job was executed on host(s) <bullet0214>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Dec  5 01:30:22 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Dec  5 01:30:22 2022
Terminated at Mon Dec  5 01:44:10 2022
Results reported at Mon Dec  5 01:44:10 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2253.9+1609_daily_bin1745 343.496 16.1506 691632001 691891201 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 :                                   746.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             331.80 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   827 sec.
    Turnaround time :                            829 sec.

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

