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


Performing analysis on: 4FGL_J2243.8-2510_daily_bin715
RA = 340.957, Dec = -25.1701
tmin = 424656001, tmax = 424915201
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='443193', job_status='RUN', time_executed='2021-09-28 18:58:43.028541', time_epoch_executed='1632880723.03' WHERE source_name='4FGL J2243.8-2510' and cadence='daily' and bin_id='715'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/443193

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/443193/ft1_4FGL_J2243.8-2510_daily_bin715.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/443193/ft2_4FGL_J2243.8-2510_daily_bin715.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/443193/ft1_4FGL_J2243.8-2510_daily_bin715.fits outfile=/scratch/kocevski/443193/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin715.fits ra=340.957 dec=-25.1701 rad=12.0 tmin=424656001.0 tmax=424915201.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.54
user 4.30
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/443193/ft1_filtered_4FGL_J2243.8-2510_daily_bin715.fits" evtable="EVENTS" scfile=/scratch/kocevski/443193/ft2_4FGL_J2243.8-2510_daily_bin715.fits sctable="SC_DATA" outfile=/scratch/kocevski/443193/ltcube_424656001_424915201_4FGL_J2243.8-2510_daily_bin715.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/443193/ft2_4FGL_J2243.8-2510_daily_bin715.fits
.....................!
real 11.73
user 11.36
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/443193/ft1_filtered_4FGL_J2243.8-2510_daily_bin715.fits evtable="EVENTS" scfile=/scratch/kocevski/443193/ft2_4FGL_J2243.8-2510_daily_bin715.fits sctable="SC_DATA" expcube=/scratch/kocevski/443193/ltcube_424656001_424915201_4FGL_J2243.8-2510_daily_bin715.fits outfile=/scratch/kocevski/443193/expmap_424656001_424915201_4FGL_J2243.8-2510_daily_bin715.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/443193/ltcube_424656001_424915201_4FGL_J2243.8-2510_daily_bin715.fits
.....................!
real 190.33
user 185.13
sys 4.90

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/443193/ft1_filtered_4FGL_J2243.8-2510_daily_bin715.fits scfile=/scratch/kocevski/443193/ft2_4FGL_J2243.8-2510_daily_bin715.fits outfile=/scratch/kocevski/443193/cmap_424656001_424915201_4FGL_J2243.8-2510_daily_bin715.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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/443193/ft1_filtered_4FGL_J2243.8-2510_daily_bin715.fits scfile=/scratch/kocevski/443193/ft2_4FGL_J2243.8-2510_daily_bin715.fits outfile=/scratch/kocevski/443193/cmap_HighResolution_424656001_424915201_4FGL_J2243.8-2510_daily_bin715.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/443193/ft1_filtered_4FGL_J2243.8-2510_daily_bin715.fits evtable="EVENTS" scfile=/scratch/kocevski/443193/ft2_4FGL_J2243.8-2510_daily_bin715.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/443193/Model_4FGL_J2243.8-2510_daily_bin715.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/443193/ft1_filtered_4FGL_J2243.8-2510_daily_bin715.fits.....................!
real 52.07
user 50.47
sys 1.49

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    27.858       1.0000         .10000E-03   10000.    
     2 'norm      '    1.6131       1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.1511       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10318E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.0555       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    20.126       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10209E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    3.4464       1.0000         .10000E-03   10000.    
    11 'norm      '    3.6521       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .38378       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    3.3544       1.0000         .10000E-03   10000.    
    15 'Prefactor '    10.373       1.0000         .10000E-03   10000.    
    16 'Prefactor '    8.7926       1.0000         .10000E-03   10000.    
    17 'norm      '    .97168       1.0000         .10000E-03   10000.    
    18 'Prefactor '    49.138       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .11025E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    75.422       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .56303       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0566       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5290E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6986.212     FROM MIGRAD    STATUS=CONVERGED    127 CALLS     2348 TOTAL
                     EDM=   .52E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     27.736        29.014       -.28246E-05    .26839E-02
   2  norm          1.6131        .43421        .11266E-07    .32714E-05
   3  Prefactor     1.1501        1.2338        .46711E-07   -.11133E-03
   4  Prefactor     .10000E-03    31.782        .20508E-06** at limit **
   5  Prefactor     1.0545        5.5975       -.10028E-05   -.19931E-04
   6  Prefactor     .10000E-03    18.209        .50404E-06** at limit **
   7  norm          20.141        15.821        .34354E-06   -.46200E-03
   8  Prefactor     .10000E-03    6.6427        .48706E-07** at limit **
   9  Prefactor     .10000E-03    8.7190       -.53170E-06** at limit **
  10  norm          3.4461        1.0437       -.32395E-09    .21161E-04
  11  norm          3.6546        1.8878        .32635E-06    .13020E-03
  12  Prefactor     .24625        813.30       -.29939E-04   -.17876E-03
  13  Prefactor     .10000E-03    4.9482       -.26891E-06** at limit **
  14  norm          3.3532        3.7144        .22935E-07   -.25955E-04
  15  Prefactor     10.371        4.7113       -.85545E-07    .93313E-03
  16  Prefactor     8.8035        7.5879        .27753E-06   -.15199E-03
  17  norm          .97158        .57024       -.31058E-07    .13989E-04
  18  Prefactor     49.073        15.290       -.11276E-05    .37179E-03
  19  Prefactor     .10000E-03    4.7616        .96574E-07** at limit **
  20  Prefactor     .10000E-03    4.3260       -.13466E-06** at limit **
  21  norm          .10000E-03    2.9801        .11412E-06** at limit **
  22  Prefactor     75.385        8.6324       -.50742E-06   -.55709E-02
  23  Normalizat    .56292        .17696        .15373E-05    .28630E-04
  24  Prefactor     1.0568        .16672       -.34962E-06    .31510E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 27.7363
  norm       = 1.61313
  Prefactor  = 1.15009
  Prefactor  = 0.0001
  Prefactor  = 1.05449
  Prefactor  = 0.0001
  norm       = 20.141
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.44615
  norm       = 3.65456
  Prefactor  = 0.246253
  Prefactor  = 0.0001
  norm       = 3.3532
  Prefactor  = 10.3707
  Prefactor  = 8.80354
  norm       = 0.971577
  Prefactor  = 49.0729
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 75.3851
  Normalizat = 0.562923
  Prefactor  = 1.05676
 **********
 **   18 **HESSE 
 **********

 FCN=   6986.212     FROM HESSE     STATUS=OK           467 CALLS     2815 TOTAL
                     EDM=   .30E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     27.736        61.094        .18976E-02   -1.4654    
   2  norm          1.6131        .44162        .62404E-02   -1.5454    
   3  Prefactor     1.1501        6.8525        .10781E-01   -1.5493    
   4  Prefactor     .10000E-03    5.5245        .90712E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.0545        5.6822        .11983E-01   -1.5503    
   6  Prefactor     .10000E-03    18.210        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          20.141        16.509        .22320E-02   -1.4810    
   8  Prefactor     .10000E-03    6.6385        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    8.5591        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          3.4461        1.0467        .54465E-03   -1.5337    
  11  norm          3.6546        1.9026        .52845E-02   -1.5326    
  12  Prefactor     .24625        34.310        .13128       -1.5609    
  13  Prefactor     .10000E-03    4.9196        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          3.3532        3.7852        .55241E-02   -1.5342    
  15  Prefactor     10.371        14.338        .31102E-02   -1.5064    
  16  Prefactor     8.8035        9.4139        .33794E-02   -1.5114    
  17  norm          .97158        .56679        .88355E-02   -1.5511    
  18  Prefactor     49.073        54.395        .14302E-02   -1.4306    
  19  Prefactor     .10000E-03    4.6413        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    4.2655        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    1.5793        .36494E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     75.385        37.863        .11559E-02   -1.3969    
  23  Normalizat    .56292        .15434        .63888E-01   -1.0958    
  24  Prefactor     1.0568        .14320        .39541E-01   -.90861    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.00784e-06
Minuit parameter uncertainties:
  1  61.2319
  2  0.44162
  3  5.61535
  4  2.4054e-05
  5  4.89612
  6  2.20839e-05
  7  16.513
  8  3.17811e-07
  9  1.01278e-05
  10  1.04668
  11  1.90268
  12  5.81561
  13  2.37453e-06
  14  3.78551
  15  14.3428
  16  9.41548
  17  0.566794
  18  54.4497
  19  7.92218e-07
  20  2.54306e-06
  21  6.58856e-07
  22  37.8753
  23  0.154461
  24  0.143248
Done.

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

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  2.463e-01  5.816e+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

GAL_V02
   Spectrum: PowerLaw
526    Prefactor:  1.057e+00  1.432e-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.629e-01  1.545e-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: 7.84e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.18e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/443193/likelihoodResults_424656001_424915201_4FGL_J2243.8-2510_daily_bin715.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) = 6985.39002838
delta logL = 0.82168006458

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6985.15117644
delta logL = 1.06053200049

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13082E-01   1.0000         .10000E-03   10000.    
     2 'Index     '    7.7050       1.0000          .0000       10.000    
     3 'Normalizat'    .49662       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0988       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=   6985.151     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      285 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .12965E-01    .15308        .16772E-02    .25899E-01
   2  Index         7.7105        2.8152        .18904        .27620E-03
   3  Normalizat    .49670        .32173E-01    .67640E-01    .31436E-03
   4  Prefactor     1.0987        .31520E-01    .37632E-01    .22054E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0129651
  Index      = 7.71055
  Normalizat = 0.496705
  Prefactor  = 1.09871
 **********
 **   18 **HESSE 
 **********

 FCN=   6985.151     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      318 TOTAL
                     EDM=   .40E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .12965E-01    .42490        .76426E-04   -1.5685    
   2  Index         7.7105        8.3394        .71711E-02    .57295    
   3  Normalizat    .49670        .12405        .29941E-03   -1.1257    
   4  Prefactor     1.0987        .11974        .20186E-03   -.89508    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.04505e-10
Minuit parameter uncertainties:
  1  0.147871
  2  6.25924
  3  0.124122
  4  0.119767
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/443193': 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) = 6985.15117444
delta logL = 1.06053399726

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  1.297e-02  1.479e-01  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  7.711e+00  6.259e+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:  1.099e+00  1.198e-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:  4.967e-01  1.241e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.26
Ra Dec: 340.957 -25.170
Photon Index (Free Index): 7.71 +/- 6.26
Photon Flux (Free Index): 4.96e-08 +/- 4.07e-08
Energy Flux (Free Index): 5.80e-06 +/- 5.25e-06

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/443193/cmap_HighResolution_424656001_424915201_4FGL_J2243.8-2510_daily_bin715.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.18e-03', comment='SUCCESS', energy_flux2='5.80e-06', dlogl='1.06e+00', photon_flux2='4.96e-08', job_status='DONE', time_completed='2021-09-28 19:09:56.114384', photon_index_error2='6.26', photon_index2='7.71', ts='0.00', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', photon_flux_upper_limit='7.84e-08', energy_flux_error2='5.25e-06', EG='0.56', time_epoch_completed='1632881396.11', return_code='0', job_id='443193', GAL2='1.10', EG2='0.50', return_code2='102', photon_flux_error2='4.07e-08', ts2='2.26', photon_index='2.71' WHERE bin_id='715' AND source_name='4FGL J2243.8-2510' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 19:09:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0031>
Subject: Job 443193: <4FGL_J2243.8-2510_daily_bin715> in cluster <slac> Done

Job <4FGL_J2243.8-2510_daily_bin715> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 18:55:13 2021
Job was executed on host(s) <bullet0031>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 18:55:16 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:55:16 2021
Terminated at Tue Sep 28 19:09:56 2021
Results reported at Tue Sep 28 19:09:56 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.8-2510_daily_bin715 340.957 -25.1701 424656001 424915201 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 :                                   671.39 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             281.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   880 sec.
    Turnaround time :                            883 sec.

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

