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 213 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J2253.9+1609_daily_bin1663
RA = 343.496, Dec = 16.1506
tmin = 670377601, tmax = 670636801
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='261604', job_status='RUN', time_executed='2022-04-03 00:39:24.963095', time_epoch_executed='1648971564.96' WHERE source_name='4FGL J2253.9+1609' and cadence='daily' and bin_id='1663'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/261604

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/261604/ft1_4FGL_J2253.9+1609_daily_bin1663.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/261604/ft2_4FGL_J2253.9+1609_daily_bin1663.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/261604/ft1_4FGL_J2253.9+1609_daily_bin1663.fits outfile=/scratch/kocevski/261604/ft1_filteredMKT_4FGL_J2253.9+1609_daily_bin1663.fits ra=343.496 dec=16.1506 rad=12.0 tmin=670377601.0 tmax=670636801.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.84
user 3.59
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/261604/ft1_filtered_4FGL_J2253.9+1609_daily_bin1663.fits" evtable="EVENTS" scfile=/scratch/kocevski/261604/ft2_4FGL_J2253.9+1609_daily_bin1663.fits sctable="SC_DATA" outfile=/scratch/kocevski/261604/ltcube_670377601_670636801_4FGL_J2253.9+1609_daily_bin1663.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/261604/ft2_4FGL_J2253.9+1609_daily_bin1663.fits
.....................!
real 11.65
user 11.31
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/261604/ft1_filtered_4FGL_J2253.9+1609_daily_bin1663.fits evtable="EVENTS" scfile=/scratch/kocevski/261604/ft2_4FGL_J2253.9+1609_daily_bin1663.fits sctable="SC_DATA" expcube=/scratch/kocevski/261604/ltcube_670377601_670636801_4FGL_J2253.9+1609_daily_bin1663.fits outfile=/scratch/kocevski/261604/expmap_670377601_670636801_4FGL_J2253.9+1609_daily_bin1663.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/261604/ltcube_670377601_670636801_4FGL_J2253.9+1609_daily_bin1663.fits
.....................!
real 190.26
user 184.98
sys 4.92

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/261604/ft1_filtered_4FGL_J2253.9+1609_daily_bin1663.fits scfile=/scratch/kocevski/261604/ft2_4FGL_J2253.9+1609_daily_bin1663.fits outfile=/scratch/kocevski/261604/cmap_670377601_670636801_4FGL_J2253.9+1609_daily_bin1663.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/261604/ft1_filtered_4FGL_J2253.9+1609_daily_bin1663.fits scfile=/scratch/kocevski/261604/ft2_4FGL_J2253.9+1609_daily_bin1663.fits outfile=/scratch/kocevski/261604/cmap_HighResolution_670377601_670636801_4FGL_J2253.9+1609_daily_bin1663.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.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.0857       1.0000         .10000E-03   10000.    
     2 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    16.176       1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.0688       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .81915       1.0000         .10000E-03   10000.    
     6 'Prefactor '    10.476       1.0000         .10000E-03   10000.    
     7 'norm      '    3.0393       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    15.463       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .49818       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.6123       1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.7431       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10073E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    6.5663       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10402E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .46754E-02   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .20601E-02   1.0000         .10000E-03   10000.    
    22 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1832       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .88106       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7993.288     FROM MIGRAD    STATUS=CONVERGED    557 CALLS     2374 TOTAL
                     EDM=   .44E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.0842        14.016        .10817E-05   -.62706E-04
   2  norm          .10000E-03    2.3827        .42253E-07** at limit **
   3  Prefactor     16.171        15.503        .33616E-05    .12370E-03
   4  Prefactor     5.0670        7.7200        .32114E-07   -.14079E-03
   5  Prefactor     .81904        .26324       -.50304E-07   -.11877E-02
   6  Prefactor     10.477        8.5006        .82323E-07   -.54459E-04
   7  norm          3.0392        1.9647        .31613E-07   -.14440E-03
   8  Prefactor     .10000E-03    15.864        .28880E-05** at limit **
   9  Prefactor     15.460        12.103        .45983E-06   -.39485E-04
  10  Prefactor     .10000E-03    5.0248        .51407E-07** at limit **
  11  Prefactor     .49814        .15573       -.19814E-07   -.23894E-02
  12  Prefactor     .10000E-03    5.1367       -.27278E-07** at limit **
  13  Prefactor     1.5933        146.33        .56703E-04    .32634E-04
  14  Prefactor     1.7425        5.5793        .64519E-05   -.45170E-03
  15  Prefactor     .10000E-03    13.436       -.37857E-05** at limit **
  16  Prefactor     .10000E-03    32.144        .57803E-06** at limit **
  17  Prefactor     6.5627        7.1052        .46257E-06   -.23905E-03
  18  Prefactor     .10000E-03    26.669       -.21113E-05** at limit **
  19  Prefactor     .10000E-03    11.986        .17813E-05** at limit **
  20  norm          .10000E-03    6.2079        .55737E-06** at limit **
  21  Prefactor     .10596E-03    7.0060       -.76338E-06** at limit **
  22  norm          .10000E-03    10.050       -.18754E-06** at limit **
  23  Normalizat    1.1835        .21915       -.24691E-05   -.13462E-03
  24  Prefactor     .88101        .11357       -.48895E-06   -.29302E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.08418
  norm       = 0.0001
  Prefactor  = 16.1705
  Prefactor  = 5.06704
  Prefactor  = 0.819044
  Prefactor  = 10.4775
  norm       = 3.03917
  Prefactor  = 0.0001
  Prefactor  = 15.4602
  Prefactor  = 0.0001
  Prefactor  = 0.498135
  Prefactor  = 0.0001
  Prefactor  = 1.59334
  Prefactor  = 1.74247
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.56267
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100002
  Prefactor  = 0.000105963
  norm       = 0.0001
  Normalizat = 1.18349
  Prefactor  = 0.881015
 **********
 **   18 **HESSE 
 **********

 FCN=   7993.288     FROM HESSE     STATUS=OK           409 CALLS     2783 TOTAL
                     EDM=   .95E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.0842        13.985        .19946E-03   -1.5304    
   2  norm          .10000E-03    2.4113        .13474E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     16.171        15.579        .99584E-04   -1.4903    
   4  Prefactor     5.0670        7.7099        .17859E-03   -1.5258    
   5  Prefactor     .81904        .26303        .23132E-04   -1.5527    
   6  Prefactor     10.477        8.5231        .12379E-03   -1.5060    
   7  norm          3.0392        1.9608        .94759E-04   -1.5359    
   8  Prefactor     .10000E-03    15.911        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     15.460        12.096        .10185E-03   -1.4921    
  10  Prefactor     .10000E-03    5.0259        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .49814        .15508        .18649E-04   -1.5567    
  12  Prefactor     .10000E-03    5.1589        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.5933        145.34        .33355E-03   -1.5456    
  14  Prefactor     1.7425        5.2934        .31771E-03   -1.5444    
  15  Prefactor     .10000E-03    13.760        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    32.528        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     6.5627        7.1061        .15661E-03   -1.5196    
  18  Prefactor     .10000E-03    27.360        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    12.044        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    36.769        .38495E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10596E-03    8.3982        .59138E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    10.087        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1835        .26152        .31949E-03   -.87115    
  24  Prefactor     .88101        .13593        .20122E-03   -.96808    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.5456e-10
Minuit parameter uncertainties:
  1  13.9961
  2  5.98452e-06
  3  15.5826
  4  7.71138
  5  0.263028
  6  8.52408
  7  1.96089
  8  0.00010718
  9  12.0977
  10  1.14679e-06
  11  0.155081
  12  9.03051e-06
  13  30.5113
  14  5.29482
  15  0.000151615
  16  0.000127526
  17  7.10702
  18  0.000121879
  19  5.56091e-05
  20  0.000561607
  21  0.0141558
  22  9.30417e-06
  23  0.261806
  24  0.135979
Done.

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

Extracting fit parameters...

4FGL J2253.9+1609
   Spectrum: PLSuperExpCutoff2
316    Prefactor:  4.981e-01  1.551e-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.810e-01  1.360e-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.183e+00  2.618e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 25.64
Ra Dec: 343.496 16.151
Photon Index (Fixed Index): 2.02 +/- 0.00
Photon Flux (Fixed Index): 1.82e-07 +/- 5.65e-08
Energy Flux (Fixed Index): 5.83e-05 +/- 1.82e-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) = 7992.98247194
delta logL = 0.305742765858

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7992.94504751
delta logL = 0.343167196044

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .59279       1.0000         .10000E-03   10000.    
     2 'Index1    '    2.2954       1.0000          .0000       10.000    
     3 'Normalizat'    1.1357       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89724       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=   7992.945     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      214 TOTAL
                     EDM=   .23E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .59286        .17560        .43080E-02    .52147E-03
   2  Index1        2.2954        .28921        .13821       -.67712E-04
   3  Normalizat    1.1358        .20781        .73407E-01    .17674E-04
   4  Prefactor     .89724        .11354        .44970E-01    .71486E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.592856
  Index1     = 2.29543
  Normalizat = 1.13576
  Prefactor  = 0.897238
 **********
 **   18 **HESSE 
 **********

 FCN=   7992.945     FROM HESSE     STATUS=OK            33 CALLS      247 TOTAL
                     EDM=   .76E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .59286        .19398        .19114E-04   -1.5554    
   2  Index1        2.2954        .33170        .59144E-02   -.57152    
   3  Normalizat    1.1358        .25111        .32485E-03   -.88612    
   4  Prefactor     .89724        .13620        .19949E-03   -.96238    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.55137e-13
Minuit parameter uncertainties:
  1  0.193975
  2  0.332047
  3  0.25137
  4  0.136251
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/261604': 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) = 7992.94504743
delta logL = 0.343167282873

Extracting fit parameters...

4FGL J2253.9+1609
   Spectrum: PLSuperExpCutoff2
316    Prefactor:  5.929e-01  1.940e-01  1.000e-04  1.000e+04 ( 1.000e-09)
317       Index1:  2.295e+00  3.320e-01  0.000e+00  1.000e+01 (-1.000e+00)
318        Scale:  2.324e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed
319    Expfactor:  2.085e+01  0.000e+00 -1.000e+00  1.000e+02 ( 1.000e-03) fixed
320       Index2:  5.143e-01  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
507    Prefactor:  8.972e-01  1.363e-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.136e+00  2.514e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 26.31
Ra Dec: 343.496 16.151
Photon Index (Free Index): 2.30 +/- 0.33
Photon Flux (Free Index): 2.24e-07 +/- 8.07e-08
Energy Flux (Free Index): 5.73e-05 +/- 1.68e-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/261604/cmap_HighResolution_670377601_670636801_4FGL_J2253.9+1609_daily_bin1663.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.82e-07', energy_flux2='5.73e-05', photon_flux_error='5.65e-08', dlogl='3.43e-01', energy_flux='5.83e-05', photon_flux2='2.24e-07', job_status='DONE', time_completed='2022-04-03 00:49:49.078761', photon_index_error2='0.33', photon_index2='2.30', ts='25.64', fit_tolerance='1e-08', GAL='0.88', photon_index_error='0.00', energy_flux_error2='1.68e-05', EG='1.18', time_epoch_completed='1648972189.08', return_code='0', job_id='261604', GAL2='0.90', EG2='1.14', return_code2='0', energy_flux_error='1.82e-05', photon_flux_error2='8.07e-08', ts2='26.31', photon_index='2.02' WHERE bin_id='1663' AND source_name='4FGL J2253.9+1609' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Apr  3 00:49:49 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0267>
Subject: Job 261604: <4FGL_J2253.9+1609_daily_bin1663> in cluster <slac> Done

Job <4FGL_J2253.9+1609_daily_bin1663> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Apr  3 00:35:42 2022
Job was executed on host(s) <bullet0267>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Apr  3 00:35:43 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Apr  3 00:35:43 2022
Terminated at Sun Apr  3 00:49:50 2022
Results reported at Sun Apr  3 00:49:50 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2253.9+1609_daily_bin1663 343.496 16.1506 670377601 670636801 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 :                                   626.45 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             305.30 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   846 sec.
    Turnaround time :                            848 sec.

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

