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


Performing analysis on: 4FGL_J2253.9+1609_daily_bin1675
RA = 343.496, Dec = 16.1506
tmin = 673488001, tmax = 673747201
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='884197', job_status='RUN', time_executed='2022-05-09 01:29:52.995301', time_epoch_executed='1652084993.0' WHERE source_name='4FGL J2253.9+1609' and cadence='daily' and bin_id='1675'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/884197

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/884197/ft1_4FGL_J2253.9+1609_daily_bin1675.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/884197/ft2_4FGL_J2253.9+1609_daily_bin1675.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/884197/ft1_4FGL_J2253.9+1609_daily_bin1675.fits outfile=/scratch/kocevski/884197/ft1_filteredMKT_4FGL_J2253.9+1609_daily_bin1675.fits ra=343.496 dec=16.1506 rad=12.0 tmin=673488001.0 tmax=673747201.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.60
user 2.35
sys 0.22

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

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

Number of photons that the gtmktime cut: 821

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/884197/ft1_filtered_4FGL_J2253.9+1609_daily_bin1675.fits" evtable="EVENTS" scfile=/scratch/kocevski/884197/ft2_4FGL_J2253.9+1609_daily_bin1675.fits sctable="SC_DATA" outfile=/scratch/kocevski/884197/ltcube_673488001_673747201_4FGL_J2253.9+1609_daily_bin1675.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/884197/ft2_4FGL_J2253.9+1609_daily_bin1675.fits
.....................!
real 16.58
user 15.97
sys 0.39

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/884197/ft1_filtered_4FGL_J2253.9+1609_daily_bin1675.fits evtable="EVENTS" scfile=/scratch/kocevski/884197/ft2_4FGL_J2253.9+1609_daily_bin1675.fits sctable="SC_DATA" expcube=/scratch/kocevski/884197/ltcube_673488001_673747201_4FGL_J2253.9+1609_daily_bin1675.fits outfile=/scratch/kocevski/884197/expmap_673488001_673747201_4FGL_J2253.9+1609_daily_bin1675.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/884197/ltcube_673488001_673747201_4FGL_J2253.9+1609_daily_bin1675.fits
.....................!
real 192.83
user 186.01
sys 6.19

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/884197/ft1_filtered_4FGL_J2253.9+1609_daily_bin1675.fits scfile=/scratch/kocevski/884197/ft2_4FGL_J2253.9+1609_daily_bin1675.fits outfile=/scratch/kocevski/884197/cmap_673488001_673747201_4FGL_J2253.9+1609_daily_bin1675.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=343.496 yref=16.1506 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.56
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/884197/ft1_filtered_4FGL_J2253.9+1609_daily_bin1675.fits scfile=/scratch/kocevski/884197/ft2_4FGL_J2253.9+1609_daily_bin1675.fits outfile=/scratch/kocevski/884197/cmap_HighResolution_673488001_673747201_4FGL_J2253.9+1609_daily_bin1675.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.59
user 0.40
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.8025       1.0000         .10000E-03   10000.    
     2 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .45060E-02   1.0000         .10000E-03   10000.    
     4 'Prefactor '    7.9524       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .75923       1.0000         .10000E-03   10000.    
     6 'Prefactor '    9.1264       1.0000         .10000E-03   10000.    
     7 'norm      '    1.3851       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    18.008       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .66884       1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.0488       1.0000         .10000E-03   10000.    
    13 'Prefactor '    9.0044       1.0000         .10000E-03   10000.    
    14 'Prefactor '    6.3701       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    4.3706       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .66016E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    60.330       1.0000         .10000E-03   10000.    
    20 'norm      '    83.100       1.0000         .10000E-03   10000.    
    21 'Prefactor '    17.802       1.0000         .10000E-03   10000.    
    22 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.3764       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .69750       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=   8562.330     FROM MIGRAD    STATUS=CONVERGED    533 CALLS     2361 TOTAL
                     EDM=   .94E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 10.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.8008        12.268       -.37299E-05    .33591E-03
   2  norm          .10000E-03    2.0763       -.16296E-06** at limit **
   3  Prefactor     .10006E-03    21.013        .16045E-04** at limit **
   4  Prefactor     7.9493        8.6537        .67397E-07    .10282E-03
   5  Prefactor     .75934        .19811        .48003E-07    .45723E-02
   6  Prefactor     9.1266        5.9887       -.15927E-07    .59567E-04
   7  norm          1.3853        1.1896        .11202E-07   -.14538E-04
   8  Prefactor     .10000E-03    16.477        .11747E-05** at limit **
   9  Prefactor     18.005        11.140       -.33447E-07    .62338E-04
  10  Prefactor     .10000E-03    12.846       -.17119E-05** at limit **
  11  Prefactor     .66878        .16724       -.31220E-08    .16269E-02
  12  Prefactor     2.0467        5.8098       -.19723E-05    .78951E-04
  13  Prefactor     8.9704        25.423        .71132E-05    .28149E-03
  14  Prefactor     6.3669        9.0460       -.48610E-06    .11398E-03
  15  Prefactor     .10000E-03    3.2316       -.92448E-08** at limit **
  16  Prefactor     .10000E-03    20.027       -.20293E-06** at limit **
  17  Prefactor     4.3641        8.0060       -.83028E-06    .10786E-03
  18  Prefactor     .10013E-03    56.724       -.29861E-04** at limit **
  19  Prefactor     60.329        29.702        .39626E-06    .62084E-04
  20  norm          83.104        20.211       -.20153E-07    .71912E-03
  21  Prefactor     17.799        12.589       -.22647E-07    .20728E-03
  22  norm          .10000E-03    11.332        .52194E-06** at limit **
  23  Normalizat    1.3769        .21836        .12209E-05    .62084E-03
  24  Prefactor     .69734        .11119        .10411E-06    .46727E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.80075
  norm       = 0.0001
  Prefactor  = 0.000100057
  Prefactor  = 7.94934
  Prefactor  = 0.759338
  Prefactor  = 9.12656
  norm       = 1.38525
  Prefactor  = 0.0001
  Prefactor  = 18.0049
  Prefactor  = 0.0001
  Prefactor  = 0.66878
  Prefactor  = 2.04674
  Prefactor  = 8.97041
  Prefactor  = 6.36692
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.36409
  Prefactor  = 0.000100133
  Prefactor  = 60.3287
  norm       = 83.1041
  Prefactor  = 17.799
  norm       = 0.0001
  Normalizat = 1.37685
  Prefactor  = 0.697341
 **********
 **   18 **HESSE 
 **********

 FCN=   8562.330     FROM HESSE     STATUS=OK           403 CALLS     2764 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.8008        12.326        .76918E-03   -1.5186    
   2  norm          .10000E-03    2.1163        .13018E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10006E-03    41.820        .44728E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     7.9493        8.6692        .14218E-03   -1.5144    
   5  Prefactor     .75934        .19504        .19596E-04   -1.5534    
   6  Prefactor     9.1266        5.9923        .13267E-03   -1.5104    
   7  norm          1.3853        1.1996        .90029E-04   -1.5473    
   8  Prefactor     .10000E-03    16.520        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     18.005        11.131        .94381E-04   -1.4859    
  10  Prefactor     .10000E-03    12.939        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .66878        .16699        .17717E-04   -1.5544    
  12  Prefactor     2.0467        5.7857        .28882E-03   -1.5422    
  13  Prefactor     8.9704        26.034        .13357E-03   -1.5109    
  14  Prefactor     6.3669        9.0419        .15903E-03   -1.5203    
  15  Prefactor     .10000E-03    3.2349        .16244E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    20.181        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     4.3641        7.9647        .19266E-03   -1.5290    
  18  Prefactor     .10013E-03    85.607        .52670E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     60.329        29.557        .51656E-04   -1.4153    
  20  norm          83.104        19.110        .44063E-04   -1.3882    
  21  Prefactor     17.799        12.572        .94926E-04   -1.4864    
  22  norm          .10000E-03    11.410        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.3769        .25792        .30746E-03   -.81301    
  24  Prefactor     .69734        .13053        .22558E-03   -1.0363    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.14247e-09
Minuit parameter uncertainties:
  1  12.3305
  2  2.81761e-06
  3  0.00308613
  4  8.67057
  5  0.195037
  6  5.99272
  7  1.19958
  8  0.000115159
  9  11.1324
  10  0.000145048
  11  0.166987
  12  5.78724
  13  26.0669
  14  9.04381
  15  6.18489e-06
  16  7.67808e-06
  17  7.96662
  18  0.00676278
  19  29.5637
  20  19.111
  21  12.5739
  22  3.44485e-05
  23  0.258163
  24  0.130588
Done.

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

Extracting fit parameters...

4FGL J2253.9+1609
   Spectrum: PLSuperExpCutoff2
316    Prefactor:  6.688e-01  1.670e-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:  6.973e-01  1.306e-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.377e+00  2.582e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 38.51
Ra Dec: 343.496 16.151
Photon Index (Fixed Index): 2.02 +/- 0.00
Photon Flux (Fixed Index): 2.44e-07 +/- 6.09e-08
Energy Flux (Fixed Index): 7.83e-05 +/- 1.96e-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) = 8561.31922622
delta logL = 1.01081517885

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8561.25390878
delta logL = 1.07613261396

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .80057       1.0000         .10000E-03   10000.    
     2 'Index1    '    2.4411       1.0000          .0000       10.000    
     3 'Normalizat'    1.2864       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73100       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=   8561.254     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      217 TOTAL
                     EDM=   .15E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .80056        .18625        .40553E-02    .42236E-03
   2  Index1        2.4411        .28059        .13471       -.56061E-04
   3  Normalizat    1.2864        .20796        .71358E-01    .14604E-04
   4  Prefactor     .73100        .11158        .42812E-01    .17799E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.800561
  Index1     = 2.44115
  Normalizat = 1.2864
  Prefactor  = 0.731002
 **********
 **   18 **HESSE 
 **********

 FCN=   8561.254     FROM HESSE     STATUS=OK            33 CALLS      250 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .80056        .18995        .17970E-04   -1.5529    
   2  Index1        2.4411        .29587        .57753E-02   -.53724    
   3  Normalizat    1.2864        .24855        .31575E-03   -.83973    
   4  Prefactor     .73100        .13214        .22085E-03   -1.0232    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.40258e-10
Minuit parameter uncertainties:
  1  0.189946
  2  0.296106
  3  0.248783
  4  0.1322
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/884197': 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) = 8561.25390878
delta logL = 1.07613261978

Extracting fit parameters...

4FGL J2253.9+1609
   Spectrum: PLSuperExpCutoff2
316    Prefactor:  8.006e-01  1.899e-01  1.000e-04  1.000e+04 ( 1.000e-09)
317       Index1:  2.441e+00  2.961e-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:  7.310e-01  1.322e-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.286e+00  2.488e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 40.50
Ra Dec: 343.496 16.151
Photon Index (Free Index): 2.44 +/- 0.30
Photon Flux (Free Index): 3.13e-07 +/- 8.23e-08
Energy Flux (Free Index): 7.27e-05 +/- 1.72e-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/884197/cmap_HighResolution_673488001_673747201_4FGL_J2253.9+1609_daily_bin1675.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.44e-07', energy_flux2='7.27e-05', photon_flux_error='6.09e-08', dlogl='1.08e+00', energy_flux='7.83e-05', photon_flux2='3.13e-07', job_status='DONE', time_completed='2022-05-09 01:41:21.155703', photon_index_error2='0.30', photon_index2='2.44', ts='38.51', fit_tolerance='1e-08', GAL='0.70', photon_index_error='0.00', energy_flux_error2='1.72e-05', EG='1.38', time_epoch_completed='1652085681.16', return_code='0', job_id='884197', GAL2='0.73', EG2='1.29', return_code2='0', energy_flux_error='1.96e-05', photon_flux_error2='8.23e-08', ts2='40.50', photon_index='2.02' WHERE bin_id='1675' AND source_name='4FGL J2253.9+1609' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon May  9 01:41:21 PDT 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0256>
Subject: Job 884197: <4FGL_J2253.9+1609_daily_bin1675> in cluster <slac> Done

Job <4FGL_J2253.9+1609_daily_bin1675> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Mon May  9 01:25:30 2022
Job was executed on host(s) <bullet0256>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon May  9 01:27:18 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon May  9 01:27:18 2022
Terminated at Mon May  9 01:41:22 2022
Results reported at Mon May  9 01:41:22 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2253.9+1609_daily_bin1675 343.496 16.1506 673488001 673747201 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 :                                   690.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             306.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   843 sec.
    Turnaround time :                            952 sec.

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

