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


Performing analysis on: 4FGL_J2243.4-2544_daily_bin1098
RA = 340.865, Dec = -25.7363
tmin = 523929601, tmax = 524188801
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='437934', job_status='RUN', time_executed='2021-09-28 18:41:38.509850', time_epoch_executed='1632879698.51' WHERE source_name='4FGL J2243.4-2544' and cadence='daily' and bin_id='1098'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/437934

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/437934/ft1_4FGL_J2243.4-2544_daily_bin1098.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/437934/ft2_4FGL_J2243.4-2544_daily_bin1098.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/437934/ft1_4FGL_J2243.4-2544_daily_bin1098.fits outfile=/scratch/kocevski/437934/ft1_filteredMKT_4FGL_J2243.4-2544_daily_bin1098.fits ra=340.865 dec=-25.7363 rad=12.0 tmin=523929601.0 tmax=524188801.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.55
user 3.32
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/437934/ft2_4FGL_J2243.4-2544_daily_bin1098.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/437934/ft1_filteredMKT_4FGL_J2243.4-2544_daily_bin1098.fits evtable="EVENTS" outfile="/scratch/kocevski/437934/ft1_filtered_4FGL_J2243.4-2544_daily_bin1098.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/437934/ft1_filtered_4FGL_J2243.4-2544_daily_bin1098.fits" evtable="EVENTS" scfile=/scratch/kocevski/437934/ft2_4FGL_J2243.4-2544_daily_bin1098.fits sctable="SC_DATA" outfile=/scratch/kocevski/437934/ltcube_523929601_524188801_4FGL_J2243.4-2544_daily_bin1098.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/437934/ft2_4FGL_J2243.4-2544_daily_bin1098.fits
.....................!
real 14.08
user 13.65
sys 0.40

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/437934/ft1_filtered_4FGL_J2243.4-2544_daily_bin1098.fits evtable="EVENTS" scfile=/scratch/kocevski/437934/ft2_4FGL_J2243.4-2544_daily_bin1098.fits sctable="SC_DATA" expcube=/scratch/kocevski/437934/ltcube_523929601_524188801_4FGL_J2243.4-2544_daily_bin1098.fits outfile=/scratch/kocevski/437934/expmap_523929601_524188801_4FGL_J2243.4-2544_daily_bin1098.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/437934/ltcube_523929601_524188801_4FGL_J2243.4-2544_daily_bin1098.fits
.....................!
real 191.33
user 185.13
sys 5.77

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/437934/ft1_filtered_4FGL_J2243.4-2544_daily_bin1098.fits scfile=/scratch/kocevski/437934/ft2_4FGL_J2243.4-2544_daily_bin1098.fits outfile=/scratch/kocevski/437934/cmap_523929601_524188801_4FGL_J2243.4-2544_daily_bin1098.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.52
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/437934/ft1_filtered_4FGL_J2243.4-2544_daily_bin1098.fits scfile=/scratch/kocevski/437934/ft2_4FGL_J2243.4-2544_daily_bin1098.fits outfile=/scratch/kocevski/437934/cmap_HighResolution_523929601_524188801_4FGL_J2243.4-2544_daily_bin1098.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.36
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/437934/ft1_filtered_4FGL_J2243.4-2544_daily_bin1098.fits evtable="EVENTS" scfile=/scratch/kocevski/437934/ft2_4FGL_J2243.4-2544_daily_bin1098.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/437934/Model_4FGL_J2243.4-2544_daily_bin1098.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/437934/ft1_filtered_4FGL_J2243.4-2544_daily_bin1098.fits.....................!
real 43.95
user 42.59
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .13975       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    59.572       1.0000         .10000E-03   10000.    
     6 'Prefactor '    10.077       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    58.325       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .36598       1.0000         .10000E-03   10000.    
    12 'norm      '    1.3798       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    7.5988       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10079E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    2.1707       1.0000         .10000E-03   10000.    
    18 'norm      '    3.5153       1.0000         .10000E-03   10000.    
    19 'Prefactor '    88.886       1.0000         .10000E-03   10000.    
    20 'Prefactor '    10.006       1.0000         .10000E-03   10000.    
    21 'Prefactor '    5.1289       1.0000         .10000E-03   10000.    
    22 'norm      '    1.4179       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.0344       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .91065       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=   5162.949     FROM MIGRAD    STATUS=CONVERGED    558 CALLS     2890 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    10.787       -.11153E-05** at limit **
   2  Prefactor     .10000E-03    25.079        .37416E-05** at limit **
   3  norm          .13978        .30049        .13019E-06   -.28124E-03
   4  Prefactor     .10000E-03    6.3911        .21419E-06** at limit **
   5  Prefactor     59.569        29.922       -.23615E-06   -.62743E-04
   6  Prefactor     10.076        8.7843        .98114E-06   -.33876E-03
   7  Prefactor     .10000E-03    49.321       -.16192E-05** at limit **
   8  norm          58.324        29.292       -.84420E-07   -.22812E-04
   9  Prefactor     .10000E-03    6.3247       -.18269E-06** at limit **
  10  Prefactor     .10000E-03    12.222        .16356E-05** at limit **
  11  norm          .36601        .84109        .26955E-06   -.61733E-04
  12  norm          1.3797        1.4148       -.32513E-07    .21959E-04
  13  Prefactor     .10000E-03    14.368       -.18881E-06** at limit **
  14  Prefactor     .10000E-03    4.5734       -.31012E-07** at limit **
  15  norm          7.5991        5.3447       -.48151E-06   -.19706E-03
  16  Prefactor     .10000E-03    11.322        .47007E-07** at limit **
  17  Prefactor     2.1535        40.767        .45731E-05   -.50577E-04
  18  norm          3.5163        1.4932       -.15829E-06   -.22647E-03
  19  Prefactor     88.883        66.873       -.39914E-06   -.14993E-04
  20  Prefactor     10.006        12.073        .10094E-05   -.18710E-03
  21  Prefactor     5.1318        17.295       -.10447E-05   -.34335E-04
  22  norm          1.4179        1.9165        .20831E-07   -.72725E-06
  23  Prefactor     .10000E-03    19.411       -.32053E-05** at limit **
  24  Normalizat    1.0347        .21767       -.47775E-06   -.72730E-04
  25  Prefactor     .91042        .19424       -.27988E-06   -.46717E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.139782
  Prefactor  = 0.0001
  Prefactor  = 59.5688
  Prefactor  = 10.0762
  Prefactor  = 0.0001
  norm       = 58.3245
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.366012
  norm       = 1.37975
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 7.59915
  Prefactor  = 0.0001
  Prefactor  = 2.1535
  norm       = 3.51631
  Prefactor  = 88.8832
  Prefactor  = 10.0064
  Prefactor  = 5.13177
  norm       = 1.41791
  Prefactor  = 0.000100001
  Normalizat = 1.03471
  Prefactor  = 0.910423
 **********
 **   18 **HESSE 
 **********

 FCN=   5162.949     FROM HESSE     STATUS=OK           429 CALLS     3319 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    10.860        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    25.886        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .13978        .28893        .55941E-03   -1.5633    
   4  Prefactor     .10000E-03    6.4318        .17744E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     59.569        30.009        .51982E-04   -1.4163    
   6  Prefactor     10.076        8.8828        .63114E-03   -1.5073    
   7  Prefactor     .10000E-03    49.544        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          58.324        29.283        .52531E-04   -1.4179    
   9  Prefactor     .10000E-03    6.3345        .17652E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    12.471        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .36601        .78377        .96776E-03   -1.5587    
  12  norm          1.3797        1.4302        .84146E-04   -1.5473    
  13  Prefactor     .10000E-03    14.374        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    4.5868        .15005E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          7.5991        5.3035        .12598E-03   -1.5157    
  16  Prefactor     .10000E-03    11.342        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     2.1535        38.848        .27950E-03   -1.5414    
  18  norm          3.5163        1.5292        .36012E-04   -1.5333    
  19  Prefactor     88.883        66.980        .42618E-04   -1.3820    
  20  Prefactor     10.006        12.133        .63336E-03   -1.5075    
  21  Prefactor     5.1318        16.865        .17752E-03   -1.5255    
  22  norm          1.4179        1.8953        .11273E-03   -1.5470    
  23  Prefactor     .10000E-03    20.004        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.0347        .25652        .26128E-03   -.91876    
  25  Prefactor     .91042        .22856        .25190E-03   -.95778    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.13316e-08
Minuit parameter uncertainties:
  1  5.85992e-05
  2  0.000304208
  3  0.288934
  4  1.35696e-05
  5  30.0171
  6  8.88399
  7  0.000188072
  8  29.2906
  9  7.77467e-06
  10  8.5039e-05
  11  0.783793
  12  1.43022
  13  9.34644e-06
  14  2.82483e-07
  15  5.3038
  16  1.273e-05
  17  18.3066
  18  1.52926
  19  67.037
  20  12.1358
  21  16.8804
  22  1.89537
  23  0.000223196
  24  0.256826
  25  0.228805
Done.

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

Extracting fit parameters...

4FGL J2243.4-2544
   Spectrum: LogParabola
252         norm:  1.380e+00  1.430e+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:  9.104e-01  2.288e-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.035e+00  2.568e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.05
Ra Dec: 340.865 -25.736
Photon Index (Fixed Index): 2.00 +/- 0.00
Photon Flux (Fixed Index): 1.33e-08 +/- 1.38e-08
Energy Flux (Fixed Index): 8.49e-06 +/- 8.80e-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) = 5162.6007196
delta logL = 0.34788500516

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5162.58964375
delta logL = 0.358960856219

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.1630       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.2011       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0407       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90847       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=   5162.590     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      200 TOTAL
                     EDM=   .56E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.1627        1.1758        .10672E-01   -.30838E-03
   2  alpha         1.2012        .66913        .50000       -.21287E-04
   3  Normalizat    1.0407        .20265        .58983E-01    .89665E-05
   4  Prefactor     .90848        .18523        .45113E-01    .94386E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.16266
  alpha      = 1.20116
  Normalizat = 1.04072
  Prefactor  = 0.908481
 **********
 **   18 **HESSE 
 **********

 FCN=   5162.590     FROM HESSE     STATUS=OK            33 CALLS      233 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.1627        1.3798        .76469E-04   -1.5492    
   2  alpha         1.2012        .82730        .22324E-01   -.54631    
   3  Normalizat    1.0407        .24232        .26083E-03   -.91678    
   4  Prefactor     .90848        .22168        .25217E-03   -.95845    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.14837e-09
Minuit parameter uncertainties:
  1  1.37981
  2  0.849514
  3  0.242582
  4  0.221899
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/437934': 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) = 5162.58964371
delta logL = 0.358960897464

Extracting fit parameters...

4FGL J2243.4-2544
   Spectrum: LogParabola
252         norm:  1.163e+00  1.380e+00  1.000e-04  1.000e+04 ( 1.000e-12)
253        alpha:  1.201e+00  8.495e-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:  9.085e-01  2.219e-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.041e+00  2.426e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.77
Ra Dec: 340.865 -25.736
Photon Index (Free Index): 1.20 +/- 0.85
Photon Flux (Free Index): 5.90e-09 +/- 7.36e-09
Energy Flux (Free Index): 2.07e-05 +/- 3.51e-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/437934/cmap_HighResolution_523929601_524188801_4FGL_J2243.4-2544_daily_bin1098.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.33e-08', energy_flux2='2.07e-05', photon_flux_error='1.38e-08', dlogl='3.59e-01', energy_flux='8.49e-06', photon_flux2='5.90e-09', job_status='DONE', time_completed='2021-09-28 18:50:43.504272', photon_index_error2='0.85', photon_index2='1.20', ts='4.05', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', energy_flux_error2='3.51e-05', EG='1.03', time_epoch_completed='1632880243.5', return_code='0', job_id='437934', GAL2='0.91', EG2='1.04', return_code2='0', energy_flux_error='8.80e-06', photon_flux_error2='7.36e-09', ts2='4.77', photon_index='2.00' WHERE bin_id='1098' AND source_name='4FGL J2243.4-2544' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 18:50:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0048>
Subject: Job 437934: <4FGL_J2243.4-2544_daily_bin1098> in cluster <slac> Done

Job <4FGL_J2243.4-2544_daily_bin1098> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Sep 28 18:40:12 2021
Job was executed on host(s) <bullet0048>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 18:40:13 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:40:13 2021
Terminated at Tue Sep 28 18:50:44 2021
Results reported at Tue Sep 28 18:50:44 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.4-2544_daily_bin1098 340.865 -25.7363 523929601 524188801 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 :                                   542.37 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             315.10 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   630 sec.
    Turnaround time :                            632 sec.

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

