/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 9 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.4-2544_daily_bin483
RA = 340.865, Dec = -25.7363
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='434161', job_status='RUN', time_executed='2021-09-28 18:26:40.661784', time_epoch_executed='1632878800.66' WHERE source_name='4FGL J2243.4-2544' and cadence='daily' and bin_id='483'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/434161

Creating custom pfile directory:
/scratch/kocevski/434161/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/434161/ft1_4FGL_J2243.4-2544_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/434161/ft2_4FGL_J2243.4-2544_daily_bin483.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/434161/ft1_4FGL_J2243.4-2544_daily_bin483.fits outfile=/scratch/kocevski/434161/ft1_filteredMKT_4FGL_J2243.4-2544_daily_bin483.fits ra=340.865 dec=-25.7363 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.24
user 3.01
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/434161/ft2_4FGL_J2243.4-2544_daily_bin483.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/434161/ft2_4FGL_J2243.4-2544_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/434161/ft1_filteredMKT_4FGL_J2243.4-2544_daily_bin483.fits evtable="EVENTS" outfile="/scratch/kocevski/434161/ft1_filtered_4FGL_J2243.4-2544_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.52
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/434161/ft1_filtered_4FGL_J2243.4-2544_daily_bin483.fits" evtable="EVENTS" scfile=/scratch/kocevski/434161/ft2_4FGL_J2243.4-2544_daily_bin483.fits sctable="SC_DATA" outfile=/scratch/kocevski/434161/ltcube_364521601_364780801_4FGL_J2243.4-2544_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/434161/ft2_4FGL_J2243.4-2544_daily_bin483.fits
.....................!
real 12.04
user 11.68
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/434161/ft1_filtered_4FGL_J2243.4-2544_daily_bin483.fits evtable="EVENTS" scfile=/scratch/kocevski/434161/ft2_4FGL_J2243.4-2544_daily_bin483.fits sctable="SC_DATA" expcube=/scratch/kocevski/434161/ltcube_364521601_364780801_4FGL_J2243.4-2544_daily_bin483.fits outfile=/scratch/kocevski/434161/expmap_364521601_364780801_4FGL_J2243.4-2544_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/434161/ltcube_364521601_364780801_4FGL_J2243.4-2544_daily_bin483.fits
.....................!
real 191.66
user 185.44
sys 5.70

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 161 point sources and 0 extended sources

Setting source of interest to:
4FGL J2243.4-2544 @ 340.865 -25.7363

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/434161/ft1_filtered_4FGL_J2243.4-2544_daily_bin483.fits scfile=/scratch/kocevski/434161/ft2_4FGL_J2243.4-2544_daily_bin483.fits outfile=/scratch/kocevski/434161/cmap_364521601_364780801_4FGL_J2243.4-2544_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.865 yref=-25.7363 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.55
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/434161/ft1_filtered_4FGL_J2243.4-2544_daily_bin483.fits scfile=/scratch/kocevski/434161/ft2_4FGL_J2243.4-2544_daily_bin483.fits outfile=/scratch/kocevski/434161/cmap_HighResolution_364521601_364780801_4FGL_J2243.4-2544_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.865 yref=-25.7363 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/434161/ft1_filtered_4FGL_J2243.4-2544_daily_bin483.fits evtable="EVENTS" scfile=/scratch/kocevski/434161/ft2_4FGL_J2243.4-2544_daily_bin483.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/434161/Model_4FGL_J2243.4-2544_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/434161/ft1_filtered_4FGL_J2243.4-2544_daily_bin483.fits.....................!
real 59.47
user 58.04
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/434161/ft1_filtered_4FGL_J2243.4-2544_daily_bin483.fits', '/scratch/kocevski/434161/ft2_4FGL_J2243.4-2544_daily_bin483.fits', expMap='/scratch/kocevski/434161/expmap_364521601_364780801_4FGL_J2243.4-2544_daily_bin483.fits', expCube='/scratch/kocevski/434161/ltcube_364521601_364780801_4FGL_J2243.4-2544_daily_bin483.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/434161/Model_4FGL_J2243.4-2544_daily_bin483.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2243.4-2544'

4FGL J2243.4-2544
   Spectrum: LogParabola
252         norm:  1.477e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
253        alpha:  1.999e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
254         beta:  1.309e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
255           Eb:  1.191e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/434161/ft1_filtered_4FGL_J2243.4-2544_daily_bin483.fits
Spacecraft file(s): /scratch/kocevski/434161/ft2_4FGL_J2243.4-2544_daily_bin483.fits
Exposure map: /scratch/kocevski/434161/expmap_364521601_364780801_4FGL_J2243.4-2544_daily_bin483.fits
Exposure cube: /scratch/kocevski/434161/ltcube_364521601_364780801_4FGL_J2243.4-2544_daily_bin483.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/434161/Model_4FGL_J2243.4-2544_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) = 7783.98025744

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    60.510       1.0000         .10000E-03   10000.    
     3 'norm      '    1.8320       1.0000         .10000E-03   10000.    
     4 'Prefactor '    8.6021       1.0000         .10000E-03   10000.    
     5 'Prefactor '    20.606       1.0000         .10000E-03   10000.    
     6 'Prefactor '    7.2115       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    6.7654       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .96492E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    13.446       1.0000         .10000E-03   10000.    
    12 'norm      '    1.4226       1.0000         .10000E-03   10000.    
    13 'Prefactor '    49.319       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    3.9892       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .23123E-01   1.0000         .10000E-03   10000.    
    18 'norm      '    5.4095       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10241E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10159E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    6.1462       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .87613       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .65984       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5200E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7783.957     FROM MIGRAD    STATUS=CONVERGED    615 CALLS     2943 TOTAL
                     EDM=   .76E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    10.620       -.62542E-07** at limit **
   2  Prefactor     60.488        50.071       -.31143E-05   -.25868E-03
   3  norm          1.8320        .43511        .21978E-07   -.14683E-03
   4  Prefactor     8.6025        6.9681        .18147E-06    .62249E-05
   5  Prefactor     20.605        14.088        .76698E-07   -.19291E-04
   6  Prefactor     7.2098        6.5931        .17181E-05   -.91905E-03
   7  Prefactor     .10000E-03    14.219        .12359E-06** at limit **
   8  norm          .10000E-03    31.885        .25546E-05** at limit **
   9  Prefactor     6.7649        8.4877       -.44773E-07   -.18791E-04
  10  Prefactor     .10000E-03    6.0876       -.26299E-06** at limit **
  11  norm          13.446        1.6827        .64994E-08    .37647E-04
  12  norm          1.4222        1.4590       -.15332E-06   -.89839E-04
  13  Prefactor     49.352        38.595        .21503E-05    .32776E-03
  14  Prefactor     .10000E-03    9.6168        .25186E-07** at limit **
  15  norm          3.9885        2.7986       -.82226E-07   -.22915E-03
  16  Prefactor     .10000E-03    9.0153        .71525E-07** at limit **
  17  Prefactor     .10007E-03    5.9943        .11740E-05** at limit **
  18  norm          5.4086        .97589       -.12271E-06   -.17775E-02
  19  Prefactor     .10000E-03    85.733       -.91585E-07** at limit **
  20  Prefactor     .10000E-03    1.9674        .13543E-07** at limit **
  21  Prefactor     .10005E-03    8.3691       -.75481E-06** at limit **
  22  norm          6.1458        2.7347        .27199E-07   -.82172E-05
  23  Prefactor     .10000E-03    13.168       -.74684E-07** at limit **
  24  Normalizat    .87624        .15583       -.14595E-05    .13029E-04
  25  Prefactor     .65974        .13836        .46840E-06   -.76812E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 60.4884
  norm       = 1.83198
  Prefactor  = 8.60253
  Prefactor  = 20.6055
  Prefactor  = 7.20976
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 6.76488
  Prefactor  = 0.0001
  norm       = 13.4461
  norm       = 1.42219
  Prefactor  = 49.3515
  Prefactor  = 0.0001
  norm       = 3.98847
  Prefactor  = 0.0001
  Prefactor  = 0.000100066
  norm       = 5.4086
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100054
  norm       = 6.14576
  Prefactor  = 0.0001
  Normalizat = 0.876242
  Prefactor  = 0.659742
 **********
 **   18 **HESSE 
 **********

 FCN=   7783.957     FROM HESSE     STATUS=OK           437 CALLS     3380 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    10.625        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     60.488        51.670        .51580E-04   -1.4151    
   3  norm          1.8320        .43572        .27311E-04   -1.5437    
   4  Prefactor     8.6025        6.9685        .13667E-03   -1.5121    
   5  Prefactor     20.605        14.088        .88235E-04   -1.4800    
   6  Prefactor     7.2098        6.9858        .74684E-03   -1.5171    
   7  Prefactor     .10000E-03    14.226        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    32.946        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     6.7649        8.4852        .77131E-03   -1.5188    
  10  Prefactor     .10000E-03    30.858        .40558E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          13.446        1.6831        .39253E-04   -1.4974    
  12  norm          1.4222        1.4633        .10038E-03   -1.5469    
  13  Prefactor     49.352        39.065        .57102E-04   -1.4302    
  14  Prefactor     .10000E-03    9.9404        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          3.9885        2.8029        .11808E-03   -1.5309    
  16  Prefactor     .10000E-03    9.0717        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10007E-03    20.997        .46435E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          5.4086        1.0776        .30292E-04   -1.5243    
  19  Prefactor     .10000E-03    86.413        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    1.9696        .12085E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10005E-03    34.057        .42003E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          6.1458        2.7348        .94545E-04   -1.5212    
  23  Prefactor     .10000E-03    13.193        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .87624        .18051        .24890E-03   -.97300    
  25  Prefactor     .65974        .16055        .26307E-03   -1.0513    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.9204e-09
Minuit parameter uncertainties:
  1  3.36523e-05
  2  51.7083
  3  0.435717
  4  6.96918
  5  14.09
  6  6.98662
  7  1.73481e-05
  8  0.000379414
  9  8.48675
  10  5.42592e-05
  11  1.68308
  12  1.46331
  13  39.0853
  14  1.32133e-05
  15  2.80294
  16  1.21484e-05
  17  0.00235645
  18  1.07759
  19  1.29004e-05
  20  9.87047e-07
  21  0.00271526
  22  2.7349
  23  5.35807e-06
  24  0.18063
  25  0.160662
Done.

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

Extracting fit parameters...

4FGL J2243.4-2544
   Spectrum: LogParabola
252         norm:  1.422e+00  1.463e+00  1.000e-04  1.000e+04 ( 1.000e-12)
253        alpha:  1.999e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
254         beta:  1.309e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
255           Eb:  1.191e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
517    Prefactor:  6.597e-01  1.607e-01  0.000e+00  1.000e+01 ( 1.000e+00)
518        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
519        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
516   Normalization:  8.762e-01  1.806e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.20
Ra Dec: 340.865 -25.736
Photon Index (Fixed Index): 2.00 +/- 0.00
Photon Flux (Fixed Index): 1.38e-08 +/- 1.42e-08
Energy Flux (Fixed Index): 8.75e-06 +/- 9.01e-06

TS (Fixed Index): 3.20
Ra Dec: 340.865 -25.736
Photon Flux Upper Limit: 5.26e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.35e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/434161/likelihoodResults_364521601_364780801_4FGL_J2243.4-2544_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) = 7783.91700661
delta logL = 0.040490188615

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7783.91512817
delta logL = 0.0423686290569

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.3373       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6881       1.0000          .0000       5.0000    
     3 'Normalizat'    .87938       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .65919       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5200E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7783.915     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      199 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3359        7.9854        .94814E-02   -.17978E-03
   2  alpha         1.6878        3.2219        .44300       -.25693E-04
   3  Normalizat    .87992        .16857        .44638E-01    .19069E-04
   4  Prefactor     .65883        .14209        .41855E-01    .24197E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.33588
  alpha      = 1.6878
  Normalizat = 0.879923
  Prefactor  = 0.658827
 **********
 **   18 **HESSE 
 **********

 FCN=   7783.915     FROM HESSE     STATUS=OK            33 CALLS      232 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.3359        1.4583        .10121E-03   -1.5477    
   2  alpha         1.6878        .99978        .29724E-01   -.33088    
   3  Normalizat    .87992        .16915        .24849E-03   -.97169    
   4  Prefactor     .65883        .15765        .26330E-03   -1.0516    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.05972e-09
Minuit parameter uncertainties:
  1  1.45836
  2  1.03226
  3  0.169254
  4  0.157755
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/434161': 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) = 7783.91512207
delta logL = 0.0423747322448

Extracting fit parameters...

4FGL J2243.4-2544
   Spectrum: LogParabola
252         norm:  1.336e+00  1.458e+00  1.000e-04  1.000e+04 ( 1.000e-12)
253        alpha:  1.688e+00  1.032e+00  0.000e+00  5.000e+00 ( 1.000e+00)
254         beta:  1.309e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
255           Eb:  1.191e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
517    Prefactor:  6.588e-01  1.578e-01  0.000e+00  1.000e+01 ( 1.000e+00)
518        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
519        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
516   Normalization:  8.799e-01  1.693e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.28
Ra Dec: 340.865 -25.736
Photon Index (Free Index): 1.69 +/- 1.03
Photon Flux (Free Index): 9.03e-09 +/- 1.55e-08
Energy Flux (Free Index): 1.03e-05 +/- 1.33e-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/434161/cmap_HighResolution_364521601_364780801_4FGL_J2243.4-2544_daily_bin483.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.35e-05', comment='SUCCESS', photon_flux='1.38e-08', energy_flux2='1.03e-05', photon_flux_error='1.42e-08', dlogl='4.24e-02', energy_flux='8.75e-06', photon_flux2='9.03e-09', job_status='DONE', time_completed='2021-09-28 18:39:26.348852', photon_index_error2='1.03', photon_index2='1.69', ts='3.20', fit_tolerance='1e-08', GAL='0.66', photon_index_error='0.00', photon_flux_upper_limit='5.26e-08', energy_flux_error2='1.33e-05', EG='0.88', time_epoch_completed='1632879566.35', return_code='0', job_id='434161', GAL2='0.66', EG2='0.88', return_code2='0', energy_flux_error='9.01e-06', photon_flux_error2='1.55e-08', ts2='3.28', photon_index='2.00' WHERE bin_id='483' AND source_name='4FGL J2243.4-2544' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 18:39:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0240>
Subject: Job 434161: <4FGL_J2243.4-2544_daily_bin483> in cluster <slac> Done

Job <4FGL_J2243.4-2544_daily_bin483> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep 28 18:26:20 2021
Job was executed on host(s) <bullet0240>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 18:26:21 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:26:21 2021
Terminated at Tue Sep 28 18:39:27 2021
Results reported at Tue Sep 28 18:39:27 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.4-2544_daily_bin483 340.865 -25.7363 364521601 364780801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2243.4-2544 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   756.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             334.15 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   785 sec.
    Turnaround time :                            787 sec.

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

