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


Performing analysis on: 4FGL_J2243.8-2510_daily_bin1183
RA = 340.957, Dec = -25.1701
tmin = 545961601, tmax = 546220801
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='444927', job_status='RUN', time_executed='2021-09-28 19:02:51.018542', time_epoch_executed='1632880971.02' WHERE source_name='4FGL J2243.8-2510' and cadence='daily' and bin_id='1183'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/444927

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/444927/ft1_4FGL_J2243.8-2510_daily_bin1183.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/444927/ft2_4FGL_J2243.8-2510_daily_bin1183.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/444927/ft1_4FGL_J2243.8-2510_daily_bin1183.fits outfile=/scratch/kocevski/444927/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin1183.fits ra=340.957 dec=-25.1701 rad=12.0 tmin=545961601.0 tmax=546220801.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.04
user 3.82
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/444927/ft1_filtered_4FGL_J2243.8-2510_daily_bin1183.fits" evtable="EVENTS" scfile=/scratch/kocevski/444927/ft2_4FGL_J2243.8-2510_daily_bin1183.fits sctable="SC_DATA" outfile=/scratch/kocevski/444927/ltcube_545961601_546220801_4FGL_J2243.8-2510_daily_bin1183.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/444927/ft2_4FGL_J2243.8-2510_daily_bin1183.fits
.....................!
real 11.70
user 11.27
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/444927/ft1_filtered_4FGL_J2243.8-2510_daily_bin1183.fits evtable="EVENTS" scfile=/scratch/kocevski/444927/ft2_4FGL_J2243.8-2510_daily_bin1183.fits sctable="SC_DATA" expcube=/scratch/kocevski/444927/ltcube_545961601_546220801_4FGL_J2243.8-2510_daily_bin1183.fits outfile=/scratch/kocevski/444927/expmap_545961601_546220801_4FGL_J2243.8-2510_daily_bin1183.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/444927/ltcube_545961601_546220801_4FGL_J2243.8-2510_daily_bin1183.fits
.....................!
real 191.95
user 187.00
sys 4.59

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/444927/ft1_filtered_4FGL_J2243.8-2510_daily_bin1183.fits scfile=/scratch/kocevski/444927/ft2_4FGL_J2243.8-2510_daily_bin1183.fits outfile=/scratch/kocevski/444927/cmap_545961601_546220801_4FGL_J2243.8-2510_daily_bin1183.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/444927/ft1_filtered_4FGL_J2243.8-2510_daily_bin1183.fits scfile=/scratch/kocevski/444927/ft2_4FGL_J2243.8-2510_daily_bin1183.fits outfile=/scratch/kocevski/444927/cmap_HighResolution_545961601_546220801_4FGL_J2243.8-2510_daily_bin1183.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.36
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/444927/ft1_filtered_4FGL_J2243.8-2510_daily_bin1183.fits evtable="EVENTS" scfile=/scratch/kocevski/444927/ft2_4FGL_J2243.8-2510_daily_bin1183.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/444927/Model_4FGL_J2243.8-2510_daily_bin1183.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/444927/ft1_filtered_4FGL_J2243.8-2510_daily_bin1183.fits.....................!
real 38.98
user 37.65
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    83.669       1.0000         .10000E-03   10000.    
     2 'norm      '    .81131       1.0000         .10000E-03   10000.    
     3 'Prefactor '    14.355       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    9.8970       1.0000         .10000E-03   10000.    
     6 'Prefactor '    22.287       1.0000         .10000E-03   10000.    
     7 'norm      '    40.220       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.6008       1.0000         .10000E-03   10000.    
     9 'Prefactor '    11.432       1.0000         .10000E-03   10000.    
    10 'norm      '    4.4202       1.0000         .10000E-03   10000.    
    11 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    13.878       1.0000         .10000E-03   10000.    
    17 'norm      '    1.2165       1.0000         .10000E-03   10000.    
    18 'Prefactor '    30.182       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    7.0608       1.0000         .10000E-03   10000.    
    21 'norm      '    4.4638       1.0000         .10000E-03   10000.    
    22 'Prefactor '    8.7972       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .88594       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1304       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=   4360.277     FROM MIGRAD    STATUS=CONVERGED    521 CALLS     2666 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     83.641        99.398       -.28500E-05   -.86797E-04
   2  norm          .81131        .37949        .83139E-08    .13247E-04
   3  Prefactor     14.354        15.377        .29486E-07   -.14266E-04
   4  Prefactor     .10000E-03    12.575       -.90528E-06** at limit **
   5  Prefactor     9.8992        10.186        .17547E-07   -.23102E-05
   6  Prefactor     22.314        167.39        .61309E-05    .30891E-04
   7  norm          40.227        35.850        .98523E-06    .10239E-03
   8  Prefactor     2.6003        26.564        .64842E-06   -.91024E-05
   9  Prefactor     11.432        11.641       -.65678E-07    .59397E-06
  10  norm          4.4200        2.5127       -.39762E-07   -.23221E-04
  11  norm          .10000E-03    1.2981        .11098E-06** at limit **
  12  Prefactor     .10000E-03    21.701       -.23325E-06** at limit **
  13  Prefactor     .10000E-03    3.8139       -.59005E-07** at limit **
  14  norm          .10000E-03    3.0838        .95745E-07** at limit **
  15  Prefactor     .10000E-03    14.411        .97630E-06** at limit **
  16  Prefactor     13.875        16.449       -.12486E-05   -.68871E-04
  17  norm          1.2166        .90947       -.40057E-07   -.50039E-03
  18  Prefactor     30.154        99.725       -.51448E-05   -.53649E-04
  19  Prefactor     .10000E-03    9.6221        .14199E-06** at limit **
  20  Prefactor     7.0605        12.383        .41136E-05   -.89260E-04
  21  norm          4.4639        5.0798        .10738E-06    .16187E-05
  22  Prefactor     8.7983        50.827        .26498E-06    .63010E-05
  23  Normalizat    .88581        .24816        .16136E-05   -.64413E-04
  24  Prefactor     1.1305        .21513       -.15083E-05    .52836E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 83.6415
  norm       = 0.811314
  Prefactor  = 14.3544
  Prefactor  = 0.0001
  Prefactor  = 9.89923
  Prefactor  = 22.314
  norm       = 40.2271
  Prefactor  = 2.6003
  Prefactor  = 11.4321
  norm       = 4.42004
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 13.8752
  norm       = 1.21664
  Prefactor  = 30.1535
  Prefactor  = 0.0001
  Prefactor  = 7.06046
  norm       = 4.46394
  Prefactor  = 8.79833
  Normalizat = 0.885812
  Prefactor  = 1.13046
 **********
 **   18 **HESSE 
 **********

 FCN=   4360.277     FROM HESSE     STATUS=OK           399 CALLS     3065 TOTAL
                     EDM=   .42E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     83.641        100.95        .43915E-04   -1.3876    
   2  norm          .81131        .38090        .26888E-04   -1.5528    
   3  Prefactor     14.354        15.385        .10571E-03   -1.4950    
   4  Prefactor     .10000E-03    12.673        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     9.8992        10.227        .12737E-03   -1.5079    
   6  Prefactor     22.314        170.30        .84846E-04   -1.4763    
   7  norm          40.227        36.040        .63204E-04   -1.4439    
   8  Prefactor     2.6003        26.499        .25298E-03   -1.5385    
   9  Prefactor     11.432        11.645        .11849E-03   -1.5032    
  10  norm          4.4200        2.5129        .74439E-04   -1.5287    
  11  norm          .10000E-03    1.3186        .73403E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    21.722        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    3.8172        .12592E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    3.1262        .11304E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    14.554        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     13.875        17.395        .10752E-03   -1.4963    
  17  norm          1.2166        .94002        .42595E-04   -1.5487    
  18  Prefactor     30.154        101.74        .72930E-04   -1.4609    
  19  Prefactor     .10000E-03    9.6326        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     7.0605        12.648        .75484E-03   -1.5176    
  21  norm          4.4639        5.0648        .14787E-03   -1.5285    
  22  Prefactor     8.7983        50.630        .13514E-03   -1.5115    
  23  Normalizat    .88581        .29972        .29363E-03   -.96960    
  24  Prefactor     1.1305        .25774        .24408E-03   -.88499    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.16799e-10
Minuit parameter uncertainties:
  1  101.157
  2  0.380902
  3  15.3896
  4  0.000113069
  5  10.2292
  6  123.78
  7  36.0592
  8  16.611
  9  11.6473
  10  2.513
  11  1.36801e-06
  12  6.03263e-05
  13  1.4494e-06
  14  2.9429e-06
  15  0.000133878
  16  17.4009
  17  0.940027
  18  102.334
  19  1.29257e-05
  20  12.6528
  21  5.06533
  22  42.2659
  23  0.300285
  24  0.258029
Done.

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

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  1.000e-04  6.033e-05  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.130e+00  2.580e-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.858e-01  3.003e-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: 1.06e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.32e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/444927/likelihoodResults_545961601_546220801_4FGL_J2243.8-2510_daily_bin1183.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): 102
logL (Free Index) = 4360.27770119
delta logL = -0.000219055843445

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4359.91473769
delta logL = 0.362744436697

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .93286E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    9.4976       1.0000          .0000       10.000    
     3 'Normalizat'    .80641       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1790       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=   4359.915     FROM MIGRAD    STATUS=CONVERGED     66 CALLS      278 TOTAL
                     EDM=   .77E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10619E-02    .29457E-01    .61106E-03** at limit **
   2  Index         9.4267        9.5670        .39706        .53921E-04
   3  Normalizat    .80471        .50874E-01    .69223E-01    .22299E-04
   4  Prefactor     1.1805        .47318E-01    .54165E-01   -.19786E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00106192
  Index      = 9.4267
  Normalizat = 0.804707
  Prefactor  = 1.18049
 **********
 **   18 **HESSE 
 **********

 FCN=   4359.915     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      311 TOTAL
                     EDM=   .87E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10619E-02    .87377E-01    .27209E-05   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         9.4267        7.5814        .23801E-01    1.0872    
   3  Normalizat    .80471        .20522        .30630E-03   -.99894    
   4  Prefactor     1.1805        .18715        .23948E-03   -.86934    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.67645e-07
Minuit parameter uncertainties:
  1  0.0183357
  2  9.48729
  3  0.20542
  4  0.187254
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/444927': 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): 102
logL (Free Index) = 4359.91463002
delta logL = 0.362852106972

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  1.062e-03  1.834e-02  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  9.427e+00  9.487e+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.180e+00  1.873e-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.047e-01  2.054e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/444927/cmap_HighResolution_545961601_546220801_4FGL_J2243.8-2510_daily_bin1183.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.32e-03', job_status='DONE', photon_flux_upper_limit='1.06e-07', time_completed='2021-09-28 19:11:46.788669', job_id='444927', GAL2='1.18', fit_tolerance='1e-08', EG2='0.80', EG='0.89', time_epoch_completed='1632881506.79', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.13', dlogl='3.63e-01', ts2='0.80', photon_index_error='0.00', photon_index='2.71' WHERE bin_id='1183' AND source_name='4FGL J2243.8-2510' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 19:11:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0289>
Subject: Job 444927: <4FGL_J2243.8-2510_daily_bin1183> in cluster <slac> Done

Job <4FGL_J2243.8-2510_daily_bin1183> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Sep 28 19:00:26 2021
Job was executed on host(s) <bullet0289>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 19:00:27 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 19:00:27 2021
Terminated at Tue Sep 28 19:11:47 2021
Results reported at Tue Sep 28 19:11:47 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.8-2510_daily_bin1183 340.957 -25.1701 545961601 546220801 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 :                                   534.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             293.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   680 sec.
    Turnaround time :                            681 sec.

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

