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


Performing analysis on: 4FGL_J2253.9+1609_weekly_bin715
RA = 343.496, Dec = 16.1506
tmin = 671414401, tmax = 672019201
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='975915', job_status='RUN', time_executed='2022-04-19 03:07:54.042604', time_epoch_executed='1650362874.04' WHERE source_name='4FGL J2253.9+1609' and cadence='weekly' and bin_id='715'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/975915

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/975915/ft1_4FGL_J2253.9+1609_weekly_bin715.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/975915/ft2_4FGL_J2253.9+1609_weekly_bin715.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/975915/ft1_4FGL_J2253.9+1609_weekly_bin715.fits outfile=/scratch/kocevski/975915/ft1_filteredMKT_4FGL_J2253.9+1609_weekly_bin715.fits ra=343.496 dec=16.1506 rad=12.0 tmin=671414401.0 tmax=672019201.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 11.00
user 7.25
sys 0.35

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

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

Number of photons that the gtmktime cut: 1970

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/975915/ft1_filtered_4FGL_J2253.9+1609_weekly_bin715.fits" evtable="EVENTS" scfile=/scratch/kocevski/975915/ft2_4FGL_J2253.9+1609_weekly_bin715.fits sctable="SC_DATA" outfile=/scratch/kocevski/975915/ltcube_671414401_672019201_4FGL_J2253.9+1609_weekly_bin715.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/975915/ft2_4FGL_J2253.9+1609_weekly_bin715.fits
.....................!
real 34.14
user 33.50
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/975915/ft1_filtered_4FGL_J2253.9+1609_weekly_bin715.fits evtable="EVENTS" scfile=/scratch/kocevski/975915/ft2_4FGL_J2253.9+1609_weekly_bin715.fits sctable="SC_DATA" expcube=/scratch/kocevski/975915/ltcube_671414401_672019201_4FGL_J2253.9+1609_weekly_bin715.fits outfile=/scratch/kocevski/975915/expmap_671414401_672019201_4FGL_J2253.9+1609_weekly_bin715.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/975915/ltcube_671414401_672019201_4FGL_J2253.9+1609_weekly_bin715.fits
.....................!
real 192.96
user 186.72
sys 5.12

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/975915/ft1_filtered_4FGL_J2253.9+1609_weekly_bin715.fits scfile=/scratch/kocevski/975915/ft2_4FGL_J2253.9+1609_weekly_bin715.fits outfile=/scratch/kocevski/975915/cmap_671414401_672019201_4FGL_J2253.9+1609_weekly_bin715.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.60
user 0.42
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/975915/ft1_filtered_4FGL_J2253.9+1609_weekly_bin715.fits scfile=/scratch/kocevski/975915/ft2_4FGL_J2253.9+1609_weekly_bin715.fits outfile=/scratch/kocevski/975915/cmap_HighResolution_671414401_672019201_4FGL_J2253.9+1609_weekly_bin715.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.43
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.271       1.0000         .10000E-03   10000.    
     2 'norm      '    .49236       1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.0818       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .70760       1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.1601       1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.5101       1.0000         .10000E-03   10000.    
     7 'norm      '    .82789       1.0000         .10000E-03   10000.    
     8 'Prefactor '    10.603       1.0000         .10000E-03   10000.    
     9 'Prefactor '    11.180       1.0000         .10000E-03   10000.    
    10 'Prefactor '    7.4902       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .31169       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.0030       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .13920E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.0677       1.0000         .10000E-03   10000.    
    16 'Prefactor '    7.2130       1.0000         .10000E-03   10000.    
    17 'Prefactor '    7.8017       1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.1184       1.0000         .10000E-03   10000.    
    19 'Prefactor '    7.3630       1.0000         .10000E-03   10000.    
    20 'norm      '    2.7074       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .99891       1.0000         .10000E-03   10000.    
    22 'norm      '    4.0294       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.3600       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .82926       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=   21588.13     FROM MIGRAD    STATUS=CONVERGED    529 CALLS     2384 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.271        9.9560       -.32272E-06    .95958E-04
   2  norm          .49197        1.1027       -.23789E-06   -.93410E-03
   3  Prefactor     5.0808        6.7821        .43191E-06    .12811E-04
   4  Prefactor     .69170        2.6835       -.67134E-06   -.14765E-03
   5  Prefactor     1.1601        .16183       -.64264E-07    .28311E-02
   6  Prefactor     5.5095        4.1493       -.17788E-06   -.87526E-04
   7  norm          .82537        1.1000        .57185E-06    .24031E-02
   8  Prefactor     10.601        13.690       -.28849E-05    .25512E-04
   9  Prefactor     11.188        8.1210       -.43641E-05   -.87727E-05
  10  Prefactor     7.4904        6.4437       -.40988E-06    .66363E-04
  11  Prefactor     .31170        .89796E-01   -.24914E-07    .28650E-02
  12  Prefactor     .10000E-03    2.4323        .12756E-06** at limit **
  13  Prefactor     4.9924        21.085       -.34011E-04    .16884E-04
  14  Prefactor     .10000E-03    1.4367       -.58334E-06** at limit **
  15  Prefactor     5.0684        6.3034       -.88407E-06    .14163E-03
  16  Prefactor     7.2004        17.202       -.28753E-04    .29309E-04
  17  Prefactor     7.8022        4.9661        .12616E-05    .43644E-03
  18  Prefactor     4.1180        5.0052        .14462E-05    .94137E-04
  19  Prefactor     7.3605        13.826       -.48578E-05    .42184E-04
  20  norm          2.7087        4.8569       -.63146E-06   -.50606E-03
  21  Prefactor     .99733        .91615        .26808E-06   -.23720E-02
  22  norm          4.0292        4.5106        .96056E-07    .17522E-04
  23  Normalizat    1.3600        .14014        .51399E-05    .13096E-03
  24  Prefactor     .82932        .70620E-01    .39003E-06    .12008E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.2705
  norm       = 0.491965
  Prefactor  = 5.08082
  Prefactor  = 0.691696
  Prefactor  = 1.16012
  Prefactor  = 5.50954
  norm       = 0.825371
  Prefactor  = 10.6008
  Prefactor  = 11.188
  Prefactor  = 7.49039
  Prefactor  = 0.311704
  Prefactor  = 0.0001
  Prefactor  = 4.99241
  Prefactor  = 0.0001
  Prefactor  = 5.06839
  Prefactor  = 7.2004
  Prefactor  = 7.80218
  Prefactor  = 4.11804
  Prefactor  = 7.36051
  norm       = 2.70874
  Prefactor  = 0.997332
  norm       = 4.02918
  Normalizat = 1.35999
  Prefactor  = 0.82932
 **********
 **   18 **HESSE 
 **********

 FCN=   21588.13     FROM HESSE     STATUS=OK           423 CALLS     2807 TOTAL
                     EDM=   .17E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.271        9.9381        .10249E-03   -1.4926    
   2  norm          .49197        .93849        .22394E-02   -1.5568    
   3  Prefactor     5.0808        6.7769        .17836E-03   -1.5257    
   4  Prefactor     .69170        8.5546        .44595E-02   -1.5542    
   5  Prefactor     1.1601        .16226        .20308E-04   -1.5493    
   6  Prefactor     5.5095        4.1549        .85583E-03   -1.5238    
   7  norm          .82537        .92188        .15886E-02   -1.5526    
   8  Prefactor     10.601        13.683        .12305E-03   -1.5057    
   9  Prefactor     11.188        7.8620        .11982E-03   -1.5039    
  10  Prefactor     7.4904        6.4417        .14654E-03   -1.5161    
  11  Prefactor     .31170        .88061E-01    .21879E-04   -1.5596    
  12  Prefactor     .10000E-03    2.4699        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.9924        21.091        .17979E-03   -1.5261    
  14  Prefactor     .10000E-03    4.6587        .33791E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     5.0684        6.2935        .17861E-03   -1.5258    
  16  Prefactor     7.2004        17.182        .14935E-03   -1.5171    
  17  Prefactor     7.8022        4.9478        .14356E-03   -1.5149    
  18  Prefactor     4.1180        4.9840        .19864E-03   -1.5302    
  19  Prefactor     7.3605        13.745        .14781E-03   -1.5165    
  20  norm          2.7087        4.8596        .12378E-02   -1.5379    
  21  Prefactor     .99733        3.9397        .25255E-02   -1.5508    
  22  norm          4.0292        4.5112        .20089E-03   -1.5306    
  23  Normalizat    1.3600        .16576        .31132E-03   -.81793    
  24  Prefactor     .82932        .83662E-01    .21183E-03   -.98656    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.68019e-07
Minuit parameter uncertainties:
  1  9.93917
  2  0.938514
  3  6.77794
  4  4.86557
  5  0.162262
  6  4.15511
  7  0.921899
  8  13.6868
  9  7.86271
  10  6.44229
  11  0.0880606
  12  1.36335e-05
  13  20.5346
  14  7.7127e-05
  15  6.2943
  16  17.1936
  17  4.94802
  18  4.98449
  19  13.7504
  20  4.86029
  21  3.94068
  22  4.5116
  23  0.165823
  24  0.0836746
Done.

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

Extracting fit parameters...

4FGL J2253.9+1609
   Spectrum: PLSuperExpCutoff2
316    Prefactor:  3.117e-01  8.806e-02  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.293e-01  8.367e-02  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.360e+00  1.658e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 22.70
Ra Dec: 343.496 16.151
Photon Index (Fixed Index): 2.02 +/- 0.00
Photon Flux (Fixed Index): 1.14e-07 +/- 3.21e-08
Energy Flux (Fixed Index): 3.65e-05 +/- 1.03e-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) = 21588.1328746
delta logL = 4.541819726e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 21588.1328501
delta logL = 6.99222509866e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .31247       1.0000         .10000E-03   10000.    
     2 'Index1    '    2.0231       1.0000          .0000       10.000    
     3 'Normalizat'    1.3597       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82944       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=   21588.13     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      203 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .31243        .89029E-01    .48863E-02    .13120E-01
   2  Index1        2.0230        .21884        .18978       -.68643E-03
   3  Normalizat    1.3596        .12910        .70370E-01   -.84630E-04
   4  Prefactor     .82946        .70353E-01    .44099E-01    .57639E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.312432
  Index1     = 2.02299
  Normalizat = 1.35962
  Prefactor  = 0.829457
 **********
 **   18 **HESSE 
 **********

 FCN=   21588.13     FROM HESSE     STATUS=OK            33 CALLS      236 TOTAL
                     EDM=   .76E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .31243        .10337        .21895E-04   -1.5596    
   2  Index1        2.0230        .28415        .76603E-02   -.63777    
   3  Normalizat    1.3596        .15430        .31135E-03   -.81804    
   4  Prefactor     .82946        .83582E-01    .21182E-03   -.98651    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.59717e-10
Minuit parameter uncertainties:
  1  0.103369
  2  0.284387
  3  0.154348
  4  0.0835953
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/975915': 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) = 21588.1328494
delta logL = 7.0599890023e-05

Extracting fit parameters...

4FGL J2253.9+1609
   Spectrum: PLSuperExpCutoff2
316    Prefactor:  3.124e-01  1.034e-01  1.000e-04  1.000e+04 ( 1.000e-09)
317       Index1:  2.023e+00  2.844e-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.295e-01  8.360e-02  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.360e+00  1.543e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 22.65
Ra Dec: 343.496 16.151
Photon Index (Free Index): 2.02 +/- 0.28
Photon Flux (Free Index): 1.14e-07 +/- 3.90e-08
Energy Flux (Free Index): 3.65e-05 +/- 1.04e-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/975915/cmap_HighResolution_671414401_672019201_4FGL_J2253.9+1609_weekly_bin715.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.14e-07', energy_flux2='3.65e-05', photon_flux_error='3.21e-08', dlogl='7.06e-05', energy_flux='3.65e-05', photon_flux2='1.14e-07', job_status='DONE', time_completed='2022-04-19 03:30:42.025804', photon_index_error2='0.28', photon_index2='2.02', ts='22.70', fit_tolerance='1e-08', GAL='0.83', photon_index_error='0.00', energy_flux_error2='1.04e-05', EG='1.36', time_epoch_completed='1650364242.03', return_code='0', job_id='975915', GAL2='0.83', EG2='1.36', return_code2='0', energy_flux_error='1.03e-05', photon_flux_error2='3.90e-08', ts2='22.65', photon_index='2.02' WHERE bin_id='715' AND source_name='4FGL J2253.9+1609' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Apr 19 03:30:42 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0261>
Subject: Job 975915: <4FGL_J2253.9+1609_weekly_bin715> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2253.9+1609_weekly_bin715 343.496 16.1506 671414401 672019201 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 :                                   1285.00 sec.
    Max Memory :                                 621 MB
    Average Memory :                             282.15 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   2 MB
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   1612 sec.
    Turnaround time :                            1808 sec.

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

