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


Performing analysis on: 4FGL_J2243.8-2510_daily_bin415
RA = 340.957, Dec = -25.1701
tmin = 346896001, tmax = 347155201
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='441698', job_status='RUN', time_executed='2021-09-28 18:52:27.714673', time_epoch_executed='1632880347.71' WHERE source_name='4FGL J2243.8-2510' and cadence='daily' and bin_id='415'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/441698

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/441698/ft1_4FGL_J2243.8-2510_daily_bin415.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/441698/ft2_4FGL_J2243.8-2510_daily_bin415.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/441698/ft1_4FGL_J2243.8-2510_daily_bin415.fits outfile=/scratch/kocevski/441698/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin415.fits ra=340.957 dec=-25.1701 rad=12.0 tmin=346896001.0 tmax=347155201.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.53
user 3.31
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/441698/ft1_filtered_4FGL_J2243.8-2510_daily_bin415.fits" evtable="EVENTS" scfile=/scratch/kocevski/441698/ft2_4FGL_J2243.8-2510_daily_bin415.fits sctable="SC_DATA" outfile=/scratch/kocevski/441698/ltcube_346896001_347155201_4FGL_J2243.8-2510_daily_bin415.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/441698/ft2_4FGL_J2243.8-2510_daily_bin415.fits
.....................!
real 11.96
user 11.53
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/441698/ft1_filtered_4FGL_J2243.8-2510_daily_bin415.fits evtable="EVENTS" scfile=/scratch/kocevski/441698/ft2_4FGL_J2243.8-2510_daily_bin415.fits sctable="SC_DATA" expcube=/scratch/kocevski/441698/ltcube_346896001_347155201_4FGL_J2243.8-2510_daily_bin415.fits outfile=/scratch/kocevski/441698/expmap_346896001_347155201_4FGL_J2243.8-2510_daily_bin415.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/441698/ltcube_346896001_347155201_4FGL_J2243.8-2510_daily_bin415.fits
.....................!
real 189.98
user 185.02
sys 4.61

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/441698/ft1_filtered_4FGL_J2243.8-2510_daily_bin415.fits scfile=/scratch/kocevski/441698/ft2_4FGL_J2243.8-2510_daily_bin415.fits outfile=/scratch/kocevski/441698/cmap_346896001_347155201_4FGL_J2243.8-2510_daily_bin415.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/441698/ft1_filtered_4FGL_J2243.8-2510_daily_bin415.fits scfile=/scratch/kocevski/441698/ft2_4FGL_J2243.8-2510_daily_bin415.fits outfile=/scratch/kocevski/441698/cmap_HighResolution_346896001_347155201_4FGL_J2243.8-2510_daily_bin415.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.57
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/441698/ft1_filtered_4FGL_J2243.8-2510_daily_bin415.fits evtable="EVENTS" scfile=/scratch/kocevski/441698/ft2_4FGL_J2243.8-2510_daily_bin415.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/441698/Model_4FGL_J2243.8-2510_daily_bin415.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/441698/ft1_filtered_4FGL_J2243.8-2510_daily_bin415.fits.....................!
real 59.48
user 58.00
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    1.1902       1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.1289       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .95626E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.8522       1.0000         .10000E-03   10000.    
     6 'Prefactor '    29.185       1.0000         .10000E-03   10000.    
     7 'norm      '    9.7816       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    17.227       1.0000         .10000E-03   10000.    
    10 'norm      '    .73078       1.0000         .10000E-03   10000.    
    11 'norm      '    2.5500       1.0000         .10000E-03   10000.    
    12 'Prefactor '    25.430       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    1.4889       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    12.972       1.0000         .10000E-03   10000.    
    17 'norm      '    .21193E-01   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    11.187       1.0000         .10000E-03   10000.    
    20 'Prefactor '    4.0219       1.0000         .10000E-03   10000.    
    21 'norm      '    2.0694       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .99373       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .94819       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=   7607.619     FROM MIGRAD    STATUS=CONVERGED    539 CALLS     2747 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    29.805        .19332E-05** at limit **
   2  norm          1.1902        .33697        .64082E-08   -.60297E-03
   3  Prefactor     2.1258        8.4909        .10473E-04    .10427E-03
   4  Prefactor     .10022E-03    7.4595        .44710E-05** at limit **
   5  Prefactor     3.8526        6.5924        .34253E-05    .21511E-03
   6  Prefactor     29.129        54.035        .12294E-04   -.57043E-04
   7  norm          9.7824        19.643        .34744E-06   -.29191E-04
   8  Prefactor     .10000E-03    13.525        .37035E-06** at limit **
   9  Prefactor     17.226        10.376        .32327E-06   -.11448E-03
  10  norm          .73188        .75239       -.56197E-06   -.32928E-02
  11  norm          2.5497        2.3054        .14165E-06   -.89290E-04
  12  Prefactor     25.439        45.137       -.95981E-06   -.30272E-06
  13  Prefactor     .10000E-03    3.7813        .63521E-07** at limit **
  14  norm          1.4888        1.9870        .82853E-07    .51828E-04
  15  Prefactor     .10000E-03    4.5631        .57987E-07** at limit **
  16  Prefactor     12.949        8.3959        .25879E-07    .92736E-05
  17  norm          .24873E-01    .39045       -.16673E-06    .10757E-02
  18  Prefactor     .10000E-03    27.876       -.12948E-05** at limit **
  19  Prefactor     11.187        7.8806        .19226E-06    .18063E-04
  20  Prefactor     4.0185        8.0684        .45865E-06    .32321E-04
  21  norm          2.0695        2.6087        .23723E-06    .26406E-04
  22  Prefactor     .10000E-03    7.4287       -.34844E-07** at limit **
  23  Normalizat    .99386        .16518       -.26548E-05   -.29675E-03
  24  Prefactor     .94804        .14960        .13431E-06   -.19996E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 1.19015
  Prefactor  = 2.12579
  Prefactor  = 0.000100223
  Prefactor  = 3.85257
  Prefactor  = 29.1287
  norm       = 9.78243
  Prefactor  = 0.0001
  Prefactor  = 17.2262
  norm       = 0.731882
  norm       = 2.54968
  Prefactor  = 25.4391
  Prefactor  = 0.0001
  norm       = 1.48883
  Prefactor  = 0.0001
  Prefactor  = 12.9491
  norm       = 0.024873
  Prefactor  = 0.0001
  Prefactor  = 11.1871
  Prefactor  = 4.01848
  norm       = 2.06953
  Prefactor  = 0.0001
  Normalizat = 0.993863
  Prefactor  = 0.948041
 **********
 **   18 **HESSE 
 **********

 FCN=   7607.619     FROM HESSE     STATUS=OK           409 CALLS     3156 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    29.824        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.1902        .33780        .26144E-04   -1.5490    
   3  Prefactor     2.1258        8.6419        .14129E-02   -1.5416    
   4  Prefactor     .10022E-03    29.954        .41660E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.8526        6.6188        .10281E-02   -1.5315    
   6  Prefactor     29.129        54.192        .74162E-04   -1.4628    
   7  norm          9.7824        19.620        .12813E-03   -1.5082    
   8  Prefactor     .10000E-03    13.585        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     17.226        10.385        .96497E-04   -1.4878    
  10  norm          .73188        .73315        .73378E-03   -1.5537    
  11  norm          2.5497        2.3115        .10297E-03   -1.5389    
  12  Prefactor     25.439        45.497        .79438E-04   -1.4699    
  13  Prefactor     .10000E-03    3.8200        .16561E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.4888        1.9621        .13610E-03   -1.5464    
  15  Prefactor     .10000E-03    4.5677        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     12.949        10.720        .11122E-03   -1.4988    
  17  norm          .24873E-01    7.0915        .77838E-03   -1.5676    
  18  Prefactor     .10000E-03    27.875        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     11.187        7.8809        .11978E-03   -1.5039    
  20  Prefactor     4.0185        8.1225        .20108E-03   -1.5307    
  21  norm          2.0695        2.5936        .15283E-03   -1.5420    
  22  Prefactor     .10000E-03    7.4298        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .99386        .19716        .24635E-03   -.93236    
  24  Prefactor     .94804        .18079        .23605E-03   -.94482    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.23334e-08
Minuit parameter uncertainties:
  1  9.28271e-05
  2  0.337798
  3  8.57419
  4  0.00517403
  5  6.62006
  6  54.2839
  7  19.6332
  8  8.04098e-06
  9  10.3863
  10  0.733163
  11  2.31161
  12  45.5586
  13  9.04003e-06
  14  1.9622
  15  8.41838e-06
  16  10.7212
  17  0.838377
  18  8.0515e-05
  19  7.88163
  20  8.12468
  21  2.59379
  22  3.33929e-06
  23  0.197306
  24  0.180907
Done.

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

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  2.544e+01  4.556e+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:  9.480e-01  1.809e-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.939e-01  1.973e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/441698/likelihoodResults_346896001_347155201_4FGL_J2243.8-2510_daily_bin415.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) = 7607.40533678
delta logL = 0.2137582687

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7607.39128444
delta logL = 0.227810605103

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.5168       1.0000         .10000E-03   10000.    
     2 'Index     '    3.7440       1.0000          .0000       10.000    
     3 'Normalizat'    .96854       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96464       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   7607.391     FROM MIGRAD    STATUS=FAILED        80 CALLS      276 TOTAL
                     EDM=   .10E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.5151        515.10        .12990E-03   -.89546E-03
   2  Index         3.7440        6.2912        .76818E-02   -.36567E-03
   3  Normalizat    .96856        .18864        .24905E-03   -.70242E-03
   4  Prefactor     .96461        .17485        .23424E-03   -.56057E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   7607.391     FROM SIMPLEX   STATUS=UNCHANGED     90 CALLS      366 TOTAL
                     EDM=   .13E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.5151        515.10        .45233E-03   -.89546E-03
   2  Index         3.7440        6.2912        .21137E-02   -.36567E-03
   3  Normalizat    .96856        .18864        .99726E-04   -.70242E-03
   4  Prefactor     .96461        .17485        .75396E-04   -.56057E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7607.391     FROM MIGRAD    STATUS=CONVERGED     31 CALLS      397 TOTAL
                     EDM=   .35E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.5132        30.077        .51962E-05   -.57323E-04
   2  Index         3.7441        2.0121        .30727E-03   -.12950E-04
   3  Normalizat    .96856        .19106        .49810E-04   -.11275E-04
   4  Prefactor     .96461        .17580        .46847E-04   -.34945E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.51318
  Index      = 3.74413
  Normalizat = 0.968555
  Prefactor  = 0.964613
 **********
 **   18 **HESSE 
 **********

 FCN=   7607.391     FROM HESSE     STATUS=OK            23 CALLS      420 TOTAL
                     EDM=   .35E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.5132        29.376        .10392E-05   -1.5091    
   2  Index         3.7441        1.9671        .12291E-04   -.25389    
   3  Normalizat    .96856        .19107        .99620E-05   -.94091    
   4  Prefactor     .96461        .17580        .93695E-05   -.93919    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.45253e-12
Minuit parameter uncertainties:
  1  29.4204
  2  2.02568
  3  0.191208
  4  0.175908
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/441698': 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) = 7607.39128439
delta logL = 0.227810661008

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  9.513e+00  2.942e+01  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  3.744e+00  2.026e+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.646e-01  1.759e-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.686e-01  1.912e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.06
Ra Dec: 340.957 -25.170
Photon Index (Free Index): 3.74 +/- 2.03
Photon Flux (Free Index): 4.46e-08 +/- 4.99e-08
Energy Flux (Free Index): 7.01e-06 +/- 7.76e-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/441698/cmap_HighResolution_346896001_347155201_4FGL_J2243.8-2510_daily_bin415.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.47e-03', comment='SUCCESS', energy_flux2='7.01e-06', dlogl='2.28e-01', photon_flux2='4.46e-08', job_status='DONE', time_completed='2021-09-28 19:04:41.406642', photon_index_error2='2.03', photon_index2='3.74', ts='0.56', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='1.08e-07', energy_flux_error2='7.76e-06', EG='0.99', time_epoch_completed='1632881081.41', return_code='0', job_id='441698', GAL2='0.96', EG2='0.97', return_code2='0', photon_flux_error2='4.99e-08', ts2='1.06', photon_index='2.71' WHERE bin_id='415' AND source_name='4FGL J2243.8-2510' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 19:04:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0058>
Subject: Job 441698: <4FGL_J2243.8-2510_daily_bin415> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.8-2510_daily_bin415 340.957 -25.1701 346896001 347155201 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 :                                   732.43 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             319.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   856 sec.
    Turnaround time :                            858 sec.

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

