/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 2 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 = 7472
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2243.8-2510_daily_bin361
RA = 340.957, Dec = -25.1701
tmin = 332899201, tmax = 333158401
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='441628', job_status='RUN', time_executed='2021-09-28 18:50:35.119914', time_epoch_executed='1632880235.12' WHERE source_name='4FGL J2243.8-2510' and cadence='daily' and bin_id='361'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/441628

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/441628/ft1_4FGL_J2243.8-2510_daily_bin361.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/441628/ft2_4FGL_J2243.8-2510_daily_bin361.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/441628/ft1_4FGL_J2243.8-2510_daily_bin361.fits outfile=/scratch/kocevski/441628/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin361.fits ra=340.957 dec=-25.1701 rad=12.0 tmin=332899201.0 tmax=333158401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.32
user 4.06
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/441628/ft1_filtered_4FGL_J2243.8-2510_daily_bin361.fits" evtable="EVENTS" scfile=/scratch/kocevski/441628/ft2_4FGL_J2243.8-2510_daily_bin361.fits sctable="SC_DATA" outfile=/scratch/kocevski/441628/ltcube_332899201_333158401_4FGL_J2243.8-2510_daily_bin361.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/441628/ft2_4FGL_J2243.8-2510_daily_bin361.fits
.....................!
real 12.20
user 11.85
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/441628/ft1_filtered_4FGL_J2243.8-2510_daily_bin361.fits evtable="EVENTS" scfile=/scratch/kocevski/441628/ft2_4FGL_J2243.8-2510_daily_bin361.fits sctable="SC_DATA" expcube=/scratch/kocevski/441628/ltcube_332899201_333158401_4FGL_J2243.8-2510_daily_bin361.fits outfile=/scratch/kocevski/441628/expmap_332899201_333158401_4FGL_J2243.8-2510_daily_bin361.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/441628/ltcube_332899201_333158401_4FGL_J2243.8-2510_daily_bin361.fits
.....................!
real 189.99
user 185.38
sys 4.23

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/441628/ft1_filtered_4FGL_J2243.8-2510_daily_bin361.fits scfile=/scratch/kocevski/441628/ft2_4FGL_J2243.8-2510_daily_bin361.fits outfile=/scratch/kocevski/441628/cmap_332899201_333158401_4FGL_J2243.8-2510_daily_bin361.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/441628/ft1_filtered_4FGL_J2243.8-2510_daily_bin361.fits scfile=/scratch/kocevski/441628/ft2_4FGL_J2243.8-2510_daily_bin361.fits outfile=/scratch/kocevski/441628/cmap_HighResolution_332899201_333158401_4FGL_J2243.8-2510_daily_bin361.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/441628/ft1_filtered_4FGL_J2243.8-2510_daily_bin361.fits evtable="EVENTS" scfile=/scratch/kocevski/441628/ft2_4FGL_J2243.8-2510_daily_bin361.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/441628/Model_4FGL_J2243.8-2510_daily_bin361.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/441628/ft1_filtered_4FGL_J2243.8-2510_daily_bin361.fits.....................!
real 56.78
user 55.45
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .66398       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.8404       1.0000         .10000E-03   10000.    
     6 'Prefactor '    21.629       1.0000         .10000E-03   10000.    
     7 'norm      '    13.445       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10210E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.4096       1.0000         .10000E-03   10000.    
    11 'norm      '    .89505       1.0000         .10000E-03   10000.    
    12 'Prefactor '    16.676       1.0000         .10000E-03   10000.    
    13 'Prefactor '    6.8343       1.0000         .10000E-03   10000.    
    14 'norm      '    40.938       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .13773       1.0000         .10000E-03   10000.    
    17 'norm      '    .64077       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .81030       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .11215E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    2.3531       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .73940       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0395       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5290E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7914.081     FROM MIGRAD    STATUS=CONVERGED     92 CALLS     2303 TOTAL
                     EDM=   .75E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    10.104       -.73949E-05** at limit **
   2  norm          .66395        .23887        .15528E-07   -.43356E-03
   3  Prefactor     .10000E-03    2.0817        .28942E-06** at limit **
   4  Prefactor     .10001E-03    6.5123        .85979E-05** at limit **
   5  Prefactor     5.8390        1.0136       -.16415E-06   -.10221E-03
   6  Prefactor     21.613        2.0788       -.11224E-05    .53551E-02
   7  norm          13.448        1.4950       -.10527E-05    .20984E-02
   8  Prefactor     .10002E-03    4.0159       -.83299E-05** at limit **
   9  Prefactor     .10000E-03    3.0020       -.26621E-05** at limit **
  10  norm          1.4094        .72427        .18120E-06   -.71971E-03
  11  norm          .89375        1.3718       -.57513E-06   -.55534E-03
  12  Prefactor     16.674        3.1069        .25286E-05   -.91207E-02
  13  Prefactor     6.8381        1.1179        .57208E-06   -.71701E-03
  14  norm          40.986        6.7885       -.25014E-05   -.73423E-02
  15  Prefactor     .10000E-03    5.4794        .53355E-05** at limit **
  16  Prefactor     .10069E-03    252.82        .11026E-04** at limit **
  17  norm          .64702        .48778        .23445E-06   -.14367E-02
  18  Prefactor     .10599E-03    19.044        .65511E-05** at limit **
  19  Prefactor     .80809        1.1680       -.12270E-05   -.80235E-04
  20  Prefactor     .10000E-03    4.1538        .51743E-06** at limit **
  21  norm          .10000E-03    2.7709        .48601E-07** at limit **
  22  Prefactor     2.3384        1.5090       -.17408E-05    .87793E-03
  23  Normalizat    .73980        .17321        .68851E-06   -.62425E-04
  24  Prefactor     1.0393        .16664        .42294E-06   -.15252E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100003
  norm       = 0.663949
  Prefactor  = 0.0001
  Prefactor  = 0.000100009
  Prefactor  = 5.83901
  Prefactor  = 21.6134
  norm       = 13.4479
  Prefactor  = 0.000100016
  Prefactor  = 0.0001
  norm       = 1.40937
  norm       = 0.893749
  Prefactor  = 16.6738
  Prefactor  = 6.83808
  norm       = 40.9863
  Prefactor  = 0.000100003
  Prefactor  = 0.000100685
  norm       = 0.647021
  Prefactor  = 0.000105989
  Prefactor  = 0.808091
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 2.33839
  Normalizat = 0.739802
  Prefactor  = 1.03932
 **********
 **   18 **HESSE 
 **********

 FCN=   7914.081     FROM HESSE     STATUS=OK           459 CALLS     2762 TOTAL
                     EDM=   .64E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    10.173        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .66395        .23736        .57490E-02   -1.5545    
   3  Prefactor     .10000E-03    2.0775        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10001E-03    7.1158        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     5.8390        5.1838        .41545E-02   -1.5225    
   6  Prefactor     21.613        42.790        .21531E-02   -1.4778    
   7  norm          13.448        15.950        .27310E-02   -1.4974    
   8  Prefactor     .10002E-03    6.0525        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    6.3507        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.4094        .73320        .91238E-02   -1.5471    
  11  norm          .89375        2.1295        .29772E-01   -1.5519    
  12  Prefactor     16.674        44.324        .24520E-02   -1.4891    
  13  Prefactor     6.8381        8.1824        .38369E-02   -1.5185    
  14  norm          40.986        7.1876        .15662E-02   -1.4427    
  15  Prefactor     .10000E-03    5.5459        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10069E-03    7.8707        .63522E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .64702        .56480        .11368E-01   -1.5547    
  18  Prefactor     .10599E-03    143.94        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .80809        11.235        .12478E-01   -1.5528    
  20  Prefactor     .10000E-03    4.1441        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    1.4917        .36752E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     2.3384        88.746        .66801E-02   -1.5402    
  23  Normalizat    .73980        .15533        .42814E-01   -1.0234    
  24  Prefactor     1.0393        .14379        .40570E-01   -.91430    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.35535e-06
Minuit parameter uncertainties:
  1  0.000343726
  2  0.237361
  3  3.4848e-05
  4  0.000519005
  5  5.18423
  6  42.8504
  7  15.9547
  8  0.000620032
  9  7.55181e-05
  10  0.733205
  11  2.12967
  12  44.4113
  13  8.18371
  14  7.18772
  15  0.000258179
  16  0.00464504
  17  0.564807
  18  0.0588655
  19  6.02738
  20  2.04296e-07
  21  3.32004e-06
  22  28.8568
  23  0.155423
  24  0.14384
Done.

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

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  1.667e+01  4.441e+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:  1.039e+00  1.438e-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:  7.398e-01  1.554e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/441628/likelihoodResults_332899201_333158401_4FGL_J2243.8-2510_daily_bin361.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) = 7914.07588569
delta logL = 0.00540509410985

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7914.07332612
delta logL = 0.00796466301836

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.880       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9394       1.0000          .0000       10.000    
     3 'Normalizat'    .73661       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0413       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=   7914.073     FROM MIGRAD    STATUS=CONVERGED    103 CALLS      293 TOTAL
                     EDM=   .68E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.841        48.309        .10751E-03   -.76664E-04
   2  Index         2.9426        2.2971        .91953E-02   -.40027E-04
   3  Normalizat    .73593        .17736        .26920E-03    .65112E-03
   4  Prefactor     1.0420        .16757        .22004E-03   -.66532E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.8413
  Index      = 2.94264
  Normalizat = 0.735925
  Prefactor  = 1.042
 **********
 **   18 **HESSE 
 **********

 FCN=   7914.073     FROM HESSE     STATUS=OK            25 CALLS      318 TOTAL
                     EDM=   .68E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.841        40.831        .43005E-05   -1.4964    
   2  Index         2.9426        1.9628        .36781E-03   -.42407    
   3  Normalizat    .73593        .17724        .53840E-04   -1.0249    
   4  Prefactor     1.0420        .16732        .44008E-04   -.91342    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.82425e-09
Minuit parameter uncertainties:
  1  40.9133
  2  2.02924
  3  0.177376
  4  0.167405
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/441628': 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) = 7914.07331694
delta logL = 0.00797384849193

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  1.384e+01  4.091e+01  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  2.943e+00  2.029e+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:  1.042e+00  1.674e-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:  7.359e-01  1.774e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/441628/cmap_HighResolution_332899201_333158401_4FGL_J2243.8-2510_daily_bin361.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.46e-03', job_status='DONE', photon_flux_upper_limit='9.48e-08', time_completed='2021-09-28 19:02:16.258221', job_id='441628', GAL2='1.04', fit_tolerance='1e-08', EG2='0.74', EG='0.74', time_epoch_completed='1632880936.26', return_code2='0', ts='0.26', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='7.97e-03', ts2='0.28', photon_index_error='0.00', photon_index='2.71' WHERE bin_id='361' AND source_name='4FGL J2243.8-2510' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 19:02:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0034>
Subject: Job 441628: <4FGL_J2243.8-2510_daily_bin361> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.8-2510_daily_bin361 340.957 -25.1701 332899201 333158401 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 :                                   701.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             374.91 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   718 sec.
    Turnaround time :                            720 sec.

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

