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


Performing analysis on: 4FGL_J2243.8-2510_daily_bin1636
RA = 340.957, Dec = -25.1701
tmin = 663379201, tmax = 663638401
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='953016', job_status='RUN', time_executed='2022-01-12 01:24:11.534010', time_epoch_executed='1641979451.53' WHERE source_name='4FGL J2243.8-2510' and cadence='daily' and bin_id='1636'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/953016

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/953016/ft1_4FGL_J2243.8-2510_daily_bin1636.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/953016/ft2_4FGL_J2243.8-2510_daily_bin1636.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/953016/ft1_4FGL_J2243.8-2510_daily_bin1636.fits outfile=/scratch/kocevski/953016/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin1636.fits ra=340.957 dec=-25.1701 rad=12.0 tmin=663379201.0 tmax=663638401.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 2.63
user 2.40
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/953016/ft2_4FGL_J2243.8-2510_daily_bin1636.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/953016/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin1636.fits evtable="EVENTS" outfile="/scratch/kocevski/953016/ft1_filtered_4FGL_J2243.8-2510_daily_bin1636.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.51
user 0.34
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/953016/ft1_filtered_4FGL_J2243.8-2510_daily_bin1636.fits" evtable="EVENTS" scfile=/scratch/kocevski/953016/ft2_4FGL_J2243.8-2510_daily_bin1636.fits sctable="SC_DATA" outfile=/scratch/kocevski/953016/ltcube_663379201_663638401_4FGL_J2243.8-2510_daily_bin1636.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/953016/ft2_4FGL_J2243.8-2510_daily_bin1636.fits
.....................!
real 14.53
user 14.07
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/953016/ft1_filtered_4FGL_J2243.8-2510_daily_bin1636.fits evtable="EVENTS" scfile=/scratch/kocevski/953016/ft2_4FGL_J2243.8-2510_daily_bin1636.fits sctable="SC_DATA" expcube=/scratch/kocevski/953016/ltcube_663379201_663638401_4FGL_J2243.8-2510_daily_bin1636.fits outfile=/scratch/kocevski/953016/expmap_663379201_663638401_4FGL_J2243.8-2510_daily_bin1636.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/953016/ltcube_663379201_663638401_4FGL_J2243.8-2510_daily_bin1636.fits
.....................!
real 193.13
user 186.87
sys 5.55

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/953016/ft1_filtered_4FGL_J2243.8-2510_daily_bin1636.fits scfile=/scratch/kocevski/953016/ft2_4FGL_J2243.8-2510_daily_bin1636.fits outfile=/scratch/kocevski/953016/cmap_663379201_663638401_4FGL_J2243.8-2510_daily_bin1636.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.35
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/953016/ft1_filtered_4FGL_J2243.8-2510_daily_bin1636.fits scfile=/scratch/kocevski/953016/ft2_4FGL_J2243.8-2510_daily_bin1636.fits outfile=/scratch/kocevski/953016/cmap_HighResolution_663379201_663638401_4FGL_J2243.8-2510_daily_bin1636.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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/953016/ft1_filtered_4FGL_J2243.8-2510_daily_bin1636.fits evtable="EVENTS" scfile=/scratch/kocevski/953016/ft2_4FGL_J2243.8-2510_daily_bin1636.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/953016/Model_4FGL_J2243.8-2510_daily_bin1636.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/953016/ft1_filtered_4FGL_J2243.8-2510_daily_bin1636.fits.....................!
real 43.31
user 41.96
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .98707       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .67792E-01   1.0000         .10000E-03   10000.    
     4 'Prefactor '    15.503       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .39977       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    51.758       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    9.3482       1.0000         .10000E-03   10000.    
    10 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .88066       1.0000         .10000E-03   10000.    
    12 'Prefactor '    21.201       1.0000         .10000E-03   10000.    
    13 'Prefactor '    8.6848       1.0000         .10000E-03   10000.    
    14 'norm      '    .11773E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.9147       1.0000         .10000E-03   10000.    
    17 'norm      '    .10022E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    108.33       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    7.3862       1.0000         .10000E-03   10000.    
    21 'norm      '    9.2162       1.0000         .10000E-03   10000.    
    22 'Prefactor '    26.751       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .88364       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1561       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=   5054.112     FROM MIGRAD    STATUS=CONVERGED    580 CALLS     2850 TOTAL
                     EDM=   .44E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    52.054       -.14072E-06** at limit **
   2  norm          .98697        .52061        .12025E-07   -.89862E-04
   3  Prefactor     .15422        18.344        .19064E-05   -.22121E-03
   4  Prefactor     15.487        25.356       -.97702E-06   -.35390E-04
   5  Prefactor     .34338        61.977       -.17849E-05   -.49603E-04
   6  Prefactor     .10000E-03    31.314       -.45532E-06** at limit **
   7  norm          51.760        33.914        .33210E-06   -.10587E-04
   8  Prefactor     .10000E-03    17.408       -.12105E-06** at limit **
   9  Prefactor     9.3511        14.802        .10947E-06    .78219E-05
  10  norm          .10000E-03    .27871       -.15939E-06** at limit **
  11  norm          .87778        1.8253       -.86237E-06   -.69627E-03
  12  Prefactor     21.218        33.035        .18920E-05   -.64730E-05
  13  Prefactor     8.6889        13.146        .26929E-06   -.25429E-04
  14  norm          .10000E-03    3.0771        .39982E-07** at limit **
  15  Prefactor     .10000E-03    5.3777       -.10692E-06** at limit **
  16  Prefactor     2.8858        9.9562       -.44808E-06   -.10526E-03
  17  norm          .10000E-03    .21503       -.16800E-07** at limit **
  18  Prefactor     108.29        126.30        .14376E-05    .17785E-05
  19  Prefactor     .10000E-03    8.1670       -.34464E-06** at limit **
  20  Prefactor     7.4036        13.183        .56447E-06   -.15854E-04
  21  norm          9.2162        4.3921        .40081E-07   -.28668E-05
  22  Prefactor     26.751        31.613       -.80755E-07   -.91649E-05
  23  Normalizat    .88353        .24178       -.20978E-05   -.31743E-04
  24  Prefactor     1.1562        .20239        .11797E-05   -.22619E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.986975
  Prefactor  = 0.15422
  Prefactor  = 15.4868
  Prefactor  = 0.34338
  Prefactor  = 0.0001
  norm       = 51.7599
  Prefactor  = 0.0001
  Prefactor  = 9.35113
  norm       = 0.0001
  norm       = 0.877778
  Prefactor  = 21.2182
  Prefactor  = 8.68889
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 2.88581
  norm       = 0.0001
  Prefactor  = 108.29
  Prefactor  = 0.0001
  Prefactor  = 7.40355
  norm       = 9.21623
  Prefactor  = 26.7514
  Normalizat = 0.883533
  Prefactor  = 1.15621
 **********
 **   18 **HESSE 
 **********

 FCN=   5054.112     FROM HESSE     STATUS=OK           419 CALLS     3269 TOTAL
                     EDM=   .30E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    52.075        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .98697        .51735        .36192E-04   -1.5509    
   3  Prefactor     .15422        19.629        .71799E-01   -1.5629    
   4  Prefactor     15.487        25.551        .10172E-03   -1.4921    
   5  Prefactor     .34338        63.093        .41312E-02   -1.5591    
   6  Prefactor     .10000E-03    31.307        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          51.760        33.926        .55747E-04   -1.4268    
   8  Prefactor     .10000E-03    17.437        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     9.3511        14.851        .13108E-03   -1.5096    
  10  norm          .10000E-03    .32174        .71828E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .87778        1.8162        .14900E-02   -1.5521    
  12  Prefactor     21.218        33.168        .86989E-04   -1.4786    
  13  Prefactor     8.6889        13.126        .13602E-03   -1.5118    
  14  norm          .10000E-03    18.971        .21662E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    5.3816        .16097E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     2.8858        10.056        .23797E-03   -1.5368    
  17  norm          .10000E-03    .21504        .18142E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     108.29        125.82        .19321E-03   -1.3623    
  19  Prefactor     .10000E-03    8.2268        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     7.4036        13.058        .14758E-03   -1.5164    
  21  norm          9.2162        4.3916        .97791E-04   -1.5101    
  22  Prefactor     26.751        31.628        .77454E-04   -1.4673    
  23  Normalizat    .88353        .27899        .28267E-03   -.97041    
  24  Prefactor     1.1562        .24138        .23039E-03   -.87690    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.02729e-08
Minuit parameter uncertainties:
  1  3.06218e-05
  2  0.517354
  3  3.4798
  4  25.5686
  5  9.3177
  6  1.04312e-05
  7  33.9385
  8  2.06712e-06
  9  14.8571
  10  2.89161e-06
  11  1.81633
  12  33.1966
  13  13.1299
  14  0.00028696
  15  6.65848e-06
  16  10.0619
  17  1.25025e-07
  18  126.133
  19  7.70855e-06
  20  13.0629
  21  4.39178
  22  31.6477
  23  0.279451
  24  0.241606
Done.

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

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  2.122e+01  3.320e+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.156e+00  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:  8.835e-01  2.795e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/953016/likelihoodResults_663379201_663638401_4FGL_J2243.8-2510_daily_bin1636.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) = 5053.6320522
delta logL = 0.479987688283

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5053.59453715
delta logL = 0.517502745532

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    30.057       1.0000         .10000E-03   10000.    
     2 'Index     '    1.7123       1.0000          .0000       10.000    
     3 'Normalizat'    .90102       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1440       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=   5053.595     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      214 TOTAL
                     EDM=   .28E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     30.170        36.718        .18270E-02   -.47416E-05
   2  Index         1.7136        .56512        .27762       -.34671E-04
   3  Normalizat    .90101        .21115        .44915E-01    .15635E-04
   4  Prefactor     1.1441        .19494        .52328E-01    .36659E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 30.1705
  Index      = 1.7136
  Normalizat = 0.901012
  Prefactor  = 1.14406
 **********
 **   18 **HESSE 
 **********

 FCN=   5053.595     FROM HESSE     STATUS=OK            31 CALLS      245 TOTAL
                     EDM=   .85E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     30.170        37.413        .73081E-04   -1.4609    
   2  Index         1.7136        .74841        .10080E-01   -.71720    
   3  Normalizat    .90101        .25382        .27992E-03   -.96425    
   4  Prefactor     1.1441        .23449        .23135E-03   -.88071    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.50761e-10
Minuit parameter uncertainties:
  1  37.442
  2  0.753415
  3  0.254162
  4  0.234707
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/953016': 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) = 5053.59453215
delta logL = 0.517507741173

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  3.017e+01  3.744e+01  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  1.714e+00  7.534e-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:  1.144e+00  2.347e-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:  9.010e-01  2.542e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.92
Ra Dec: 340.957 -25.170
Photon Index (Free Index): 1.71 +/- 0.75
Photon Flux (Free Index): 1.11e-08 +/- 1.59e-08
Energy Flux (Free Index): 1.74e-05 +/- 3.42e-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/953016/cmap_HighResolution_663379201_663638401_4FGL_J2243.8-2510_daily_bin1636.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.25e-03', comment='SUCCESS', energy_flux2='1.74e-05', dlogl='5.18e-01', photon_flux2='1.11e-08', job_status='DONE', time_completed='2022-01-12 01:33:55.949843', photon_index_error2='0.75', photon_index2='1.71', ts='0.89', fit_tolerance='1e-08', GAL='1.16', photon_index_error='0.00', photon_flux_upper_limit='1.17e-07', energy_flux_error2='3.42e-05', EG='0.88', time_epoch_completed='1641980035.95', return_code='0', job_id='953016', GAL2='1.14', EG2='0.90', return_code2='0', photon_flux_error2='1.59e-08', ts2='1.92', photon_index='2.71' WHERE bin_id='1636' AND source_name='4FGL J2243.8-2510' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jan 12 01:33:55 PST 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0179>
Subject: Job 953016: <4FGL_J2243.8-2510_daily_bin1636> in cluster <slac> Done

Job <4FGL_J2243.8-2510_daily_bin1636> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Jan 12 01:20:39 2022
Job was executed on host(s) <bullet0179>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jan 12 01:23:46 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jan 12 01:23:46 2022
Terminated at Wed Jan 12 01:33:56 2022
Results reported at Wed Jan 12 01:33:56 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.8-2510_daily_bin1636 340.957 -25.1701 663379201 663638401 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 :                                   586.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             372.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   610 sec.
    Turnaround time :                            797 sec.

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

