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


Performing analysis on: 4FGL_J2243.8-2510_daily_bin1155
RA = 340.957, Dec = -25.1701
tmin = 538704001, tmax = 538963201
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='444894', job_status='RUN', time_executed='2021-09-28 19:00:33.974175', time_epoch_executed='1632880833.97' WHERE source_name='4FGL J2243.8-2510' and cadence='daily' and bin_id='1155'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/444894

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/444894/ft1_4FGL_J2243.8-2510_daily_bin1155.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/444894/ft2_4FGL_J2243.8-2510_daily_bin1155.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/444894/ft1_4FGL_J2243.8-2510_daily_bin1155.fits outfile=/scratch/kocevski/444894/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin1155.fits ra=340.957 dec=-25.1701 rad=12.0 tmin=538704001.0 tmax=538963201.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.34
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/444894/ft2_4FGL_J2243.8-2510_daily_bin1155.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/444894/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin1155.fits evtable="EVENTS" outfile="/scratch/kocevski/444894/ft1_filtered_4FGL_J2243.8-2510_daily_bin1155.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/444894/ft1_filtered_4FGL_J2243.8-2510_daily_bin1155.fits" evtable="EVENTS" scfile=/scratch/kocevski/444894/ft2_4FGL_J2243.8-2510_daily_bin1155.fits sctable="SC_DATA" outfile=/scratch/kocevski/444894/ltcube_538704001_538963201_4FGL_J2243.8-2510_daily_bin1155.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/444894/ft2_4FGL_J2243.8-2510_daily_bin1155.fits
.....................!
real 11.82
user 11.48
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/444894/ft1_filtered_4FGL_J2243.8-2510_daily_bin1155.fits evtable="EVENTS" scfile=/scratch/kocevski/444894/ft2_4FGL_J2243.8-2510_daily_bin1155.fits sctable="SC_DATA" expcube=/scratch/kocevski/444894/ltcube_538704001_538963201_4FGL_J2243.8-2510_daily_bin1155.fits outfile=/scratch/kocevski/444894/expmap_538704001_538963201_4FGL_J2243.8-2510_daily_bin1155.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/444894/ltcube_538704001_538963201_4FGL_J2243.8-2510_daily_bin1155.fits
.....................!
real 191.71
user 186.47
sys 4.91

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/444894/ft1_filtered_4FGL_J2243.8-2510_daily_bin1155.fits scfile=/scratch/kocevski/444894/ft2_4FGL_J2243.8-2510_daily_bin1155.fits outfile=/scratch/kocevski/444894/cmap_538704001_538963201_4FGL_J2243.8-2510_daily_bin1155.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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/444894/ft1_filtered_4FGL_J2243.8-2510_daily_bin1155.fits scfile=/scratch/kocevski/444894/ft2_4FGL_J2243.8-2510_daily_bin1155.fits outfile=/scratch/kocevski/444894/cmap_HighResolution_538704001_538963201_4FGL_J2243.8-2510_daily_bin1155.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.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/444894/ft1_filtered_4FGL_J2243.8-2510_daily_bin1155.fits evtable="EVENTS" scfile=/scratch/kocevski/444894/ft2_4FGL_J2243.8-2510_daily_bin1155.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/444894/Model_4FGL_J2243.8-2510_daily_bin1155.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/444894/ft1_filtered_4FGL_J2243.8-2510_daily_bin1155.fits.....................!
real 69.50
user 68.23
sys 1.15

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .53020E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    1.3876       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    71.251       1.0000         .10000E-03   10000.    
     7 'norm      '    27.665       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    2.9972       1.0000         .10000E-03   10000.    
    11 'norm      '    1.4873       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10167E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    10.468       1.0000         .10000E-03   10000.    
    14 'norm      '    2.0963       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    2.9668       1.0000         .10000E-03   10000.    
    18 'Prefactor '    35.338       1.0000         .10000E-03   10000.    
    19 'Prefactor '    48.038       1.0000         .10000E-03   10000.    
    20 'Prefactor '    10.447       1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    30.812       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .92320       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0313       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=   9172.531     FROM MIGRAD    STATUS=CONVERGED    520 CALLS     2723 TOTAL
                     EDM=   .47E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10003E-03    231.51       -.24911E-03** at limit **
   2  norm          1.3874        .34539        .23481E-07    .54985E-02
   3  Prefactor     .10000E-03    5.8704        .45317E-05** at limit **
   4  Prefactor     .10000E-03    7.2553       -.12676E-05** at limit **
   5  Prefactor     .10000E-03    7.2844        .33993E-05** at limit **
   6  Prefactor     71.258        51.611        .68344E-05    .57423E-05
   7  norm          27.668        15.658        .46907E-06    .27746E-04
   8  Prefactor     .10000E-03    4.1354        .21624E-06** at limit **
   9  Prefactor     .10000E-03    4.9030       -.13066E-05** at limit **
  10  norm          2.9973        1.1045       -.10380E-06   -.22731E-03
  11  norm          1.4883        1.3906        .18010E-06   -.15978E-03
  12  Prefactor     .10000E-03    48.163        .66236E-05** at limit **
  13  Prefactor     10.468        8.0119       -.14780E-06   -.67444E-04
  14  norm          2.0965        2.8447       -.35062E-06   -.50963E-03
  15  Prefactor     .10000E-03    6.8787       -.34760E-05** at limit **
  16  Prefactor     .10000E-03    6.4366       -.16391E-05** at limit **
  17  norm          2.9669        .73395        .15220E-06    .10414E-02
  18  Prefactor     35.341        35.442        .42380E-05    .13647E-05
  19  Prefactor     48.042        17.202        .55067E-06    .31529E-05
  20  Prefactor     10.448        9.0427       -.17245E-05    .95450E-04
  21  norm          .10000E-03    1.1208       -.27061E-06** at limit **
  22  Prefactor     30.814        23.213        .19642E-05    .10924E-04
  23  Normalizat    .92322        .16459       -.76922E-07    .63243E-03
  24  Prefactor     1.0312        .15537        .17426E-06    .65280E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100033
  norm       = 1.38735
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 71.2575
  norm       = 27.6676
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.99735
  norm       = 1.48832
  Prefactor  = 0.0001
  Prefactor  = 10.4684
  norm       = 2.09648
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.9669
  Prefactor  = 35.3412
  Prefactor  = 48.042
  Prefactor  = 10.4482
  norm       = 0.0001
  Prefactor  = 30.8139
  Normalizat = 0.923216
  Prefactor  = 1.03119
 **********
 **   18 **HESSE 
 **********

 FCN=   9172.531     FROM HESSE     STATUS=OK           393 CALLS     3116 TOTAL
                     EDM=   .95E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10003E-03    231.74        .21128E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.3874        .34676        .27289E-04   -1.5472    
   3  Prefactor     .10000E-03    5.9684        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    7.2830        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    7.5776        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     71.258        51.596        .47559E-04   -1.4018    
   7  norm          27.668        15.657        .76167E-04   -1.4655    
   8  Prefactor     .10000E-03    4.1372        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    4.9689        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.9973        1.1034        .58220E-04   -1.5362    
  11  norm          1.4883        1.3891        .10545E-03   -1.5464    
  12  Prefactor     .10000E-03    48.514        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     10.468        8.0235        .12384E-03   -1.5061    
  14  norm          2.0965        2.8260        .17632E-03   -1.5418    
  15  Prefactor     .10000E-03    6.8939        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    6.5254        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.9669        .73915        .35253E-04   -1.5363    
  18  Prefactor     35.341        35.446        .67415E-04   -1.4518    
  19  Prefactor     48.042        17.197        .57854E-04   -1.4321    
  20  Prefactor     10.448        9.1260        .12397E-03   -1.5061    
  21  norm          .10000E-03    1.1560        .19787E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     30.814        23.203        .72182E-04   -1.4597    
  23  Normalizat    .92322        .19218        .27626E-03   -.95649    
  24  Prefactor     1.0312        .18172        .25204E-03   -.91697    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.52499e-10
Minuit parameter uncertainties:
  1  0.0055457
  2  0.346765
  3  1.1025e-05
  4  8.08185e-06
  5  3.70023e-05
  6  51.6281
  7  15.6592
  8  1.0794e-06
  9  4.61262e-07
  10  1.10336
  11  1.38908
  12  6.90914e-05
  13  8.02431
  14  2.82622
  15  1.52454e-05
  16  3.13723e-05
  17  0.73915
  18  35.4675
  19  17.1984
  20  9.12726
  21  3.09457e-06
  22  23.2102
  23  0.192318
  24  0.18183
Done.

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

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  1.000e-04  6.909e-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.031e+00  1.818e-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.232e-01  1.923e-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: 6.70e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.28e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/444894/likelihoodResults_538704001_538963201_4FGL_J2243.8-2510_daily_bin1155.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) = 9172.5307968
delta logL = -9.81435823633e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9172.53069884
delta logL = -1.78763002623e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.6697       1.0000          .0000       10.000    
     3 'Normalizat'    .92327       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0312       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=   9172.531     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      192 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    60.179        .90712E-02** at limit **
   2  Index         2.7112        6.3545        .22981       -.85960E-05
   3  Normalizat    .92321        .15985        .45198E-01    .66954E-04
   4  Prefactor     1.0312        .15404        .41167E-01    .62696E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 2.71124
  Normalizat = 0.923214
  Prefactor  = 1.03119
 **********
 **   18 **HESSE 
 **********

 FCN=   9172.531     FROM HESSE     STATUS=OK            27 CALLS      219 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    48.129        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7112        6.3446        .91922E-02   -.47547    
   3  Normalizat    .92321        .18658        .27626E-03   -.95649    
   4  Prefactor     1.0312        .17988        .25204E-03   -.91697    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.03911e-10
Minuit parameter uncertainties:
  1  0.000474359
  2  4.45209
  3  0.18671
  4  0.179989
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/444894': 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) = 9172.53069865
delta logL = 8.90577211976e-09

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  1.000e-04  4.744e-04  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  2.711e+00  4.452e+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.031e+00  1.800e-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.232e-01  1.867e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/444894/cmap_HighResolution_538704001_538963201_4FGL_J2243.8-2510_daily_bin1155.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.28e-03', job_status='DONE', photon_flux_upper_limit='6.70e-08', time_completed='2021-09-28 19:14:10.490130', job_id='444894', GAL2='1.03', fit_tolerance='1e-08', EG2='0.92', EG='0.92', time_epoch_completed='1632881650.49', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='8.91e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.71' WHERE bin_id='1155' AND source_name='4FGL J2243.8-2510' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 19:14:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0101>
Subject: Job 444894: <4FGL_J2243.8-2510_daily_bin1155> in cluster <slac> Done

Job <4FGL_J2243.8-2510_daily_bin1155> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Sep 28 19:00:23 2021
Job was executed on host(s) <bullet0101>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 19:00: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 19:00:25 2021
Terminated at Tue Sep 28 19:14:11 2021
Results reported at Tue Sep 28 19:14:11 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.8-2510_daily_bin1155 340.957 -25.1701 538704001 538963201 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 :                                   814.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             352.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   825 sec.
    Turnaround time :                            828 sec.

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

