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


Performing analysis on: 4FGL_J2243.8-2510_daily_bin1666
RA = 340.957, Dec = -25.1701
tmin = 671155201, tmax = 671414401
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='414523', job_status='RUN', time_executed='2022-04-12 00:37:12.570590', time_epoch_executed='1649749032.57' WHERE source_name='4FGL J2243.8-2510' and cadence='daily' and bin_id='1666'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/414523

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/414523/ft1_4FGL_J2243.8-2510_daily_bin1666.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/414523/ft2_4FGL_J2243.8-2510_daily_bin1666.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/414523/ft1_4FGL_J2243.8-2510_daily_bin1666.fits outfile=/scratch/kocevski/414523/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin1666.fits ra=340.957 dec=-25.1701 rad=12.0 tmin=671155201.0 tmax=671414401.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 5.26
user 4.98
sys 0.24

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

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

Number of photons that the gtmktime cut: 779

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/414523/ft1_filtered_4FGL_J2243.8-2510_daily_bin1666.fits" evtable="EVENTS" scfile=/scratch/kocevski/414523/ft2_4FGL_J2243.8-2510_daily_bin1666.fits sctable="SC_DATA" outfile=/scratch/kocevski/414523/ltcube_671155201_671414401_4FGL_J2243.8-2510_daily_bin1666.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/414523/ft2_4FGL_J2243.8-2510_daily_bin1666.fits
.....................!
real 11.65
user 11.30
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/414523/ft1_filtered_4FGL_J2243.8-2510_daily_bin1666.fits evtable="EVENTS" scfile=/scratch/kocevski/414523/ft2_4FGL_J2243.8-2510_daily_bin1666.fits sctable="SC_DATA" expcube=/scratch/kocevski/414523/ltcube_671155201_671414401_4FGL_J2243.8-2510_daily_bin1666.fits outfile=/scratch/kocevski/414523/expmap_671155201_671414401_4FGL_J2243.8-2510_daily_bin1666.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/414523/ltcube_671155201_671414401_4FGL_J2243.8-2510_daily_bin1666.fits
.....................!
real 189.54
user 185.05
sys 4.19

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/414523/ft1_filtered_4FGL_J2243.8-2510_daily_bin1666.fits scfile=/scratch/kocevski/414523/ft2_4FGL_J2243.8-2510_daily_bin1666.fits outfile=/scratch/kocevski/414523/cmap_671155201_671414401_4FGL_J2243.8-2510_daily_bin1666.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.54
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/414523/ft1_filtered_4FGL_J2243.8-2510_daily_bin1666.fits scfile=/scratch/kocevski/414523/ft2_4FGL_J2243.8-2510_daily_bin1666.fits outfile=/scratch/kocevski/414523/cmap_HighResolution_671155201_671414401_4FGL_J2243.8-2510_daily_bin1666.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.55
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/414523/ft1_filtered_4FGL_J2243.8-2510_daily_bin1666.fits evtable="EVENTS" scfile=/scratch/kocevski/414523/ft2_4FGL_J2243.8-2510_daily_bin1666.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/414523/Model_4FGL_J2243.8-2510_daily_bin1666.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/414523/ft1_filtered_4FGL_J2243.8-2510_daily_bin1666.fits.....................!
real 62.22
user 60.87
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/414523/ft1_filtered_4FGL_J2243.8-2510_daily_bin1666.fits', '/scratch/kocevski/414523/ft2_4FGL_J2243.8-2510_daily_bin1666.fits', expMap='/scratch/kocevski/414523/expmap_671155201_671414401_4FGL_J2243.8-2510_daily_bin1666.fits', expCube='/scratch/kocevski/414523/ltcube_671155201_671414401_4FGL_J2243.8-2510_daily_bin1666.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/414523/Model_4FGL_J2243.8-2510_daily_bin1666.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/414523/ft1_filtered_4FGL_J2243.8-2510_daily_bin1666.fits
Spacecraft file(s): /scratch/kocevski/414523/ft2_4FGL_J2243.8-2510_daily_bin1666.fits
Exposure map: /scratch/kocevski/414523/expmap_671155201_671414401_4FGL_J2243.8-2510_daily_bin1666.fits
Exposure cube: /scratch/kocevski/414523/ltcube_671155201_671414401_4FGL_J2243.8-2510_daily_bin1666.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/414523/Model_4FGL_J2243.8-2510_daily_bin1666.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) = 8435.29582171

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10659E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .71446       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    87.103       1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    11.231       1.0000         .10000E-03   10000.    
     9 'Prefactor '    13.769       1.0000         .10000E-03   10000.    
    10 'norm      '    3.1038       1.0000         .10000E-03   10000.    
    11 'norm      '    .49522       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.6790       1.0000         .10000E-03   10000.    
    14 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    25.318       1.0000         .10000E-03   10000.    
    16 'Prefactor '    21.316       1.0000         .10000E-03   10000.    
    17 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .36822E-01   1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.3163       1.0000         .10000E-03   10000.    
    21 'norm      '    15.536       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .89818       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .97860       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.

 FCN=   8435.291     FROM MIGRAD    STATUS=CONVERGED    588 CALLS     2794 TOTAL
                     EDM=   .85E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    163.92        .36189E-05** at limit **
   2  norm          .71440        .26351       -.73706E-08   -.51677E-04
   3  Prefactor     .10000E-03    7.4961       -.18369E-06** at limit **
   4  Prefactor     .10000E-03    5.7288        .16408E-07** at limit **
   5  Prefactor     .10000E-03    1.6556        .40731E-07** at limit **
   6  Prefactor     87.102        55.668       -.20575E-05    .28476E-05
   7  norm          .10000E-03    8.1301        .31313E-06** at limit **
   8  Prefactor     11.231        10.926       -.12894E-06    .94944E-05
   9  Prefactor     13.769        10.165       -.17770E-05   -.16730E-04
  10  norm          3.1039        .93999        .21409E-07    .26342E-04
  11  norm          .49490        1.1631       -.38512E-06   -.20896E-02
  12  Prefactor     .10000E-03    11.030        .15179E-06** at limit **
  13  Prefactor     3.6786        8.9555        .15439E-05   -.23814E-03
  14  norm          .10000E-03    1.2528       -.42565E-07** at limit **
  15  Prefactor     25.318        18.950        .99894E-05   -.19712E-03
  16  Prefactor     21.309        11.602       -.45833E-05   -.27181E-03
  17  norm          .10000E-03    .29216        .10771E-06** at limit **
  18  Prefactor     .10000E-03    24.109        .24921E-07** at limit **
  19  Prefactor     .10391E-03    4.2216       -.15249E-06** at limit **
  20  Prefactor     3.3172        7.3960       -.55689E-06   -.39961E-03
  21  norm          15.536        3.9475       -.16623E-07    .19399E-04
  22  Prefactor     .10000E-03    8.9617       -.22061E-06** at limit **
  23  Normalizat    .89823        .16103        .19757E-05   -.14450E-03
  24  Prefactor     .97857        .14445       -.91271E-06    .78105E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.714396
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 87.1017
  norm       = 0.0001
  Prefactor  = 11.2311
  Prefactor  = 13.7688
  norm       = 3.10389
  norm       = 0.494901
  Prefactor  = 0.0001
  Prefactor  = 3.67859
  norm       = 0.0001
  Prefactor  = 25.3183
  Prefactor  = 21.309
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000103913
  Prefactor  = 3.31722
  norm       = 15.5356
  Prefactor  = 0.0001
  Normalizat = 0.898228
  Prefactor  = 0.978569
 **********
 **   18 **HESSE 
 **********

 FCN=   8435.291     FROM HESSE     STATUS=OK           411 CALLS     3205 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    165.58        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .71440        .26369        .27843E-04   -1.5539    
   3  Prefactor     .10000E-03    7.6341        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    5.7405        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    1.6721        .11540E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     87.102        55.670        .43048E-04   -1.3839    
   7  norm          .10000E-03    8.1662        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     11.231        10.929        .11954E-03   -1.5038    
   9  Prefactor     13.769        10.153        .10794E-03   -1.4966    
  10  norm          3.1039        .94027        .46917E-04   -1.5356    
  11  norm          .49490        .96416        .14866E-02   -1.5567    
  12  Prefactor     .10000E-03    11.040        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     3.6786        8.9358        .21057E-03   -1.5324    
  14  norm          .10000E-03    1.2619        .10024E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     25.318        18.676        .79612E-04   -1.4701    
  16  Prefactor     21.309        10.755        .86755E-04   -1.4784    
  17  norm          .10000E-03    1.3719        .81626E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    24.127        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10391E-03    6.9162        .62767E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     3.3172        7.3185        .22229E-03   -1.5344    
  21  norm          15.536        3.9502        .89140E-04   -1.4919    
  22  Prefactor     .10000E-03    8.9682        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .89823        .19215        .26053E-03   -.96522    
  24  Prefactor     .97857        .17252        .23531E-03   -.93447    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.16679e-09
Minuit parameter uncertainties:
  1  0.000215112
  2  0.263686
  3  1.02922e-05
  4  8.61622e-07
  5  1.48236e-06
  6  55.7038
  7  5.04649e-06
  8  10.9306
  9  10.1545
  10  0.940277
  11  0.964189
  12  3.06819e-05
  13  8.939
  14  1.64983e-06
  15  18.6802
  16  10.7562
  17  1.37765e-05
  18  7.37928e-06
  19  0.0104051
  20  7.32049
  21  3.95022
  22  2.88811e-07
  23  0.192295
  24  0.172614
Done.

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

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  1.000e-04  3.068e-05  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.786e-01  1.726e-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.982e-01  1.923e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 340.957 -25.170
Photon Flux Upper Limit: 5.07e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.99e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/414523/likelihoodResults_671155201_671414401_4FGL_J2243.8-2510_daily_bin1666.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): 102
logL (Free Index) = 8435.29117997
delta logL = -0.000431587861385

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8435.29075266
delta logL = -4.28243947681e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14544E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.6918       1.0000          .0000       10.000    
     3 'Normalizat'    .89785       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97887       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=   8435.291     FROM MIGRAD    STATUS=CONVERGED    104 CALLS      255 TOTAL
                     EDM=   .20E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    62.382        .18142E-01** at limit **
   2  Index         2.1509        7.4111        .50000        .69849E-07
   3  Normalizat    .89823        .80688E-02    .26053E-03   -.95129E-05
   4  Prefactor     .97857        .76166E-02    .23531E-03   -.11885E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.15092
  Normalizat = 0.89823
  Prefactor  = 0.978567
 **********
 **   18 **HESSE 
 **********

 FCN=   8435.291     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      284 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    387.47        .32566E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1509        8.4944        .50000       -.60628    
   3  Normalizat    .89823        .20765E-01    .10421E-04   -.96522    
   4  Prefactor     .97857        .19601E-01    .94125E-05   -.93447    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.2621e-10
Minuit parameter uncertainties:
  1  0.00026887
  2  1258.52
  3  0.0207647
  4  0.0196014
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/414523': 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): 102
logL (Free Index) = 8435.29074764
delta logL = 7.40867108107e-07

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  1.000e-04  2.689e-04  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  2.151e+00  1.259e+03  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.786e-01  1.960e-02  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.982e-01  2.076e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 340.957 -25.170

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/414523/cmap_HighResolution_671155201_671414401_4FGL_J2243.8-2510_daily_bin1666.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.99e-03', job_status='DONE', photon_flux_upper_limit='5.07e-08', time_completed='2022-04-12 00:50:09.469108', job_id='414523', GAL2='0.98', fit_tolerance='1e-08', EG2='0.90', EG='0.90', time_epoch_completed='1649749809.47', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='7.41e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.71' WHERE bin_id='1666' AND source_name='4FGL J2243.8-2510' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Apr 12 00:50:09 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0268>
Subject: Job 414523: <4FGL_J2243.8-2510_daily_bin1666> in cluster <slac> Done

Job <4FGL_J2243.8-2510_daily_bin1666> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Apr 12 00:35:40 2022
Job was executed on host(s) <bullet0268>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Apr 12 00:35:41 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Apr 12 00:35:41 2022
Terminated at Tue Apr 12 00:50:10 2022
Results reported at Tue Apr 12 00:50:10 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.8-2510_daily_bin1666 340.957 -25.1701 671155201 671414401 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 :                                   779.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             304.11 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   868 sec.
    Turnaround time :                            870 sec.

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

