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


Performing analysis on: 4FGL_J2243.4-2544_daily_bin1025
RA = 340.865, Dec = -25.7363
tmin = 505008001, tmax = 505267201
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='436748', job_status='RUN', time_executed='2021-09-28 18:37:47.856305', time_epoch_executed='1632879467.86' WHERE source_name='4FGL J2243.4-2544' and cadence='daily' and bin_id='1025'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/436748

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/436748/ft1_4FGL_J2243.4-2544_daily_bin1025.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/436748/ft2_4FGL_J2243.4-2544_daily_bin1025.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/436748/ft1_4FGL_J2243.4-2544_daily_bin1025.fits outfile=/scratch/kocevski/436748/ft1_filteredMKT_4FGL_J2243.4-2544_daily_bin1025.fits ra=340.865 dec=-25.7363 rad=12.0 tmin=505008001.0 tmax=505267201.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.62
user 4.38
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/436748/ft2_4FGL_J2243.4-2544_daily_bin1025.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/436748/ft1_filteredMKT_4FGL_J2243.4-2544_daily_bin1025.fits evtable="EVENTS" outfile="/scratch/kocevski/436748/ft1_filtered_4FGL_J2243.4-2544_daily_bin1025.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/436748/ft1_filtered_4FGL_J2243.4-2544_daily_bin1025.fits" evtable="EVENTS" scfile=/scratch/kocevski/436748/ft2_4FGL_J2243.4-2544_daily_bin1025.fits sctable="SC_DATA" outfile=/scratch/kocevski/436748/ltcube_505008001_505267201_4FGL_J2243.4-2544_daily_bin1025.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/436748/ft2_4FGL_J2243.4-2544_daily_bin1025.fits
.....................!
real 11.65
user 11.30
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/436748/ft1_filtered_4FGL_J2243.4-2544_daily_bin1025.fits evtable="EVENTS" scfile=/scratch/kocevski/436748/ft2_4FGL_J2243.4-2544_daily_bin1025.fits sctable="SC_DATA" expcube=/scratch/kocevski/436748/ltcube_505008001_505267201_4FGL_J2243.4-2544_daily_bin1025.fits outfile=/scratch/kocevski/436748/expmap_505008001_505267201_4FGL_J2243.4-2544_daily_bin1025.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/436748/ltcube_505008001_505267201_4FGL_J2243.4-2544_daily_bin1025.fits
.....................!
real 189.66
user 184.55
sys 4.75

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/436748/ft1_filtered_4FGL_J2243.4-2544_daily_bin1025.fits scfile=/scratch/kocevski/436748/ft2_4FGL_J2243.4-2544_daily_bin1025.fits outfile=/scratch/kocevski/436748/cmap_505008001_505267201_4FGL_J2243.4-2544_daily_bin1025.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.56
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/436748/ft1_filtered_4FGL_J2243.4-2544_daily_bin1025.fits scfile=/scratch/kocevski/436748/ft2_4FGL_J2243.4-2544_daily_bin1025.fits outfile=/scratch/kocevski/436748/cmap_HighResolution_505008001_505267201_4FGL_J2243.4-2544_daily_bin1025.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.55
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/436748/ft1_filtered_4FGL_J2243.4-2544_daily_bin1025.fits evtable="EVENTS" scfile=/scratch/kocevski/436748/ft2_4FGL_J2243.4-2544_daily_bin1025.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/436748/Model_4FGL_J2243.4-2544_daily_bin1025.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/436748/ft1_filtered_4FGL_J2243.4-2544_daily_bin1025.fits.....................!
real 65.23
user 63.68
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/436748/ft1_filtered_4FGL_J2243.4-2544_daily_bin1025.fits', '/scratch/kocevski/436748/ft2_4FGL_J2243.4-2544_daily_bin1025.fits', expMap='/scratch/kocevski/436748/expmap_505008001_505267201_4FGL_J2243.4-2544_daily_bin1025.fits', expCube='/scratch/kocevski/436748/ltcube_505008001_505267201_4FGL_J2243.4-2544_daily_bin1025.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/436748/Model_4FGL_J2243.4-2544_daily_bin1025.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/436748/ft1_filtered_4FGL_J2243.4-2544_daily_bin1025.fits
Spacecraft file(s): /scratch/kocevski/436748/ft2_4FGL_J2243.4-2544_daily_bin1025.fits
Exposure map: /scratch/kocevski/436748/expmap_505008001_505267201_4FGL_J2243.4-2544_daily_bin1025.fits
Exposure cube: /scratch/kocevski/436748/ltcube_505008001_505267201_4FGL_J2243.4-2544_daily_bin1025.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/436748/Model_4FGL_J2243.4-2544_daily_bin1025.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) = 8944.51394743

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .86816       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    13.676       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    26.764       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .90029       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .30456E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .13602       1.0000         .10000E-03   10000.    
    12 'norm      '    2.3200       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10254E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .92563E-02   1.0000         .10000E-03   10000.    
    16 'Prefactor '    6.2716       1.0000         .10000E-03   10000.    
    17 'Prefactor '    2.8011       1.0000         .10000E-03   10000.    
    18 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .11417E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .76750E-02   1.0000         .10000E-03   10000.    
    21 'Prefactor '    7.8911       1.0000         .10000E-03   10000.    
    22 'norm      '    3.3545       1.0000         .10000E-03   10000.    
    23 'Prefactor '    23.908       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.1356       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0703       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8944.354     FROM MIGRAD    STATUS=CONVERGED   1086 CALLS     3079 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8.1718        .18142E-02** at limit **
   2  Prefactor     .10000E-03    31.540        .18142E-02** at limit **
   3  norm          .86812        .29662        .29238E-04    .50517E-03
   4  Prefactor     .10000E-03    2.5475        .14713E-02** at limit **
   5  Prefactor     13.674        10.610        .10831E-03    .81451E-04
   6  Prefactor     .10000E-03    3.8004        .17910E-02** at limit **
   7  Prefactor     .10000E-03    13.435        .18142E-02** at limit **
   8  norm          26.759        17.039        .38718E-03    .14922E-03
   9  Prefactor     .86171        40.112        .50283E-02    .77980E-04
  10  Prefactor     .10000E-03    15.292        .39466E-02** at limit **
  11  norm          .13577        .73302        .11461E-02    .11737E-02
  12  norm          2.3184        1.5859        .95249E-04   -.32513E-03
  13  Prefactor     .10001E-03    44.155        .18142E-02** at limit **
  14  Prefactor     .10000E-03    10.604        .18142E-02** at limit **
  15  norm          .19302E-01    4.7937        .39004E-01    .37005E-03
  16  Prefactor     6.2699        7.9304        .16029E-03   -.34697E-03
  17  Prefactor     2.7743        10.194        .24307E-03    .11571E-03
  18  norm          .10000E-03    .25317        .75138E-03** at limit **
  19  Prefactor     .10000E-03    100.51        .18142E-02** at limit **
  20  Prefactor     .10045E-03    9.2424        .68682E-01** at limit **
  21  Prefactor     7.9010        9.6046        .14274E-03   -.15197E-03
  22  norm          3.3563        3.0036        .14522E-03    .11143E-02
  23  Prefactor     23.864        32.750        .81922E-04    .25534E-04
  24  Normalizat    1.1354        .19218        .25035E-03    .29548E-03
  25  Prefactor     1.0706        .17521        .24107E-03    .26782E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.868117
  Prefactor  = 0.0001
  Prefactor  = 13.6744
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 26.7586
  Prefactor  = 0.861713
  Prefactor  = 0.0001
  norm       = 0.135774
  norm       = 2.31837
  Prefactor  = 0.000100007
  Prefactor  = 0.0001
  norm       = 0.019302
  Prefactor  = 6.26989
  Prefactor  = 2.77431
  norm       = 0.0001
  Prefactor  = 0.000100005
  Prefactor  = 0.000100446
  Prefactor  = 7.90103
  norm       = 3.35629
  Prefactor  = 23.8643
  Normalizat = 1.13542
  Prefactor  = 1.07062
 **********
 **   18 **HESSE 
 **********

 FCN=   8944.354     FROM HESSE     STATUS=OK           425 CALLS     3504 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    8.1721        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    31.542        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .86812        .29661        .58476E-05   -1.5522    
   4  Prefactor     .10000E-03    2.5477        .29426E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     13.674        10.610        .43325E-05   -1.4968    
   6  Prefactor     .10000E-03    3.8019        .35820E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    13.435        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          26.759        17.038        .15487E-04   -1.4673    
   9  Prefactor     .86171        40.461        .20113E-03   -1.5522    
  10  Prefactor     .10000E-03    15.422        .78932E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .13577        .73118        .45843E-04   -1.5634    
  12  norm          2.3184        1.5857        .38099E-05   -1.5403    
  13  Prefactor     .10001E-03    44.163        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    10.609        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .19302E-01    3.6891        .45592E-01   -1.5680    
  16  Prefactor     6.2699        7.9221        .64116E-05   -1.5207    
  17  Prefactor     2.7743        10.046        .97229E-05   -1.5375    
  18  norm          .10000E-03    .25326        .15028E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    100.55        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10045E-03    8.0904        .75105E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     7.9010        9.5688        .57095E-05   -1.5146    
  22  norm          3.3563        3.0031        .58087E-05   -1.5342    
  23  Prefactor     23.864        32.737        .32769E-05   -1.4731    
  24  Normalizat    1.1354        .19215        .50071E-04   -.88623    
  25  Prefactor     1.0706        .17509        .48214E-04   -.90411    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.42754e-09
Minuit parameter uncertainties:
  1  2.48762e-05
  2  0.000224931
  3  0.296612
  4  1.91837e-05
  5  10.6114
  6  3.51152e-05
  7  5.47024e-05
  8  17.0409
  9  11.8172
  10  0.000171947
  11  0.62994
  12  1.58577
  13  0.00107666
  14  0.000112141
  15  0.532342
  16  7.92339
  17  10.0523
  18  4.65268e-06
  19  0.00139067
  20  0.00379932
  21  9.5706
  22  3.00326
  23  32.7621
  24  0.19227
  25  0.175185
Done.

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

Extracting fit parameters...

4FGL J2243.4-2544
   Spectrum: LogParabola
252         norm:  2.318e+00  1.586e+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:  1.071e+00  1.752e-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:  1.135e+00  1.923e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.62
Ra Dec: 340.865 -25.736
Photon Index (Fixed Index): 2.00 +/- 0.00
Photon Flux (Fixed Index): 2.24e-08 +/- 1.53e-08
Energy Flux (Fixed Index): 1.43e-05 +/- 9.76e-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) = 8944.31592818
delta logL = 0.0377252308663

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8944.31205432
delta logL = 0.0415990987749

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.1915       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2229       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1273       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0744       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8944.312     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      241 TOTAL
                     EDM=   .47E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.1915        1.6329        .88926E-04    .55612E-03
   2  alpha         2.2229        .79038        .16627E-01    .19574E-04
   3  Normalizat    1.1273        .18358        .25111E-03   -.47810E-04
   4  Prefactor     1.0744        .17076        .24068E-03   -.69341E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.19151
  alpha      = 2.22294
  Normalizat = 1.12731
  Prefactor  = 1.07436
 **********
 **   18 **HESSE 
 **********

 FCN=   8944.312     FROM HESSE     STATUS=OK            25 CALLS      266 TOTAL
                     EDM=   .38E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.1915        1.5903        .35571E-05   -1.5412    
   2  alpha         2.2229        .76944        .66508E-03   -.11105    
   3  Normalizat    1.1273        .18346        .10044E-04   -.88880    
   4  Prefactor     1.0744        .17084        .96273E-05   -.90290    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.82746e-11
Minuit parameter uncertainties:
  1  1.59036
  2  0.782299
  3  0.183566
  4  0.170925
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/436748': 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) = 8944.31205431
delta logL = 0.0415991020654

Extracting fit parameters...

4FGL J2243.4-2544
   Spectrum: LogParabola
252         norm:  2.192e+00  1.590e+00  1.000e-04  1.000e+04 ( 1.000e-12)
253        alpha:  2.223e+00  7.823e-01  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:  1.074e+00  1.709e-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:  1.127e+00  1.836e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.70
Ra Dec: 340.865 -25.736
Photon Index (Free Index): 2.22 +/- 0.78
Photon Flux (Free Index): 2.91e-08 +/- 3.14e-08
Energy Flux (Free Index): 1.33e-05 +/- 8.99e-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/436748/cmap_HighResolution_505008001_505267201_4FGL_J2243.4-2544_daily_bin1025.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.24e-08', energy_flux2='1.33e-05', photon_flux_error='1.53e-08', dlogl='4.16e-02', energy_flux='1.43e-05', photon_flux2='2.91e-08', job_status='DONE', time_completed='2021-09-28 18:49:58.312852', photon_index_error2='0.78', photon_index2='2.22', ts='5.62', fit_tolerance='1e-08', GAL='1.07', photon_index_error='0.00', energy_flux_error2='8.99e-06', EG='1.14', time_epoch_completed='1632880198.31', return_code='0', job_id='436748', GAL2='1.07', EG2='1.13', return_code2='0', energy_flux_error='9.76e-06', photon_flux_error2='3.14e-08', ts2='5.70', photon_index='2.00' WHERE bin_id='1025' AND source_name='4FGL J2243.4-2544' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 18:49:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0094>
Subject: Job 436748: <4FGL_J2243.4-2544_daily_bin1025> in cluster <slac> Done

Job <4FGL_J2243.4-2544_daily_bin1025> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Sep 28 18:35:37 2021
Job was executed on host(s) <bullet0094>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 18:35:38 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:35:38 2021
Terminated at Tue Sep 28 18:49:59 2021
Results reported at Tue Sep 28 18:49:59 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.4-2544_daily_bin1025 340.865 -25.7363 505008001 505267201 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 :                                   728.15 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             278.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   860 sec.
    Turnaround time :                            862 sec.

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

