/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 126 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 = 7435
number of fields = 29
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2243.8-2510_daily_bin569
RA = 340.957, Dec = -25.1701
tmin = 386812801, tmax = 387072001
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='441947', job_status='RUN', time_executed='2021-09-28 18:53:02.126517', time_epoch_executed='1632880382.13' WHERE source_name='4FGL J2243.8-2510' and cadence='daily' and bin_id='569'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/441947

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/441947/ft1_4FGL_J2243.8-2510_daily_bin569.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/441947/ft2_4FGL_J2243.8-2510_daily_bin569.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/441947/ft1_4FGL_J2243.8-2510_daily_bin569.fits outfile=/scratch/kocevski/441947/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin569.fits ra=340.957 dec=-25.1701 rad=12.0 tmin=386812801.0 tmax=387072001.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.53
user 3.27
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/441947/ft2_4FGL_J2243.8-2510_daily_bin569.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/441947/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin569.fits evtable="EVENTS" outfile="/scratch/kocevski/441947/ft1_filtered_4FGL_J2243.8-2510_daily_bin569.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.48
user 0.33
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/441947/ft1_filtered_4FGL_J2243.8-2510_daily_bin569.fits" evtable="EVENTS" scfile=/scratch/kocevski/441947/ft2_4FGL_J2243.8-2510_daily_bin569.fits sctable="SC_DATA" outfile=/scratch/kocevski/441947/ltcube_386812801_387072001_4FGL_J2243.8-2510_daily_bin569.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/441947/ft2_4FGL_J2243.8-2510_daily_bin569.fits
.....................!
real 11.84
user 11.49
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/441947/ft1_filtered_4FGL_J2243.8-2510_daily_bin569.fits evtable="EVENTS" scfile=/scratch/kocevski/441947/ft2_4FGL_J2243.8-2510_daily_bin569.fits sctable="SC_DATA" expcube=/scratch/kocevski/441947/ltcube_386812801_387072001_4FGL_J2243.8-2510_daily_bin569.fits outfile=/scratch/kocevski/441947/expmap_386812801_387072001_4FGL_J2243.8-2510_daily_bin569.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/441947/ltcube_386812801_387072001_4FGL_J2243.8-2510_daily_bin569.fits
.....................!
real 189.44
user 185.01
sys 4.12

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/441947/ft1_filtered_4FGL_J2243.8-2510_daily_bin569.fits scfile=/scratch/kocevski/441947/ft2_4FGL_J2243.8-2510_daily_bin569.fits outfile=/scratch/kocevski/441947/cmap_386812801_387072001_4FGL_J2243.8-2510_daily_bin569.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/441947/ft1_filtered_4FGL_J2243.8-2510_daily_bin569.fits scfile=/scratch/kocevski/441947/ft2_4FGL_J2243.8-2510_daily_bin569.fits outfile=/scratch/kocevski/441947/cmap_HighResolution_386812801_387072001_4FGL_J2243.8-2510_daily_bin569.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.53
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/441947/ft1_filtered_4FGL_J2243.8-2510_daily_bin569.fits evtable="EVENTS" scfile=/scratch/kocevski/441947/ft2_4FGL_J2243.8-2510_daily_bin569.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/441947/Model_4FGL_J2243.8-2510_daily_bin569.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/441947/ft1_filtered_4FGL_J2243.8-2510_daily_bin569.fits.....................!
real 50.42
user 49.11
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    234.85       1.0000         .10000E-03   10000.    
     2 'norm      '    1.1610       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10169E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10103E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .11161E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.4440       1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.8443       1.0000         .10000E-03   10000.    
    10 'norm      '    .78465       1.0000         .10000E-03   10000.    
    11 'norm      '    1.0115       1.0000         .10000E-03   10000.    
    12 'Prefactor '    147.66       1.0000         .10000E-03   10000.    
    13 'Prefactor '    13.018       1.0000         .10000E-03   10000.    
    14 'norm      '    6.5045       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10275E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    14.319       1.0000         .10000E-03   10000.    
    17 'norm      '    1.4714       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    10.805       1.0000         .10000E-03   10000.    
    21 'norm      '    1.2624       1.0000         .10000E-03   10000.    
    22 'Prefactor '    5.1844       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .63929       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1455       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=   6428.627     FROM MIGRAD    STATUS=CONVERGED    527 CALLS     2760 TOTAL
                     EDM=   .66E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     234.87        101.53       -.78250E-06    .15192E-04
   2  norm          1.1610        .42005        .20117E-07    .24463E-03
   3  Prefactor     .10000E-03    7.5081       -.39268E-06** at limit **
   4  Prefactor     .10000E-03    6.0082        .34207E-07** at limit **
   5  Prefactor     .10000E-03    7.1501        .31270E-07** at limit **
   6  Prefactor     .10000E-03    67.248       -.19409E-06** at limit **
   7  norm          .10000E-03    4.6942        .10525E-06** at limit **
   8  Prefactor     8.4446        18.529        .50487E-06   -.32390E-04
   9  Prefactor     1.8353        19.419        .11355E-04   -.93823E-05
  10  norm          .78428        .64386       -.40384E-08   -.95946E-04
  11  norm          1.0124        1.3730        .18927E-06    .84960E-05
  12  Prefactor     147.69        58.506       -.32473E-05   -.25908E-04
  13  Prefactor     13.018        13.351        .32814E-06    .11197E-04
  14  norm          6.5020        5.2137        .19932E-06   -.78022E-04
  15  Prefactor     .10000E-03    9.7037       -.74330E-07** at limit **
  16  Prefactor     14.343        15.404        .38549E-06    .21464E-04
  17  norm          1.4716        .98187        .27601E-07    .79326E-03
  18  Prefactor     .10000E-03    22.379       -.79902E-07** at limit **
  19  Prefactor     .10000E-03    2.5203       -.40645E-07** at limit **
  20  Prefactor     10.785        13.625       -.23533E-06   -.30964E-04
  21  norm          1.2624        1.4991       -.42728E-08   -.63467E-05
  22  Prefactor     5.1857        19.793        .15194E-05   -.20277E-04
  23  Normalizat    .63844        .19298       -.17724E-05    .17557E-04
  24  Prefactor     1.1463        .17008        .70534E-06    .13714E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 234.865
  norm       = 1.16097
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 8.44462
  Prefactor  = 1.83527
  norm       = 0.784276
  norm       = 1.01245
  Prefactor  = 147.693
  Prefactor  = 13.018
  norm       = 6.50204
  Prefactor  = 0.0001
  Prefactor  = 14.3426
  norm       = 1.47158
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.7846
  norm       = 1.26243
  Prefactor  = 5.18575
  Normalizat = 0.638436
  Prefactor  = 1.14627
 **********
 **   18 **HESSE 
 **********

 FCN=   6428.627     FROM HESSE     STATUS=OK           403 CALLS     3163 TOTAL
                     EDM=   .53E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     234.87        101.39        .13207E-03   -1.2631    
   2  norm          1.1610        .41901        .30033E-04   -1.5492    
   3  Prefactor     .10000E-03    7.5499        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    6.0145        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    7.3404        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    67.718        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    4.6957        .16968E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     8.4446        18.535        .68978E-03   -1.5127    
   9  Prefactor     1.8353        19.597        .15355E-02   -1.5437    
  10  norm          .78428        .63605        .56464E-04   -1.5531    
  11  norm          1.0124        1.3726        .26228E-03   -1.5507    
  12  Prefactor     147.69        58.784        .16582E-03   -1.3271    
  13  Prefactor     13.018        13.427        .11102E-03   -1.4986    
  14  norm          6.5020        5.1947        .70914E-03   -1.5198    
  15  Prefactor     .10000E-03    9.7219        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     14.343        15.560        .10585E-03   -1.4950    
  17  norm          1.4716        .98748        .46584E-04   -1.5465    
  18  Prefactor     .10000E-03    22.383        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    2.5228        .12431E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     10.785        13.515        .12189E-03   -1.5051    
  21  norm          1.2624        1.4889        .10400E-03   -1.5483    
  22  Prefactor     5.1857        19.786        .88276E-03   -1.5252    
  23  Normalizat    .63844        .22575        .30397E-03   -1.0638    
  24  Prefactor     1.1463        .20133        .21894E-03   -.88001    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.30208e-10
Minuit parameter uncertainties:
  1  101.468
  2  0.419015
  3  1.89481e-05
  4  8.00236e-06
  5  6.79918e-05
  6  0.000161195
  7  1.31392e-05
  8  18.5475
  9  11.9989
  10  0.636053
  11  1.37268
  12  58.8071
  13  13.4297
  14  5.19505
  15  2.81662e-05
  16  15.5639
  17  0.987493
  18  1.42259e-05
  19  3.43004e-06
  20  13.5191
  21  1.4889
  22  19.8106
  23  0.226082
  24  0.201465
Done.

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

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  1.477e+02  5.881e+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:  1.146e+00  2.015e-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:  6.384e-01  2.261e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 13.28
Ra Dec: 340.957 -25.170
Photon Index (Fixed Index): 2.71 +/- 0.00
Photon Flux (Fixed Index): 1.53e-07 +/- 6.09e-08
Energy Flux (Fixed Index): 3.67e-05 +/- 1.46e-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) = 6428.02748234
delta logL = 0.599436292171

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6428.02657557
delta logL = 0.600343067591

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    65.301       1.0000         .10000E-03   10000.    
     2 'Index     '    3.4281       1.0000          .0000       10.000    
     3 'Normalizat'    .58703       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1856       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=   6428.027     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      289 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     65.336        80.208        .49663E-04   -.50453E-03
   2  Index         3.4276        .85363        .35351E-02   -.19638E-03
   3  Normalizat    .58688        .21566        .31574E-03   -.12872E-03
   4  Prefactor     1.1859        .20039        .21577E-03    .26819E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 65.336
  Index      = 3.42755
  Normalizat = 0.586884
  Prefactor  = 1.18591
 **********
 **   18 **HESSE 
 **********

 FCN=   6428.027     FROM HESSE     STATUS=OK            25 CALLS      314 TOTAL
                     EDM=   .90E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     65.336        62.446        .99327E-05   -1.4090    
   2  Index         3.4276        .66513        .14140E-03   -.31992    
   3  Normalizat    .58688        .21496        .12629E-04   -1.0854    
   4  Prefactor     1.1859        .19964        .43153E-04   -.86766    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.96077e-10
Minuit parameter uncertainties:
  1  62.509
  2  0.667325
  3  0.215268
  4  0.199769
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/441947': 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) = 6428.0265718
delta logL = 0.600346834754

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  6.534e+01  6.251e+01  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  3.428e+00  6.673e-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:  1.186e+00  1.998e-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:  5.869e-01  2.153e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 15.04
Ra Dec: 340.957 -25.170
Photon Index (Free Index): 3.43 +/- 0.67
Photon Flux (Free Index): 1.89e-07 +/- 6.79e-08
Energy Flux (Free Index): 3.21e-05 +/- 1.13e-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/441947/cmap_HighResolution_386812801_387072001_4FGL_J2243.8-2510_daily_bin569.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.53e-07', energy_flux2='3.21e-05', photon_flux_error='6.09e-08', dlogl='6.00e-01', energy_flux='3.67e-05', photon_flux2='1.89e-07', job_status='DONE', time_completed='2021-09-28 19:02:58.314335', photon_index_error2='0.67', photon_index2='3.43', ts='13.28', fit_tolerance='1e-08', GAL='1.15', photon_index_error='0.00', energy_flux_error2='1.13e-05', EG='0.64', time_epoch_completed='1632880978.31', return_code='0', job_id='441947', GAL2='1.19', EG2='0.59', return_code2='0', energy_flux_error='1.46e-05', photon_flux_error2='6.79e-08', ts2='15.04', photon_index='2.71' WHERE bin_id='569' AND source_name='4FGL J2243.8-2510' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 19:02:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0252>
Subject: Job 441947: <4FGL_J2243.8-2510_daily_bin569> in cluster <slac> Done

Job <4FGL_J2243.8-2510_daily_bin569> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep 28 18:50:45 2021
Job was executed on host(s) <bullet0252>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 18:50:48 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 18:50:48 2021
Terminated at Tue Sep 28 19:02:59 2021
Results reported at Tue Sep 28 19:02:59 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.8-2510_daily_bin569 340.957 -25.1701 386812801 387072001 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 :                                   595.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             319.22 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   730 sec.
    Turnaround time :                            734 sec.

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

