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


Performing analysis on: 4FGL_J2243.8-2510_daily_bin884
RA = 340.957, Dec = -25.1701
tmin = 468460801, tmax = 468720001
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='443423', job_status='RUN', time_executed='2021-09-28 18:55:52.187464', time_epoch_executed='1632880552.19' WHERE source_name='4FGL J2243.8-2510' and cadence='daily' and bin_id='884'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/443423

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/443423/ft1_4FGL_J2243.8-2510_daily_bin884.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/443423/ft2_4FGL_J2243.8-2510_daily_bin884.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/443423/ft1_4FGL_J2243.8-2510_daily_bin884.fits outfile=/scratch/kocevski/443423/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin884.fits ra=340.957 dec=-25.1701 rad=12.0 tmin=468460801.0 tmax=468720001.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.78
user 3.54
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/443423/ft2_4FGL_J2243.8-2510_daily_bin884.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/443423/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin884.fits evtable="EVENTS" outfile="/scratch/kocevski/443423/ft1_filtered_4FGL_J2243.8-2510_daily_bin884.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/443423/ft1_filtered_4FGL_J2243.8-2510_daily_bin884.fits" evtable="EVENTS" scfile=/scratch/kocevski/443423/ft2_4FGL_J2243.8-2510_daily_bin884.fits sctable="SC_DATA" outfile=/scratch/kocevski/443423/ltcube_468460801_468720001_4FGL_J2243.8-2510_daily_bin884.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/443423/ft2_4FGL_J2243.8-2510_daily_bin884.fits
.....................!
real 11.71
user 11.32
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/443423/ft1_filtered_4FGL_J2243.8-2510_daily_bin884.fits evtable="EVENTS" scfile=/scratch/kocevski/443423/ft2_4FGL_J2243.8-2510_daily_bin884.fits sctable="SC_DATA" expcube=/scratch/kocevski/443423/ltcube_468460801_468720001_4FGL_J2243.8-2510_daily_bin884.fits outfile=/scratch/kocevski/443423/expmap_468460801_468720001_4FGL_J2243.8-2510_daily_bin884.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/443423/ltcube_468460801_468720001_4FGL_J2243.8-2510_daily_bin884.fits
.....................!
real 190.55
user 185.05
sys 5.11

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 164 point sources and 0 extended sources

Setting source of interest to:
4FGL J2243.8-2510 @ 340.957 -25.1701

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/443423/ft1_filtered_4FGL_J2243.8-2510_daily_bin884.fits scfile=/scratch/kocevski/443423/ft2_4FGL_J2243.8-2510_daily_bin884.fits outfile=/scratch/kocevski/443423/cmap_468460801_468720001_4FGL_J2243.8-2510_daily_bin884.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=340.957 yref=-25.1701 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.54
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/443423/ft1_filtered_4FGL_J2243.8-2510_daily_bin884.fits scfile=/scratch/kocevski/443423/ft2_4FGL_J2243.8-2510_daily_bin884.fits outfile=/scratch/kocevski/443423/cmap_HighResolution_468460801_468720001_4FGL_J2243.8-2510_daily_bin884.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=340.957 yref=-25.1701 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/443423/ft1_filtered_4FGL_J2243.8-2510_daily_bin884.fits evtable="EVENTS" scfile=/scratch/kocevski/443423/ft2_4FGL_J2243.8-2510_daily_bin884.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/443423/Model_4FGL_J2243.8-2510_daily_bin884.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/443423/ft1_filtered_4FGL_J2243.8-2510_daily_bin884.fits......................!
real 41.32
user 40.02
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/443423/ft1_filtered_4FGL_J2243.8-2510_daily_bin884.fits', '/scratch/kocevski/443423/ft2_4FGL_J2243.8-2510_daily_bin884.fits', expMap='/scratch/kocevski/443423/expmap_468460801_468720001_4FGL_J2243.8-2510_daily_bin884.fits', expCube='/scratch/kocevski/443423/ltcube_468460801_468720001_4FGL_J2243.8-2510_daily_bin884.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/443423/Model_4FGL_J2243.8-2510_daily_bin884.xml', optimizer='MINUIT')

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

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  7.852e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  2.707e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
270        Scale:  6.765e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/443423/ft1_filtered_4FGL_J2243.8-2510_daily_bin884.fits
Spacecraft file(s): /scratch/kocevski/443423/ft2_4FGL_J2243.8-2510_daily_bin884.fits
Exposure map: /scratch/kocevski/443423/expmap_468460801_468720001_4FGL_J2243.8-2510_daily_bin884.fits
Exposure cube: /scratch/kocevski/443423/ltcube_468460801_468720001_4FGL_J2243.8-2510_daily_bin884.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/443423/Model_4FGL_J2243.8-2510_daily_bin884.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) = 4308.65098518

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    144.14       1.0000         .10000E-03   10000.    
     2 'norm      '    2.4183       1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.9718       1.0000         .10000E-03   10000.    
     4 'Prefactor '    19.168       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10067E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    36.227       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    11.408       1.0000         .10000E-03   10000.    
    10 'norm      '    .91362       1.0000         .10000E-03   10000.    
    11 'norm      '    .44849E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    121.81       1.0000         .10000E-03   10000.    
    13 'Prefactor '    48.675       1.0000         .10000E-03   10000.    
    14 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .20420E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10026E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .11608E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    9.5550       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10813E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    2.9530       1.0000         .10000E-03   10000.    
    22 'Prefactor '    16.675       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.2464       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .69537       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5290E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4308.588     FROM MIGRAD    STATUS=CONVERGED    548 CALLS     2762 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     144.16        154.73       -.73954E-06    .19198E-04
   2  norm          2.4183        .69969       -.14059E-07    .23494E-03
   3  Prefactor     4.9734        14.946       -.76727E-06    .38464E-04
   4  Prefactor     19.175        28.187       -.45689E-07    .51507E-04
   5  Prefactor     .10000E-03    6.5690       -.25749E-06** at limit **
   6  Prefactor     .10000E-03    24.005        .10746E-05** at limit **
   7  norm          36.229        24.658        .38333E-06    .19974E-04
   8  Prefactor     .10000E-03    19.197       -.56849E-06** at limit **
   9  Prefactor     11.405        15.448        .59254E-06    .77055E-04
  10  norm          .91399        1.0232       -.15490E-06   -.43006E-03
  11  norm          .10001E-03    8.6632        .68273E-05** at limit **
  12  Prefactor     121.90        79.625        .18705E-05   -.86465E-04
  13  Prefactor     48.661        24.050        .75704E-06    .59780E-03
  14  norm          .10000E-03    2.6517        .14879E-06** at limit **
  15  Prefactor     .10000E-03    8.5870        .10376E-06** at limit **
  16  Prefactor     .10000E-03    25.034       -.17449E-05** at limit **
  17  norm          .10000E-03    .26546        .33628E-07** at limit **
  18  Prefactor     .10000E-03    142.33       -.23832E-06** at limit **
  19  Prefactor     9.5543        11.216       -.16497E-06    .49056E-04
  20  Prefactor     .10000E-03    23.309        .24366E-06** at limit **
  21  norm          2.9529        4.2616       -.35039E-07    .11377E-03
  22  Prefactor     16.674        44.047        .25070E-06    .36181E-04
  23  Normalizat    1.2469        .25482       -.35282E-05    .32557E-03
  24  Prefactor     .69487        .20304        .59961E-05    .66875E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 144.159
  norm       = 2.41829
  Prefactor  = 4.9734
  Prefactor  = 19.175
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 36.2288
  Prefactor  = 0.0001
  Prefactor  = 11.4048
  norm       = 0.913991
  norm       = 0.000100008
  Prefactor  = 121.896
  Prefactor  = 48.6613
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.55428
  Prefactor  = 0.0001
  norm       = 2.95286
  Prefactor  = 16.6744
  Normalizat = 1.24693
  Prefactor  = 0.694868
 **********
 **   18 **HESSE 
 **********

 FCN=   4308.588     FROM HESSE     STATUS=OK           399 CALLS     3161 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     144.16        154.83        .33560E-04   -1.3301    
   2  norm          2.4183        .70151        .28024E-04   -1.5397    
   3  Prefactor     4.9734        14.953        .18036E-03   -1.5262    
   4  Prefactor     19.175        28.168        .91483E-04   -1.4832    
   5  Prefactor     .10000E-03    6.6124        .16437E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    23.969        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          36.229        24.647        .66585E-04   -1.4503    
   8  Prefactor     .10000E-03    19.246        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     11.405        15.478        .11861E-03   -1.5032    
  10  norm          .91399        .98372        .67719E-03   -1.5517    
  11  norm          .10001E-03    9.6140        .17583E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     121.90        79.811        .18232E-03   -1.3495    
  13  Prefactor     48.661        24.392        .57477E-04   -1.4312    
  14  norm          .10000E-03    2.6890        .10431E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    8.6146        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    25.689        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    .30736        .65497E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    142.51        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     9.5543        11.218        .12964E-03   -1.5090    
  20  Prefactor     .10000E-03    24.208        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          2.9529        4.2447        .15303E-03   -1.5364    
  22  Prefactor     16.674        43.976        .98081E-04   -1.4891    
  23  Normalizat    1.2469        .30115        .25297E-03   -.85165    
  24  Prefactor     .69487        .24481        .28218E-03   -1.0373    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.25846e-09
Minuit parameter uncertainties:
  1  155.27
  2  0.701515
  3  14.9647
  4  28.1877
  5  5.55356e-05
  6  3.04007e-05
  7  24.6534
  8  8.03087e-05
  9  15.4836
  10  0.983736
  11  0.000561877
  12  79.882
  13  24.3974
  14  2.66988e-05
  15  3.28596e-05
  16  0.000275606
  17  2.43064e-06
  18  0.000430241
  19  11.2209
  20  0.000204698
  21  4.24513
  22  44.0615
  23  0.301568
  24  0.245185
Done.

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

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  1.219e+02  7.988e+01  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  2.707e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
270        Scale:  6.765e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
526    Prefactor:  6.949e-01  2.452e-01  0.000e+00  1.000e+01 ( 1.000e+00)
527        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
528        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
525   Normalization:  1.247e+00  3.016e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.92
Ra Dec: 340.957 -25.170
Photon Index (Fixed Index): 2.71 +/- 0.00
Photon Flux (Fixed Index): 1.26e-07 +/- 8.27e-08
Energy Flux (Fixed Index): 3.03e-05 +/- 1.98e-05

TS (Fixed Index): 3.92
Ra Dec: 340.957 -25.170
Photon Flux Upper Limit: 2.81e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.21e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/443423/likelihoodResults_468460801_468720001_4FGL_J2243.8-2510_daily_bin884.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) = 4308.58665362
delta logL = 0.0015216412794

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4308.58563694
delta logL = 0.00253831768259

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    118.14       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7535       1.0000          .0000       10.000    
     3 'Normalizat'    1.2418       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .69816       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5290E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4308.586     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      268 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     118.20        95.256        .18511E-03    .28375E-04
   2  Index         2.7529        .67650        .58092E-02    .23136E-03
   3  Normalizat    1.2421        .28968        .25339E-03    .96563E-04
   4  Prefactor     .69791        .24125        .28163E-03   -.68706E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 118.201
  Index      = 2.75289
  Normalizat = 1.24208
  Prefactor  = 0.697914
 **********
 **   18 **HESSE 
 **********

 FCN=   4308.586     FROM HESSE     STATUS=OK            25 CALLS      293 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     118.20        92.327        .74042E-05   -1.3529    
   2  Index         2.7529        .65479        .11618E-02   -.46612    
   3  Normalizat    1.2421        .28968        .50677E-04   -.85312    
   4  Prefactor     .69791        .24123        .11265E-04   -1.0361    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.33e-10
Minuit parameter uncertainties:
  1  92.44
  2  0.657156
  3  0.29006
  4  0.241588
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/443423': 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) = 4308.58563608
delta logL = 0.00253918061753

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  1.182e+02  9.244e+01  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  2.753e+00  6.572e-01  0.000e+00  1.000e+01 (-1.000e+00)
270        Scale:  6.765e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
526    Prefactor:  6.979e-01  2.416e-01  0.000e+00  1.000e+01 ( 1.000e+00)
527        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
528        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
525   Normalization:  1.242e+00  2.901e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.90
Ra Dec: 340.957 -25.170
Photon Index (Free Index): 2.75 +/- 0.66
Photon Flux (Free Index): 1.30e-07 +/- 9.79e-08
Energy Flux (Free Index): 3.01e-05 +/- 1.90e-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/443423/cmap_HighResolution_468460801_468720001_4FGL_J2243.8-2510_daily_bin884.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.21e-02', comment='SUCCESS', photon_flux='1.26e-07', energy_flux2='3.01e-05', photon_flux_error='8.27e-08', dlogl='2.54e-03', energy_flux='3.03e-05', photon_flux2='1.30e-07', job_status='DONE', time_completed='2021-09-28 19:04:53.207973', photon_index_error2='0.66', photon_index2='2.75', ts='3.92', fit_tolerance='1e-08', GAL='0.69', photon_index_error='0.00', photon_flux_upper_limit='2.81e-07', energy_flux_error2='1.90e-05', EG='1.25', time_epoch_completed='1632881093.21', return_code='0', job_id='443423', GAL2='0.70', EG2='1.24', return_code2='0', energy_flux_error='1.98e-05', photon_flux_error2='9.79e-08', ts2='3.90', photon_index='2.71' WHERE bin_id='884' AND source_name='4FGL J2243.8-2510' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 19:04:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0082>
Subject: Job 443423: <4FGL_J2243.8-2510_daily_bin884> in cluster <slac> Done

Job <4FGL_J2243.8-2510_daily_bin884> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 18:55:32 2021
Job was executed on host(s) <bullet0082>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 18:55:34 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:55:34 2021
Terminated at Tue Sep 28 19:04:53 2021
Results reported at Tue Sep 28 19:04:53 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.8-2510_daily_bin884 340.957 -25.1701 468460801 468720001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2243.8-2510 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   539.12 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             337.21 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   559 sec.
    Turnaround time :                            561 sec.

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

