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


Performing analysis on: 4FGL_J2243.8-2510_daily_bin483
RA = 340.957, Dec = -25.1701
tmin = 364521601, tmax = 364780801
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='441806', job_status='RUN', time_executed='2021-09-28 18:54:18.659369', time_epoch_executed='1632880458.66' WHERE source_name='4FGL J2243.8-2510' and cadence='daily' and bin_id='483'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/441806

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/441806/ft1_4FGL_J2243.8-2510_daily_bin483.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/441806/ft2_4FGL_J2243.8-2510_daily_bin483.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/441806/ft1_4FGL_J2243.8-2510_daily_bin483.fits outfile=/scratch/kocevski/441806/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin483.fits ra=340.957 dec=-25.1701 rad=12.0 tmin=364521601.0 tmax=364780801.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.23
user 3.01
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/441806/ft1_filtered_4FGL_J2243.8-2510_daily_bin483.fits" evtable="EVENTS" scfile=/scratch/kocevski/441806/ft2_4FGL_J2243.8-2510_daily_bin483.fits sctable="SC_DATA" outfile=/scratch/kocevski/441806/ltcube_364521601_364780801_4FGL_J2243.8-2510_daily_bin483.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/441806/ft2_4FGL_J2243.8-2510_daily_bin483.fits
.....................!
real 13.27
user 12.89
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/441806/ft1_filtered_4FGL_J2243.8-2510_daily_bin483.fits evtable="EVENTS" scfile=/scratch/kocevski/441806/ft2_4FGL_J2243.8-2510_daily_bin483.fits sctable="SC_DATA" expcube=/scratch/kocevski/441806/ltcube_364521601_364780801_4FGL_J2243.8-2510_daily_bin483.fits outfile=/scratch/kocevski/441806/expmap_364521601_364780801_4FGL_J2243.8-2510_daily_bin483.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/441806/ltcube_364521601_364780801_4FGL_J2243.8-2510_daily_bin483.fits
.....................!
real 190.54
user 185.40
sys 4.80

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/441806/ft1_filtered_4FGL_J2243.8-2510_daily_bin483.fits scfile=/scratch/kocevski/441806/ft2_4FGL_J2243.8-2510_daily_bin483.fits outfile=/scratch/kocevski/441806/cmap_364521601_364780801_4FGL_J2243.8-2510_daily_bin483.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.14

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/441806/ft1_filtered_4FGL_J2243.8-2510_daily_bin483.fits evtable="EVENTS" scfile=/scratch/kocevski/441806/ft2_4FGL_J2243.8-2510_daily_bin483.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/441806/Model_4FGL_J2243.8-2510_daily_bin483.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/441806/ft1_filtered_4FGL_J2243.8-2510_daily_bin483.fits.....................!
real 60.19
user 58.74
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    72.846       1.0000         .10000E-03   10000.    
     2 'norm      '    1.6260       1.0000         .10000E-03   10000.    
     3 'Prefactor '    8.3644       1.0000         .10000E-03   10000.    
     4 'Prefactor '    20.681       1.0000         .10000E-03   10000.    
     5 'Prefactor '    9.7597       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10082E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .28127E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.7795       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .19671E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    13.093       1.0000         .10000E-03   10000.    
    11 'norm      '    1.4208       1.0000         .10000E-03   10000.    
    12 'Prefactor '    51.174       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    4.0005       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10106E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .11719       1.0000         .10000E-03   10000.    
    17 'norm      '    5.4328       1.0000         .10000E-03   10000.    
    18 'Prefactor '    14.466       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .92292E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    6.1123       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .84621       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .67094       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=   7799.256     FROM MIGRAD    STATUS=CONVERGED    560 CALLS     3121 TOTAL
                     EDM=   .76E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     72.814        58.160       -.39690E-06   -.12079E-03
   2  norm          1.6260        .40884        .73527E-08   -.13403E-03
   3  Prefactor     8.3655        6.8246        .49471E-07   -.44204E-05
   4  Prefactor     20.680        14.066        .45959E-07   -.25992E-04
   5  Prefactor     9.7613        7.8367        .15183E-06   -.26608E-04
   6  Prefactor     .10000E-03    14.384       -.78072E-08** at limit **
   7  norm          .10000E-03    35.240        .13831E-05** at limit **
   8  Prefactor     8.7800        10.366        .78275E-08   -.10840E-04
   9  Prefactor     .10002E-03    5.3483        .69457E-06** at limit **
  10  norm          13.093        1.5853        .51959E-09   -.15265E-04
  11  norm          1.4207        1.4658        .41843E-07   -.16358E-03
  12  Prefactor     51.176        39.441       -.10056E-05    .14293E-04
  13  Prefactor     .10000E-03    10.105        .74578E-07** at limit **
  14  norm          4.0006        2.8084       -.99355E-07   -.23510E-03
  15  Prefactor     .10000E-03    9.0423        .24493E-07** at limit **
  16  Prefactor     .92461E-01    11.845        .21560E-05    .17076E-03
  17  norm          5.4347        .92571       -.18582E-06   -.11341E-02
  18  Prefactor     14.467        57.556        .35107E-06   -.59982E-05
  19  Prefactor     .10000E-03    2.0398        .60957E-08** at limit **
  20  Prefactor     .10030E-03    7.6977       -.79353E-06** at limit **
  21  norm          6.1124        2.5836        .10126E-07    .29865E-05
  22  Prefactor     .10000E-03    10.022       -.90664E-08** at limit **
  23  Normalizat    .84623        .15707       -.11837E-05   -.82886E-04
  24  Prefactor     .67089        .13858        .64240E-06   -.14797E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 72.8142
  norm       = 1.62602
  Prefactor  = 8.36551
  Prefactor  = 20.6804
  Prefactor  = 9.76131
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 8.78001
  Prefactor  = 0.000100024
  norm       = 13.0927
  norm       = 1.42068
  Prefactor  = 51.1755
  Prefactor  = 0.0001
  norm       = 4.00064
  Prefactor  = 0.0001
  Prefactor  = 0.0924613
  norm       = 5.43473
  Prefactor  = 14.4674
  Prefactor  = 0.0001
  Prefactor  = 0.000100298
  norm       = 6.11236
  Prefactor  = 0.0001
  Normalizat = 0.846225
  Prefactor  = 0.670887
 **********
 **   18 **HESSE 
 **********

 FCN=   7799.256     FROM HESSE     STATUS=OK           415 CALLS     3536 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     72.814        58.216        .23519E-03   -1.3999    
   2  norm          1.6260        .40950        .27342E-04   -1.5453    
   3  Prefactor     8.3655        6.8253        .13861E-03   -1.5129    
   4  Prefactor     20.680        14.068        .88075E-04   -1.4798    
   5  Prefactor     9.7613        7.8511        .12827E-03   -1.5083    
   6  Prefactor     .10000E-03    14.389        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    36.221        .42833E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     8.7800        10.364        .13528E-03   -1.5115    
   9  Prefactor     .10002E-03    44.238        .37409E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          13.093        1.5857        .37455E-04   -1.4984    
  11  norm          1.4207        1.4647        .10064E-03   -1.5470    
  12  Prefactor     51.176        40.154        .56062E-04   -1.4276    
  13  Prefactor     .10000E-03    10.468        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          4.0006        2.8255        .11832E-03   -1.5308    
  15  Prefactor     .10000E-03    9.0956        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .92461E-01    28.189        .52122E-01   -1.5647    
  17  norm          5.4347        1.3247        .30323E-04   -1.5242    
  18  Prefactor     14.467        57.621        .10531E-03   -1.4947    
  19  Prefactor     .10000E-03    2.0426        .12318E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10030E-03    40.852        .38704E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          6.1124        2.5835        .89630E-04   -1.5213    
  22  Prefactor     .10000E-03    10.037        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .84623        .18622        .25277E-03   -.98376    
  24  Prefactor     .67089        .16210        .25974E-03   -1.0468    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.09507e-08
Minuit parameter uncertainties:
  1  58.2614
  2  0.409506
  3  6.82589
  4  14.07
  5  7.85191
  6  2.64428e-06
  7  0.000114323
  8  10.3664
  9  0.00204707
  10  1.58568
  11  1.46473
  12  40.1755
  13  2.47555e-05
  14  2.82558
  15  2.24799e-05
  16  3.22868
  17  1.3247
  18  57.8426
  19  8.77314e-07
  20  0.00697956
  21  2.58356
  22  6.35163e-07
  23  0.18636
  24  0.162212
Done.

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

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  5.118e+01  4.018e+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.709e-01  1.622e-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.462e-01  1.864e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.98
Ra Dec: 340.957 -25.170
Photon Index (Fixed Index): 2.71 +/- 0.00
Photon Flux (Fixed Index): 5.30e-08 +/- 4.16e-08
Energy Flux (Fixed Index): 1.27e-05 +/- 9.97e-06

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

Saving results to:
/scratch/kocevski/441806/likelihoodResults_364521601_364780801_4FGL_J2243.8-2510_daily_bin483.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) = 7798.71269054
delta logL = 0.543684674192

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7798.69059794
delta logL = 0.56577727875

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.813       1.0000         .10000E-03   10000.    
     2 'Index     '    3.7863       1.0000          .0000       10.000    
     3 'Normalizat'    .80090       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .70125       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=   7798.691     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      243 TOTAL
                     EDM=   .45E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.813        158.44        .24420E-02    .32807E-03
   2  Index         3.7864        3.0709        .14559        .15131E-03
   3  Normalizat    .80090        .52128E-01    .43622E-01    .20388E-04
   4  Prefactor     .70127        .46338E-01    .42418E-01    .23085E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.8126
  Index      = 3.78644
  Normalizat = 0.800896
  Prefactor  = 0.701272
 **********
 **   18 **HESSE 
 **********

 FCN=   7798.691     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      276 TOTAL
                     EDM=   .35E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.813        259.52        .97679E-04   -1.4888    
   2  Index         3.7864        6.8180        .52856E-02   -.24516    
   3  Normalizat    .80090        .18729        .25884E-03   -1.0004    
   4  Prefactor     .70127        .17194        .25462E-03   -1.0348    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.46169e-07
Minuit parameter uncertainties:
  1  132.802
  2  5.23727
  3  0.187445
  4  0.17207
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/441806': 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) = 7798.69059775
delta logL = 0.565777470792

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  1.681e+01  1.328e+02  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  3.786e+00  5.237e+00  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:  7.013e-01  1.721e-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.009e-01  1.874e-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): 3.79 +/- 5.24
Photon Flux (Free Index): 8.43e-08 +/- 5.32e-08
Energy Flux (Free Index): 1.31e-05 +/- 1.29e-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/441806/cmap_HighResolution_364521601_364780801_4FGL_J2243.8-2510_daily_bin483.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.02e-02', comment='SUCCESS', photon_flux='5.30e-08', energy_flux2='1.31e-05', photon_flux_error='4.16e-08', dlogl='5.66e-01', energy_flux='1.27e-05', photon_flux2='8.43e-08', job_status='DONE', time_completed='2021-09-28 19:07:11.785455', photon_index_error2='5.24', photon_index2='3.79', ts='2.98', fit_tolerance='1e-08', GAL='0.67', photon_index_error='0.00', photon_flux_upper_limit='1.30e-07', energy_flux_error2='1.29e-05', EG='0.85', time_epoch_completed='1632881231.79', return_code='0', job_id='441806', GAL2='0.70', EG2='0.80', return_code2='102', energy_flux_error='9.97e-06', photon_flux_error2='5.32e-08', ts2='4.27', photon_index='2.71' WHERE bin_id='483' AND source_name='4FGL J2243.8-2510' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 19:07:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0077>
Subject: Job 441806: <4FGL_J2243.8-2510_daily_bin483> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.8-2510_daily_bin483 340.957 -25.1701 364521601 364780801 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 :                                   772.31 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             284.87 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   996 sec.
    Turnaround time :                            998 sec.

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

