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


Performing analysis on: 4FGL_J2243.8-2510_daily_bin1677
RA = 340.957, Dec = -25.1701
tmin = 674006401, tmax = 674265601
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='170638', job_status='RUN', time_executed='2022-05-15 01:11:34.667776', time_epoch_executed='1652602294.67' WHERE source_name='4FGL J2243.8-2510' and cadence='daily' and bin_id='1677'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/170638

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/170638/ft1_4FGL_J2243.8-2510_daily_bin1677.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/170638/ft2_4FGL_J2243.8-2510_daily_bin1677.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/170638/ft1_4FGL_J2243.8-2510_daily_bin1677.fits outfile=/scratch/kocevski/170638/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin1677.fits ra=340.957 dec=-25.1701 rad=12.0 tmin=674006401.0 tmax=674265601.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 4.69
user 4.43
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/170638/ft2_4FGL_J2243.8-2510_daily_bin1677.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/170638/ft2_4FGL_J2243.8-2510_daily_bin1677.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/170638/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin1677.fits evtable="EVENTS" outfile="/scratch/kocevski/170638/ft1_filtered_4FGL_J2243.8-2510_daily_bin1677.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.35
sys 0.17

Number of photons that the gtmktime cut: 419

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/170638/ft1_filtered_4FGL_J2243.8-2510_daily_bin1677.fits" evtable="EVENTS" scfile=/scratch/kocevski/170638/ft2_4FGL_J2243.8-2510_daily_bin1677.fits sctable="SC_DATA" outfile=/scratch/kocevski/170638/ltcube_674006401_674265601_4FGL_J2243.8-2510_daily_bin1677.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/170638/ft2_4FGL_J2243.8-2510_daily_bin1677.fits
.....................!
real 15.44
user 14.87
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/170638/ft1_filtered_4FGL_J2243.8-2510_daily_bin1677.fits evtable="EVENTS" scfile=/scratch/kocevski/170638/ft2_4FGL_J2243.8-2510_daily_bin1677.fits sctable="SC_DATA" expcube=/scratch/kocevski/170638/ltcube_674006401_674265601_4FGL_J2243.8-2510_daily_bin1677.fits outfile=/scratch/kocevski/170638/expmap_674006401_674265601_4FGL_J2243.8-2510_daily_bin1677.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/170638/ltcube_674006401_674265601_4FGL_J2243.8-2510_daily_bin1677.fits
.....................!
real 196.40
user 186.77
sys 6.05

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 164 point sources and 0 extended sources

Setting source of interest to:
4FGL J2243.8-2510 @ 340.957 -25.1701

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/170638/ft1_filtered_4FGL_J2243.8-2510_daily_bin1677.fits scfile=/scratch/kocevski/170638/ft2_4FGL_J2243.8-2510_daily_bin1677.fits outfile=/scratch/kocevski/170638/cmap_674006401_674265601_4FGL_J2243.8-2510_daily_bin1677.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=340.957 yref=-25.1701 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.39
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/170638/ft1_filtered_4FGL_J2243.8-2510_daily_bin1677.fits scfile=/scratch/kocevski/170638/ft2_4FGL_J2243.8-2510_daily_bin1677.fits outfile=/scratch/kocevski/170638/cmap_HighResolution_674006401_674265601_4FGL_J2243.8-2510_daily_bin1677.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=340.957 yref=-25.1701 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.63
user 0.39
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/170638/ft1_filtered_4FGL_J2243.8-2510_daily_bin1677.fits evtable="EVENTS" scfile=/scratch/kocevski/170638/ft2_4FGL_J2243.8-2510_daily_bin1677.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/170638/Model_4FGL_J2243.8-2510_daily_bin1677.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/170638/ft1_filtered_4FGL_J2243.8-2510_daily_bin1677.fits.....................!
real 43.28
user 41.37
sys 1.31

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/170638/ft1_filtered_4FGL_J2243.8-2510_daily_bin1677.fits', '/scratch/kocevski/170638/ft2_4FGL_J2243.8-2510_daily_bin1677.fits', expMap='/scratch/kocevski/170638/expmap_674006401_674265601_4FGL_J2243.8-2510_daily_bin1677.fits', expCube='/scratch/kocevski/170638/ltcube_674006401_674265601_4FGL_J2243.8-2510_daily_bin1677.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/170638/Model_4FGL_J2243.8-2510_daily_bin1677.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2243.8-2510'

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  7.852e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  2.707e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
270        Scale:  6.765e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/170638/ft1_filtered_4FGL_J2243.8-2510_daily_bin1677.fits
Spacecraft file(s): /scratch/kocevski/170638/ft2_4FGL_J2243.8-2510_daily_bin1677.fits
Exposure map: /scratch/kocevski/170638/expmap_674006401_674265601_4FGL_J2243.8-2510_daily_bin1677.fits
Exposure cube: /scratch/kocevski/170638/ltcube_674006401_674265601_4FGL_J2243.8-2510_daily_bin1677.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/170638/Model_4FGL_J2243.8-2510_daily_bin1677.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 4712.51939651

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    17.614       1.0000         .10000E-03   10000.    
     2 'norm      '    .92444       1.0000         .10000E-03   10000.    
     3 'Prefactor '    16.449       1.0000         .10000E-03   10000.    
     4 'Prefactor '    49.110       1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.0384       1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.9666       1.0000         .10000E-03   10000.    
     7 'norm      '    4.5898       1.0000         .10000E-03   10000.    
     8 'Prefactor '    29.703       1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.1633       1.0000         .10000E-03   10000.    
    10 'norm      '    4.0031       1.0000         .10000E-03   10000.    
    11 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    65.655       1.0000         .10000E-03   10000.    
    13 'Prefactor '    46.536       1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    29.595       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .15441E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    1.4627       1.0000         .10000E-03   10000.    
    18 'Prefactor '    81.320       1.0000         .10000E-03   10000.    
    19 'Prefactor '    13.486       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10868E-01   1.0000         .10000E-03   10000.    
    21 'norm      '    .89650       1.0000         .10000E-03   10000.    
    22 'Prefactor '    2.8117       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .81047       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .97923       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5290E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4708.150     FROM MIGRAD    STATUS=CONVERGED   1068 CALLS     2532 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     27.009        68.097        .95431E-04    .14176E-04
   2  norm          .92061        .40378        .27935E-04   -.33331E-03
   3  Prefactor     16.308        14.464        .98753E-04   -.17614E-04
   4  Prefactor     49.651        30.204        .57223E-04   -.25828E-05
   5  Prefactor     1.0803        6.3640        .33683E-03    .13008E-03
   6  Prefactor     8.9988        216.97        .16439E-03    .22822E-05
   7  norm          3.6947        44.474        .18788E-03    .18758E-05
   8  Prefactor     29.518        22.708        .73513E-04   -.89387E-05
   9  Prefactor     2.3339        22.822        .28004E-03    .40922E-04
  10  norm          3.9957        1.4121        .45945E-04   -.22393E-03
  11  norm          .10000E-03    2.2769        .15803E-02** at limit **
  12  Prefactor     64.704        53.228        .24765E-03    .10205E-03
  13  Prefactor     46.419        17.921        .58777E-04    .75048E-04
  14  norm          .10000E-03    1.4635        .80977E-03** at limit **
  15  Prefactor     29.913        18.077        .73648E-04    .36152E-03
  16  Prefactor     .10000E-03    17.850        .36285E-03** at limit **
  17  norm          1.4623        .74976        .39360E-04    .21247E-02
  18  Prefactor     80.311        84.685        .22270E-03    .16847E-04
  19  Prefactor     13.324        16.955        .10907E-03   -.35439E-05
  20  Prefactor     .10009E-03    37.779        .36677E-02** at limit **
  21  norm          .99905        4.2648        .25556E-03    .14164E-03
  22  Prefactor     .10000E-03    55.572        .14631    ** at limit **
  23  Normalizat    .81210        .27134        .28985E-03    .11767E-05
  24  Prefactor     .97649        .23782        .24243E-03    .11330E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 27.0088
  norm       = 0.920613
  Prefactor  = 16.3084
  Prefactor  = 49.6513
  Prefactor  = 1.08034
  Prefactor  = 8.99876
  norm       = 3.69474
  Prefactor  = 29.518
  Prefactor  = 2.33389
  norm       = 3.99571
  norm       = 0.0001
  Prefactor  = 64.7042
  Prefactor  = 46.4187
  norm       = 0.0001
  Prefactor  = 29.9133
  Prefactor  = 0.0001
  norm       = 1.46227
  Prefactor  = 80.3109
  Prefactor  = 13.3242
  Prefactor  = 0.000100091
  norm       = 0.999051
  Prefactor  = 0.000100003
  Normalizat = 0.812104
  Prefactor  = 0.976487
 **********
 **   18 **HESSE 
 **********

 FCN=   4708.150     FROM HESSE     STATUS=OK           383 CALLS     2915 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     27.009        68.044        .38173E-05   -1.4668    
   2  norm          .92061        .40378        .11174E-05   -1.5516    
   3  Prefactor     16.308        14.464        .39501E-05   -1.4900    
   4  Prefactor     49.651        30.197        .22889E-05   -1.4298    
   5  Prefactor     1.0803        6.3628        .13473E-04   -1.5500    
   6  Prefactor     8.9988        216.90        .65755E-05   -1.5108    
   7  norm          3.6947        44.445        .75154E-05   -1.5324    
   8  Prefactor     29.518        22.708        .14703E-04   -1.4621    
   9  Prefactor     2.3339        22.788        .11201E-04   -1.5402    
  10  norm          3.9957        1.4120        .18378E-05   -1.5308    
  11  norm          .10000E-03    2.2784        .31606E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     64.704        53.163        .99060E-05   -1.4097    
  13  Prefactor     46.419        17.922        .11755E-04   -1.4344    
  14  norm          .10000E-03    1.4635        .16195E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     29.913        18.074        .14730E-04   -1.4614    
  16  Prefactor     .10000E-03    17.850        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.4623        .74952        .78721E-05   -1.5466    
  18  Prefactor     80.311        84.685        .89079E-05   -1.3913    
  19  Prefactor     13.324        16.954        .43629E-05   -1.4978    
  20  Prefactor     .10009E-03    38.052        .73354E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .99905        4.2668        .10222E-04   -1.5508    
  22  Prefactor     .10000E-03    60.337        .13811       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .81210        .27165        .11594E-04   -.99621    
  24  Prefactor     .97649        .23808        .96971E-05   -.93517    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.83744e-09
Minuit parameter uncertainties:
  1  68.24
  2  0.403778
  3  14.4671
  4  30.2068
  5  5.24425
  6  88.722
  7  25.6525
  8  22.7142
  9  14.5926
  10  1.41206
  11  1.33333e-06
  12  53.2023
  13  17.9241
  14  7.83496e-07
  15  18.0772
  16  8.43201e-05
  17  0.749528
  18  84.8124
  19  16.9596
  20  0.00372961
  21  4.12958
  22  0.000813192
  23  0.272102
  24  0.238331
Done.

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

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  6.470e+01  5.320e+01  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  2.707e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
270        Scale:  6.765e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
526    Prefactor:  9.765e-01  2.383e-01  0.000e+00  1.000e+01 ( 1.000e+00)
527        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
528        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
525   Normalization:  8.121e-01  2.721e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.93
Ra Dec: 340.957 -25.170
Photon Index (Fixed Index): 2.71 +/- 0.00
Photon Flux (Fixed Index): 6.71e-08 +/- 5.51e-08
Energy Flux (Fixed Index): 1.61e-05 +/- 1.32e-05

TS (Fixed Index): 2.93
Ra Dec: 340.957 -25.170
Photon Flux Upper Limit: 1.80e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.42e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/170638/likelihoodResults_674006401_674265601_4FGL_J2243.8-2510_daily_bin1677.txt

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) = 4708.06725271
delta logL = 0.0825141190326

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4708.06429466
delta logL = 0.0854721619044

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    50.506       1.0000         .10000E-03   10000.    
     2 'Index     '    3.0545       1.0000          .0000       10.000    
     3 'Normalizat'    .79065       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98975       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5290E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4708.064     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      287 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     50.507        59.681        .56430E-04   -.92674E-05
   2  Index         3.0552        .94520        .62311E-02    .28398E-03
   3  Normalizat    .79091        .26092        .29321E-03    .38036E-04
   4  Prefactor     .98952        .23372        .24099E-03    .33682E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 50.507
  Index      = 3.05518
  Normalizat = 0.790912
  Prefactor  = 0.989523
 **********
 **   18 **HESSE 
 **********

 FCN=   4708.064     FROM HESSE     STATUS=OK            25 CALLS      312 TOTAL
                     EDM=   .40E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     50.507        55.570        .22572E-05   -1.4285    
   2  Index         3.0552        .88008        .12462E-02   -.39951    
   3  Normalizat    .79091        .26084        .11728E-04   -1.0041    
   4  Prefactor     .98952        .23370        .96397E-05   -.93080    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.98199e-12
Minuit parameter uncertainties:
  1  55.6274
  2  0.885529
  3  0.261252
  4  0.23394
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/170638': 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) = 4708.0642929
delta logL = 0.0854739303768

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  5.051e+01  5.563e+01  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  3.055e+00  8.855e-01  0.000e+00  1.000e+01 (-1.000e+00)
270        Scale:  6.765e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
526    Prefactor:  9.895e-01  2.339e-01  0.000e+00  1.000e+01 ( 1.000e+00)
527        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
528        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
525   Normalization:  7.909e-01  2.613e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.13
Ra Dec: 340.957 -25.170
Photon Index (Free Index): 3.06 +/- 0.89
Photon Flux (Free Index): 8.47e-08 +/- 7.09e-08
Energy Flux (Free Index): 1.65e-05 +/- 1.19e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/170638/cmap_HighResolution_674006401_674265601_4FGL_J2243.8-2510_daily_bin1677.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.42e-02', comment='SUCCESS', photon_flux='6.71e-08', energy_flux2='1.65e-05', photon_flux_error='5.51e-08', dlogl='8.55e-02', energy_flux='1.61e-05', photon_flux2='8.47e-08', job_status='DONE', time_completed='2022-05-15 01:21:10.424993', photon_index_error2='0.89', photon_index2='3.06', ts='2.93', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', photon_flux_upper_limit='1.80e-07', energy_flux_error2='1.19e-05', EG='0.81', time_epoch_completed='1652602870.43', return_code='0', job_id='170638', GAL2='0.99', EG2='0.79', return_code2='0', energy_flux_error='1.32e-05', photon_flux_error2='7.09e-08', ts2='3.13', photon_index='2.71' WHERE bin_id='1677' AND source_name='4FGL J2243.8-2510' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun May 15 01:21:10 PDT 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0146>
Subject: Job 170638: <4FGL_J2243.8-2510_daily_bin1677> in cluster <slac> Done

Job <4FGL_J2243.8-2510_daily_bin1677> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun May 15 01:05:36 2022
Job was executed on host(s) <bullet0146>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun May 15 01:10:24 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun May 15 01:10:24 2022
Terminated at Sun May 15 01:21:11 2022
Results reported at Sun May 15 01:21:11 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.8-2510_daily_bin1677 340.957 -25.1701 674006401 674265601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2243.8-2510 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   571.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             275.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   646 sec.
    Turnaround time :                            935 sec.

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

