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


Performing analysis on: 4FGL_J2253.9+1609_daily_bin1725
RA = 343.496, Dec = 16.1506
tmin = 686448001, tmax = 686707201
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='892951', job_status='RUN', time_executed='2022-10-06 01:08:32.529760', time_epoch_executed='1665043712.53' WHERE source_name='4FGL J2253.9+1609' and cadence='daily' and bin_id='1725'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/892951

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/892951/ft1_4FGL_J2253.9+1609_daily_bin1725.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/892951/ft2_4FGL_J2253.9+1609_daily_bin1725.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/892951/ft1_4FGL_J2253.9+1609_daily_bin1725.fits outfile=/scratch/kocevski/892951/ft1_filteredMKT_4FGL_J2253.9+1609_daily_bin1725.fits ra=343.496 dec=16.1506 rad=12.0 tmin=686448001.0 tmax=686707201.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.62
user 4.34
sys 0.23

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

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

Number of photons that the gtmktime cut: 783

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/892951/ft1_filtered_4FGL_J2253.9+1609_daily_bin1725.fits evtable="EVENTS" scfile=/scratch/kocevski/892951/ft2_4FGL_J2253.9+1609_daily_bin1725.fits sctable="SC_DATA" expcube=/scratch/kocevski/892951/ltcube_686448001_686707201_4FGL_J2253.9+1609_daily_bin1725.fits outfile=/scratch/kocevski/892951/expmap_686448001_686707201_4FGL_J2253.9+1609_daily_bin1725.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/892951/ltcube_686448001_686707201_4FGL_J2253.9+1609_daily_bin1725.fits
.....................!
real 191.03
user 185.62
sys 5.04

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/892951/ft1_filtered_4FGL_J2253.9+1609_daily_bin1725.fits scfile=/scratch/kocevski/892951/ft2_4FGL_J2253.9+1609_daily_bin1725.fits outfile=/scratch/kocevski/892951/cmap_686448001_686707201_4FGL_J2253.9+1609_daily_bin1725.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.57
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/892951/ft1_filtered_4FGL_J2253.9+1609_daily_bin1725.fits scfile=/scratch/kocevski/892951/ft2_4FGL_J2253.9+1609_daily_bin1725.fits outfile=/scratch/kocevski/892951/cmap_HighResolution_686448001_686707201_4FGL_J2253.9+1609_daily_bin1725.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.56
user 0.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .21668E-02   1.0000          .0000       .10000E+07
     2 'norm      '    .33967E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    26.393       1.0000          .0000       .10000E+07
     4 'Prefactor '    .16098E-08   1.0000          .0000       .10000E+07
     5 'Prefactor '    .89598       1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.2403       1.0000         .10000E-03   10000.    
     7 'norm      '    .13728E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    66.299       1.0000          .0000       .10000E+07
     9 'Prefactor '    22.705       1.0000          .0000       .10000E+07
    10 'Prefactor '    5.5183       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .36166       1.0000          .0000       .10000E+07
    12 'Prefactor '    .92016E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    46.105       1.0000          .0000       .10000E+07
    14 'Prefactor '    .21095E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    11.155       1.0000          .0000       .10000E+07
    16 'Prefactor '    .16365E-06   1.0000          .0000       .10000E+07
    17 'norm      '    .33435E-01   1.0000          .0000       .10000E+07
    18 'Prefactor '    12.950       1.0000          .0000       .10000E+07
    19 'norm      '    .32842E-03   1.0000          .0000       .10000E+07
    20 'Normalizat'    1.7118       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .53690       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=   7792.072     FROM MIGRAD    STATUS=CONVERGED    116 CALLS      968 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .33307E-09    11.284        .97390E-06** at limit **
   2  norm           .0000        2.7328       -.10269E-05** at limit **
   3  Prefactor     26.359        1.8871       -.20445E-06   -.17164E-01
   4  Prefactor     .41311E-06    2.0900        .33927E-06** at limit **
   5  Prefactor     .89567        .28447       -.11297E-05   -.43017E-03
   6  Prefactor     6.3926        6.3179        .93167E-05    .92780E-04
   7  norm           .0000        .64359        .54356E-06** at limit **
   8  Prefactor     66.052        44.935       -.87323E-05    .28237E-01
   9  Prefactor     22.723        1.5834        .31002E-06    .58965E-01
  10  Prefactor     5.5191        .43780        .10730E-05    .29881E-02
  11  Prefactor     .21361E-06    85.405       -.46577E-05** at limit **
  12  Prefactor     .22204E-09    2.6787       -.18683E-05** at limit **
  13  Prefactor     46.155        1.1062       -.91229E-07   -.25872E-02
  14  Prefactor     .29620E-05    2.4745        .18123E-05** at limit **
  15  Prefactor     10.916        2.7067        .98256E-06    .11047    
  16  Prefactor     .21594E-07    7.4081        .32451E-05** at limit **
  17  norm          .54803        27.836        .35759E-05   -.40825E-02
  18  Prefactor     12.852        10.468       -.16569E-05    .23230E-02
  19  norm          .42527E-06    2.1291        .21226E-05** at limit **
  20  Normalizat    1.7109        .30199        .12516E-04    .77591E-04
  21  Prefactor     .53713        .15179       -.52718E-05    .76145E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.33067e-10
  norm       = 0
  Prefactor  = 26.3588
  Prefactor  = 4.13114e-07
  Prefactor  = 0.895668
  Prefactor  = 6.39262
  norm       = 0
  Prefactor  = 66.0523
  Prefactor  = 22.7232
  Prefactor  = 5.51908
  Prefactor  = 2.13607e-07
  Prefactor  = 2.22045e-10
  Prefactor  = 46.1548
  Prefactor  = 2.96196e-06
  Prefactor  = 10.916
  Prefactor  = 2.15938e-08
  norm       = 0.548026
  Prefactor  = 12.8522
  norm       = 4.25271e-07
  Normalizat = 1.71087
  Prefactor  = 0.537126
 **********
 **   18 **HESSE 
 **********

 FCN=   7792.072     FROM HESSE     STATUS=OK           373 CALLS     1341 TOTAL
                     EDM=   .44E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .33307E-09    11.303        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        2.7283        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     26.359        20.030        .19469E-03   -1.5605    
   4  Prefactor     .41311E-06    4.0461        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .89567        .29796        .57032E-02   -1.5519    
   6  Prefactor     6.3926        6.3160        .40174E-02   -1.5202    
   7  norm           .0000        .64280        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     66.052        46.185        .12282E-03   -1.5545    
   9  Prefactor     22.723        14.747        .20992E-03   -1.5613    
  10  Prefactor     5.5191        .43634        .34559E-02   -1.5238    
  11  Prefactor     .21361E-06    85.381        .94070E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .22204E-09    2.6769        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     46.155        26.793        .14729E-03   -1.5572    
  14  Prefactor     .29620E-05    2.9779        .10718E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     10.916        11.860        .29971E-03   -1.5642    
  16  Prefactor     .21594E-07    7.5151        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .54803        5.9815        .10422E-01   -1.5693    
  18  Prefactor     12.852        10.751        .27810E-03   -1.5636    
  19  norm          .42527E-06    4.0216        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.7109        .25885        .75925E-01   -.72013    
  21  Prefactor     .53713        .12868        .65625E-01   -1.1030    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.35275e-07
Minuit parameter uncertainties:
  1  0.000124175
  2  1.72931e-05
  3  20.0305
  4  0.00258572
  5  0.29796
  6  6.31669
  7  3.69947e-06
  8  46.1852
  9  14.7471
  10  0.436342
  11  0.00854134
  12  5.11371e-05
  13  26.7935
  14  0.00593982
  15  11.8601
  16  0.000805833
  17  3.62108
  18  10.7508
  19  0.00261546
  20  0.259056
  21  0.128752
Done.

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

Extracting fit parameters...

4FGL J2253.9+1609
   Spectrum: PLSuperExpCutoff2
316    Prefactor:  5.519e+00  4.363e-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:  5.371e-01  1.288e-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.711e+00  2.591e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 557.35
Ra Dec: 343.496 16.151
Photon Index (Fixed Index): 2.02 +/- 0.00
Photon Flux (Fixed Index): 2.01e-06 +/- 1.59e-07
Energy Flux (Fixed Index): 6.46e-04 +/- 5.11e-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) = 7790.67602139
delta logL = 1.39625067117

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7790.66244316
delta logL = 1.40982889758

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.7868       1.0000         .10000E-03   10000.    
     2 'Index1    '    2.1729       1.0000          .0000       10.000    
     3 'Normalizat'    1.6067       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .57635       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=   7790.662     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      210 TOTAL
                     EDM=   .26E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.7868        .45144        .34892E-02   -.74820E-04
   2  Index1        2.1729        .90411E-01    .41781E-01   -.49612E-04
   3  Normalizat    1.6067        .25139        .77475E-01    .56083E-05
   4  Prefactor     .57633        .12903        .63565E-01    .28026E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.78681
  Index1     = 2.17291
  Normalizat = 1.60673
  Prefactor  = 0.57633
 **********
 **   18 **HESSE 
 **********

 FCN=   7790.662     FROM HESSE     STATUS=OK            31 CALLS      241 TOTAL
                     EDM=   .16E-15    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.7868        .46366        .15420E-04   -1.5227    
   2  Index1        2.1729        .92976E-01    .18435E-03   -.60094    
   3  Normalizat    1.6067        .30137        .34283E-03   -.74822    
   4  Prefactor     .57633        .15380        .28126E-03   -1.0859    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.57092e-16
Minuit parameter uncertainties:
  1  0.463665
  2  0.0929837
  3  0.301716
  4  0.153913
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/892951': 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) = 7790.66244315
delta logL = 1.40982891127

Extracting fit parameters...

4FGL J2253.9+1609
   Spectrum: PLSuperExpCutoff2
316    Prefactor:  5.787e+00  4.637e-01  1.000e-04  1.000e+04 ( 1.000e-09)
317       Index1:  2.173e+00  9.298e-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:  5.763e-01  1.539e-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.607e+00  3.017e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 563.47
Ra Dec: 343.496 16.151
Photon Index (Free Index): 2.17 +/- 0.09
Photon Flux (Free Index): 2.15e-06 +/- 1.82e-07
Energy Flux (Free Index): 6.01e-04 +/- 5.22e-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/892951/cmap_HighResolution_686448001_686707201_4FGL_J2253.9+1609_daily_bin1725.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.01e-06', energy_flux2='6.01e-04', photon_flux_error='1.59e-07', dlogl='1.41e+00', energy_flux='6.46e-04', photon_flux2='2.15e-06', job_status='DONE', time_completed='2022-10-06 01:17:35.944725', photon_index_error2='0.09', photon_index2='2.17', ts='557.35', fit_tolerance='1e-08', GAL='0.54', photon_index_error='0.00', energy_flux_error2='5.22e-05', EG='1.71', time_epoch_completed='1665044255.94', return_code='0', job_id='892951', GAL2='0.58', EG2='1.61', return_code2='0', energy_flux_error='5.11e-05', photon_flux_error2='1.82e-07', ts2='563.47', photon_index='2.02' WHERE bin_id='1725' AND source_name='4FGL J2253.9+1609' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Oct  6 01:17:35 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0035>
Subject: Job 892951: <4FGL_J2253.9+1609_daily_bin1725> in cluster <slac> Done

Job <4FGL_J2253.9+1609_daily_bin1725> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Thu Oct  6 01:05:47 2022
Job was executed on host(s) <bullet0035>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Oct  6 01:07:00 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Oct  6 01:07:00 2022
Terminated at Thu Oct  6 01:17:36 2022
Results reported at Thu Oct  6 01:17:36 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2253.9+1609_daily_bin1725 343.496 16.1506 686448001 686707201 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 :                                   545.18 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             364.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   637 sec.
    Turnaround time :                            709 sec.

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

