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


Performing analysis on: 4FGL_J2253.9+1609_daily_bin1671
RA = 343.496, Dec = 16.1506
tmin = 672451201, tmax = 672710401
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='43801', job_status='RUN', time_executed='2022-04-27 01:06:46.952763', time_epoch_executed='1651046806.95' WHERE source_name='4FGL J2253.9+1609' and cadence='daily' and bin_id='1671'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/43801

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/43801/ft1_4FGL_J2253.9+1609_daily_bin1671.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/43801/ft2_4FGL_J2253.9+1609_daily_bin1671.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/43801/ft1_4FGL_J2253.9+1609_daily_bin1671.fits outfile=/scratch/kocevski/43801/ft1_filteredMKT_4FGL_J2253.9+1609_daily_bin1671.fits ra=343.496 dec=16.1506 rad=12.0 tmin=672451201.0 tmax=672710401.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.97
user 2.72
sys 0.21

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

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

Number of photons that the gtmktime cut: 1026

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/43801/ft1_filtered_4FGL_J2253.9+1609_daily_bin1671.fits" evtable="EVENTS" scfile=/scratch/kocevski/43801/ft2_4FGL_J2253.9+1609_daily_bin1671.fits sctable="SC_DATA" outfile=/scratch/kocevski/43801/ltcube_672451201_672710401_4FGL_J2253.9+1609_daily_bin1671.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/43801/ft2_4FGL_J2253.9+1609_daily_bin1671.fits
.....................!
real 13.35
user 12.99
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/43801/ft1_filtered_4FGL_J2253.9+1609_daily_bin1671.fits evtable="EVENTS" scfile=/scratch/kocevski/43801/ft2_4FGL_J2253.9+1609_daily_bin1671.fits sctable="SC_DATA" expcube=/scratch/kocevski/43801/ltcube_672451201_672710401_4FGL_J2253.9+1609_daily_bin1671.fits outfile=/scratch/kocevski/43801/expmap_672451201_672710401_4FGL_J2253.9+1609_daily_bin1671.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/43801/ltcube_672451201_672710401_4FGL_J2253.9+1609_daily_bin1671.fits
.....................!
real 194.10
user 187.95
sys 5.69

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/43801/ft1_filtered_4FGL_J2253.9+1609_daily_bin1671.fits scfile=/scratch/kocevski/43801/ft2_4FGL_J2253.9+1609_daily_bin1671.fits outfile=/scratch/kocevski/43801/cmap_672451201_672710401_4FGL_J2253.9+1609_daily_bin1671.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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/43801/ft1_filtered_4FGL_J2253.9+1609_daily_bin1671.fits scfile=/scratch/kocevski/43801/ft2_4FGL_J2253.9+1609_daily_bin1671.fits outfile=/scratch/kocevski/43801/cmap_HighResolution_672451201_672710401_4FGL_J2253.9+1609_daily_bin1671.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.55
user 0.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.1134       1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.0281       1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.7802       1.0000         .10000E-03   10000.    
     7 'norm      '    .72113       1.0000         .10000E-03   10000.    
     8 'Prefactor '    33.464       1.0000         .10000E-03   10000.    
     9 'Prefactor '    84.914       1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.5250       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .57059       1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.9449       1.0000         .10000E-03   10000.    
    13 'Prefactor '    9.7859       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .28725E-01   1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.7617       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .19266E-02   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    15.889       1.0000         .10000E-03   10000.    
    20 'norm      '    14.522       1.0000         .10000E-03   10000.    
    21 'Prefactor '    3.2261       1.0000         .10000E-03   10000.    
    22 'norm      '    12.382       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0817       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .89620       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5100E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10929.79     FROM MIGRAD    STATUS=CONVERGED     99 CALLS     2333 TOTAL
                     EDM=   .28E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    20.404       -.43458E-05** at limit **
   2  norm          .10000E-03    1.3825       -.76315E-06** at limit **
   3  Prefactor     .10000E-03    3.6584        .39837E-06** at limit **
   4  Prefactor     5.1177        4.8199        .44798E-06    .10734E-02
   5  Prefactor     1.0282        .19720        .86235E-07    .52768E-03
   6  Prefactor     5.7798        4.6800       -.38028E-06   -.33361E-03
   7  norm          .72104        1.4379       -.85128E-06   -.62208E-04
   8  Prefactor     33.464        1.2460       -.91471E-07    .75284E-03
   9  Prefactor     84.915        2.3300       -.94337E-07   -.40789E-02
  10  Prefactor     4.5247        2.2163        .16382E-06    .79826E-03
  11  Prefactor     .57066        .14200        .44871E-07    .71882E-04
  12  Prefactor     1.9434        1.8457        .25597E-06    .98982E-03
  13  Prefactor     9.7874        1.5528       -.31610E-06   -.15220E-03
  14  Prefactor     .10014E-03    279.89       -.24736E-04** at limit **
  15  Prefactor     6.7708        8.0170        .33510E-06   -.84059E-05
  16  Prefactor     .10000E-03    5.4188       -.49820E-06** at limit **
  17  Prefactor     .10095E-03    61.522        .93903E-05** at limit **
  18  Prefactor     .10000E-03    3.8406        .25490E-06** at limit **
  19  Prefactor     15.832        9.7171        .11861E-05   -.54412E-02
  20  norm          14.526        5.9302        .32463E-07    .29931E-02
  21  Prefactor     3.2256        5.8675       -.91017E-06   -.61994E-03
  22  norm          12.383        1.5222       -.37163E-07   -.44601E-03
  23  Normalizat    1.0813        .22208       -.34522E-06    .48771E-04
  24  Prefactor     .89642        .11727        .70082E-06    .71061E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.11769
  Prefactor  = 1.0282
  Prefactor  = 5.7798
  norm       = 0.721039
  Prefactor  = 33.4639
  Prefactor  = 84.9155
  Prefactor  = 4.52472
  Prefactor  = 0.570659
  Prefactor  = 1.94344
  Prefactor  = 9.7874
  Prefactor  = 0.000100143
  Prefactor  = 6.77083
  Prefactor  = 0.0001
  Prefactor  = 0.000100953
  Prefactor  = 0.0001
  Prefactor  = 15.8319
  norm       = 14.5262
  Prefactor  = 3.22557
  norm       = 12.3829
  Normalizat = 1.08128
  Prefactor  = 0.896421
 **********
 **   18 **HESSE 
 **********

 FCN=   10929.79     FROM HESSE     STATUS=OK           463 CALLS     2796 TOTAL
                     EDM=   .28E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    20.208        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    1.3709        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    3.6468        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.1177        10.334        .44449E-02   -1.5255    
   5  Prefactor     1.0282        .19746        .43498E-02   -1.5505    
   6  Prefactor     5.7798        4.6804        .41764E-02   -1.5227    
   7  norm          .72104        1.5510        .12143E-01   -1.5538    
   8  Prefactor     33.464        27.715        .17318E-02   -1.4550    
   9  Prefactor     84.915        17.109        .10899E-02   -1.3862    
  10  Prefactor     4.5247        9.8963        .47314E-02   -1.5283    
  11  Prefactor     .57066        .14866        .42229E-02   -1.5557    
  12  Prefactor     1.9434        8.0491        .74411E-02   -1.5429    
  13  Prefactor     9.7874        20.780        .32025E-02   -1.5082    
  14  Prefactor     .10014E-03    3.9083        .91657E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     6.7708        12.277        .38576E-02   -1.5187    
  16  Prefactor     .10000E-03    5.4168        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10095E-03    4.4762        .65520E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    3.8369        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     15.832        20.177        .25119E-02   -1.4912    
  20  norm          14.526        9.9532        .26276E-02   -1.4946    
  21  Prefactor     3.2256        7.7188        .56384E-02   -1.5349    
  22  norm          12.383        11.823        .28460E-02   -1.5004    
  23  Normalizat    1.0813        .19608        .76555E-01   -.90355    
  24  Prefactor     .89642        .10044        .44957E-01   -.96266    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.83528e-07
Minuit parameter uncertainties:
  1  0.000103772
  2  1.9436e-06
  3  1.90439e-06
  4  10.338
  5  0.197459
  6  4.6807
  7  1.55111
  8  27.7255
  9  17.1098
  10  9.89991
  11  0.14866
  12  7.91187
  13  20.7955
  14  0.00149352
  15  12.282
  16  1.50037e-06
  17  0.00413109
  18  1.2798e-06
  19  20.1861
  20  9.95435
  21  7.7212
  22  11.8248
  23  0.196209
  24  0.10046
Done.

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

Extracting fit parameters...

4FGL J2253.9+1609
   Spectrum: PLSuperExpCutoff2
316    Prefactor:  5.707e-01  1.487e-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.964e-01  1.005e-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.081e+00  1.962e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 37.06
Ra Dec: 343.496 16.151
Photon Index (Fixed Index): 2.02 +/- 0.00
Photon Flux (Fixed Index): 2.08e-07 +/- 5.42e-08
Energy Flux (Fixed Index): 6.68e-05 +/- 1.74e-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) = 10929.5274887
delta logL = 0.258038600276

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10929.5123714
delta logL = 0.27315594173

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .64262       1.0000         .10000E-03   10000.    
     2 'Index1    '    2.2348       1.0000          .0000       10.000    
     3 'Normalizat'    1.0400       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91178       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=   10929.51     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      211 TOTAL
                     EDM=   .41E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .64278        .15545        .42971E-02    .29436E-03
   2  Index1        2.2345        .25170        .14310       -.10073E-03
   3  Normalizat    1.0395        .18183        .77806E-01    .25512E-04
   4  Prefactor     .91201        .10037        .45155E-01    .90025E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.642779
  Index1     = 2.23454
  Normalizat = 1.03953
  Prefactor  = 0.912008
 **********
 **   18 **HESSE 
 **********

 FCN=   10929.51     FROM HESSE     STATUS=OK            33 CALLS      244 TOTAL
                     EDM=   .87E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .64278        .17211        .19057E-04   -1.5548    
   2  Index1        2.2345        .29209        .60767E-02   -.58607    
   3  Normalizat    1.0395        .21673        .34438E-03   -.91718    
   4  Prefactor     .91201        .11861        .20417E-03   -.95723    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.72801e-10
Minuit parameter uncertainties:
  1  0.172109
  2  0.292333
  3  0.216909
  4  0.11864
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/43801': 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) = 10929.5123679
delta logL = 0.273159364027

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
507    Prefactor:  9.120e-01  1.186e-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.040e+00  2.169e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 37.70
Ra Dec: 343.496 16.151
Photon Index (Free Index): 2.23 +/- 0.29
Photon Flux (Free Index): 2.41e-07 +/- 7.04e-08
Energy Flux (Free Index): 6.42e-05 +/- 1.58e-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/43801/cmap_HighResolution_672451201_672710401_4FGL_J2253.9+1609_daily_bin1671.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.08e-07', energy_flux2='6.42e-05', photon_flux_error='5.42e-08', dlogl='2.73e-01', energy_flux='6.68e-05', photon_flux2='2.41e-07', job_status='DONE', time_completed='2022-04-27 01:19:51.566960', photon_index_error2='0.29', photon_index2='2.23', ts='37.06', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', energy_flux_error2='1.58e-05', EG='1.08', time_epoch_completed='1651047591.57', return_code='0', job_id='43801', GAL2='0.91', EG2='1.04', return_code2='0', energy_flux_error='1.74e-05', photon_flux_error2='7.04e-08', ts2='37.70', photon_index='2.02' WHERE bin_id='1671' AND source_name='4FGL J2253.9+1609' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Apr 27 01:19:51 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0036>
Subject: Job 43801: <4FGL_J2253.9+1609_daily_bin1671> in cluster <slac> Done

Job <4FGL_J2253.9+1609_daily_bin1671> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Wed Apr 27 01:05:37 2022
Job was executed on host(s) <bullet0036>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Apr 27 01:05:40 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Apr 27 01:05:40 2022
Terminated at Wed Apr 27 01:19:52 2022
Results reported at Wed Apr 27 01:19:52 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2253.9+1609_daily_bin1671 343.496 16.1506 672451201 672710401 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 :                                   786.50 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             368.30 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   851 sec.
    Turnaround time :                            855 sec.

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

