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


Performing analysis on: 4FGL_J2243.8-2510_daily_bin873
RA = 340.957, Dec = -25.1701
tmin = 465609601, tmax = 465868801
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='443407', job_status='RUN', time_executed='2021-09-28 18:56:13.376924', time_epoch_executed='1632880573.38' WHERE source_name='4FGL J2243.8-2510' and cadence='daily' and bin_id='873'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/443407

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/443407/ft1_4FGL_J2243.8-2510_daily_bin873.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/443407/ft2_4FGL_J2243.8-2510_daily_bin873.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/443407/ft1_4FGL_J2243.8-2510_daily_bin873.fits outfile=/scratch/kocevski/443407/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin873.fits ra=340.957 dec=-25.1701 rad=12.0 tmin=465609601.0 tmax=465868801.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.52
user 3.29
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/443407/ft2_4FGL_J2243.8-2510_daily_bin873.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/443407/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin873.fits evtable="EVENTS" outfile="/scratch/kocevski/443407/ft1_filtered_4FGL_J2243.8-2510_daily_bin873.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.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/443407/ft1_filtered_4FGL_J2243.8-2510_daily_bin873.fits" evtable="EVENTS" scfile=/scratch/kocevski/443407/ft2_4FGL_J2243.8-2510_daily_bin873.fits sctable="SC_DATA" outfile=/scratch/kocevski/443407/ltcube_465609601_465868801_4FGL_J2243.8-2510_daily_bin873.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/443407/ft2_4FGL_J2243.8-2510_daily_bin873.fits
.....................!
real 12.15
user 11.36
sys 0.76

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/443407/ft1_filtered_4FGL_J2243.8-2510_daily_bin873.fits evtable="EVENTS" scfile=/scratch/kocevski/443407/ft2_4FGL_J2243.8-2510_daily_bin873.fits sctable="SC_DATA" expcube=/scratch/kocevski/443407/ltcube_465609601_465868801_4FGL_J2243.8-2510_daily_bin873.fits outfile=/scratch/kocevski/443407/expmap_465609601_465868801_4FGL_J2243.8-2510_daily_bin873.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/443407/ltcube_465609601_465868801_4FGL_J2243.8-2510_daily_bin873.fits
.....................!
real 190.80
user 185.97
sys 4.52

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/443407/ft1_filtered_4FGL_J2243.8-2510_daily_bin873.fits scfile=/scratch/kocevski/443407/ft2_4FGL_J2243.8-2510_daily_bin873.fits outfile=/scratch/kocevski/443407/cmap_465609601_465868801_4FGL_J2243.8-2510_daily_bin873.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.53
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/443407/ft1_filtered_4FGL_J2243.8-2510_daily_bin873.fits scfile=/scratch/kocevski/443407/ft2_4FGL_J2243.8-2510_daily_bin873.fits outfile=/scratch/kocevski/443407/cmap_HighResolution_465609601_465868801_4FGL_J2243.8-2510_daily_bin873.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.53
user 0.36
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/443407/ft1_filtered_4FGL_J2243.8-2510_daily_bin873.fits evtable="EVENTS" scfile=/scratch/kocevski/443407/ft2_4FGL_J2243.8-2510_daily_bin873.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/443407/Model_4FGL_J2243.8-2510_daily_bin873.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/443407/ft1_filtered_4FGL_J2243.8-2510_daily_bin873.fits.....................!
real 58.35
user 57.06
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/443407/ft1_filtered_4FGL_J2243.8-2510_daily_bin873.fits', '/scratch/kocevski/443407/ft2_4FGL_J2243.8-2510_daily_bin873.fits', expMap='/scratch/kocevski/443407/expmap_465609601_465868801_4FGL_J2243.8-2510_daily_bin873.fits', expCube='/scratch/kocevski/443407/ltcube_465609601_465868801_4FGL_J2243.8-2510_daily_bin873.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/443407/Model_4FGL_J2243.8-2510_daily_bin873.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/443407/ft1_filtered_4FGL_J2243.8-2510_daily_bin873.fits
Spacecraft file(s): /scratch/kocevski/443407/ft2_4FGL_J2243.8-2510_daily_bin873.fits
Exposure map: /scratch/kocevski/443407/expmap_465609601_465868801_4FGL_J2243.8-2510_daily_bin873.fits
Exposure cube: /scratch/kocevski/443407/ltcube_465609601_465868801_4FGL_J2243.8-2510_daily_bin873.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/443407/Model_4FGL_J2243.8-2510_daily_bin873.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) = 7486.1820926

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    44.077       1.0000         .10000E-03   10000.    
     2 'norm      '    .96631       1.0000         .10000E-03   10000.    
     3 'Prefactor '    10.258       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10112E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    7.7847       1.0000         .10000E-03   10000.    
     6 'Prefactor '    35.966       1.0000         .10000E-03   10000.    
     7 'norm      '    23.399       1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.6608       1.0000         .10000E-03   10000.    
     9 'Prefactor '    18.665       1.0000         .10000E-03   10000.    
    10 'norm      '    4.1636       1.0000         .10000E-03   10000.    
    11 'norm      '    3.0084       1.0000         .10000E-03   10000.    
    12 'Prefactor '    42.617       1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.9573       1.0000         .10000E-03   10000.    
    14 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .52272       1.0000         .10000E-03   10000.    
    17 'norm      '    .52825E-02   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0558       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .66199       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=   7486.090     FROM MIGRAD    STATUS=CONVERGED    555 CALLS     2840 TOTAL
                     EDM=   .27E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     44.077        54.054       -.31558E-06    .13065E-05
   2  norm          .96631        .30816       -.82191E-08    .22986E-03
   3  Prefactor     10.257        8.2023       -.25527E-05   -.71964E-04
   4  Prefactor     .10000E-03    15.393        .48659E-07** at limit **
   5  Prefactor     7.7865        7.4060       -.95501E-06   -.24324E-03
   6  Prefactor     35.950        49.303       -.14821E-04   -.31910E-06
   7  norm          23.398        16.455        .24333E-05   -.45771E-04
   8  Prefactor     5.6479        18.426        .13319E-04   -.45637E-04
   9  Prefactor     18.666        10.378        .20817E-05   -.10233E-03
  10  norm          4.1636        1.0085        .10841E-06    .19221E-04
  11  norm          3.0087        2.0565        .22476E-05   -.34424E-03
  12  Prefactor     42.572        40.920       -.26502E-04   -.92055E-04
  13  Prefactor     2.9564        8.9987        .49880E-06   -.39841E-03
  14  norm          .10000E-03    1.8019        .16406E-06** at limit **
  15  Prefactor     .10000E-03    3.0821        .22589E-07** at limit **
  16  Prefactor     .58331        3.3500        .13623E-05   -.26043E-03
  17  norm          .18266E-02    .35309       -.22623E-06** at limit **
  18  Prefactor     .10000E-03    176.71        .83632E-05** at limit **
  19  Prefactor     .10000E-03    1.4900        .68194E-08** at limit **
  20  Prefactor     .10000E-03    1.9740       -.12410E-07** at limit **
  21  norm          .10000E-03    .64557       -.35453E-08** at limit **
  22  Prefactor     .10000E-03    28.194       -.13452E-05** at limit **
  23  Normalizat    1.0557        .15761        .13622E-05   -.30267E-03
  24  Prefactor     .66206        .13803        .62305E-06   -.92133E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 44.0773
  norm       = 0.966313
  Prefactor  = 10.2574
  Prefactor  = 0.0001
  Prefactor  = 7.78654
  Prefactor  = 35.9495
  norm       = 23.3979
  Prefactor  = 5.64792
  Prefactor  = 18.6661
  norm       = 4.16359
  norm       = 3.00867
  Prefactor  = 42.572
  Prefactor  = 2.95638
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.583314
  norm       = 0.00182663
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.05571
  Prefactor  = 0.662064
 **********
 **   18 **HESSE 
 **********

 FCN=   7486.090     FROM HESSE     STATUS=OK           407 CALLS     3247 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     44.077        54.031        .60387E-04   -1.4379    
   2  norm          .96631        .30910        .26215E-04   -1.5511    
   3  Prefactor     10.257        8.2055        .12511E-03   -1.5067    
   4  Prefactor     .10000E-03    15.832        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     7.7865        7.4388        .14372E-03   -1.5150    
   6  Prefactor     35.950        49.336        .66825E-04   -1.4508    
   7  norm          23.398        16.449        .82808E-04   -1.4740    
   8  Prefactor     5.6479        18.369        .16883E-03   -1.5233    
   9  Prefactor     18.666        10.392        .92706E-04   -1.4844    
  10  norm          4.1636        1.0083        .19753E-04   -1.5300    
  11  norm          3.0087        2.0583        .87777E-04   -1.5361    
  12  Prefactor     42.572        41.003        .61408E-04   -1.4402    
  13  Prefactor     2.9564        9.0344        .23614E-03   -1.5364    
  14  norm          .10000E-03    1.8468        .22610E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    3.0846        .14824E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .58331        14.550        .24322E-02   -1.5555    
  17  norm          .18266E-02    .47656        .12967E-01   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    177.60        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    1.4908        .10314E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    1.9802        .11861E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    .65209        .67880E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    28.384        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.0557        .18817        .21762E-03   -.91187    
  24  Prefactor     .66206        .16385        .24928E-03   -1.0503    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.10703e-09
Minuit parameter uncertainties:
  1  54.0914
  2  0.309102
  3  8.20637
  4  4.17542e-05
  5  7.43968
  6  49.3917
  7  16.4524
  8  18.3878
  9  10.3934
  10  1.00833
  11  2.05833
  12  41.0305
  13  9.03856
  14  1.28401e-05
  15  1.0995e-05
  16  5.82763
  17  0.0573711
  18  0.000914763
  19  4.62337e-07
  20  5.65743e-06
  21  1.14573e-06
  22  4.71923e-05
  23  0.188288
  24  0.163967
Done.

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

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  4.257e+01  4.103e+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.621e-01  1.640e-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.056e+00  1.883e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.95
Ra Dec: 340.957 -25.170
Photon Index (Fixed Index): 2.71 +/- 0.00
Photon Flux (Fixed Index): 4.41e-08 +/- 4.25e-08
Energy Flux (Fixed Index): 1.06e-05 +/- 1.02e-05

TS (Fixed Index): 1.95
Ra Dec: 340.957 -25.170
Photon Flux Upper Limit: 1.16e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.13e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/443407/likelihoodResults_465609601_465868801_4FGL_J2243.8-2510_daily_bin873.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) = 7486.0903208
delta logL = 0.000172783365088

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7486.09019999
delta logL = 0.00029358883603

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    41.936       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7260       1.0000          .0000       10.000    
     3 'Normalizat'    1.0549       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .66249       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=   7486.090     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      263 TOTAL
                     EDM=   .64E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     41.898        47.323        .61903E-04   -.62626E-04
   2  Index         2.7243        .76987        .84611E-02    .41019E-03
   3  Normalizat    1.0552        .17225        .21766E-03   -.28732E-03
   4  Prefactor     .66242        .15790        .24922E-03    .11030E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 41.8983
  Index      = 2.72435
  Normalizat = 1.0552
  Prefactor  = 0.662419
 **********
 **   18 **HESSE 
 **********

 FCN=   7486.090     FROM HESSE     STATUS=OK            25 CALLS      288 TOTAL
                     EDM=   .51E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     41.898        44.652        .24761E-05   -1.4412    
   2  Index         2.7243        .72636        .16922E-02   -.47252    
   3  Normalizat    1.0552        .17239        .43533E-04   -.91204    
   4  Prefactor     .66242        .15799        .99687E-05   -1.0502    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.09618e-10
Minuit parameter uncertainties:
  1  44.6873
  2  0.729623
  3  0.17248
  4  0.158097
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/443407': 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) = 7486.09019155
delta logL = 0.000302032259242

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  4.190e+01  4.469e+01  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  2.724e+00  7.296e-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.624e-01  1.581e-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.055e+00  1.725e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.96
Ra Dec: 340.957 -25.170
Photon Index (Free Index): 2.72 +/- 0.73
Photon Flux (Free Index): 4.45e-08 +/- 3.85e-08
Energy Flux (Free Index): 1.05e-05 +/- 9.02e-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/443407/cmap_HighResolution_465609601_465868801_4FGL_J2243.8-2510_daily_bin873.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.13e-03', comment='SUCCESS', photon_flux='4.41e-08', energy_flux2='1.05e-05', photon_flux_error='4.25e-08', dlogl='3.02e-04', energy_flux='1.06e-05', photon_flux2='4.45e-08', job_status='DONE', time_completed='2021-09-28 19:08:25.692558', photon_index_error2='0.73', photon_index2='2.72', ts='1.95', fit_tolerance='1e-08', GAL='0.66', photon_index_error='0.00', photon_flux_upper_limit='1.16e-07', energy_flux_error2='9.02e-06', EG='1.06', time_epoch_completed='1632881305.69', return_code='0', job_id='443407', GAL2='0.66', EG2='1.06', return_code2='0', energy_flux_error='1.02e-05', photon_flux_error2='3.85e-08', ts2='1.96', photon_index='2.71' WHERE bin_id='873' AND source_name='4FGL J2243.8-2510' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 19:08:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0114>
Subject: Job 443407: <4FGL_J2243.8-2510_daily_bin873> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.8-2510_daily_bin873 340.957 -25.1701 465609601 465868801 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 :                                   731.27 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             334.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   773 sec.
    Turnaround time :                            775 sec.

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

