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


Performing analysis on: 4FGL_J2243.8-2510_daily_bin1368
RA = 340.957, Dec = -25.1701
tmin = 593913601, tmax = 594172801
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='445212', job_status='RUN', time_executed='2021-09-28 19:04:02.719865', time_epoch_executed='1632881042.72' WHERE source_name='4FGL J2243.8-2510' and cadence='daily' and bin_id='1368'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/445212

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/445212/ft1_4FGL_J2243.8-2510_daily_bin1368.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/445212/ft2_4FGL_J2243.8-2510_daily_bin1368.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/445212/ft1_4FGL_J2243.8-2510_daily_bin1368.fits outfile=/scratch/kocevski/445212/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin1368.fits ra=340.957 dec=-25.1701 rad=12.0 tmin=593913601.0 tmax=594172801.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.57
user 3.34
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/445212/ft2_4FGL_J2243.8-2510_daily_bin1368.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/445212/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin1368.fits evtable="EVENTS" outfile="/scratch/kocevski/445212/ft1_filtered_4FGL_J2243.8-2510_daily_bin1368.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/445212/ft1_filtered_4FGL_J2243.8-2510_daily_bin1368.fits" evtable="EVENTS" scfile=/scratch/kocevski/445212/ft2_4FGL_J2243.8-2510_daily_bin1368.fits sctable="SC_DATA" outfile=/scratch/kocevski/445212/ltcube_593913601_594172801_4FGL_J2243.8-2510_daily_bin1368.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/445212/ft2_4FGL_J2243.8-2510_daily_bin1368.fits
.....................!
real 12.26
user 11.73
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/445212/ft1_filtered_4FGL_J2243.8-2510_daily_bin1368.fits evtable="EVENTS" scfile=/scratch/kocevski/445212/ft2_4FGL_J2243.8-2510_daily_bin1368.fits sctable="SC_DATA" expcube=/scratch/kocevski/445212/ltcube_593913601_594172801_4FGL_J2243.8-2510_daily_bin1368.fits outfile=/scratch/kocevski/445212/expmap_593913601_594172801_4FGL_J2243.8-2510_daily_bin1368.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/445212/ltcube_593913601_594172801_4FGL_J2243.8-2510_daily_bin1368.fits
.....................!
real 189.82
user 185.20
sys 4.26

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/445212/ft1_filtered_4FGL_J2243.8-2510_daily_bin1368.fits scfile=/scratch/kocevski/445212/ft2_4FGL_J2243.8-2510_daily_bin1368.fits outfile=/scratch/kocevski/445212/cmap_593913601_594172801_4FGL_J2243.8-2510_daily_bin1368.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/445212/ft1_filtered_4FGL_J2243.8-2510_daily_bin1368.fits scfile=/scratch/kocevski/445212/ft2_4FGL_J2243.8-2510_daily_bin1368.fits outfile=/scratch/kocevski/445212/cmap_HighResolution_593913601_594172801_4FGL_J2243.8-2510_daily_bin1368.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.54
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/445212/ft1_filtered_4FGL_J2243.8-2510_daily_bin1368.fits evtable="EVENTS" scfile=/scratch/kocevski/445212/ft2_4FGL_J2243.8-2510_daily_bin1368.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/445212/Model_4FGL_J2243.8-2510_daily_bin1368.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/445212/ft1_filtered_4FGL_J2243.8-2510_daily_bin1368.fits.....................!
real 56.47
user 54.86
sys 1.35

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .21246E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    1.2608       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10879E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10702E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    18.662       1.0000         .10000E-03   10000.    
     7 'norm      '    8.4733       1.0000         .10000E-03   10000.    
     8 'Prefactor '    16.780       1.0000         .10000E-03   10000.    
     9 'Prefactor '    20.716       1.0000         .10000E-03   10000.    
    10 'norm      '    .74130       1.0000         .10000E-03   10000.    
    11 'norm      '    2.9399       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .39358E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.2555       1.0000         .10000E-03   10000.    
    14 'norm      '    1.5836       1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.1068       1.0000         .10000E-03   10000.    
    16 'Prefactor '    4.3467       1.0000         .10000E-03   10000.    
    17 'norm      '    1.1479       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .63264E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    6.8337       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .19433E-02   1.0000         .10000E-03   10000.    
    21 'norm      '    7.4544       1.0000         .10000E-03   10000.    
    22 'Prefactor '    33.966       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .57334       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0835       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=   7528.050     FROM MIGRAD    STATUS=CONVERGED    570 CALLS     2016 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    10.200        .21445E-07** at limit **
   2  norm          1.2605        .31851        .45508E-08    .10987E-03
   3  Prefactor     .10000E-03    2.4534        .10822E-07** at limit **
   4  Prefactor     .10000E-03    2.9985        .85267E-08** at limit **
   5  Prefactor     .10000E-03    3.6978        .25054E-07** at limit **
   6  Prefactor     19.151        34.658        .42680E-05   -.49585E-05
   7  norm          8.5179        14.069        .28807E-05   -.67620E-04
   8  Prefactor     16.927        15.602        .24363E-06   -.21020E-04
   9  Prefactor     20.700        10.235       -.15361E-05   -.18777E-03
  10  norm          .74192        .63405       -.44789E-07   -.66213E-03
  11  norm          2.9454        1.7198        .43257E-07   -.33941E-03
  12  Prefactor     .10000E-03    15.869       -.20249E-06** at limit **
  13  Prefactor     7.2575        8.9751       -.14356E-05   -.26144E-03
  14  norm          1.5796        2.3667       -.31504E-08   -.86592E-03
  15  Prefactor     4.2609        10.485        .28605E-05   -.47317E-03
  16  Prefactor     4.2838        11.854       -.35263E-05   -.17220E-02
  17  norm          1.1478        .68984        .83394E-07   -.71479E-02
  18  Prefactor     .10000E-03    16.087        .26325E-05** at limit **
  19  Prefactor     6.8374        7.5695       -.10352E-05   -.11712E-03
  20  Prefactor     .10017E-03    8.3616        .35694E-05** at limit **
  21  norm          7.4529        3.4418       -.10106E-05   -.24505E-03
  22  Prefactor     33.918        27.834        .18024E-04   -.42939E-04
  23  Normalizat    .57399        .15419       -.29039E-06   -.54658E-03
  24  Prefactor     1.0828        .14090       -.88772E-07   -.55352E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 1.26052
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 19.1511
  norm       = 8.51794
  Prefactor  = 16.9268
  Prefactor  = 20.7004
  norm       = 0.741924
  norm       = 2.94538
  Prefactor  = 0.0001
  Prefactor  = 7.25751
  norm       = 1.57965
  Prefactor  = 4.26092
  Prefactor  = 4.28382
  norm       = 1.14779
  Prefactor  = 0.0001
  Prefactor  = 6.83739
  Prefactor  = 0.000100166
  norm       = 7.45294
  Prefactor  = 33.9176
  Normalizat = 0.573987
  Prefactor  = 1.0828
 **********
 **   18 **HESSE 
 **********

 FCN=   7528.050     FROM HESSE     STATUS=OK           407 CALLS     2423 TOTAL
                     EDM=   .71E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    10.202        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.2605        .31920        .23944E-04   -1.5483    
   3  Prefactor     .10000E-03    2.4623        .13271E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    3.0009        .14673E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    3.8082        .32573E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     19.151        34.614        .92713E-04   -1.4832    
   7  norm          8.5179        14.049        .13771E-03   -1.5124    
   8  Prefactor     16.927        15.599        .97773E-04   -1.4885    
   9  Prefactor     20.700        10.239        .88001E-04   -1.4798    
  10  norm          .74192        .60773        .61438E-03   -1.5536    
  11  norm          2.9454        1.7155        .83648E-04   -1.5365    
  12  Prefactor     .10000E-03    15.891        .21271E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     7.2575        8.9781        .14891E-03   -1.5169    
  14  norm          1.5796        2.3071        .15027E-03   -1.5457    
  15  Prefactor     4.2609        10.130        .19893E-03   -1.5295    
  16  Prefactor     4.2838        11.088        .19320E-03   -1.5294    
  17  norm          1.1478        .70881        .40501E-04   -1.5494    
  18  Prefactor     .10000E-03    16.089        .21036E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     6.8374        7.5691        .15348E-03   -1.5185    
  20  Prefactor     .10017E-03    36.491        .40208E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          7.4529        3.4428        .10355E-03   -1.5162    
  22  Prefactor     33.918        27.464        .68758E-04   -1.4543    
  23  Normalizat    .57399        .17976        .28491E-03   -1.0910    
  24  Prefactor     1.0828        .16521        .20642E-03   -.90018    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.05265e-09
Minuit parameter uncertainties:
  1  1.09725e-06
  2  0.319199
  3  1.46398e-06
  4  1.60663e-06
  5  5.77784e-06
  6  34.6502
  7  14.0545
  8  15.6029
  9  10.24
  10  0.607733
  11  1.71556
  12  4.47397e-05
  13  8.97977
  14  2.30721
  15  10.1337
  16  11.0929
  17  0.70882
  18  4.88586e-06
  19  7.57013
  20  0.00492839
  21  3.44293
  22  27.4745
  23  0.17994
  24  0.165289
Done.

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

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  1.000e-04  4.474e-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:  1.083e+00  1.653e-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.740e-01  1.799e-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.99e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.71e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/445212/likelihoodResults_593913601_594172801_4FGL_J2243.8-2510_daily_bin1368.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) = 7528.05073282
delta logL = -0.000299775430904

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7528.05043598
delta logL = -2.93621997116e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10817E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    3.4317       1.0000          .0000       10.000    
     3 'Normalizat'    .57398       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0828       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=   7528.050     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      268 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11141E-03    6.6705        .18142E-01** at limit **
   2  Index         3.1785        5.4223        .50000        .20269E-04
   3  Normalizat    .57399        .26837E-02    .28491E-03    .69352E-04
   4  Prefactor     1.0828        .26250E-02    .20642E-03    .67469E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000111408
  Index      = 3.17846
  Normalizat = 0.573989
  Prefactor  = 1.0828
 **********
 **   18 **HESSE 
 **********

 FCN=   7528.050     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      297 TOTAL
                     EDM=   .24E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11141E-03    118.09        .28212E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.1785        6.5877        .50000       -.37289    
   3  Normalizat    .57399        .11323E-01    .11396E-04   -1.0910    
   4  Prefactor     1.0828        .11075E-01    .41283E-04   -.90018    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.36093e-08
Minuit parameter uncertainties:
  1  0.0735522
  2  736.837
  3  0.0113229
  4  0.0110753
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/445212': 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) = 7528.05043483
delta logL = -1.78578648047e-06

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  1.114e-04  7.355e-02  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  3.178e+00  7.368e+02  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.083e+00  1.108e-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:  5.740e-01  1.132e-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/445212/cmap_HighResolution_593913601_594172801_4FGL_J2243.8-2510_daily_bin1368.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.71e-03', job_status='DONE', photon_flux_upper_limit='5.99e-08', time_completed='2021-09-28 19:15:04.636867', job_id='445212', GAL2='1.08', fit_tolerance='1e-08', EG2='0.57', EG='0.57', time_epoch_completed='1632881704.64', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='-1.79e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.71' WHERE bin_id='1368' AND source_name='4FGL J2243.8-2510' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 19:15:04 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0215>
Subject: Job 445212: <4FGL_J2243.8-2510_daily_bin1368> in cluster <slac> Done

Job <4FGL_J2243.8-2510_daily_bin1368> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Sep 28 19:00:46 2021
Job was executed on host(s) <bullet0215>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 19:00:47 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:47 2021
Terminated at Tue Sep 28 19:15:05 2021
Results reported at Tue Sep 28 19:15:05 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.8-2510_daily_bin1368 340.957 -25.1701 593913601 594172801 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 :                                   657.21 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             268.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   857 sec.
    Turnaround time :                            859 sec.

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

