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


Performing analysis on: 4FGL_J2243.8-2510_daily_bin1101
RA = 340.957, Dec = -25.1701
tmin = 524707201, tmax = 524966401
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='444820', job_status='RUN', time_executed='2021-09-28 19:01:50.026595', time_epoch_executed='1632880910.03' WHERE source_name='4FGL J2243.8-2510' and cadence='daily' and bin_id='1101'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/444820

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/444820/ft1_4FGL_J2243.8-2510_daily_bin1101.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/444820/ft2_4FGL_J2243.8-2510_daily_bin1101.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/444820/ft1_4FGL_J2243.8-2510_daily_bin1101.fits outfile=/scratch/kocevski/444820/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin1101.fits ra=340.957 dec=-25.1701 rad=12.0 tmin=524707201.0 tmax=524966401.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.38
user 3.17
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/444820/ft1_filtered_4FGL_J2243.8-2510_daily_bin1101.fits" evtable="EVENTS" scfile=/scratch/kocevski/444820/ft2_4FGL_J2243.8-2510_daily_bin1101.fits sctable="SC_DATA" outfile=/scratch/kocevski/444820/ltcube_524707201_524966401_4FGL_J2243.8-2510_daily_bin1101.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/444820/ft2_4FGL_J2243.8-2510_daily_bin1101.fits
.....................!
real 11.92
user 11.58
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/444820/ft1_filtered_4FGL_J2243.8-2510_daily_bin1101.fits evtable="EVENTS" scfile=/scratch/kocevski/444820/ft2_4FGL_J2243.8-2510_daily_bin1101.fits sctable="SC_DATA" expcube=/scratch/kocevski/444820/ltcube_524707201_524966401_4FGL_J2243.8-2510_daily_bin1101.fits outfile=/scratch/kocevski/444820/expmap_524707201_524966401_4FGL_J2243.8-2510_daily_bin1101.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/444820/ltcube_524707201_524966401_4FGL_J2243.8-2510_daily_bin1101.fits
.....................!
real 190.59
user 185.26
sys 4.96

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/444820/ft1_filtered_4FGL_J2243.8-2510_daily_bin1101.fits scfile=/scratch/kocevski/444820/ft2_4FGL_J2243.8-2510_daily_bin1101.fits outfile=/scratch/kocevski/444820/cmap_524707201_524966401_4FGL_J2243.8-2510_daily_bin1101.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.54
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/444820/ft1_filtered_4FGL_J2243.8-2510_daily_bin1101.fits scfile=/scratch/kocevski/444820/ft2_4FGL_J2243.8-2510_daily_bin1101.fits outfile=/scratch/kocevski/444820/cmap_HighResolution_524707201_524966401_4FGL_J2243.8-2510_daily_bin1101.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/444820/ft1_filtered_4FGL_J2243.8-2510_daily_bin1101.fits evtable="EVENTS" scfile=/scratch/kocevski/444820/ft2_4FGL_J2243.8-2510_daily_bin1101.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/444820/Model_4FGL_J2243.8-2510_daily_bin1101.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/444820/ft1_filtered_4FGL_J2243.8-2510_daily_bin1101.fits.....................!
real 53.37
user 51.95
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    120.64       1.0000         .10000E-03   10000.    
     2 'norm      '    .92010       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.3507       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .16758E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    10.759       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.5739       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    2.2778       1.0000         .10000E-03   10000.    
    11 'norm      '    .10952E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    61.907       1.0000         .10000E-03   10000.    
    13 'Prefactor '    18.123       1.0000         .10000E-03   10000.    
    14 'norm      '    .55495E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10052E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    2.3951       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .12644E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    7.1483       1.0000         .10000E-03   10000.    
    20 'Prefactor '    4.0701       1.0000         .10000E-03   10000.    
    21 'norm      '    3.3699       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .13120E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .66304       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0636       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=   6899.906     FROM MIGRAD    STATUS=CONVERGED    550 CALLS     2747 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     120.61        76.712        .17051E-05    .62430E-04
   2  norm          .92012        .30761       -.89073E-08   -.18390E-03
   3  Prefactor     .10000E-03    5.3263       -.66191E-07** at limit **
   4  Prefactor     .10000E-03    6.3900        .32539E-07** at limit **
   5  Prefactor     6.3505        6.3354        .13237E-06    .55305E-04
   6  Prefactor     .10000E-03    101.55        .40599E-05** at limit **
   7  norm          10.751        20.718       -.11222E-05   -.30726E-04
   8  Prefactor     1.5762        20.249       -.84855E-06   -.12005E-05
   9  Prefactor     .10000E-03    1.9619        .25461E-07** at limit **
  10  norm          2.2777        .88509       -.40184E-08   -.29878E-03
  11  norm          .10000E-03    2.6674       -.22053E-05** at limit **
  12  Prefactor     61.850        33.722       -.53730E-06    .23581E-03
  13  Prefactor     18.124        12.221       -.20405E-06   -.12719E-03
  14  norm          .10000E-03    1.8543        .72666E-06** at limit **
  15  Prefactor     .10000E-03    4.0653        .90764E-07** at limit **
  16  Prefactor     .10000E-03    2.4679        .18493E-06** at limit **
  17  norm          2.3953        .64698       -.53820E-07   -.13978E-02
  18  Prefactor     .10000E-03    55.333        .13957E-05** at limit **
  19  Prefactor     7.1471        8.5602        .38309E-06    .67354E-04
  20  Prefactor     4.0703        5.0409        .46893E-06    .51662E-03
  21  norm          3.3690        3.0124        .22484E-06    .43726E-03
  22  Prefactor     .10000E-03    76.673       -.37956E-05** at limit **
  23  Normalizat    .66306        .16517        .24721E-06   -.49973E-04
  24  Prefactor     1.0636        .15145       -.59360E-06   -.98751E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 120.611
  norm       = 0.920125
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.35047
  Prefactor  = 0.000100002
  norm       = 10.7512
  Prefactor  = 1.57616
  Prefactor  = 0.0001
  norm       = 2.27772
  norm       = 0.0001
  Prefactor  = 61.8496
  Prefactor  = 18.1238
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.39531
  Prefactor  = 0.0001
  Prefactor  = 7.14709
  Prefactor  = 4.07027
  norm       = 3.36902
  Prefactor  = 0.0001
  Normalizat = 0.663063
  Prefactor  = 1.06359
 **********
 **   18 **HESSE 
 **********

 FCN=   6899.906     FROM HESSE     STATUS=OK           401 CALLS     3148 TOTAL
                     EDM=   .63E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     120.61        77.253        .18320E-03   -1.3507    
   2  norm          .92012        .30902        .25755E-04   -1.5516    
   3  Prefactor     .10000E-03    5.4077        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    6.4042        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     6.3505        6.3457        .15928E-03   -1.5204    
   6  Prefactor     .10000E-03    103.04        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          10.751        20.720        .12215E-03   -1.5052    
   8  Prefactor     1.5762        20.126        .33874E-03   -1.5457    
   9  Prefactor     .10000E-03    1.9647        .11363E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.2777        .88403        .47104E-04   -1.5406    
  11  norm          .10000E-03    2.7176        .18062E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     61.850        33.289        .25499E-03   -1.4133    
  13  Prefactor     18.124        12.306        .94083E-04   -1.4856    
  14  norm          .10000E-03    10.625        .20699E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    4.0735        .16356E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    2.4884        .12745E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.3953        .64178        .32366E-04   -1.5398    
  18  Prefactor     .10000E-03    55.546        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     7.1471        8.5793        .15003E-03   -1.5173    
  20  Prefactor     4.0703        5.1558        .99925E-03   -1.5304    
  21  norm          3.3690        3.0234        .13159E-03   -1.5341    
  22  Prefactor     .10000E-03    78.135        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .66306        .19430        .27741E-03   -1.0537    
  24  Prefactor     1.0636        .17859        .21484E-03   -.90639    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.2565e-10
Minuit parameter uncertainties:
  1  77.3172
  2  0.309024
  3  8.51201e-06
  4  1.10624e-06
  5  6.34635
  6  0.000791128
  7  20.7334
  8  11.2688
  9  2.04188e-06
  10  0.884038
  11  4.90464e-05
  12  33.2994
  13  12.3082
  14  0.000160658
  15  9.05248e-06
  16  1.42848e-05
  17  0.64178
  18  0.000245567
  19  8.58077
  20  5.15635
  21  3.02353
  22  0.000202701
  23  0.194504
  24  0.17869
Done.

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

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  6.185e+01  3.330e+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:  1.064e+00  1.787e-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:  6.631e-01  1.945e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.91
Ra Dec: 340.957 -25.170
Photon Index (Fixed Index): 2.71 +/- 0.00
Photon Flux (Fixed Index): 6.41e-08 +/- 3.45e-08
Energy Flux (Fixed Index): 1.54e-05 +/- 8.26e-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) = 6899.39173646
delta logL = 0.51430780789

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6899.39151199
delta logL = 0.514532284184

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    89.551       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2023       1.0000          .0000       10.000    
     3 'Normalizat'    .68627       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0466       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=   6899.391     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      270 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     89.409        1173.9        .10615E-02    .49051E-05
   2  Index         2.2004        6.0316        .19270        .14081E-04
   3  Normalizat    .68662        .11110        .61707E-01    .13417E-03
   4  Prefactor     1.0465        .90704E-01    .40111E-01    .18888E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 89.4091
  Index      = 2.20036
  Normalizat = 0.686622
  Prefactor  = 1.04645
 **********
 **   18 **HESSE 
 **********

 FCN=   6899.391     FROM HESSE     STATUS=OK            29 CALLS      299 TOTAL
                     EDM=   .31E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     89.409        50.679        .42461E-04   -1.3814    
   2  Index         2.2004        .46114        .70654E-02   -.59430    
   3  Normalizat    .68662        .18306        .27298E-03   -1.0442    
   4  Prefactor     1.0465        .17549        .21631E-03   -.91197    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.12739e-11
Minuit parameter uncertainties:
  1  50.7036
  2  0.462097
  3  0.183226
  4  0.175587
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/444820': 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) = 6899.39149502
delta logL = 0.51454924981

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  8.941e+01  5.070e+01  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  2.200e+00  4.621e-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:  1.046e+00  1.756e-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:  6.866e-01  1.832e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.89
Ra Dec: 340.957 -25.170
Photon Index (Free Index): 2.20 +/- 0.46
Photon Flux (Free Index): 5.00e-08 +/- 3.22e-08
Energy Flux (Free Index): 2.24e-05 +/- 1.68e-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/444820/cmap_HighResolution_524707201_524966401_4FGL_J2243.8-2510_daily_bin1101.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.41e-08', energy_flux2='2.24e-05', photon_flux_error='3.45e-08', dlogl='5.15e-01', energy_flux='1.54e-05', photon_flux2='5.00e-08', job_status='DONE', time_completed='2021-09-28 19:12:10.139178', photon_index_error2='0.46', photon_index2='2.20', ts='6.91', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', energy_flux_error2='1.68e-05', EG='0.66', time_epoch_completed='1632881530.14', return_code='0', job_id='444820', GAL2='1.05', EG2='0.69', return_code2='0', energy_flux_error='8.26e-06', photon_flux_error2='3.22e-08', ts2='7.89', photon_index='2.71' WHERE bin_id='1101' AND source_name='4FGL J2243.8-2510' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 19:12:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0085>
Subject: Job 444820: <4FGL_J2243.8-2510_daily_bin1101> in cluster <slac> Done

Job <4FGL_J2243.8-2510_daily_bin1101> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Sep 28 19:00:17 2021
Job was executed on host(s) <bullet0085>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 19:00:18 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:18 2021
Terminated at Tue Sep 28 19:12:10 2021
Results reported at Tue Sep 28 19:12:10 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.8-2510_daily_bin1101 340.957 -25.1701 524707201 524966401 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 :                                   617.19 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             298.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   712 sec.
    Turnaround time :                            713 sec.

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

