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


Performing analysis on: 4FGL_J2253.9+1609_daily_bin1685
RA = 343.496, Dec = 16.1506
tmin = 676080001, tmax = 676339201
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='384776', job_status='RUN', time_executed='2022-06-08 01:11:22.782291', time_epoch_executed='1654675882.78' WHERE source_name='4FGL J2253.9+1609' and cadence='daily' and bin_id='1685'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/384776

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/384776/ft1_4FGL_J2253.9+1609_daily_bin1685.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/384776/ft2_4FGL_J2253.9+1609_daily_bin1685.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/384776/ft1_4FGL_J2253.9+1609_daily_bin1685.fits outfile=/scratch/kocevski/384776/ft1_filteredMKT_4FGL_J2253.9+1609_daily_bin1685.fits ra=343.496 dec=16.1506 rad=12.0 tmin=676080001.0 tmax=676339201.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.60
user 3.37
sys 0.21

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

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

Number of photons that the gtmktime cut: 956

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/384776/ft1_filtered_4FGL_J2253.9+1609_daily_bin1685.fits evtable="EVENTS" scfile=/scratch/kocevski/384776/ft2_4FGL_J2253.9+1609_daily_bin1685.fits sctable="SC_DATA" expcube=/scratch/kocevski/384776/ltcube_676080001_676339201_4FGL_J2253.9+1609_daily_bin1685.fits outfile=/scratch/kocevski/384776/expmap_676080001_676339201_4FGL_J2253.9+1609_daily_bin1685.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/384776/ltcube_676080001_676339201_4FGL_J2253.9+1609_daily_bin1685.fits
.....................!
real 193.11
user 185.93
sys 5.50

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/384776/ft1_filtered_4FGL_J2253.9+1609_daily_bin1685.fits scfile=/scratch/kocevski/384776/ft2_4FGL_J2253.9+1609_daily_bin1685.fits outfile=/scratch/kocevski/384776/cmap_676080001_676339201_4FGL_J2253.9+1609_daily_bin1685.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.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/384776/ft1_filtered_4FGL_J2253.9+1609_daily_bin1685.fits scfile=/scratch/kocevski/384776/ft2_4FGL_J2253.9+1609_daily_bin1685.fits outfile=/scratch/kocevski/384776/cmap_HighResolution_676080001_676339201_4FGL_J2253.9+1609_daily_bin1685.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.38
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    8.0999       1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.5258       1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.3478       1.0000         .10000E-03   10000.    
     7 'norm      '    1.4657       1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.9036       1.0000         .10000E-03   10000.    
     9 'Prefactor '    27.675       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .34802       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .76268       1.0000         .10000E-03   10000.    
    13 'Prefactor '    8.4719       1.0000         .10000E-03   10000.    
    14 'Prefactor '    7.2622       1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.7001       1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.0928       1.0000         .10000E-03   10000.    
    17 'Prefactor '    2.7737       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    11.890       1.0000         .10000E-03   10000.    
    20 'norm      '    19.532       1.0000         .10000E-03   10000.    
    21 'Prefactor '    5.5281       1.0000         .10000E-03   10000.    
    22 'norm      '    .10036E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .69377       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0544       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=   10274.22     FROM MIGRAD    STATUS=CONVERGED    515 CALLS     2344 TOTAL
                     EDM=   .28E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9.4976        .43251E-05** at limit **
   2  norm          .10000E-03    1.6549        .42747E-06** at limit **
   3  Prefactor     .10000E-03    5.8031        .15169E-05** at limit **
   4  Prefactor     8.0982        10.221       -.12829E-05   -.12536E-04
   5  Prefactor     1.5258        .23580       -.17204E-07   -.14302E-03
   6  Prefactor     3.3478        3.3477        .10669E-06    .27651E-04
   7  norm          1.4655        1.5655       -.29806E-06   -.11371E-03
   8  Prefactor     4.9024        32.781       -.41316E-05    .84698E-06
   9  Prefactor     27.677        12.763        .18498E-05    .24788E-03
  10  Prefactor     .10000E-03    6.2699       -.25816E-05** at limit **
  11  Prefactor     .34800        .13645        .25512E-08    .55001E-03
  12  Prefactor     .75951        6.2693       -.20359E-05    .30468E-03
  13  Prefactor     8.4681        19.732       -.86206E-05   -.11778E-04
  14  Prefactor     7.2620        5.4416       -.53757E-07    .29515E-04
  15  Prefactor     6.6999        5.2198        .18940E-07    .77066E-04
  16  Prefactor     3.0948        26.429        .59728E-05    .30254E-04
  17  Prefactor     2.7744        2.6503        .34194E-06   -.13895E-02
  18  Prefactor     .10000E-03    3.2304       -.15181E-06** at limit **
  19  Prefactor     11.888        16.180       -.34235E-05    .20357E-05
  20  norm          19.531        8.5317       -.21118E-07    .26372E-04
  21  Prefactor     5.5285        5.3051       -.13096E-06   -.79089E-03
  22  norm          .10000E-03    10.148       -.33320E-05** at limit **
  23  Normalizat    .69377        .19040        .78232E-06    .15498E-03
  24  Prefactor     1.0544        .10382        .23111E-06    .31052E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.09817
  Prefactor  = 1.52575
  Prefactor  = 3.3478
  norm       = 1.46553
  Prefactor  = 4.90242
  Prefactor  = 27.6773
  Prefactor  = 0.0001
  Prefactor  = 0.348004
  Prefactor  = 0.759507
  Prefactor  = 8.46812
  Prefactor  = 7.26202
  Prefactor  = 6.69993
  Prefactor  = 3.09485
  Prefactor  = 2.77437
  Prefactor  = 0.0001
  Prefactor  = 11.888
  norm       = 19.5308
  Prefactor  = 5.52852
  norm       = 0.0001
  Normalizat = 0.69377
  Prefactor  = 1.05437
 **********
 **   18 **HESSE 
 **********

 FCN=   10274.22     FROM HESSE     STATUS=OK           409 CALLS     2753 TOTAL
                     EDM=   .55E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9.5256        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    1.6659        .12729E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    5.8214        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.0982        10.266        .14087E-03   -1.5139    
   5  Prefactor     1.5258        .23639        .18305E-04   -1.5461    
   6  Prefactor     3.3478        3.3548        .18078E-03   -1.5342    
   7  norm          1.4655        1.5445        .12224E-03   -1.5466    
   8  Prefactor     4.9024        32.843        .18164E-03   -1.5265    
   9  Prefactor     27.677        12.716        .76154E-04   -1.4655    
  10  Prefactor     .10000E-03    6.2791        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .34800        .13406        .21160E-04   -1.5590    
  12  Prefactor     .75951        26.682        .46954E-02   -1.5534    
  13  Prefactor     8.4681        19.755        .13773E-03   -1.5126    
  14  Prefactor     7.2620        5.4367        .14884E-03   -1.5169    
  15  Prefactor     6.6999        5.2198        .77510E-03   -1.5190    
  16  Prefactor     3.0948        26.311        .23060E-03   -1.5356    
  17  Prefactor     2.7744        7.1328        .12218E-02   -1.5375    
  18  Prefactor     .10000E-03    3.2458        .17785E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     11.888        17.816        .11618E-03   -1.5018    
  20  norm          19.531        8.5350        .90627E-04   -1.4824    
  21  Prefactor     5.5285        5.5349        .85440E-03   -1.5238    
  22  norm          .10000E-03    10.295        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .69377        .21480        .38497E-03   -1.0414    
  24  Prefactor     1.0544        .11768        .18538E-03   -.90938    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.54773e-09
Minuit parameter uncertainties:
  1  2.68757e-06
  2  6.14479e-07
  3  1.47589e-06
  4  10.2678
  5  0.236392
  6  3.35499
  7  1.54455
  8  25.3978
  9  12.7172
  10  9.23219e-07
  11  0.134064
  12  9.00715
  13  19.7705
  14  5.43711
  15  5.22019
  16  18.0581
  17  7.13499
  18  9.67182e-07
  19  17.8242
  20  8.53553
  21  5.53545
  22  1.11913e-05
  23  0.215061
  24  0.117712
Done.

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

Extracting fit parameters...

4FGL J2253.9+1609
   Spectrum: PLSuperExpCutoff2
316    Prefactor:  3.480e-01  1.341e-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:  1.054e+00  1.177e-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:  6.938e-01  2.151e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 11.27
Ra Dec: 343.496 16.151
Photon Index (Fixed Index): 2.02 +/- 0.00
Photon Flux (Fixed Index): 1.27e-07 +/- 4.89e-08
Energy Flux (Fixed Index): 4.07e-05 +/- 1.57e-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) = 10273.8085924
delta logL = 0.412381615153

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10273.7936348
delta logL = 0.427339173186

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .40469       1.0000         .10000E-03   10000.    
     2 'Index1    '    2.5769       1.0000          .0000       10.000    
     3 'Normalizat'    .62665       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0856       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10273.79     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      242 TOTAL
                     EDM=   .32E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .40476        .14291        .21466E-04   -.32518E-03
   2  Index1        2.5763        .75261        .11537E-01   -.10609E-04
   3  Normalizat    .62682        .21354        .40309E-03   -.34972E-05
   4  Prefactor     1.0855        .12319        .18310E-03    .17012E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.404755
  Index1     = 2.57633
  Normalizat = 0.626818
  Prefactor  = 1.08553
 **********
 **   18 **HESSE 
 **********

 FCN=   10273.79     FROM HESSE     STATUS=OK            25 CALLS      267 TOTAL
                     EDM=   .13E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .40476        .14229        .85864E-06   -1.5581    
   2  Index1        2.5763        .75001        .46149E-03   -.50606    
   3  Normalizat    .62682        .21405        .16124E-04   -1.0686    
   4  Prefactor     1.0855        .12331        .73242E-05   -.89930    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.30884e-12
Minuit parameter uncertainties:
  1  0.142289
  2  0.753737
  3  0.214333
  4  0.123338
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/384776': 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) = 10273.7936343
delta logL = 0.42733973374

Extracting fit parameters...

4FGL J2253.9+1609
   Spectrum: PLSuperExpCutoff2
316    Prefactor:  4.048e-01  1.423e-01  1.000e-04  1.000e+04 ( 1.000e-09)
317       Index1:  2.576e+00  7.537e-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:  1.086e+00  1.233e-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:  6.268e-01  2.143e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 12.31
Ra Dec: 343.496 16.151
Photon Index (Free Index): 2.58 +/- 0.75
Photon Flux (Free Index): 1.64e-07 +/- 6.53e-08
Energy Flux (Free Index): 3.53e-05 +/- 1.42e-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/384776/cmap_HighResolution_676080001_676339201_4FGL_J2253.9+1609_daily_bin1685.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.27e-07', energy_flux2='3.53e-05', photon_flux_error='4.89e-08', dlogl='4.27e-01', energy_flux='4.07e-05', photon_flux2='1.64e-07', job_status='DONE', time_completed='2022-06-08 01:23:49.262649', photon_index_error2='0.75', photon_index2='2.58', ts='11.27', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', energy_flux_error2='1.42e-05', EG='0.69', time_epoch_completed='1654676629.26', return_code='0', job_id='384776', GAL2='1.09', EG2='0.63', return_code2='0', energy_flux_error='1.57e-05', photon_flux_error2='6.53e-08', ts2='12.31', photon_index='2.02' WHERE bin_id='1685' AND source_name='4FGL J2253.9+1609' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jun  8 01:23:49 PDT 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0160>
Subject: Job 384776: <4FGL_J2253.9+1609_daily_bin1685> in cluster <slac> Done

Job <4FGL_J2253.9+1609_daily_bin1685> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Jun  8 01:10:16 2022
Job was executed on host(s) <bullet0160>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jun  8 01:10:59 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jun  8 01:10:59 2022
Terminated at Wed Jun  8 01:23:50 2022
Results reported at Wed Jun  8 01:23:50 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2253.9+1609_daily_bin1685 343.496 16.1506 676080001 676339201 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 :                                   747.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             393.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   770 sec.
    Turnaround time :                            814 sec.

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

