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 70 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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


Performing analysis on: 4FGL_J2253.9+1609_daily_bin1733
RA = 343.496, Dec = 16.1506
tmin = 688521601, tmax = 688780801
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='708619', job_status='RUN', time_executed='2022-10-30 00:36:59.369380', time_epoch_executed='1667115419.37' WHERE source_name='4FGL J2253.9+1609' and cadence='daily' and bin_id='1733'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/708619

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/708619/ft1_4FGL_J2253.9+1609_daily_bin1733.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/708619/ft2_4FGL_J2253.9+1609_daily_bin1733.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/708619/ft1_4FGL_J2253.9+1609_daily_bin1733.fits outfile=/scratch/kocevski/708619/ft1_filteredMKT_4FGL_J2253.9+1609_daily_bin1733.fits ra=343.496 dec=16.1506 rad=12.0 tmin=688521601.0 tmax=688780801.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.52
user 3.30
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/708619/ft2_4FGL_J2253.9+1609_daily_bin1733.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/708619/ft1_filteredMKT_4FGL_J2253.9+1609_daily_bin1733.fits evtable="EVENTS" outfile="/scratch/kocevski/708619/ft1_filtered_4FGL_J2253.9+1609_daily_bin1733.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.50
user 0.32
sys 0.17

Number of photons that the gtmktime cut: 919

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/708619/ft1_filtered_4FGL_J2253.9+1609_daily_bin1733.fits evtable="EVENTS" scfile=/scratch/kocevski/708619/ft2_4FGL_J2253.9+1609_daily_bin1733.fits sctable="SC_DATA" expcube=/scratch/kocevski/708619/ltcube_688521601_688780801_4FGL_J2253.9+1609_daily_bin1733.fits outfile=/scratch/kocevski/708619/expmap_688521601_688780801_4FGL_J2253.9+1609_daily_bin1733.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/708619/ltcube_688521601_688780801_4FGL_J2253.9+1609_daily_bin1733.fits
.....................!
real 190.12
user 185.21
sys 4.54

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/708619/ft1_filtered_4FGL_J2253.9+1609_daily_bin1733.fits scfile=/scratch/kocevski/708619/ft2_4FGL_J2253.9+1609_daily_bin1733.fits outfile=/scratch/kocevski/708619/cmap_688521601_688780801_4FGL_J2253.9+1609_daily_bin1733.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.53
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/708619/ft1_filtered_4FGL_J2253.9+1609_daily_bin1733.fits scfile=/scratch/kocevski/708619/ft2_4FGL_J2253.9+1609_daily_bin1733.fits outfile=/scratch/kocevski/708619/cmap_HighResolution_688521601_688780801_4FGL_J2253.9+1609_daily_bin1733.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=343.496 yref=16.1506 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    56.267       1.0000          .0000       .10000E+07
     2 'norm      '    .55511E-10   1.0000          .0000       .10000E+07
     3 'Prefactor '    .79249E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    8.6928       1.0000          .0000       .10000E+07
     5 'Prefactor '    .76940       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    2.0110       1.0000          .0000       .10000E+07
     8 'Prefactor '    19.678       1.0000          .0000       .10000E+07
     9 'Prefactor '    1.5991       1.0000          .0000       .10000E+07
    10 'Prefactor '    4.0149       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .13844E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    2.4388       1.0000          .0000       .10000E+07
    13 'Prefactor '    19.673       1.0000          .0000       .10000E+07
    14 'Prefactor '    21.007       1.0000          .0000       .10000E+07
    15 'Prefactor '    .24425E-08   1.0000          .0000       .10000E+07
    16 'Prefactor '    .21160E-05   1.0000          .0000       .10000E+07
    17 'norm      '    .77716E-08   1.0000          .0000       .10000E+07
    18 'Prefactor '    .16653E-08   1.0000          .0000       .10000E+07
    19 'norm      '    8.9009       1.0000          .0000       .10000E+07
    20 'Normalizat'    .89098       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0840       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=   9632.469     FROM MIGRAD    STATUS=CONVERGED    127 CALLS     1921 TOTAL
                     EDM=   .28E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     56.269        5.8118       -.25732E-06    .17467E-01
   2  norm           .0000        1.3615       -.48260E-06** at limit **
   3  Prefactor     .49338E-06    22.017        .33207E-05** at limit **
   4  Prefactor     8.6997        13.122       -.32769E-06    .12422E-01
   5  Prefactor     .76937        .25484        .25302E-06    .16028E-03
   6  Prefactor     .10000E-03    6.0042        .43722E-05** at limit **
   7  norm          2.0107        1.9810       -.98219E-07   -.11721E-02
   8  Prefactor     19.677        1.1756       -.40155E-07   -.16150E-03
   9  Prefactor     1.6003        8.7560       -.16573E-06    .32218E-02
  10  Prefactor     4.0151        .34178        .19163E-06   -.10402E-03
  11  Prefactor     .45847E-06    23.330       -.16929E-06** at limit **
  12  Prefactor     2.4371        8.0657       -.25578E-06   -.27409E-02
  13  Prefactor     19.684        20.748       -.15314E-05    .33620E-01
  14  Prefactor     21.008        6.3135        .91643E-08    .22887E-01
  15  Prefactor      .0000        2.5382        .25807E-06** at limit **
  16  Prefactor     .13878E-08    17.760       -.46561E-06** at limit **
  17  norm           .0000        2.6492       -.20476E-06** at limit **
  18  Prefactor      .0000        3.6329       -.42493E-06** at limit **
  19  norm          8.8987        4.8516       -.36917E-06   -.47872E-01
  20  Normalizat    .89052        .28470       -.29011E-04   -.24640E-04
  21  Prefactor     1.0842        .15117        .11371E-04   -.43497E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 56.2688
  norm       = 0
  Prefactor  = 4.93383e-07
  Prefactor  = 8.69968
  Prefactor  = 0.769365
  Prefactor  = 0.0001
  norm       = 2.01069
  Prefactor  = 19.6771
  Prefactor  = 1.60032
  Prefactor  = 4.0151
  Prefactor  = 4.58467e-07
  Prefactor  = 2.43712
  Prefactor  = 19.6836
  Prefactor  = 21.0078
  Prefactor  = 0
  Prefactor  = 1.38778e-09
  norm       = 0
  Prefactor  = 0
  norm       = 8.89872
  Normalizat = 0.890515
  Prefactor  = 1.08418
 **********
 **   18 **HESSE 
 **********

 FCN=   9632.469     FROM HESSE     STATUS=OK           361 CALLS     2282 TOTAL
                     EDM=   .36E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     56.269        30.038        .13332E-03   -1.5558    
   2  norm           .0000        1.3630        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .49338E-06    29.444        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.6997        14.260        .33974E-03   -1.5649    
   5  Prefactor     .76937        .25755        .60908E-02   -1.5533    
   6  Prefactor     .10000E-03    5.9729        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          2.0107        2.0561        .72973E-03   -1.5680    
   8  Prefactor     19.677        23.459        .22551E-03   -1.5619    
   9  Prefactor     1.6003        16.179        .83817E-03   -1.5683    
  10  Prefactor     4.0151        .34450        .35341E-02   -1.5307    
  11  Prefactor     .45847E-06    29.953        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.4371        8.1328        .65491E-03   -1.5677    
  13  Prefactor     19.684        31.901        .22554E-03   -1.5619    
  14  Prefactor     21.008        9.4446        .21825E-03   -1.5616    
  15  Prefactor      .0000        2.5411        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .13878E-08    17.796        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm           .0000        2.6459        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        3.6246        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          8.8987        12.161        .33572E-03   -1.5648    
  20  Normalizat    .89052        .25951        .98360E-01   -.96794    
  21  Prefactor     1.0842        .13245        .38230E-01   -.89974    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.63039e-07
Minuit parameter uncertainties:
  1  30.0383
  2  3.61756e-06
  3  0.00762294
  4  14.2596
  5  0.257551
  6  1.177e-06
  7  2.05615
  8  23.4593
  9  10.1768
  10  0.344499
  11  0.00741126
  12  8.13287
  13  31.9015
  14  9.4446
  15  4.82234e-06
  16  0.000314714
  17  8.68785e-06
  18  1.25344e-05
  19  12.1612
  20  0.259873
  21  0.132485
Done.

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

Extracting fit parameters...

4FGL J2253.9+1609
   Spectrum: PLSuperExpCutoff2
316    Prefactor:  4.015e+00  3.445e-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.084e+00  1.325e-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:  8.905e-01  2.599e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 498.53
Ra Dec: 343.496 16.151
Photon Index (Fixed Index): 2.02 +/- 0.00
Photon Flux (Fixed Index): 1.46e-06 +/- 1.26e-07
Energy Flux (Fixed Index): 4.70e-04 +/- 4.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) = 9632.0949619
delta logL = 0.374056810946

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9632.09090036
delta logL = 0.378118354896

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.8609       1.0000         .10000E-03   10000.    
     2 'Index1    '    1.9372       1.0000          .0000       10.000    
     3 'Normalizat'    .94880       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0618       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=   9632.091     FROM MIGRAD    STATUS=CONVERGED     42 CALLS      200 TOTAL
                     EDM=   .49E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.8609        .36019        .35006E-02    .14568E-02
   2  Index1        1.9372        .89038E-01    .44273E-01   -.57091E-04
   3  Normalizat    .94880        .24138        .95845E-01    .77051E-04
   4  Prefactor     1.0618        .13071        .39262E-01   -.14046E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.86087
  Index1     = 1.93717
  Normalizat = 0.948798
  Prefactor  = 1.06183
 **********
 **   18 **HESSE 
 **********

 FCN=   9632.091     FROM HESSE     STATUS=OK            29 CALLS      229 TOTAL
                     EDM=   .26E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.8609        .37931        .15470E-04   -1.5315    
   2  Index1        1.9372        .94070E-01    .19528E-03   -.65930    
   3  Normalizat    .94880        .27948        .42461E-03   -.94766    
   4  Prefactor     1.0618        .15118        .22281E-03   -.90696    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.57419e-11
Minuit parameter uncertainties:
  1  0.379307
  2  0.0940787
  3  0.279905
  4  0.151236
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/708619': 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) = 9632.09090036
delta logL = 0.378118354929

Extracting fit parameters...

4FGL J2253.9+1609
   Spectrum: PLSuperExpCutoff2
316    Prefactor:  3.861e+00  3.793e-01  1.000e-04  1.000e+04 ( 1.000e-09)
317       Index1:  1.937e+00  9.408e-02  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.062e+00  1.512e-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:  9.488e-01  2.799e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 496.81
Ra Dec: 343.496 16.151
Photon Index (Free Index): 1.94 +/- 0.09
Photon Flux (Free Index): 1.40e-06 +/- 1.39e-07
Energy Flux (Free Index): 4.89e-04 +/- 4.78e-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/708619/cmap_HighResolution_688521601_688780801_4FGL_J2253.9+1609_daily_bin1733.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.46e-06', energy_flux2='4.89e-04', photon_flux_error='1.26e-07', dlogl='3.78e-01', energy_flux='4.70e-04', photon_flux2='1.40e-06', job_status='DONE', time_completed='2022-10-30 00:48:09.271269', photon_index_error2='0.09', photon_index2='1.94', ts='498.53', fit_tolerance='1e-08', GAL='1.08', photon_index_error='0.00', energy_flux_error2='4.78e-05', EG='0.89', time_epoch_completed='1667116089.27', return_code='0', job_id='708619', GAL2='1.06', EG2='0.95', return_code2='0', energy_flux_error='4.03e-05', photon_flux_error2='1.39e-07', ts2='496.81', photon_index='2.02' WHERE bin_id='1733' AND source_name='4FGL J2253.9+1609' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Oct 30 00:48:09 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0167>
Subject: Job 708619: <4FGL_J2253.9+1609_daily_bin1733> in cluster <slac> Done

Job <4FGL_J2253.9+1609_daily_bin1733> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Oct 30 00:35:39 2022
Job was executed on host(s) <bullet0167>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Oct 30 00:35:40 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Oct 30 00:35:40 2022
Terminated at Sun Oct 30 00:48:10 2022
Results reported at Sun Oct 30 00:48:10 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2253.9+1609_daily_bin1733 343.496 16.1506 688521601 688780801 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 :                                   672.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             338.36 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   749 sec.
    Turnaround time :                            751 sec.

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

