/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 93 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 = 7404
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2243.4-2544_daily_bin824
RA = 340.865, Dec = -25.7363
tmin = 452908801, tmax = 453168001
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='436453', job_status='RUN', time_executed='2021-09-28 18:37:08.187784', time_epoch_executed='1632879428.19' WHERE source_name='4FGL J2243.4-2544' and cadence='daily' and bin_id='824'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/436453

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/436453/ft1_4FGL_J2243.4-2544_daily_bin824.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/436453/ft2_4FGL_J2243.4-2544_daily_bin824.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/436453/ft1_4FGL_J2243.4-2544_daily_bin824.fits outfile=/scratch/kocevski/436453/ft1_filteredMKT_4FGL_J2243.4-2544_daily_bin824.fits ra=340.865 dec=-25.7363 rad=12.0 tmin=452908801.0 tmax=453168001.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.11
user 3.87
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/436453/ft2_4FGL_J2243.4-2544_daily_bin824.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/436453/ft1_filteredMKT_4FGL_J2243.4-2544_daily_bin824.fits evtable="EVENTS" outfile="/scratch/kocevski/436453/ft1_filtered_4FGL_J2243.4-2544_daily_bin824.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.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/436453/ft1_filtered_4FGL_J2243.4-2544_daily_bin824.fits" evtable="EVENTS" scfile=/scratch/kocevski/436453/ft2_4FGL_J2243.4-2544_daily_bin824.fits sctable="SC_DATA" outfile=/scratch/kocevski/436453/ltcube_452908801_453168001_4FGL_J2243.4-2544_daily_bin824.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/436453/ft2_4FGL_J2243.4-2544_daily_bin824.fits
.....................!
real 12.02
user 11.70
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/436453/ft1_filtered_4FGL_J2243.4-2544_daily_bin824.fits evtable="EVENTS" scfile=/scratch/kocevski/436453/ft2_4FGL_J2243.4-2544_daily_bin824.fits sctable="SC_DATA" expcube=/scratch/kocevski/436453/ltcube_452908801_453168001_4FGL_J2243.4-2544_daily_bin824.fits outfile=/scratch/kocevski/436453/expmap_452908801_453168001_4FGL_J2243.4-2544_daily_bin824.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/436453/ltcube_452908801_453168001_4FGL_J2243.4-2544_daily_bin824.fits
.....................!
real 192.78
user 187.61
sys 4.80

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/436453/ft1_filtered_4FGL_J2243.4-2544_daily_bin824.fits scfile=/scratch/kocevski/436453/ft2_4FGL_J2243.4-2544_daily_bin824.fits outfile=/scratch/kocevski/436453/cmap_452908801_453168001_4FGL_J2243.4-2544_daily_bin824.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.62
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/436453/ft1_filtered_4FGL_J2243.4-2544_daily_bin824.fits scfile=/scratch/kocevski/436453/ft2_4FGL_J2243.4-2544_daily_bin824.fits outfile=/scratch/kocevski/436453/cmap_HighResolution_452908801_453168001_4FGL_J2243.4-2544_daily_bin824.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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/436453/ft1_filtered_4FGL_J2243.4-2544_daily_bin824.fits evtable="EVENTS" scfile=/scratch/kocevski/436453/ft2_4FGL_J2243.4-2544_daily_bin824.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/436453/Model_4FGL_J2243.4-2544_daily_bin824.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/436453/ft1_filtered_4FGL_J2243.4-2544_daily_bin824.fits.....................!
real 48.01
user 46.57
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    20.760       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .17578       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10873E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.0645       1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.3811       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    24.529       1.0000         .10000E-03   10000.    
    10 'Prefactor '    20.284       1.0000         .10000E-03   10000.    
    11 'norm      '    1.5141       1.0000         .10000E-03   10000.    
    12 'norm      '    3.6243       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .48793E-02   1.0000         .10000E-03   10000.    
    14 'Prefactor '    16.013       1.0000         .10000E-03   10000.    
    15 'norm      '    .19908E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .14673E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .92416       1.0000         .10000E-03   10000.    
    19 'Prefactor '    13.773       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10137E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .38820       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.3414       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=   5986.493     FROM MIGRAD    STATUS=CONVERGED   1046 CALLS     3423 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     20.761        18.259        .87907E-04   -.66241E-04
   2  Prefactor     .10000E-03    28.560        .18142E-02** at limit **
   3  norm          .17578        .16345        .30952E-03   -.19531E-02
   4  Prefactor     .10004E-03    32.943        .31810E-02** at limit **
   5  Prefactor     3.0647        15.906        .23173E-03    .51416E-04
   6  Prefactor     4.3806        6.9356        .19242E-03    .78638E-04
   7  Prefactor     .10000E-03    48.239        .18142E-02** at limit **
   8  norm          .10000E-03    13.598        .18142E-02** at limit **
   9  Prefactor     24.537        19.204        .80880E-04    .28112E-06
  10  Prefactor     20.285        13.944        .88931E-04   -.10176E-03
  11  norm          1.5142        .84333        .51675E-04   -.23210E-03
  12  norm          3.6259        2.5852        .88873E-04   -.68412E-03
  13  Prefactor     .10004E-03    62.547        .12459    ** at limit **
  14  Prefactor     16.019        11.387        .10009E-03    .40437E-04
  15  norm          .10001E-03    12.560        .21534E-02** at limit **
  16  Prefactor     .10000E-03    13.570        .18142E-02** at limit **
  17  Prefactor     .10000E-03    12.764        .32434E-02** at limit **
  18  norm          .92349        .56972        .44470E-04   -.91958E-03
  19  Prefactor     13.745        29.425        .10793E-03    .11827E-03
  20  Prefactor     .10000E-03    2.2085        .11226E-02** at limit **
  21  Prefactor     .10000E-03    2.5553        .12062E-02** at limit **
  22  norm          .10000E-03    2.0219        .21037E-03** at limit **
  23  Prefactor     .10000E-03    12.039        .18142E-02** at limit **
  24  Normalizat    .38822        .20563        .34217E-03    .12330E-03
  25  Prefactor     1.3414        .19044        .18861E-03    .17018E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 20.7612
  Prefactor  = 0.0001
  norm       = 0.175785
  Prefactor  = 0.000100038
  Prefactor  = 3.06472
  Prefactor  = 4.38055
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 24.5371
  Prefactor  = 20.2854
  norm       = 1.51418
  norm       = 3.62591
  Prefactor  = 0.000100036
  Prefactor  = 16.0189
  norm       = 0.000100006
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.923489
  Prefactor  = 13.7445
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.388222
  Prefactor  = 1.34137
 **********
 **   18 **HESSE 
 **********

 FCN=   5986.493     FROM HESSE     STATUS=OK           411 CALLS     3834 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     20.761        18.258        .17581E-04   -1.4796    
   2  Prefactor     .10000E-03    28.561        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .17578        .16344        .12381E-04   -1.5624    
   4  Prefactor     .10004E-03    34.073        .12724E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.0647        15.899        .92691E-05   -1.5358    
   6  Prefactor     4.3806        6.9349        .76969E-05   -1.5289    
   7  Prefactor     .10000E-03    48.244        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    13.600        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     24.537        19.202        .32352E-05   -1.4717    
  10  Prefactor     20.285        13.943        .35572E-05   -1.4807    
  11  norm          1.5142        .84332        .20670E-05   -1.5462    
  12  norm          3.6259        2.5854        .35549E-05   -1.5327    
  13  Prefactor     .10004E-03    62.522        .12463       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     16.019        11.386        .40036E-05   -1.4907    
  15  norm          .10001E-03    12.637        .43068E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    13.579        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    12.790        .64868E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .92349        .56797        .17788E-05   -1.5516    
  19  Prefactor     13.745        29.425        .21586E-04   -1.4966    
  20  Prefactor     .10000E-03    2.2085        .22451E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    2.5554        .24124E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    2.0219        .42075E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    12.040        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .38822        .20567        .13687E-04   -1.1791    
  25  Prefactor     1.3414        .19049        .37721E-04   -.82085    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.12081e-09
Minuit parameter uncertainties:
  1  18.2631
  2  0.000188392
  3  0.163438
  4  0.00228755
  5  13.9663
  6  6.93613
  7  0.000133451
  8  1.44883e-05
  9  19.207
  10  13.9453
  11  0.843323
  12  2.58552
  13  0.00299313
  14  11.3877
  15  0.000546946
  16  4.8637e-06
  17  0.00022118
  18  0.567975
  19  29.4563
  20  4.75616e-06
  21  6.75453e-06
  22  3.38386e-05
  23  9.14575e-06
  24  0.206071
  25  0.190593
Done.

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

Extracting fit parameters...

4FGL J2243.4-2544
   Spectrum: LogParabola
252         norm:  3.626e+00  2.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.341e+00  1.906e-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:  3.882e-01  2.061e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.67
Ra Dec: 340.865 -25.736
Photon Index (Fixed Index): 2.00 +/- 0.00
Photon Flux (Fixed Index): 3.51e-08 +/- 2.50e-08
Energy Flux (Fixed Index): 2.23e-05 +/- 1.59e-05

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) = 5986.2503354
delta logL = 0.243041542065

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5986.24186571
delta logL = 0.251511227226

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.0377       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4318       1.0000          .0000       5.0000    
     3 'Normalizat'    .36407       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3528       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=   5986.242     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      229 TOTAL
                     EDM=   .42E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.0375        28.431        .58201E-02    .16272E-03
   2  alpha         2.4319        3.7158        .29797        .53541E-04
   3  Normalizat    .36409        .78645E-01    .79655E-01    .51307E-04
   4  Prefactor     1.3528        .55882E-01    .31748E-01   -.55115E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 3.03753
  alpha      = 2.43187
  Normalizat = 0.364089
  Prefactor  = 1.35279
 **********
 **   18 **HESSE 
 **********

 FCN=   5986.242     FROM HESSE     STATUS=OK            33 CALLS      262 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.0375        2.2703        .71002E-04   -1.5359    
   2  alpha         2.4319        .61782        .10296E-01   -.27255E-01
   3  Normalizat    .36409        .19303        .35276E-03   -1.1920    
   4  Prefactor     1.3528        .18753        .18779E-03   -.81751    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.86593e-09
Minuit parameter uncertainties:
  1  2.2704
  2  0.624291
  3  0.193382
  4  0.187625
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/436453': 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) = 5986.24186569
delta logL = 0.251511251592

Extracting fit parameters...

4FGL J2243.4-2544
   Spectrum: LogParabola
252         norm:  3.038e+00  2.270e+00  1.000e-04  1.000e+04 ( 1.000e-12)
253        alpha:  2.432e+00  6.243e-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.353e+00  1.876e-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:  3.641e-01  1.934e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.18
Ra Dec: 340.865 -25.736
Photon Index (Free Index): 2.43 +/- 0.62
Photon Flux (Free Index): 5.59e-08 +/- 4.18e-08
Energy Flux (Free Index): 2.00e-05 +/- 1.13e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/436453/cmap_HighResolution_452908801_453168001_4FGL_J2243.4-2544_daily_bin824.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.51e-08', energy_flux2='2.00e-05', photon_flux_error='2.50e-08', dlogl='2.52e-01', energy_flux='2.23e-05', photon_flux2='5.59e-08', job_status='DONE', time_completed='2021-09-28 18:47:22.436793', photon_index_error2='0.62', photon_index2='2.43', ts='7.67', fit_tolerance='1e-08', GAL='1.34', photon_index_error='0.00', energy_flux_error2='1.13e-05', EG='0.39', time_epoch_completed='1632880042.44', return_code='0', job_id='436453', GAL2='1.35', EG2='0.36', return_code2='0', energy_flux_error='1.59e-05', photon_flux_error2='4.18e-08', ts2='8.18', photon_index='2.00' WHERE bin_id='824' AND source_name='4FGL J2243.4-2544' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 18:47:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0035>
Subject: Job 436453: <4FGL_J2243.4-2544_daily_bin824> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.4-2544_daily_bin824 340.865 -25.7363 452908801 453168001 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 :                                   613.01 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             262.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   723 sec.
    Turnaround time :                            725 sec.

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

