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


Performing analysis on: 4FGL_J2253.9+1609_daily_bin1766
RA = 343.496, Dec = 16.1506
tmin = 697075201, tmax = 697334401
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='862151', job_status='RUN', time_executed='2023-02-06 01:37:51.694501', time_epoch_executed='1675676271.69' WHERE source_name='4FGL J2253.9+1609' and cadence='daily' and bin_id='1766'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/862151

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/862151/ft1_4FGL_J2253.9+1609_daily_bin1766.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/862151/ft2_4FGL_J2253.9+1609_daily_bin1766.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/862151/ft1_4FGL_J2253.9+1609_daily_bin1766.fits outfile=/scratch/kocevski/862151/ft1_filteredMKT_4FGL_J2253.9+1609_daily_bin1766.fits ra=343.496 dec=16.1506 rad=12.0 tmin=697075201.0 tmax=697334401.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.75
user 3.50
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/862151/ft2_4FGL_J2253.9+1609_daily_bin1766.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/862151/ft1_filteredMKT_4FGL_J2253.9+1609_daily_bin1766.fits evtable="EVENTS" outfile="/scratch/kocevski/862151/ft1_filtered_4FGL_J2253.9+1609_daily_bin1766.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.53
user 0.37
sys 0.15

Number of photons that the gtmktime cut: 880

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/862151/ft1_filtered_4FGL_J2253.9+1609_daily_bin1766.fits" evtable="EVENTS" scfile=/scratch/kocevski/862151/ft2_4FGL_J2253.9+1609_daily_bin1766.fits sctable="SC_DATA" outfile=/scratch/kocevski/862151/ltcube_697075201_697334401_4FGL_J2253.9+1609_daily_bin1766.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/862151/ft2_4FGL_J2253.9+1609_daily_bin1766.fits
.....................!
real 16.21
user 15.75
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/862151/ft1_filtered_4FGL_J2253.9+1609_daily_bin1766.fits evtable="EVENTS" scfile=/scratch/kocevski/862151/ft2_4FGL_J2253.9+1609_daily_bin1766.fits sctable="SC_DATA" expcube=/scratch/kocevski/862151/ltcube_697075201_697334401_4FGL_J2253.9+1609_daily_bin1766.fits outfile=/scratch/kocevski/862151/expmap_697075201_697334401_4FGL_J2253.9+1609_daily_bin1766.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/862151/ltcube_697075201_697334401_4FGL_J2253.9+1609_daily_bin1766.fits
.....................!
real 195.07
user 189.19
sys 5.43

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/862151/ft1_filtered_4FGL_J2253.9+1609_daily_bin1766.fits scfile=/scratch/kocevski/862151/ft2_4FGL_J2253.9+1609_daily_bin1766.fits outfile=/scratch/kocevski/862151/cmap_697075201_697334401_4FGL_J2253.9+1609_daily_bin1766.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.58
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/862151/ft1_filtered_4FGL_J2253.9+1609_daily_bin1766.fits scfile=/scratch/kocevski/862151/ft2_4FGL_J2253.9+1609_daily_bin1766.fits outfile=/scratch/kocevski/862151/cmap_HighResolution_697075201_697334401_4FGL_J2253.9+1609_daily_bin1766.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.57
user 0.39
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    28.798       1.0000          .0000       .10000E+07
     2 'norm      '    .22483E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    5.6520       1.0000          .0000       .10000E+07
     4 'Prefactor '    31.455       1.0000          .0000       .10000E+07
     5 'Prefactor '    3.8831       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10083E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    1.5310       1.0000          .0000       .10000E+07
     8 'Prefactor '    .14732E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    20.297       1.0000          .0000       .10000E+07
    10 'Prefactor '    1.4467       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .18449E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    5.9539       1.0000          .0000       .10000E+07
    13 'Prefactor '    3.3043       1.0000          .0000       .10000E+07
    14 'Prefactor '    17.747       1.0000          .0000       .10000E+07
    15 'Prefactor '    5.1544       1.0000          .0000       .10000E+07
    16 'Prefactor '    .94182E-02   1.0000          .0000       .10000E+07
    17 'norm      '    .40175E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    12.513       1.0000          .0000       .10000E+07
    19 'norm      '    22.152       1.0000          .0000       .10000E+07
    20 'Normalizat'    .43510       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.1194       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=   8970.667     FROM MIGRAD    STATUS=CONVERGED    111 CALLS      959 TOTAL
                     EDM=   .35E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     28.727        1.4893       -.15532E-06    .33447E-01
   2  norm          .70499E-08    8.1421        .36318E-05** at limit **
   3  Prefactor     5.6936        1.0575        .40481E-07   -.20739E-02
   4  Prefactor     31.309        1.6720        .19831E-06    .22648E-02
   5  Prefactor     3.8827        .38521        .56832E-07    .14798E-02
   6  Prefactor     .10000E-03    3.4956       -.40272E-05** at limit **
   7  norm          1.5313        1.1838        .70946E-07   -.97405E-03
   8  Prefactor     .39413E-08    10.858        .73271E-06** at limit **
   9  Prefactor     20.229        2.4105        .19277E-06    .60663E-01
  10  Prefactor     1.4466        .21339       -.47514E-06    .65353E-03
  11  Prefactor     .35527E-08    8.3255       -.39241E-05** at limit **
  12  Prefactor     5.9468        6.1876        .10127E-05    .11990E-02
  13  Prefactor     3.3002        3.2241       -.10623E-05   -.33225E-01
  14  Prefactor     17.804        7.7045        .11657E-06   -.61856E-02
  15  Prefactor     4.9827        8.1627        .12340E-05   -.80337E-02
  16  Prefactor     .17208E-08    24.400       -.31722E-05** at limit **
  17  norm          .10547E-08    5.0018        .82433E-06** at limit **
  18  Prefactor     12.526        7.4062       -.92859E-06    .33228E-02
  19  norm          22.068        1.1606       -.80811E-07    .20707E-02
  20  Normalizat    .43551        .25113        .88915E-05   -.40015E-05
  21  Prefactor     1.1195        .13915       -.25587E-05    .70379E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 28.7268
  norm       = 7.04992e-09
  Prefactor  = 5.6936
  Prefactor  = 31.3086
  Prefactor  = 3.8827
  Prefactor  = 0.0001
  norm       = 1.53129
  Prefactor  = 3.94129e-09
  Prefactor  = 20.2287
  Prefactor  = 1.44664
  Prefactor  = 3.55271e-09
  Prefactor  = 5.94679
  Prefactor  = 3.30016
  Prefactor  = 17.8044
  Prefactor  = 4.98265
  Prefactor  = 1.72085e-09
  norm       = 1.05471e-09
  Prefactor  = 12.5264
  norm       = 22.0677
  Normalizat = 0.435512
  Prefactor  = 1.11948
 **********
 **   18 **HESSE 
 **********

 FCN=   8970.667     FROM HESSE     STATUS=OK           365 CALLS     1324 TOTAL
                     EDM=   .68E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     28.727        24.857        .18638E-03   -1.5601    
   2  norm          .70499E-08    8.2157        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     5.6936        17.036        .42230E-03   -1.5660    
   4  Prefactor     31.309        13.769        .17833E-03   -1.5596    
   5  Prefactor     3.8827        .40432        .40006E-02   -1.5314    
   6  Prefactor     .10000E-03    3.4973        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.5313        1.1863        .86221E-03   -1.5683    
   8  Prefactor     .39413E-08    10.981        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     20.229        10.297        .22203E-03   -1.5618    
  10  Prefactor     1.4466        .21467        .35848E-02   -1.5467    
  11  Prefactor     .35527E-08    8.4527        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     5.9468        6.2055        .41129E-03   -1.5659    
  13  Prefactor     3.3002        8.5326        .55669E-03   -1.5672    
  14  Prefactor     17.804        7.9090        .23747E-03   -1.5624    
  15  Prefactor     4.9827        8.7798        .44257E-03   -1.5663    
  16  Prefactor     .17208E-08    24.397        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10547E-08    5.0324        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     12.526        7.5121        .28292E-03   -1.5637    
  19  norm          22.068        15.394        .21252E-03   -1.5614    
  20  Normalizat    .43551        .27367        .12068       -1.1550    
  21  Prefactor     1.1195        .14185        .36893E-01   -.88846    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.75463e-08
Minuit parameter uncertainties:
  1  24.8569
  2  0.000481106
  3  17.036
  4  13.7687
  5  0.404316
  6  1.0025e-05
  7  1.18626
  8  0.000415362
  9  10.2975
  10  0.214671
  11  0.000346037
  12  6.20546
  13  8.53264
  14  7.90897
  15  8.77986
  16  0.000408426
  17  0.000145916
  18  7.51208
  19  15.3944
  20  0.274521
  21  0.141893
Done.

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

Extracting fit parameters...

4FGL J2253.9+1609
   Spectrum: PLSuperExpCutoff2
316    Prefactor:  1.447e+00  2.147e-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.119e+00  1.419e-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:  4.355e-01  2.745e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 142.70
Ra Dec: 343.496 16.151
Photon Index (Fixed Index): 2.02 +/- 0.00
Photon Flux (Fixed Index): 5.28e-07 +/- 7.83e-08
Energy Flux (Fixed Index): 1.69e-04 +/- 2.51e-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) = 8969.50874009
delta logL = 1.15838982827

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8969.49999644
delta logL = 1.16713347203

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.5779       1.0000         .10000E-03   10000.    
     2 'Index1    '    2.2814       1.0000          .0000       10.000    
     3 'Normalizat'    .36133       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1484       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=   8969.500     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      205 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.5780        .22678        .36235E-02   -.14929E-02
   2  Index1        2.2814        .17051        .84273E-01   -.25939E-04
   3  Normalizat    .36146        .26516        .13164        .12513E-03
   4  Prefactor     1.1483        .15148        .35982E-01    .19476E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.57802
  Index1     = 2.28141
  Normalizat = 0.361463
  Prefactor  = 1.14834
 **********
 **   18 **HESSE 
 **********

 FCN=   8969.500     FROM HESSE     STATUS=OK            27 CALLS      232 TOTAL
                     EDM=   .36E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.5780        .23132        .16021E-04   -1.5457    
   2  Index1        2.2814        .17646        .36865E-03   -.57486    
   3  Normalizat    .36146        .24342        .58293E-03   -1.1934    
   4  Prefactor     1.1483        .13958        .19599E-03   -.87936    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.61203e-11
Minuit parameter uncertainties:
  1  0.231317
  2  0.176517
  3  0.244139
  4  0.139624
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/862151': 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) = 8969.49999619
delta logL = 1.16713372366

Extracting fit parameters...

4FGL J2253.9+1609
   Spectrum: PLSuperExpCutoff2
316    Prefactor:  1.578e+00  2.313e-01  1.000e-04  1.000e+04 ( 1.000e-09)
317       Index1:  2.281e+00  1.765e-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.148e+00  1.396e-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:  3.615e-01  2.441e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 143.64
Ra Dec: 343.496 16.151
Photon Index (Free Index): 2.28 +/- 0.18
Photon Flux (Free Index): 5.96e-07 +/- 9.40e-08
Energy Flux (Free Index): 1.54e-04 +/- 2.36e-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/862151/cmap_HighResolution_697075201_697334401_4FGL_J2253.9+1609_daily_bin1766.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.28e-07', energy_flux2='1.54e-04', photon_flux_error='7.83e-08', dlogl='1.17e+00', energy_flux='1.69e-04', photon_flux2='5.96e-07', job_status='DONE', time_completed='2023-02-06 01:47:20.573564', photon_index_error2='0.18', photon_index2='2.28', ts='142.70', fit_tolerance='1e-08', GAL='1.12', photon_index_error='0.00', energy_flux_error2='2.36e-05', EG='0.44', time_epoch_completed='1675676840.57', return_code='0', job_id='862151', GAL2='1.15', EG2='0.36', return_code2='0', energy_flux_error='2.51e-05', photon_flux_error2='9.40e-08', ts2='143.64', photon_index='2.02' WHERE bin_id='1766' AND source_name='4FGL J2253.9+1609' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Feb  6 01:47:20 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0083>
Subject: Job 862151: <4FGL_J2253.9+1609_daily_bin1766> in cluster <slac> Done

Job <4FGL_J2253.9+1609_daily_bin1766> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Mon Feb  6 01:35:21 2023
Job was executed on host(s) <bullet0083>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Feb  6 01:37:00 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Feb  6 01:37:00 2023
Terminated at Mon Feb  6 01:47:21 2023
Results reported at Mon Feb  6 01:47:21 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2253.9+1609_daily_bin1766 343.496 16.1506 697075201 697334401 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 :                                   571.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             291.45 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   620 sec.
    Turnaround time :                            720 sec.

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

