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


Performing analysis on: 4FGL_J2243.8-2510_daily_bin1023
RA = 340.957, Dec = -25.1701
tmin = 504489601, tmax = 504748801
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='443628', job_status='RUN', time_executed='2021-09-28 18:57:04.489635', time_epoch_executed='1632880624.49' WHERE source_name='4FGL J2243.8-2510' and cadence='daily' and bin_id='1023'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/443628

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/443628/ft1_4FGL_J2243.8-2510_daily_bin1023.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/443628/ft2_4FGL_J2243.8-2510_daily_bin1023.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/443628/ft1_4FGL_J2243.8-2510_daily_bin1023.fits outfile=/scratch/kocevski/443628/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin1023.fits ra=340.957 dec=-25.1701 rad=12.0 tmin=504489601.0 tmax=504748801.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.41
user 4.20
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/443628/ft1_filtered_4FGL_J2243.8-2510_daily_bin1023.fits" evtable="EVENTS" scfile=/scratch/kocevski/443628/ft2_4FGL_J2243.8-2510_daily_bin1023.fits sctable="SC_DATA" outfile=/scratch/kocevski/443628/ltcube_504489601_504748801_4FGL_J2243.8-2510_daily_bin1023.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/443628/ft2_4FGL_J2243.8-2510_daily_bin1023.fits
.....................!
real 11.62
user 11.28
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/443628/ft1_filtered_4FGL_J2243.8-2510_daily_bin1023.fits evtable="EVENTS" scfile=/scratch/kocevski/443628/ft2_4FGL_J2243.8-2510_daily_bin1023.fits sctable="SC_DATA" expcube=/scratch/kocevski/443628/ltcube_504489601_504748801_4FGL_J2243.8-2510_daily_bin1023.fits outfile=/scratch/kocevski/443628/expmap_504489601_504748801_4FGL_J2243.8-2510_daily_bin1023.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/443628/ltcube_504489601_504748801_4FGL_J2243.8-2510_daily_bin1023.fits
.....................!
real 189.80
user 184.71
sys 4.76

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/443628/ft1_filtered_4FGL_J2243.8-2510_daily_bin1023.fits scfile=/scratch/kocevski/443628/ft2_4FGL_J2243.8-2510_daily_bin1023.fits outfile=/scratch/kocevski/443628/cmap_504489601_504748801_4FGL_J2243.8-2510_daily_bin1023.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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/443628/ft1_filtered_4FGL_J2243.8-2510_daily_bin1023.fits scfile=/scratch/kocevski/443628/ft2_4FGL_J2243.8-2510_daily_bin1023.fits outfile=/scratch/kocevski/443628/cmap_HighResolution_504489601_504748801_4FGL_J2243.8-2510_daily_bin1023.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.53
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/443628/ft1_filtered_4FGL_J2243.8-2510_daily_bin1023.fits evtable="EVENTS" scfile=/scratch/kocevski/443628/ft2_4FGL_J2243.8-2510_daily_bin1023.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/443628/Model_4FGL_J2243.8-2510_daily_bin1023.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/443628/ft1_filtered_4FGL_J2243.8-2510_daily_bin1023.fits....................!
real 44.05
user 42.71
sys 1.26

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.3529       1.0000         .10000E-03   10000.    
     2 'norm      '    .73824       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    10.383       1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.4508       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    47.594       1.0000         .10000E-03   10000.    
     8 'Prefactor '    22.373       1.0000         .10000E-03   10000.    
     9 'Prefactor '    11.027       1.0000         .10000E-03   10000.    
    10 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10123E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10388E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .29129E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .18877       1.0000         .10000E-03   10000.    
    17 'norm      '    .72719       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    4.3990       1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .67415       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.3364       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=   5155.330     FROM MIGRAD    STATUS=CONVERGED    553 CALLS     2409 TOTAL
                     EDM=   .45E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.3449        212.75       -.24480E-05    .87799E-07
   2  norm          .73822        .35134        .19153E-07    .25346E-04
   3  Prefactor     .10000E-03    4.5705        .18477E-06** at limit **
   4  Prefactor     10.383        10.513        .62247E-07   -.30992E-06
   5  Prefactor     6.4472        10.162       -.88892E-06   -.20855E-06
   6  Prefactor     .10000E-03    58.573        .13868E-06** at limit **
   7  norm          47.598        25.212        .23878E-06   -.10357E-04
   8  Prefactor     22.370        25.211       -.77051E-07    .16001E-05
   9  Prefactor     11.028        15.186        .69470E-06   -.98379E-06
  10  norm          .10000E-03    .57821       -.20540E-06** at limit **
  11  norm          .10000E-03    1.3146        .13216E-07** at limit **
  12  Prefactor     .10000E-03    63.550        .18742E-05** at limit **
  13  Prefactor     .10000E-03    14.381        .18183E-05** at limit **
  14  norm          .10000E-03    2.2893        .87200E-07** at limit **
  15  Prefactor     .10000E-03    9.3679        .24906E-06** at limit **
  16  Prefactor     .18224        160.55       -.56259E-05    .54889E-05
  17  norm          .72813        .74555       -.16526E-07   -.17816E-03
  18  Prefactor     .10000E-03    51.270       -.76407E-06** at limit **
  19  Prefactor     .10000E-03    4.7152       -.30489E-07** at limit **
  20  Prefactor     4.4141        11.219       -.11665E-05   -.44220E-05
  21  norm          .10000E-03    .89022       -.59853E-10** at limit **
  22  Prefactor     .10000E-03    20.899        .43047E-07** at limit **
  23  Normalizat    .67439        .22042        .12968E-05    .39469E-04
  24  Prefactor     1.3362        .19501        .49687E-06    .50068E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.34488
  norm       = 0.738225
  Prefactor  = 0.0001
  Prefactor  = 10.3831
  Prefactor  = 6.44722
  Prefactor  = 0.0001
  norm       = 47.5981
  Prefactor  = 22.37
  Prefactor  = 11.0277
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.182237
  norm       = 0.728132
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.41408
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.674393
  Prefactor  = 1.33618
 **********
 **   18 **HESSE 
 **********

 FCN=   5155.330     FROM HESSE     STATUS=OK           401 CALLS     2810 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.3449        213.15        .17370E-03   -1.5246    
   2  norm          .73822        .35264        .28374E-04   -1.5536    
   3  Prefactor     .10000E-03    4.5828        .14980E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     10.383        10.514        .12434E-03   -1.5063    
   5  Prefactor     6.4472        10.205        .15802E-03   -1.5200    
   6  Prefactor     .10000E-03    58.668        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          47.598        25.196        .58123E-04   -1.4327    
   8  Prefactor     22.370        25.201        .84683E-04   -1.4762    
   9  Prefactor     11.028        15.176        .12065E-03   -1.5044    
  10  norm          .10000E-03    5.8788        .10062E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    2.5119        .15830E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    63.677        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    14.525        .42804E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    2.3003        .10578E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    9.3850        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .18224        249.16        .38593E-02   -1.5623    
  17  norm          .72813        .83753        .48561E-04   -1.5537    
  18  Prefactor     .10000E-03    51.541        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    4.7241        .15228E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     4.4141        11.774        .19202E-03   -1.5288    
  21  norm          .10000E-03    .89160        .66160E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    20.941        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .67439        .27121        .30708E-03   -1.0491    
  24  Prefactor     1.3362        .23802        .21221E-03   -.82237    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.6697e-10
Minuit parameter uncertainties:
  1  67.7666
  2  0.352645
  3  6.65214e-06
  4  10.5155
  5  10.2075
  6  4.55566e-05
  7  25.2018
  8  25.2125
  9  15.1813
  10  6.93417e-05
  11  4.81338e-05
  12  6.24729e-05
  13  8.28413e-05
  14  2.50121e-06
  15  3.56762e-06
  16  13.5298
  17  0.837547
  18  0.000119817
  19  6.01149e-06
  20  11.7805
  21  8.88594e-07
  22  1.11487e-05
  23  0.271749
  24  0.23821
Done.

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

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  1.000e-04  6.247e-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.336e+00  2.382e-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:  6.744e-01  2.717e-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.00e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.88e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/443628/likelihoodResults_504489601_504748801_4FGL_J2243.8-2510_daily_bin1023.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) = 5155.32974567
delta logL = -7.47261747165e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5155.32967129
delta logL = -3.52577444573e-07

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 'Index     '    3.0549       1.0000          .0000       10.000    
     3 'Normalizat'    .67439       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3362       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=   5155.330     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      286 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10469E-03    33.027        .18142E-01** at limit **
   2  Index         2.9481        6.8566        .50000        .59841E-05
   3  Normalizat    .67439        .39752E-02    .30708E-03   -.10925E-03
   4  Prefactor     1.3362        .37616E-02    .21221E-03   -.58490E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000104688
  Index      = 2.94815
  Normalizat = 0.674391
  Prefactor  = 1.33618
 **********
 **   18 **HESSE 
 **********

 FCN=   5155.330     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      315 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10469E-03    925.52        .72569E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.9481        5.9549        .50000       -.42286    
   3  Normalizat    .67439        .21413E-01    .12283E-04   -1.0491    
   4  Prefactor     1.3362        .20263E-01    .42443E-04   -.82237    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.81926e-09
Minuit parameter uncertainties:
  1  0.133855
  2  982.284
  3  0.0214131
  4  0.0202629
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/443628': 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) = 5155.32967118
delta logL = -2.38934262597e-07

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  1.047e-04  1.339e-01  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  2.948e+00  9.823e+02  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.336e+00  2.026e-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:  6.744e-01  2.141e-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/443628/cmap_HighResolution_504489601_504748801_4FGL_J2243.8-2510_daily_bin1023.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.88e-03', job_status='DONE', photon_flux_upper_limit='1.00e-07', time_completed='2021-09-28 19:06:36.015933', job_id='443628', GAL2='1.34', fit_tolerance='1e-08', EG2='0.67', EG='0.67', time_epoch_completed='1632881196.02', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.34', dlogl='-2.39e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.71' WHERE bin_id='1023' AND source_name='4FGL J2243.8-2510' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 19:06:36 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0120>
Subject: Job 443628: <4FGL_J2243.8-2510_daily_bin1023> in cluster <slac> Done

Job <4FGL_J2243.8-2510_daily_bin1023> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 18:55:46 2021
Job was executed on host(s) <bullet0120>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 18:55:47 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:55:47 2021
Terminated at Tue Sep 28 19:06:36 2021
Results reported at Tue Sep 28 19:06:36 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.8-2510_daily_bin1023 340.957 -25.1701 504489601 504748801 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 :                                   570.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             306.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   649 sec.
    Turnaround time :                            650 sec.

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

