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


Performing analysis on: 4FGL_J2243.8-2510_daily_bin1126
RA = 340.957, Dec = -25.1701
tmin = 531187201, tmax = 531446401
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='444858', job_status='RUN', time_executed='2021-09-28 19:01:30.571083', time_epoch_executed='1632880890.57' WHERE source_name='4FGL J2243.8-2510' and cadence='daily' and bin_id='1126'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/444858

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/444858/ft1_4FGL_J2243.8-2510_daily_bin1126.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/444858/ft2_4FGL_J2243.8-2510_daily_bin1126.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/444858/ft1_4FGL_J2243.8-2510_daily_bin1126.fits outfile=/scratch/kocevski/444858/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin1126.fits ra=340.957 dec=-25.1701 rad=12.0 tmin=531187201.0 tmax=531446401.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.97
user 3.77
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/444858/ft2_4FGL_J2243.8-2510_daily_bin1126.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/444858/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin1126.fits evtable="EVENTS" outfile="/scratch/kocevski/444858/ft1_filtered_4FGL_J2243.8-2510_daily_bin1126.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/444858/ft1_filtered_4FGL_J2243.8-2510_daily_bin1126.fits" evtable="EVENTS" scfile=/scratch/kocevski/444858/ft2_4FGL_J2243.8-2510_daily_bin1126.fits sctable="SC_DATA" outfile=/scratch/kocevski/444858/ltcube_531187201_531446401_4FGL_J2243.8-2510_daily_bin1126.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/444858/ft2_4FGL_J2243.8-2510_daily_bin1126.fits
.....................!
real 11.90
user 11.56
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/444858/ft1_filtered_4FGL_J2243.8-2510_daily_bin1126.fits evtable="EVENTS" scfile=/scratch/kocevski/444858/ft2_4FGL_J2243.8-2510_daily_bin1126.fits sctable="SC_DATA" expcube=/scratch/kocevski/444858/ltcube_531187201_531446401_4FGL_J2243.8-2510_daily_bin1126.fits outfile=/scratch/kocevski/444858/expmap_531187201_531446401_4FGL_J2243.8-2510_daily_bin1126.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/444858/ltcube_531187201_531446401_4FGL_J2243.8-2510_daily_bin1126.fits
.....................!
real 190.92
user 186.32
sys 4.24

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/444858/ft1_filtered_4FGL_J2243.8-2510_daily_bin1126.fits scfile=/scratch/kocevski/444858/ft2_4FGL_J2243.8-2510_daily_bin1126.fits outfile=/scratch/kocevski/444858/cmap_531187201_531446401_4FGL_J2243.8-2510_daily_bin1126.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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/444858/ft1_filtered_4FGL_J2243.8-2510_daily_bin1126.fits scfile=/scratch/kocevski/444858/ft2_4FGL_J2243.8-2510_daily_bin1126.fits outfile=/scratch/kocevski/444858/cmap_HighResolution_531187201_531446401_4FGL_J2243.8-2510_daily_bin1126.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.36
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/444858/ft1_filtered_4FGL_J2243.8-2510_daily_bin1126.fits evtable="EVENTS" scfile=/scratch/kocevski/444858/ft2_4FGL_J2243.8-2510_daily_bin1126.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/444858/Model_4FGL_J2243.8-2510_daily_bin1126.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/444858/ft1_filtered_4FGL_J2243.8-2510_daily_bin1126.fits.....................!
real 48.74
user 47.32
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10228E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    2.4451       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .39138E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    21.764       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10078E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    66.806       1.0000         .10000E-03   10000.    
     8 'Prefactor '    47.254       1.0000         .10000E-03   10000.    
     9 'Prefactor '    12.716       1.0000         .10000E-03   10000.    
    10 'norm      '    .22663       1.0000         .10000E-03   10000.    
    11 'norm      '    3.6529       1.0000         .10000E-03   10000.    
    12 'Prefactor '    69.959       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    5.5935       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .96638E-02   1.0000         .10000E-03   10000.    
    19 'Prefactor '    30.722       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    3.0596       1.0000         .10000E-03   10000.    
    22 'Prefactor '    101.80       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.4590       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .64826       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=   5669.231     FROM MIGRAD    STATUS=CONVERGED    563 CALLS     2744 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    90.149       -.50627E-05** at limit **
   2  norm          2.4452        .58256        .84346E-09   -.74521E-04
   3  Prefactor     .10026E-03    6.3968       -.16743E-05** at limit **
   4  Prefactor     21.727        26.345        .23718E-04    .89442E-04
   5  Prefactor     .10000E-03    6.5294        .14148E-06** at limit **
   6  Prefactor     .10000E-03    29.762       -.57004E-06** at limit **
   7  norm          66.817        37.038       -.29499E-05   -.17965E-04
   8  Prefactor     47.248        34.089        .22835E-05   -.97031E-05
   9  Prefactor     12.721        14.894        .29918E-05   -.39304E-04
  10  norm          .22736        .81015       -.90673E-07   -.12108E-02
  11  norm          3.6538        3.0914        .75906E-07   -.66234E-04
  12  Prefactor     69.961        63.707        .15523E-06   -.12349E-04
  13  Prefactor     .10000E-03    7.1447        .17839E-06** at limit **
  14  norm          .10000E-03    1.6952        .89638E-08** at limit **
  15  Prefactor     .10000E-03    5.9311        .94646E-09** at limit **
  16  Prefactor     .10000E-03    4.6329        .44896E-07** at limit **
  17  norm          5.5939        1.1603        .10900E-06   -.25462E-03
  18  Prefactor     .10001E-03    422.29       -.44517E-04** at limit **
  19  Prefactor     30.730        18.077        .56473E-05   -.23920E-04
  20  Prefactor     .10000E-03    6.9097       -.10363E-07** at limit **
  21  norm          3.0602        3.7185       -.19374E-06   -.18337E-03
  22  Prefactor     101.82        63.849        .83594E-05   -.13290E-04
  23  Normalizat    1.4587        .23391       -.48408E-05    .35907E-03
  24  Prefactor     .64823        .19416       -.17699E-05   -.82882E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 2.44521
  Prefactor  = 0.000100261
  Prefactor  = 21.7275
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 66.8168
  Prefactor  = 47.2484
  Prefactor  = 12.7214
  norm       = 0.227358
  norm       = 3.65383
  Prefactor  = 69.9609
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.59394
  Prefactor  = 0.000100006
  Prefactor  = 30.7298
  Prefactor  = 0.0001
  norm       = 3.06017
  Prefactor  = 101.821
  Normalizat = 1.45872
  Prefactor  = 0.648227
 **********
 **   18 **HESSE 
 **********

 FCN=   5669.231     FROM HESSE     STATUS=OK           397 CALLS     3141 TOTAL
                     EDM=   .68E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    90.294        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.4452        .58354        .27192E-04   -1.5395    
   3  Prefactor     .10026E-03    46.695        .36270E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     21.727        26.232        .85859E-04   -1.4775    
   5  Prefactor     .10000E-03    6.5881        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    29.789        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          66.817        37.072        .49104E-04   -1.4071    
   8  Prefactor     47.248        34.111        .58331E-04   -1.4332    
   9  Prefactor     12.721        14.883        .11233E-03   -1.4994    
  10  norm          .22736        1.0974        .12061E-02   -1.5613    
  11  norm          3.6538        3.1059        .10720E-03   -1.5326    
  12  Prefactor     69.961        64.143        .47993E-04   -1.4033    
  13  Prefactor     .10000E-03    7.1782        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    1.7024        .95708E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    5.9355        .17907E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    4.6427        .15815E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          5.5939        1.1605        .35212E-04   -1.5235    
  18  Prefactor     .10001E-03    426.57        .18143E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     30.730        18.027        .72287E-04   -1.4599    
  20  Prefactor     .10000E-03    6.9295        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          3.0602        3.7095        .15338E-03   -1.5358    
  22  Prefactor     101.82        63.819        .39849E-04   -1.3686    
  23  Normalizat    1.4587        .27788        .26293E-03   -.78945    
  24  Prefactor     .64823        .22956        .32430E-03   -1.0559    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.80634e-09
Minuit parameter uncertainties:
  1  0.00015327
  2  0.583546
  3  0.00698471
  4  26.2458
  5  2.7132e-05
  6  4.23659e-05
  7  37.0851
  8  34.1253
  9  14.8875
  10  0.998827
  11  3.10601
  12  64.2062
  13  3.20351e-05
  14  3.64585e-06
  15  4.46876e-06
  16  8.5056e-06
  17  1.16054
  18  0.00312368
  19  18.0304
  20  1.49984e-05
  21  3.70977
  22  63.8618
  23  0.278171
  24  0.229898
Done.

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

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  6.996e+01  6.421e+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:  6.482e-01  2.299e-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:  1.459e+00  2.782e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.25
Ra Dec: 340.957 -25.170
Photon Index (Fixed Index): 2.71 +/- 0.00
Photon Flux (Fixed Index): 7.25e-08 +/- 6.65e-08
Energy Flux (Fixed Index): 1.74e-05 +/- 1.59e-05

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

Saving results to:
/scratch/kocevski/444858/likelihoodResults_531187201_531446401_4FGL_J2243.8-2510_daily_bin1126.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) = 5667.99832663
delta logL = 1.23242010525

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5667.97124498
delta logL = 1.25950175118

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    76.913       1.0000         .10000E-03   10000.    
     2 'Index     '    1.7445       1.0000          .0000       10.000    
     3 'Normalizat'    1.5037       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .62424       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.

 FCN=   5667.971     FROM MIGRAD    STATUS=CONVERGED     62 CALLS      216 TOTAL
                     EDM=   .12E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     76.635        62.909        .11447E-02   -.14967E-04
   2  Index         1.7446        .40147        .20201       -.26784E-04
   3  Normalizat    1.5038        .22322        .58766E-01   -.24534E-04
   4  Prefactor     .62434        .19205        .74526E-01    .31907E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 76.6352
  Index      = 1.74457
  Normalizat = 1.5038
  Prefactor  = 0.62434
 **********
 **   18 **HESSE 
 **********

 FCN=   5667.971     FROM HESSE     STATUS=OK            31 CALLS      247 TOTAL
                     EDM=   .54E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     76.635        74.674        .45788E-04   -1.3955    
   2  Index         1.7446        .54736        .77694E-02   -.70902    
   3  Normalizat    1.5038        .26233        .25986E-03   -.77672    
   4  Prefactor     .62434        .22504        .32994E-03   -1.0657    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.41731e-12
Minuit parameter uncertainties:
  1  74.7652
  2  0.54928
  3  0.262565
  4  0.22537
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/444858': 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) = 5667.9712338
delta logL = 1.2595129355

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  7.664e+01  7.477e+01  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  1.745e+00  5.493e-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:  6.243e-01  2.254e-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:  1.504e+00  2.626e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.81
Ra Dec: 340.957 -25.170
Photon Index (Free Index): 1.74 +/- 0.55
Photon Flux (Free Index): 2.87e-08 +/- 3.42e-08
Energy Flux (Free Index): 4.08e-05 +/- 4.82e-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/444858/cmap_HighResolution_531187201_531446401_4FGL_J2243.8-2510_daily_bin1126.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.60e-02', comment='SUCCESS', photon_flux='7.25e-08', energy_flux2='4.08e-05', photon_flux_error='6.65e-08', dlogl='1.26e+00', energy_flux='1.74e-05', photon_flux2='2.87e-08', job_status='DONE', time_completed='2021-09-28 19:11:59.965274', photon_index_error2='0.55', photon_index2='1.74', ts='3.25', fit_tolerance='1e-08', GAL='0.65', photon_index_error='0.00', photon_flux_upper_limit='2.04e-07', energy_flux_error2='4.82e-05', EG='1.46', time_epoch_completed='1632881519.97', return_code='0', job_id='444858', GAL2='0.62', EG2='1.50', return_code2='0', energy_flux_error='1.59e-05', photon_flux_error2='3.42e-08', ts2='5.81', photon_index='2.71' WHERE bin_id='1126' AND source_name='4FGL J2243.8-2510' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 19:11:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0058>
Subject: Job 444858: <4FGL_J2243.8-2510_daily_bin1126> in cluster <slac> Done

Job <4FGL_J2243.8-2510_daily_bin1126> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Sep 28 19:00:20 2021
Job was executed on host(s) <bullet0058>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 19:00:21 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 19:00:21 2021
Terminated at Tue Sep 28 19:12:00 2021
Results reported at Tue Sep 28 19:12:00 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.8-2510_daily_bin1126 340.957 -25.1701 531187201 531446401 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 :                                   628.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             324.22 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   699 sec.
    Turnaround time :                            700 sec.

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

