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


Performing analysis on: 4FGL_J2243.8-2510_daily_bin540
RA = 340.957, Dec = -25.1701
tmin = 379296001, tmax = 379555201
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='441900', job_status='RUN', time_executed='2021-09-28 18:54:39.310525', time_epoch_executed='1632880479.31' WHERE source_name='4FGL J2243.8-2510' and cadence='daily' and bin_id='540'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/441900

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/441900/ft1_4FGL_J2243.8-2510_daily_bin540.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/441900/ft2_4FGL_J2243.8-2510_daily_bin540.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/441900/ft1_4FGL_J2243.8-2510_daily_bin540.fits outfile=/scratch/kocevski/441900/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin540.fits ra=340.957 dec=-25.1701 rad=12.0 tmin=379296001.0 tmax=379555201.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.68
user 4.45
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/441900/ft1_filtered_4FGL_J2243.8-2510_daily_bin540.fits" evtable="EVENTS" scfile=/scratch/kocevski/441900/ft2_4FGL_J2243.8-2510_daily_bin540.fits sctable="SC_DATA" outfile=/scratch/kocevski/441900/ltcube_379296001_379555201_4FGL_J2243.8-2510_daily_bin540.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/441900/ft2_4FGL_J2243.8-2510_daily_bin540.fits
.....................!
real 11.75
user 11.38
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/441900/ft1_filtered_4FGL_J2243.8-2510_daily_bin540.fits evtable="EVENTS" scfile=/scratch/kocevski/441900/ft2_4FGL_J2243.8-2510_daily_bin540.fits sctable="SC_DATA" expcube=/scratch/kocevski/441900/ltcube_379296001_379555201_4FGL_J2243.8-2510_daily_bin540.fits outfile=/scratch/kocevski/441900/expmap_379296001_379555201_4FGL_J2243.8-2510_daily_bin540.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/441900/ltcube_379296001_379555201_4FGL_J2243.8-2510_daily_bin540.fits
.....................!
real 190.15
user 184.84
sys 4.96

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/441900/ft1_filtered_4FGL_J2243.8-2510_daily_bin540.fits scfile=/scratch/kocevski/441900/ft2_4FGL_J2243.8-2510_daily_bin540.fits outfile=/scratch/kocevski/441900/cmap_379296001_379555201_4FGL_J2243.8-2510_daily_bin540.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.55
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/441900/ft1_filtered_4FGL_J2243.8-2510_daily_bin540.fits scfile=/scratch/kocevski/441900/ft2_4FGL_J2243.8-2510_daily_bin540.fits outfile=/scratch/kocevski/441900/cmap_HighResolution_379296001_379555201_4FGL_J2243.8-2510_daily_bin540.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.38
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/441900/ft1_filtered_4FGL_J2243.8-2510_daily_bin540.fits evtable="EVENTS" scfile=/scratch/kocevski/441900/ft2_4FGL_J2243.8-2510_daily_bin540.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/441900/Model_4FGL_J2243.8-2510_daily_bin540.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/441900/ft1_filtered_4FGL_J2243.8-2510_daily_bin540.fits.....................!
real 64.03
user 62.66
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    365.71       1.0000         .10000E-03   10000.    
     2 'norm      '    4.0756       1.0000         .10000E-03   10000.    
     3 'Prefactor '    6.6080       1.0000         .10000E-03   10000.    
     4 'Prefactor '    10.209       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .16457E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    21.092       1.0000         .10000E-03   10000.    
     9 'Prefactor '    32.857       1.0000         .10000E-03   10000.    
    10 'norm      '    .77924E-01   1.0000         .10000E-03   10000.    
    11 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    76.674       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .28975E-02   1.0000         .10000E-03   10000.    
    14 'norm      '    10.204       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .67083E-02   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .81849E-01   1.0000         .10000E-03   10000.    
    17 'norm      '    1.4075       1.0000         .10000E-03   10000.    
    18 'Prefactor '    27.161       1.0000         .10000E-03   10000.    
    19 'Prefactor '    9.8100       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .82421       1.0000         .10000E-03   10000.    
    22 'Prefactor '    1.1057       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .82059       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0630       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=   8002.168     FROM MIGRAD    STATUS=CONVERGED   1030 CALLS     3323 TOTAL
                     EDM=   .78E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     365.64        128.05        .10655E-03    .17511E-03
   2  norm          4.0758        .67508        .27206E-04    .54031E-03
   3  Prefactor     6.6073        6.4981        .15611E-03    .25780E-04
   4  Prefactor     10.209        10.698        .12540E-03   -.74158E-04
   5  Prefactor     .10000E-03    3.0866        .15287E-02** at limit **
   6  Prefactor     .10002E-03    161.72        .18142E-02** at limit **
   7  norm          .10000E-03    12.176        .18142E-02** at limit **
   8  Prefactor     21.092        15.165        .87213E-04    .58660E-05
   9  Prefactor     32.849        16.232        .69905E-04    .28607E-03
  10  norm          .77231E-01    1.6000        .10315E-02    .69122E-03
  11  norm          .10000E-03    1.0344        .17493E-03** at limit **
  12  Prefactor     76.731        48.193        .45858E-04    .34970E-03
  13  Prefactor     .10001E-03    44.079        .36196E-02** at limit **
  14  norm          10.220        4.5963        .11486E-03    .68090E-03
  15  Prefactor     .10120E-03    11.235        .78347E-01** at limit **
  16  Prefactor     .12894E-03    13.231        .51305E-01** at limit **
  17  norm          1.4133        .74023        .42143E-04    .22210E-02
  18  Prefactor     27.162        28.137        .76869E-04    .42890E-05
  19  Prefactor     9.8071        9.7508        .12794E-03    .29066E-03
  20  Prefactor     .10000E-03    13.687        .36285E-03** at limit **
  21  norm          .82207        2.8237        .26005E-03   -.12140E-03
  22  Prefactor     .92841        245.46        .85559E-02    .22674E-03
  23  Normalizat    .82128        .21498        .29351E-03    .35511E-03
  24  Prefactor     1.0625        .19693        .24474E-03    .48609E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 365.636
  norm       = 4.07579
  Prefactor  = 6.60729
  Prefactor  = 10.2091
  Prefactor  = 0.0001
  Prefactor  = 0.00010002
  norm       = 0.0001
  Prefactor  = 21.0918
  Prefactor  = 32.8494
  norm       = 0.0772314
  norm       = 0.0001
  Prefactor  = 76.7314
  Prefactor  = 0.00010001
  norm       = 10.2204
  Prefactor  = 0.000101199
  Prefactor  = 0.00012894
  norm       = 1.41329
  Prefactor  = 27.1624
  Prefactor  = 9.80713
  Prefactor  = 0.0001
  norm       = 0.822066
  Prefactor  = 0.928412
  Normalizat = 0.821282
  Prefactor  = 1.06247
 **********
 **   18 **HESSE 
 **********

 FCN=   8002.168     FROM HESSE     STATUS=OK           397 CALLS     3720 TOTAL
                     EDM=   .61E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     365.64        128.04        .21310E-04   -1.1860    
   2  norm          4.0758        .67505        .10882E-05   -1.5304    
   3  Prefactor     6.6073        6.4974        .62443E-05   -1.5194    
   4  Prefactor     10.209        10.698        .50161E-05   -1.5069    
   5  Prefactor     .10000E-03    3.0872        .30574E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10002E-03    161.77        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    12.179        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     21.092        15.164        .34885E-05   -1.4789    
   9  Prefactor     32.849        16.228        .27962E-05   -1.4561    
  10  norm          .77231E-01    1.5956        .41259E-04   -1.5652    
  11  norm          .10000E-03    1.0344        .34986E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     76.731        48.188        .91716E-05   -1.3954    
  13  Prefactor     .10001E-03    44.786        .72391E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          10.220        4.5932        .45942E-05   -1.5068    
  15  Prefactor     .10120E-03    10.743        .81058E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .12894E-03    10.800        .56802E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.4133        .73255        .16857E-05   -1.5470    
  18  Prefactor     27.162        28.141        .30748E-05   -1.4665    
  19  Prefactor     9.8071        9.7499        .51176E-05   -1.5082    
  20  Prefactor     .10000E-03    13.688        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .82207        2.7932        .10402E-04   -1.5527    
  22  Prefactor     .92841        247.35        .34224E-03   -1.5515    
  23  Normalizat    .82128        .21496        .11740E-04   -.99284    
  24  Prefactor     1.0625        .19655        .48947E-04   -.90675    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.10931e-09
Minuit parameter uncertainties:
  1  128.138
  2  0.675052
  3  6.4981
  4  10.6995
  5  2.44093e-06
  6  0.00365193
  7  2.03499e-05
  8  15.1671
  9  16.2304
  10  0.701653
  11  2.37719e-05
  12  48.2125
  13  0.0013073
  14  4.59336
  15  0.00717953
  16  0.0353655
  17  0.73255
  18  28.1549
  19  9.75151
  20  9.98051e-05
  21  2.79365
  22  30.434
  23  0.215179
  24  0.196688
Done.

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

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  7.673e+01  4.821e+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.062e+00  1.967e-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.213e-01  2.152e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.23
Ra Dec: 340.957 -25.170
Photon Index (Fixed Index): 2.71 +/- 0.00
Photon Flux (Fixed Index): 7.95e-08 +/- 4.99e-08
Energy Flux (Fixed Index): 1.90e-05 +/- 1.20e-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) = 8002.16715249
delta logL = 0.00111270852085

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8002.16589164
delta logL = 0.00237356032994

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    73.740       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7545       1.0000          .0000       10.000    
     3 'Normalizat'    .81820       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0647       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=   8002.166     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      268 TOTAL
                     EDM=   .75E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     73.788        67.248        .46755E-04    .15625E-03
   2  Index         2.7540        .75813        .73952E-02    .39839E-04
   3  Normalizat    .81796        .21193        .29404E-03   -.17318E-03
   4  Prefactor     1.0649        .19513        .24450E-03    .20394E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 73.7884
  Index      = 2.75404
  Normalizat = 0.817957
  Prefactor  = 1.06493
 **********
 **   18 **HESSE 
 **********

 FCN=   8002.166     FROM HESSE     STATUS=OK            25 CALLS      293 TOTAL
                     EDM=   .74E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     73.788        61.606        .93510E-05   -1.3988    
   2  Index         2.7540        .69364        .29581E-03   -.46586    
   3  Normalizat    .81796        .21138        .11761E-04   -.99406    
   4  Prefactor     1.0649        .19470        .48899E-04   -.90596    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.39412e-10
Minuit parameter uncertainties:
  1  61.6592
  2  0.696457
  3  0.211596
  4  0.194826
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/441900': 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) = 8002.16589052
delta logL = 0.00237468370324

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  7.379e+01  6.166e+01  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  2.754e+00  6.965e-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.065e+00  1.948e-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.180e-01  2.116e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.27
Ra Dec: 340.957 -25.170
Photon Index (Free Index): 2.75 +/- 0.70
Photon Flux (Free Index): 8.15e-08 +/- 5.46e-08
Energy Flux (Free Index): 1.88e-05 +/- 1.14e-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/441900/cmap_HighResolution_379296001_379555201_4FGL_J2243.8-2510_daily_bin540.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.95e-08', energy_flux2='1.88e-05', photon_flux_error='4.99e-08', dlogl='2.37e-03', energy_flux='1.90e-05', photon_flux2='8.15e-08', job_status='DONE', time_completed='2021-09-28 19:07:02.500344', photon_index_error2='0.70', photon_index2='2.75', ts='4.23', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', energy_flux_error2='1.14e-05', EG='0.82', time_epoch_completed='1632881222.5', return_code='0', job_id='441900', GAL2='1.06', EG2='0.82', return_code2='0', energy_flux_error='1.20e-05', photon_flux_error2='5.46e-08', ts2='4.27', photon_index='2.71' WHERE bin_id='540' AND source_name='4FGL J2243.8-2510' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 19:07:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0236>
Subject: Job 441900: <4FGL_J2243.8-2510_daily_bin540> in cluster <slac> Done

Job <4FGL_J2243.8-2510_daily_bin540> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep 28 18:50:41 2021
Job was executed on host(s) <bullet0236>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 18:50:42 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:42 2021
Terminated at Tue Sep 28 19:07:05 2021
Results reported at Tue Sep 28 19:07:05 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.8-2510_daily_bin540 340.957 -25.1701 379296001 379555201 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 :                                   742.31 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             276.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   980 sec.
    Turnaround time :                            984 sec.

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

