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


Performing analysis on: 4FGL_J2243.8-2510_daily_bin1097
RA = 340.957, Dec = -25.1701
tmin = 523670401, tmax = 523929601
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='444811', job_status='RUN', time_executed='2021-09-28 19:04:01.577786', time_epoch_executed='1632881041.58' WHERE source_name='4FGL J2243.8-2510' and cadence='daily' and bin_id='1097'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/444811

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/444811/ft1_4FGL_J2243.8-2510_daily_bin1097.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/444811/ft2_4FGL_J2243.8-2510_daily_bin1097.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/444811/ft1_4FGL_J2243.8-2510_daily_bin1097.fits outfile=/scratch/kocevski/444811/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin1097.fits ra=340.957 dec=-25.1701 rad=12.0 tmin=523670401.0 tmax=523929601.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.55
user 3.29
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/444811/ft1_filtered_4FGL_J2243.8-2510_daily_bin1097.fits" evtable="EVENTS" scfile=/scratch/kocevski/444811/ft2_4FGL_J2243.8-2510_daily_bin1097.fits sctable="SC_DATA" outfile=/scratch/kocevski/444811/ltcube_523670401_523929601_4FGL_J2243.8-2510_daily_bin1097.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/444811/ft2_4FGL_J2243.8-2510_daily_bin1097.fits
.....................!
real 12.22
user 11.81
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/444811/ft1_filtered_4FGL_J2243.8-2510_daily_bin1097.fits evtable="EVENTS" scfile=/scratch/kocevski/444811/ft2_4FGL_J2243.8-2510_daily_bin1097.fits sctable="SC_DATA" expcube=/scratch/kocevski/444811/ltcube_523670401_523929601_4FGL_J2243.8-2510_daily_bin1097.fits outfile=/scratch/kocevski/444811/expmap_523670401_523929601_4FGL_J2243.8-2510_daily_bin1097.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/444811/ltcube_523670401_523929601_4FGL_J2243.8-2510_daily_bin1097.fits
.....................!
real 192.06
user 186.71
sys 4.98

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/444811/ft1_filtered_4FGL_J2243.8-2510_daily_bin1097.fits scfile=/scratch/kocevski/444811/ft2_4FGL_J2243.8-2510_daily_bin1097.fits outfile=/scratch/kocevski/444811/cmap_523670401_523929601_4FGL_J2243.8-2510_daily_bin1097.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/444811/ft1_filtered_4FGL_J2243.8-2510_daily_bin1097.fits scfile=/scratch/kocevski/444811/ft2_4FGL_J2243.8-2510_daily_bin1097.fits outfile=/scratch/kocevski/444811/cmap_HighResolution_523670401_523929601_4FGL_J2243.8-2510_daily_bin1097.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/444811/ft1_filtered_4FGL_J2243.8-2510_daily_bin1097.fits evtable="EVENTS" scfile=/scratch/kocevski/444811/ft2_4FGL_J2243.8-2510_daily_bin1097.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/444811/Model_4FGL_J2243.8-2510_daily_bin1097.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/444811/ft1_filtered_4FGL_J2243.8-2510_daily_bin1097.fits.....................!
real 42.19
user 40.73
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    37.590       1.0000         .10000E-03   10000.    
     2 'norm      '    1.5316       1.0000         .10000E-03   10000.    
     3 'Prefactor '    6.2895       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    18.256       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10072E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    53.661       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    8.5909       1.0000         .10000E-03   10000.    
    10 'norm      '    .42487       1.0000         .10000E-03   10000.    
    11 'norm      '    .27930       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.3243       1.0000         .10000E-03   10000.    
    14 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10114E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10328E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    3.0382       1.0000         .10000E-03   10000.    
    18 'Prefactor '    107.53       1.0000         .10000E-03   10000.    
    19 'Prefactor '    16.336       1.0000         .10000E-03   10000.    
    20 'Prefactor '    22.237       1.0000         .10000E-03   10000.    
    21 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.2539       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .67476       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=   4764.305     FROM MIGRAD    STATUS=CONVERGED    538 CALLS     2714 TOTAL
                     EDM=   .99E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     37.175        105.38       -.53177E-05   -.62304E-04
   2  norm          1.5320        .55989       -.68474E-08   -.51432E-03
   3  Prefactor     6.2910        11.764        .45780E-06   -.48195E-04
   4  Prefactor     .10000E-03    7.2536       -.60224E-06** at limit **
   5  Prefactor     18.263        14.204       -.45339E-06   -.13743E-04
   6  Prefactor     .10000E-03    58.698        .60953E-06** at limit **
   7  norm          53.665        27.913       -.26164E-06   -.25853E-04
   8  Prefactor     .10000E-03    10.219        .15458E-06** at limit **
   9  Prefactor     8.5892        14.302        .26872E-05    .13382E-03
  10  norm          .42348        .95688        .13094E-05    .11924E-02
  11  norm          .27618        1.6310        .14980E-05    .34029E-03
  12  Prefactor     .10000E-03    16.487       -.14378E-06** at limit **
  13  Prefactor     1.3296        27.949        .43130E-05    .61173E-04
  14  norm          .10000E-03    1.8623        .81595E-07** at limit **
  15  Prefactor     .10000E-03    9.5038        .10537E-06** at limit **
  16  Prefactor     .10000E-03    7.5370        .25676E-06** at limit **
  17  norm          3.0388        .93745       -.43704E-07   -.49388E-03
  18  Prefactor     107.56        119.17       -.12888E-05   -.36563E-05
  19  Prefactor     16.338        16.798        .93591E-06    .45594E-05
  20  Prefactor     22.235        13.979       -.90607E-07   -.52787E-04
  21  norm          .10000E-03    2.3134        .64025E-06** at limit **
  22  Prefactor     .10000E-03    13.203        .27030E-06** at limit **
  23  Normalizat    1.2532        .25675        .71996E-05   -.56865E-03
  24  Prefactor     .67548        .21695       -.11370E-04   -.82572E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 37.1745
  norm       = 1.53195
  Prefactor  = 6.29103
  Prefactor  = 0.0001
  Prefactor  = 18.2632
  Prefactor  = 0.0001
  norm       = 53.6646
  Prefactor  = 0.0001
  Prefactor  = 8.58918
  norm       = 0.423479
  norm       = 0.276176
  Prefactor  = 0.0001
  Prefactor  = 1.32962
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.03883
  Prefactor  = 107.559
  Prefactor  = 16.3383
  Prefactor  = 22.2348
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.2532
  Prefactor  = 0.675476
 **********
 **   18 **HESSE 
 **********

 FCN=   4764.305     FROM HESSE     STATUS=OK           401 CALLS     3115 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     37.175        105.98        .32685E-03   -1.4488    
   2  norm          1.5320        .56059        .29823E-04   -1.5460    
   3  Prefactor     6.2910        11.758        .16006E-03   -1.5206    
   4  Prefactor     .10000E-03    7.2583        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     18.263        14.234        .93738E-04   -1.4853    
   6  Prefactor     .10000E-03    58.737        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          53.665        27.886        .54754E-04   -1.4242    
   8  Prefactor     .10000E-03    10.222        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     8.5892        14.539        .68382E-03   -1.5122    
  10  norm          .42348        .92402        .99079E-03   -1.5578    
  11  norm          .27618        1.5629        .17093E-03   -1.5603    
  12  Prefactor     .10000E-03    16.492        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.3296        29.299        .38207E-03   -1.5477    
  14  norm          .10000E-03    1.8741        .91939E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    9.5252        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    7.5844        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          3.0388        .94017        .33991E-04   -1.5359    
  18  Prefactor     107.56        119.06        .19391E-03   -1.3630    
  19  Prefactor     16.338        16.839        .49547E-03   -1.4899    
  20  Prefactor     22.235        14.041        .84941E-04   -1.4765    
  21  norm          .10000E-03    2.4291        .20528E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    13.207        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.2532        .27292        .24576E-03   -.84974    
  24  Prefactor     .67548        .22637        .28190E-03   -1.0450    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.40161e-09
Minuit parameter uncertainties:
  1  106.525
  2  0.560592
  3  11.7622
  4  1.90608e-05
  5  14.237
  6  4.90492e-05
  7  27.8926
  8  6.6697e-06
  9  14.5446
  10  0.924047
  11  1.31381
  12  5.35116e-05
  13  12.4895
  14  8.516e-07
  15  4.02723e-06
  16  7.13477e-06
  17  0.940174
  18  119.33
  19  16.8438
  20  14.0431
  21  1.88962e-05
  22  1.62399e-05
  23  0.27323
  24  0.226683
Done.

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

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  1.000e-04  5.351e-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:  6.755e-01  2.267e-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:  1.253e+00  2.732e-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: 8.11e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.38e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/444811/likelihoodResults_523670401_523929601_4FGL_J2243.8-2510_daily_bin1097.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) = 4764.30506496
delta logL = -0.000286705959297

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4764.30478169
delta logL = -3.43819192494e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    3.3877       1.0000          .0000       10.000    
     3 'Normalizat'    1.2532       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .67545       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=   4764.305     FROM MIGRAD    STATUS=CONVERGED    111 CALLS      299 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    183.48        .18142E-01** at limit **
   2  Index         1.8341        5.6459        .50000        .15450E-06
   3  Normalizat    1.2532        .13117E-01    .24575E-03   -.40456E-03
   4  Prefactor     .67547        .11441E-01    .28191E-03   -.34417E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.83413
  Normalizat = 1.25321
  Prefactor  = 0.675468
 **********
 **   18 **HESSE 
 **********

 FCN=   4764.305     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      328 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    873.00        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8341        8.0628        .50000       -.68565    
   3  Normalizat    1.2532        .29610E-01    .49149E-04   -.84974    
   4  Prefactor     .67547        .25825E-01    .56383E-04   -1.0450    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.76534e-09
Minuit parameter uncertainties:
  1  0.000476514
  2  1235.02
  3  0.0296104
  4  0.0258258
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/444811': 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) = 4764.30477681
delta logL = 1.44070327224e-06

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  1.000e-04  4.765e-04  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  1.834e+00  1.235e+03  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:  6.755e-01  2.583e-02  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:  1.253e+00  2.961e-02  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/444811/cmap_HighResolution_523670401_523929601_4FGL_J2243.8-2510_daily_bin1097.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.38e-03', job_status='DONE', photon_flux_upper_limit='8.11e-08', time_completed='2021-09-28 19:13:28.489065', job_id='444811', GAL2='0.68', fit_tolerance='1e-08', EG2='1.25', EG='1.25', time_epoch_completed='1632881608.49', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.68', dlogl='1.44e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.71' WHERE bin_id='1097' AND source_name='4FGL J2243.8-2510' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 19:13:28 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0030>
Subject: Job 444811: <4FGL_J2243.8-2510_daily_bin1097> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.8-2510_daily_bin1097 340.957 -25.1701 523670401 523929601 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 :                                   566.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             291.11 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   791 sec.
    Turnaround time :                            793 sec.

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

