/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 109 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 = 7469
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2243.8-2510_daily_bin115
RA = 340.957, Dec = -25.1701
tmin = 269136001, tmax = 269395201
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='439766', job_status='RUN', time_executed='2021-09-28 18:47:19.012898', time_epoch_executed='1632880039.01' WHERE source_name='4FGL J2243.8-2510' and cadence='daily' and bin_id='115'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/439766

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/439766/ft1_4FGL_J2243.8-2510_daily_bin115.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/439766/ft2_4FGL_J2243.8-2510_daily_bin115.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/439766/ft1_4FGL_J2243.8-2510_daily_bin115.fits outfile=/scratch/kocevski/439766/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin115.fits ra=340.957 dec=-25.1701 rad=12.0 tmin=269136001.0 tmax=269395201.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 1.66
user 1.46
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/439766/ft2_4FGL_J2243.8-2510_daily_bin115.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/439766/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin115.fits evtable="EVENTS" outfile="/scratch/kocevski/439766/ft1_filtered_4FGL_J2243.8-2510_daily_bin115.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.48
user 0.32
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/439766/ft1_filtered_4FGL_J2243.8-2510_daily_bin115.fits" evtable="EVENTS" scfile=/scratch/kocevski/439766/ft2_4FGL_J2243.8-2510_daily_bin115.fits sctable="SC_DATA" outfile=/scratch/kocevski/439766/ltcube_269136001_269395201_4FGL_J2243.8-2510_daily_bin115.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/439766/ft2_4FGL_J2243.8-2510_daily_bin115.fits
.....................!
real 12.62
user 12.25
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/439766/ft1_filtered_4FGL_J2243.8-2510_daily_bin115.fits evtable="EVENTS" scfile=/scratch/kocevski/439766/ft2_4FGL_J2243.8-2510_daily_bin115.fits sctable="SC_DATA" expcube=/scratch/kocevski/439766/ltcube_269136001_269395201_4FGL_J2243.8-2510_daily_bin115.fits outfile=/scratch/kocevski/439766/expmap_269136001_269395201_4FGL_J2243.8-2510_daily_bin115.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/439766/ltcube_269136001_269395201_4FGL_J2243.8-2510_daily_bin115.fits
.....................!
real 189.05
user 184.86
sys 3.87

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/439766/ft1_filtered_4FGL_J2243.8-2510_daily_bin115.fits scfile=/scratch/kocevski/439766/ft2_4FGL_J2243.8-2510_daily_bin115.fits outfile=/scratch/kocevski/439766/cmap_269136001_269395201_4FGL_J2243.8-2510_daily_bin115.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.52
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/439766/ft1_filtered_4FGL_J2243.8-2510_daily_bin115.fits scfile=/scratch/kocevski/439766/ft2_4FGL_J2243.8-2510_daily_bin115.fits outfile=/scratch/kocevski/439766/cmap_HighResolution_269136001_269395201_4FGL_J2243.8-2510_daily_bin115.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.38
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/439766/ft1_filtered_4FGL_J2243.8-2510_daily_bin115.fits evtable="EVENTS" scfile=/scratch/kocevski/439766/ft2_4FGL_J2243.8-2510_daily_bin115.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/439766/Model_4FGL_J2243.8-2510_daily_bin115.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/439766/ft1_filtered_4FGL_J2243.8-2510_daily_bin115.fits.....................!
real 52.20
user 50.93
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    229.40       1.0000         .10000E-03   10000.    
     2 'norm      '    1.9894       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    12.357       1.0000         .10000E-03   10000.    
     8 'Prefactor '    13.053       1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.7912       1.0000         .10000E-03   10000.    
    10 'norm      '    1.3422       1.0000         .10000E-03   10000.    
    11 'norm      '    .89523       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.8338       1.0000         .10000E-03   10000.    
    14 'norm      '    2.9453       1.0000         .10000E-03   10000.    
    15 'Prefactor '    14.515       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .91076E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    2.3029       1.0000         .10000E-03   10000.    
    18 'Prefactor '    106.54       1.0000         .10000E-03   10000.    
    19 'Prefactor '    13.644       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10223E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    12.928       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .84581       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .98879       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=   6668.814     FROM MIGRAD    STATUS=CONVERGED    521 CALLS     2764 TOTAL
                     EDM=   .79E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     229.40        96.780       -.82291E-06    .55828E-05
   2  norm          1.9894        .45353        .94119E-08    .20313E-03
   3  Prefactor     .10000E-03    3.5852       -.72017E-08** at limit **
   4  Prefactor     .10000E-03    30.285       -.47877E-05** at limit **
   5  Prefactor     .10000E-03    3.1965        .13913E-07** at limit **
   6  Prefactor     .10000E-03    16.021       -.56372E-05** at limit **
   7  norm          12.356        17.197       -.48277E-06   -.53478E-04
   8  Prefactor     13.053        18.242       -.39154E-06   -.18757E-04
   9  Prefactor     2.7902        9.0701       -.89682E-06   -.34576E-03
  10  norm          1.3422        .80941       -.15572E-07   -.36111E-03
  11  norm          .89573        1.3008        .72029E-08   -.15777E-03
  12  Prefactor     .10000E-03    15.203        .81579E-05** at limit **
  13  Prefactor     2.8331        7.0831       -.79320E-06   -.38401E-03
  14  norm          2.9447        3.8225       -.31199E-06   -.11005E-02
  15  Prefactor     14.512        14.945       -.78559E-06   -.62738E-03
  16  Prefactor     .10004E-03    9.7720        .17978E-05** at limit **
  17  norm          2.3021        .85987       -.51805E-07   -.55943E-02
  18  Prefactor     106.54        90.474        .13028E-05   -.67770E-05
  19  Prefactor     13.644        9.3949       -.37170E-07   -.29199E-04
  20  Prefactor     .10000E-03    20.737        .73856E-05** at limit **
  21  norm          12.928        4.6780        .75079E-06   -.44343E-04
  22  Prefactor     .10000E-03    16.252       -.74360E-05** at limit **
  23  Normalizat    .84575        .18468       -.44257E-06   -.31185E-03
  24  Prefactor     .98884        .16291        .36629E-06   -.27369E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 229.403
  norm       = 1.98939
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 12.3561
  Prefactor  = 13.0526
  Prefactor  = 2.79016
  norm       = 1.34223
  norm       = 0.895735
  Prefactor  = 0.0001
  Prefactor  = 2.83309
  norm       = 2.94472
  Prefactor  = 14.5115
  Prefactor  = 0.000100041
  norm       = 2.30206
  Prefactor  = 106.543
  Prefactor  = 13.6444
  Prefactor  = 0.0001
  norm       = 12.9281
  Prefactor  = 0.0001
  Normalizat = 0.845748
  Prefactor  = 0.988844
 **********
 **   18 **HESSE 
 **********

 FCN=   6668.814     FROM HESSE     STATUS=OK           399 CALLS     3163 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     229.40        96.786        .26718E-04   -1.2667    
   2  norm          1.9894        .45434        .25380E-04   -1.5426    
   3  Prefactor     .10000E-03    3.6036        .15098E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    30.680        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    3.2132        .14257E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    15.906        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          12.356        17.170        .11395E-03   -1.5005    
   8  Prefactor     13.053        18.240        .11087E-03   -1.4985    
   9  Prefactor     2.7902        9.1399        .24353E-03   -1.5374    
  10  norm          1.3422        .80059        .54946E-04   -1.5476    
  11  norm          .89573        1.0908        .10848E-02   -1.5519    
  12  Prefactor     .10000E-03    15.009        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     2.8331        7.1260        .24157E-03   -1.5371    
  14  norm          2.9447        3.7952        .16447E-03   -1.5365    
  15  Prefactor     14.512        14.619        .10513E-03   -1.4946    
  16  Prefactor     .10004E-03    33.293        .39822E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.3021        .80724        .38136E-04   -1.5405    
  18  Prefactor     106.54        90.488        .38961E-04   -1.3640    
  19  Prefactor     13.644        9.3947        .10844E-03   -1.4969    
  20  Prefactor     .10000E-03    20.976        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          12.928        4.6695        .10192E-03   -1.4989    
  22  Prefactor     .10000E-03    16.106        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .84575        .21523        .27435E-03   -.98394    
  24  Prefactor     .98884        .19203        .23500E-03   -.93102    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.55295e-09
Minuit parameter uncertainties:
  1  96.854
  2  0.454344
  3  2.53825e-06
  4  7.31585e-05
  5  1.09222e-06
  6  1.91292e-06
  7  17.1771
  8  18.2474
  9  9.14449
  10  0.800595
  11  1.09083
  12  1.45714e-06
  13  7.12813
  14  3.7955
  15  14.6225
  16  0.00233786
  17  0.807247
  18  90.6054
  19  9.39569
  20  0.000163153
  21  4.6696
  22  2.13897e-05
  23  0.215448
  24  0.192165
Done.

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

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  1.000e-04  1.457e-06  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:  9.888e-01  1.922e-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:  8.457e-01  2.154e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 340.957 -25.170
Photon Flux Upper Limit: 6.28e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.95e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/439766/likelihoodResults_269136001_269395201_4FGL_J2243.8-2510_daily_bin115.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) = 6668.81440061
delta logL = -0.000317363328577

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6668.81408327
delta logL = -2.90929165203e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.6646       1.0000          .0000       10.000    
     3 'Normalizat'    .84580       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98883       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.

 FCN=   6668.814     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      194 TOTAL
                     EDM=   .26E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    18.281        .90712E-02** at limit **
   2  Index         2.6569        6.3281        .50000        .45555E-05
   3  Normalizat    .84575        .17396        .44205E-01    .21482E-04
   4  Prefactor     .98884        .16086        .46127E-01    .98302E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.6569
  Normalizat = 0.84575
  Prefactor  = 0.988843
 **********
 **   18 **HESSE 
 **********

 FCN=   6668.814     FROM HESSE     STATUS=OK            33 CALLS      227 TOTAL
                     EDM=   .21E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    15.543        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.6569        6.3222        .50000       -.48773    
   3  Normalizat    .84575        .20454        .27435E-03   -.98393    
   4  Prefactor     .98884        .18918        .23500E-03   -.93102    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.12628e-11
Minuit parameter uncertainties:
  1  4.29946e-07
  2  4.47213
  3  0.204724
  4  0.189307
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/439766': 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) = 6668.81408319
delta logL = 5.3783878684e-08

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  1.000e-04  4.299e-07  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  2.657e+00  4.472e+00  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:  9.888e-01  1.893e-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:  8.457e-01  2.047e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 340.957 -25.170

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/439766/cmap_HighResolution_269136001_269395201_4FGL_J2243.8-2510_daily_bin115.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.95e-03', job_status='DONE', photon_flux_upper_limit='6.28e-08', time_completed='2021-09-28 18:58:15.880993', job_id='439766', GAL2='0.99', fit_tolerance='1e-08', EG2='0.85', EG='0.85', time_epoch_completed='1632880695.88', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='5.38e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.71' WHERE bin_id='115' AND source_name='4FGL J2243.8-2510' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 18:58:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0259>
Subject: Job 439766: <4FGL_J2243.8-2510_daily_bin115> in cluster <slac> Done

Job <4FGL_J2243.8-2510_daily_bin115> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Sep 28 18:45:19 2021
Job was executed on host(s) <bullet0259>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 18:45:21 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:45:21 2021
Terminated at Tue Sep 28 18:58:16 2021
Results reported at Tue Sep 28 18:58:16 2021

Your job looked like:

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

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

