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


Performing analysis on: 4FGL_J2243.8-2510_daily_bin608
RA = 340.957, Dec = -25.1701
tmin = 396921601, tmax = 397180801
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='442010', job_status='RUN', time_executed='2021-09-28 18:54:37.078707', time_epoch_executed='1632880477.08' WHERE source_name='4FGL J2243.8-2510' and cadence='daily' and bin_id='608'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/442010

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/442010/ft1_4FGL_J2243.8-2510_daily_bin608.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/442010/ft2_4FGL_J2243.8-2510_daily_bin608.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/442010/ft1_4FGL_J2243.8-2510_daily_bin608.fits outfile=/scratch/kocevski/442010/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin608.fits ra=340.957 dec=-25.1701 rad=12.0 tmin=396921601.0 tmax=397180801.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.55
user 4.32
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/442010/ft1_filtered_4FGL_J2243.8-2510_daily_bin608.fits" evtable="EVENTS" scfile=/scratch/kocevski/442010/ft2_4FGL_J2243.8-2510_daily_bin608.fits sctable="SC_DATA" outfile=/scratch/kocevski/442010/ltcube_396921601_397180801_4FGL_J2243.8-2510_daily_bin608.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/442010/ft2_4FGL_J2243.8-2510_daily_bin608.fits
.....................!
real 11.66
user 11.28
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/442010/ft1_filtered_4FGL_J2243.8-2510_daily_bin608.fits evtable="EVENTS" scfile=/scratch/kocevski/442010/ft2_4FGL_J2243.8-2510_daily_bin608.fits sctable="SC_DATA" expcube=/scratch/kocevski/442010/ltcube_396921601_397180801_4FGL_J2243.8-2510_daily_bin608.fits outfile=/scratch/kocevski/442010/expmap_396921601_397180801_4FGL_J2243.8-2510_daily_bin608.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/442010/ltcube_396921601_397180801_4FGL_J2243.8-2510_daily_bin608.fits
.....................!
real 189.86
user 185.40
sys 4.09

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/442010/ft1_filtered_4FGL_J2243.8-2510_daily_bin608.fits scfile=/scratch/kocevski/442010/ft2_4FGL_J2243.8-2510_daily_bin608.fits outfile=/scratch/kocevski/442010/cmap_396921601_397180801_4FGL_J2243.8-2510_daily_bin608.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.57
user 0.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/442010/ft1_filtered_4FGL_J2243.8-2510_daily_bin608.fits scfile=/scratch/kocevski/442010/ft2_4FGL_J2243.8-2510_daily_bin608.fits outfile=/scratch/kocevski/442010/cmap_HighResolution_396921601_397180801_4FGL_J2243.8-2510_daily_bin608.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.57
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/442010/ft1_filtered_4FGL_J2243.8-2510_daily_bin608.fits evtable="EVENTS" scfile=/scratch/kocevski/442010/ft2_4FGL_J2243.8-2510_daily_bin608.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/442010/Model_4FGL_J2243.8-2510_daily_bin608.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/442010/ft1_filtered_4FGL_J2243.8-2510_daily_bin608.fits.....................!
real 57.76
user 56.35
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    29.895       1.0000         .10000E-03   10000.    
     2 'norm      '    .97317       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    13.027       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10117E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    26.122       1.0000         .10000E-03   10000.    
     7 'norm      '    16.041       1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.5382       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .16838E-01   1.0000         .10000E-03   10000.    
    10 'norm      '    .58360       1.0000         .10000E-03   10000.    
    11 'norm      '    .11853E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    81.423       1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.9927       1.0000         .10000E-03   10000.    
    14 'norm      '    7.6103       1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.1896       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10050E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10069E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    12.338       1.0000         .10000E-03   10000.    
    20 'Prefactor '    12.723       1.0000         .10000E-03   10000.    
    21 'norm      '    2.9669       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10053E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .96294       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .77429       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=   7643.957     FROM MIGRAD    STATUS=CONVERGED    570 CALLS     2783 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     29.893        36.171       -.11454E-06   -.42335E-04
   2  norm          .97317        .28990        .16021E-07   -.32866E-03
   3  Prefactor     .10000E-03    1.6095       -.21048E-07** at limit **
   4  Prefactor     13.027        11.227        .24699E-06   -.64345E-04
   5  Prefactor     .10002E-03    4.6584        .11048E-05** at limit **
   6  Prefactor     26.165        40.749        .99296E-05    .33334E-03
   7  norm          16.037        12.014       -.27340E-06   -.15981E-03
   8  Prefactor     7.5396        12.422        .28243E-06   -.84370E-04
   9  Prefactor     .10030E-03    3.7882        .79868E-06** at limit **
  10  norm          .58387        .52989        .66702E-07   -.36910E-03
  11  norm          .10001E-03    1.0897        .16516E-05** at limit **
  12  Prefactor     81.455        37.024       -.29618E-06   -.30512E-03
  13  Prefactor     5.9919        8.2716        .46779E-05   -.52306E-03
  14  norm          7.6097        3.2647       -.86437E-07   -.54476E-03
  15  Prefactor     6.1885        6.8225        .18684E-06   -.11828E-03
  16  Prefactor     .10000E-03    6.1483        .80737E-07** at limit **
  17  norm          .10000E-03    .25130        .13194E-07** at limit **
  18  Prefactor     .10000E-03    37.324       -.31382E-06** at limit **
  19  Prefactor     12.340        6.9681        .60677E-06    .29678E-03
  20  Prefactor     12.711        8.2092       -.24148E-06   -.53410E-03
  21  norm          2.9677        2.6498        .26186E-06   -.30591E-04
  22  Prefactor     .10000E-03    23.241       -.15138E-05** at limit **
  23  Normalizat    .96296        .15392       -.27671E-05   -.50202E-03
  24  Prefactor     .77425        .13567        .42087E-06   -.65989E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 29.8932
  norm       = 0.97317
  Prefactor  = 0.0001
  Prefactor  = 13.027
  Prefactor  = 0.000100018
  Prefactor  = 26.1654
  norm       = 16.0368
  Prefactor  = 7.5396
  Prefactor  = 0.000100296
  norm       = 0.583869
  norm       = 0.000100007
  Prefactor  = 81.4553
  Prefactor  = 5.99194
  norm       = 7.60968
  Prefactor  = 6.18851
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.3403
  Prefactor  = 12.7113
  norm       = 2.96768
  Prefactor  = 0.0001
  Normalizat = 0.96296
  Prefactor  = 0.774252
 **********
 **   18 **HESSE 
 **********

 FCN=   7643.957     FROM HESSE     STATUS=OK           403 CALLS     3186 TOTAL
                     EDM=   .97E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     29.893        36.170        .73277E-04   -1.4614    
   2  norm          .97317        .29065        .24967E-04   -1.5511    
   3  Prefactor     .10000E-03    1.6115        .10832E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     13.027        11.229        .11098E-03   -1.4986    
   5  Prefactor     .10002E-03    21.322        .35614E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     26.165        42.635        .78379E-04   -1.4684    
   7  norm          16.037        12.017        .10000E-03   -1.4907    
   8  Prefactor     7.5396        12.357        .14607E-03   -1.5159    
   9  Prefactor     .10030E-03    77.624        .32072E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .58387        .50054        .58483E-03   -1.5555    
  11  norm          .10001E-03    1.8657        .16151E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     81.455        36.028        .44511E-04   -1.3900    
  13  Prefactor     5.9919        8.4143        .82013E-03   -1.5218    
  14  norm          7.6097        3.2461        .98203E-04   -1.5156    
  15  Prefactor     6.1885        6.7540        .16136E-03   -1.5210    
  16  Prefactor     .10000E-03    6.2673        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    .73586        .80379E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    37.367        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     12.340        6.9847        .11404E-03   -1.5005    
  20  Prefactor     12.711        7.9802        .11230E-03   -1.4995    
  21  norm          2.9677        2.6418        .12967E-03   -1.5363    
  22  Prefactor     .10000E-03    23.340        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .96296        .17968        .22910E-03   -.94282    
  24  Prefactor     .77425        .16171        .23559E-03   -1.0068    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.67728e-09
Minuit parameter uncertainties:
  1  36.1963
  2  0.290652
  3  1.80062e-06
  4  11.2307
  5  0.00122707
  6  42.6846
  7  12.0184
  8  12.3612
  9  0.00959539
  10  0.500539
  11  0.000226922
  12  36.0377
  13  8.41592
  14  3.24622
  15  6.75487
  16  1.8448e-05
  17  1.33996e-05
  18  2.9328e-05
  19  6.98513
  20  7.98091
  21  2.64189
  22  0.000136287
  23  0.179789
  24  0.161813
Done.

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

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  8.146e+01  3.604e+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:  7.743e-01  1.618e-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:  9.630e-01  1.798e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.40
Ra Dec: 340.957 -25.170
Photon Index (Fixed Index): 2.71 +/- 0.00
Photon Flux (Fixed Index): 8.44e-08 +/- 3.73e-08
Energy Flux (Fixed Index): 2.02e-05 +/- 8.94e-06

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) = 7643.8105649
delta logL = 0.145986905117

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7643.80989884
delta logL = 0.146652967042

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    99.758       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4647       1.0000          .0000       10.000    
     3 'Normalizat'    .97674       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .76413       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=   7643.810     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      293 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     99.718        53.167        .20125E-03    .32482E-04
   2  Index         2.4641        .43711        .59357E-02    .37751E-03
   3  Normalizat    .97687        .17362        .22771E-03   -.15507E-03
   4  Prefactor     .76407        .16005        .23692E-03    .11742E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 99.7178
  Index      = 2.46407
  Normalizat = 0.97687
  Prefactor  = 0.764069
 **********
 **   18 **HESSE 
 **********

 FCN=   7643.810     FROM HESSE     STATUS=OK            25 CALLS      318 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     99.718        52.015        .80501E-05   -1.3707    
   2  Index         2.4641        .42747        .11871E-02   -.53192    
   3  Normalizat    .97687        .17377        .91083E-05   -.93809    
   4  Prefactor     .76407        .16018        .94769E-05   -1.0107    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.49918e-10
Minuit parameter uncertainties:
  1  52.0386
  2  0.428172
  3  0.173868
  4  0.160273
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/442010': 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) = 7643.80989629
delta logL = 0.146655515769

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  9.972e+01  5.204e+01  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  2.464e+00  4.282e-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:  7.641e-01  1.603e-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:  9.769e-01  1.739e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.67
Ra Dec: 340.957 -25.170
Photon Index (Free Index): 2.46 +/- 0.43
Photon Flux (Free Index): 7.57e-08 +/- 3.86e-08
Energy Flux (Free Index): 2.29e-05 +/- 1.17e-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/442010/cmap_HighResolution_396921601_397180801_4FGL_J2243.8-2510_daily_bin608.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.44e-08', energy_flux2='2.29e-05', photon_flux_error='3.73e-08', dlogl='1.47e-01', energy_flux='2.02e-05', photon_flux2='7.57e-08', job_status='DONE', time_completed='2021-09-28 19:05:29.252117', photon_index_error2='0.43', photon_index2='2.46', ts='8.40', fit_tolerance='1e-08', GAL='0.77', photon_index_error='0.00', energy_flux_error2='1.17e-05', EG='0.96', time_epoch_completed='1632881129.25', return_code='0', job_id='442010', GAL2='0.76', EG2='0.98', return_code2='0', energy_flux_error='8.94e-06', photon_flux_error2='3.86e-08', ts2='8.67', photon_index='2.71' WHERE bin_id='608' AND source_name='4FGL J2243.8-2510' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 19:05:29 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0065>
Subject: Job 442010: <4FGL_J2243.8-2510_daily_bin608> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.8-2510_daily_bin608 340.957 -25.1701 396921601 397180801 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 :                                   652.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             274.21 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   876 sec.
    Turnaround time :                            881 sec.

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

