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


Performing analysis on: 4FGL_J2253.9+1609_daily_bin1749
RA = 343.496, Dec = 16.1506
tmin = 692668801, tmax = 692928001
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='964304', job_status='RUN', time_executed='2022-12-17 01:31:52.315274', time_epoch_executed='1671269512.32' WHERE source_name='4FGL J2253.9+1609' and cadence='daily' and bin_id='1749'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/964304

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/964304/ft1_4FGL_J2253.9+1609_daily_bin1749.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/964304/ft2_4FGL_J2253.9+1609_daily_bin1749.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/964304/ft1_4FGL_J2253.9+1609_daily_bin1749.fits outfile=/scratch/kocevski/964304/ft1_filteredMKT_4FGL_J2253.9+1609_daily_bin1749.fits ra=343.496 dec=16.1506 rad=12.0 tmin=692668801.0 tmax=692928001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 3.66
user 3.42
sys 0.23

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

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

Number of photons that the gtmktime cut: 911

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/964304/ft1_filtered_4FGL_J2253.9+1609_daily_bin1749.fits" evtable="EVENTS" scfile=/scratch/kocevski/964304/ft2_4FGL_J2253.9+1609_daily_bin1749.fits sctable="SC_DATA" outfile=/scratch/kocevski/964304/ltcube_692668801_692928001_4FGL_J2253.9+1609_daily_bin1749.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/964304/ft2_4FGL_J2253.9+1609_daily_bin1749.fits
.....................!
real 12.14
user 11.70
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/964304/ft1_filtered_4FGL_J2253.9+1609_daily_bin1749.fits evtable="EVENTS" scfile=/scratch/kocevski/964304/ft2_4FGL_J2253.9+1609_daily_bin1749.fits sctable="SC_DATA" expcube=/scratch/kocevski/964304/ltcube_692668801_692928001_4FGL_J2253.9+1609_daily_bin1749.fits outfile=/scratch/kocevski/964304/expmap_692668801_692928001_4FGL_J2253.9+1609_daily_bin1749.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/964304/ltcube_692668801_692928001_4FGL_J2253.9+1609_daily_bin1749.fits
.....................!
real 191.38
user 185.19
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/964304/ft1_filtered_4FGL_J2253.9+1609_daily_bin1749.fits scfile=/scratch/kocevski/964304/ft2_4FGL_J2253.9+1609_daily_bin1749.fits outfile=/scratch/kocevski/964304/cmap_692668801_692928001_4FGL_J2253.9+1609_daily_bin1749.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/964304/ft1_filtered_4FGL_J2253.9+1609_daily_bin1749.fits scfile=/scratch/kocevski/964304/ft2_4FGL_J2253.9+1609_daily_bin1749.fits outfile=/scratch/kocevski/964304/cmap_HighResolution_692668801_692928001_4FGL_J2253.9+1609_daily_bin1749.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.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.2251       1.0000          .0000       .10000E+07
     2 'norm      '    .17001E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    .21910E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    .33586E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    1.9148       1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.1649       1.0000         .10000E-03   10000.    
     7 'norm      '    .64393E-08   1.0000          .0000       .10000E+07
     8 'Prefactor '    .16119E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    14.531       1.0000          .0000       .10000E+07
    10 'Prefactor '    2.9403       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .12525E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .99173E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    30.115       1.0000          .0000       .10000E+07
    14 'Prefactor '    .12368E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    .12174E-06   1.0000          .0000       .10000E+07
    16 'Prefactor '    .31541E-02   1.0000          .0000       .10000E+07
    17 'norm      '    7.3049       1.0000          .0000       .10000E+07
    18 'Prefactor '    .10696       1.0000          .0000       .10000E+07
    19 'norm      '    6.0771       1.0000          .0000       .10000E+07
    20 'Normalizat'    1.1990       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .93373       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=   9309.833     FROM MIGRAD    STATUS=CONVERGED    137 CALLS     1381 TOTAL
                     EDM=   .40E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.1355        1.5399        .92508E-08    .95807E-02
   2  norm           .0000        1.4669       -.21108E-06** at limit **
   3  Prefactor      .0000        4.9292       -.10218E-06** at limit **
   4  Prefactor     .14433E-08    24.300       -.15488E-06** at limit **
   5  Prefactor     1.9150        .30008        .34935E-07   -.32821E-03
   6  Prefactor     4.1665        5.5233        .17736E-06   -.66861E-05
   7  norm           .0000        .42214       -.89926E-07** at limit **
   8  Prefactor     .22204E-09    14.697        .14597E-07** at limit **
   9  Prefactor     14.619        3.3603        .28763E-07   -.13183E-01
  10  Prefactor     2.9404        .28547        .32640E-07   -.11336E-03
  11  Prefactor     .15543E-08    42.827       -.44110E-06** at limit **
  12  Prefactor      .0000        2.9194        .80199E-07** at limit **
  13  Prefactor     30.708        2.7692        .90169E-08   -.18829E-01
  14  Prefactor      .0000        3.3243       -.11308E-06** at limit **
  15  Prefactor     .11102E-09    6.7984       -.86222E-07** at limit **
  16  Prefactor     .55511E-10    10.102       -.11813E-07** at limit **
  17  norm          7.3074        10.479       -.12900E-06   -.40689E-02
  18  Prefactor     .27756E-09    37.961       -.11264E-05** at limit **
  19  norm          6.2165        1.3767        .11303E-07   -.10193E-01
  20  Normalizat    1.1989        .25704       -.28673E-05    .14197E-04
  21  Prefactor     .93344        .14142        .12125E-05   -.63182E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.13553
  norm       = 0
  Prefactor  = 0
  Prefactor  = 1.44329e-09
  Prefactor  = 1.91501
  Prefactor  = 4.16648
  norm       = 0
  Prefactor  = 2.22045e-10
  Prefactor  = 14.6189
  Prefactor  = 2.94044
  Prefactor  = 1.55431e-09
  Prefactor  = 0
  Prefactor  = 30.7076
  Prefactor  = 0
  Prefactor  = 1.11022e-10
  Prefactor  = 5.55112e-11
  norm       = 7.30738
  Prefactor  = 2.77556e-10
  norm       = 6.2165
  Normalizat = 1.19891
  Prefactor  = 0.93344
 **********
 **   18 **HESSE 
 **********

 FCN=   9309.833     FROM HESSE     STATUS=OK           363 CALLS     1744 TOTAL
                     EDM=   .24E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.1355        28.386        .43951E-03   -1.5663    
   2  norm           .0000        1.4668        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        4.9352        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .14433E-08    24.411        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.9150        .30069        .45217E-02   -1.5431    
   6  Prefactor     4.1665        5.5308        .49374E-02   -1.5300    
   7  norm           .0000        .42247        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .22204E-09    14.763        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     14.619        13.022        .26249E-03   -1.5631    
  10  Prefactor     2.9404        .28512        .34399E-02   -1.5365    
  11  Prefactor     .15543E-08    42.858        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        2.9219        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     30.708        22.734        .18225E-03   -1.5597    
  14  Prefactor      .0000        3.3231        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .11102E-09    6.8225        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .55511E-10    10.100        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          7.3074        12.587        .37087E-03   -1.5654    
  18  Prefactor     .27756E-09    5.0325        .10839E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          6.2165        14.348        .40704E-03   -1.5658    
  20  Normalizat    1.1989        .22666        .81727E-01   -.86636    
  21  Prefactor     .93344        .12033        .45433E-01   -.94982    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.39052e-08
Minuit parameter uncertainties:
  1  24.1479
  2  4.645e-06
  3  9.60068e-06
  4  0.000372021
  5  0.300691
  6  5.5315
  7  1.66663e-06
  8  0.000114538
  9  13.0217
  10  0.285116
  11  0.000513567
  12  3.226e-06
  13  22.7339
  14  2.89398e-06
  15  5.64115e-05
  16  4.73754e-05
  17  12.5868
  18  7.12262e-05
  19  14.3478
  20  0.22685
  21  0.120364
Done.

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

Extracting fit parameters...

4FGL J2253.9+1609
   Spectrum: PLSuperExpCutoff2
316    Prefactor:  2.940e+00  2.851e-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:  9.334e-01  1.204e-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.199e+00  2.268e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 364.73
Ra Dec: 343.496 16.151
Photon Index (Fixed Index): 2.02 +/- 0.00
Photon Flux (Fixed Index): 1.07e-06 +/- 1.04e-07
Energy Flux (Fixed Index): 3.44e-04 +/- 3.34e-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) = 9309.64712585
delta logL = 0.18595167698

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9309.64686292
delta logL = 0.186214603315

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.8625       1.0000         .10000E-03   10000.    
     2 'Index1    '    1.9536       1.0000          .0000       10.000    
     3 'Normalizat'    1.2304       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92138       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=   9309.647     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      197 TOTAL
                     EDM=   .56E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.8624        .29588        .34181E-02    .11002E-02
   2  Index1        1.9536        .10187        .51441E-01    .19011E-04
   3  Normalizat    1.2304        .21759        .80931E-01    .32303E-04
   4  Prefactor     .92136        .12025        .45277E-01    .60787E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.86243
  Index1     = 1.95358
  Normalizat = 1.23041
  Prefactor  = 0.921359
 **********
 **   18 **HESSE 
 **********

 FCN=   9309.647     FROM HESSE     STATUS=OK            31 CALLS      228 TOTAL
                     EDM=   .19E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.8624        .31054        .15106E-04   -1.5370    
   2  Index1        1.9536        .10731        .22667E-03   -.65516    
   3  Normalizat    1.2304        .25752        .35827E-03   -.85668    
   4  Prefactor     .92136        .14191        .22769E-03   -.95399    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.9419e-11
Minuit parameter uncertainties:
  1  0.310543
  2  0.107324
  3  0.257785
  4  0.141967
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/964304': 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) = 9309.64686289
delta logL = 0.186214634632

Extracting fit parameters...

4FGL J2253.9+1609
   Spectrum: PLSuperExpCutoff2
316    Prefactor:  2.862e+00  3.105e-01  1.000e-04  1.000e+04 ( 1.000e-09)
317       Index1:  1.954e+00  1.073e-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:  9.214e-01  1.420e-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.230e+00  2.578e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 360.81
Ra Dec: 343.496 16.151
Photon Index (Free Index): 1.95 +/- 0.11
Photon Flux (Free Index): 1.04e-06 +/- 1.15e-07
Energy Flux (Free Index): 3.57e-04 +/- 4.08e-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/964304/cmap_HighResolution_692668801_692928001_4FGL_J2253.9+1609_daily_bin1749.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.07e-06', energy_flux2='3.57e-04', photon_flux_error='1.04e-07', dlogl='1.86e-01', energy_flux='3.44e-04', photon_flux2='1.04e-06', job_status='DONE', time_completed='2022-12-17 01:42:06.799611', photon_index_error2='0.11', photon_index2='1.95', ts='364.73', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', energy_flux_error2='4.08e-05', EG='1.20', time_epoch_completed='1671270126.8', return_code='0', job_id='964304', GAL2='0.92', EG2='1.23', return_code2='0', energy_flux_error='3.34e-05', photon_flux_error2='1.15e-07', ts2='360.81', photon_index='2.02' WHERE bin_id='1749' AND source_name='4FGL J2253.9+1609' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Dec 17 01:42:06 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0105>
Subject: Job 964304: <4FGL_J2253.9+1609_daily_bin1749> in cluster <slac> Done

Job <4FGL_J2253.9+1609_daily_bin1749> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sat Dec 17 01:30:27 2022
Job was executed on host(s) <bullet0105>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Dec 17 01:30:28 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Dec 17 01:30:28 2022
Terminated at Sat Dec 17 01:42:07 2022
Results reported at Sat Dec 17 01:42:07 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2253.9+1609_daily_bin1749 343.496 16.1506 692668801 692928001 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 :                                   616.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             365.87 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   699 sec.
    Turnaround time :                            700 sec.

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

