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


Performing analysis on: 4FGL_J2243.8-2510_daily_bin319
RA = 340.957, Dec = -25.1701
tmin = 322012801, tmax = 322272001
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='440211', job_status='RUN', time_executed='2021-09-28 18:48:24.317428', time_epoch_executed='1632880104.32' WHERE source_name='4FGL J2243.8-2510' and cadence='daily' and bin_id='319'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/440211

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/440211/ft1_4FGL_J2243.8-2510_daily_bin319.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/440211/ft2_4FGL_J2243.8-2510_daily_bin319.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/440211/ft1_4FGL_J2243.8-2510_daily_bin319.fits outfile=/scratch/kocevski/440211/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin319.fits ra=340.957 dec=-25.1701 rad=12.0 tmin=322012801.0 tmax=322272001.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.46
user 3.14
sys 0.26

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/440211/ft2_4FGL_J2243.8-2510_daily_bin319.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/440211/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin319.fits evtable="EVENTS" outfile="/scratch/kocevski/440211/ft1_filtered_4FGL_J2243.8-2510_daily_bin319.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.54
user 0.33
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/440211/ft1_filtered_4FGL_J2243.8-2510_daily_bin319.fits" evtable="EVENTS" scfile=/scratch/kocevski/440211/ft2_4FGL_J2243.8-2510_daily_bin319.fits sctable="SC_DATA" outfile=/scratch/kocevski/440211/ltcube_322012801_322272001_4FGL_J2243.8-2510_daily_bin319.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/440211/ft2_4FGL_J2243.8-2510_daily_bin319.fits
.....................!
real 12.12
user 11.59
sys 0.48

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/440211/ft1_filtered_4FGL_J2243.8-2510_daily_bin319.fits evtable="EVENTS" scfile=/scratch/kocevski/440211/ft2_4FGL_J2243.8-2510_daily_bin319.fits sctable="SC_DATA" expcube=/scratch/kocevski/440211/ltcube_322012801_322272001_4FGL_J2243.8-2510_daily_bin319.fits outfile=/scratch/kocevski/440211/expmap_322012801_322272001_4FGL_J2243.8-2510_daily_bin319.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/440211/ltcube_322012801_322272001_4FGL_J2243.8-2510_daily_bin319.fits
.....................!
real 197.01
user 186.84
sys 9.22

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/440211/ft1_filtered_4FGL_J2243.8-2510_daily_bin319.fits scfile=/scratch/kocevski/440211/ft2_4FGL_J2243.8-2510_daily_bin319.fits outfile=/scratch/kocevski/440211/cmap_322012801_322272001_4FGL_J2243.8-2510_daily_bin319.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.56
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/440211/ft1_filtered_4FGL_J2243.8-2510_daily_bin319.fits scfile=/scratch/kocevski/440211/ft2_4FGL_J2243.8-2510_daily_bin319.fits outfile=/scratch/kocevski/440211/cmap_HighResolution_322012801_322272001_4FGL_J2243.8-2510_daily_bin319.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.58
user 0.39
sys 0.19

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/440211/ft1_filtered_4FGL_J2243.8-2510_daily_bin319.fits evtable="EVENTS" scfile=/scratch/kocevski/440211/ft2_4FGL_J2243.8-2510_daily_bin319.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/440211/Model_4FGL_J2243.8-2510_daily_bin319.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/440211/ft1_filtered_4FGL_J2243.8-2510_daily_bin319.fits.....................!
real 47.11
user 43.69
sys 2.79

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.057       1.0000         .10000E-03   10000.    
     2 'norm      '    1.5637       1.0000         .10000E-03   10000.    
     3 'Prefactor '    9.2048       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .77180       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10041E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.7971       1.0000         .10000E-03   10000.    
    10 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    74.757       1.0000         .10000E-03   10000.    
    13 'Prefactor '    9.7807       1.0000         .10000E-03   10000.    
    14 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    66.706       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    32.734       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0927       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .94673       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=   5168.148     FROM MIGRAD    STATUS=CONVERGED    543 CALLS     2731 TOTAL
                     EDM=   .45E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.145        118.69        .92553E-06    .64895E-05
   2  norm          1.5637        .49782       -.31148E-08   -.85582E-04
   3  Prefactor     9.2041        10.627        .46728E-07   -.24214E-04
   4  Prefactor     .77137        15.047        .93106E-06   -.28843E-04
   5  Prefactor     .10000E-03    2.8888       -.83380E-07** at limit **
   6  Prefactor     .10000E-03    15.887       -.26389E-07** at limit **
   7  norm          .10000E-03    47.433       -.39844E-06** at limit **
   8  Prefactor     .10000E-03    10.248       -.91117E-07** at limit **
   9  Prefactor     3.8033        24.295        .14860E-05    .12416E-04
  10  norm          .10000E-03    .41495       -.26789E-06** at limit **
  11  norm          .10000E-03    1.2281        .19928E-06** at limit **
  12  Prefactor     74.766        54.543        .47741E-06   -.15065E-04
  13  Prefactor     9.7872        14.515        .11627E-05    .21925E-04
  14  norm          .10000E-03    3.6627       -.24961E-06** at limit **
  15  Prefactor     .10000E-03    5.7523       -.10680E-06** at limit **
  16  Prefactor     .10000E-03    13.613       -.65586E-06** at limit **
  17  norm          .10000E-03    .21432       -.18473E-06** at limit **
  18  Prefactor     66.715        70.369        .50594E-06    .95232E-05
  19  Prefactor     .10000E-03    3.9497       -.12056E-06** at limit **
  20  Prefactor     .10000E-03    5.3983       -.11033E-06** at limit **
  21  norm          .10000E-03    1.3285        .43041E-06** at limit **
  22  Prefactor     32.770        46.978        .18115E-05    .43967E-04
  23  Normalizat    1.0922        .25723       -.74397E-05    .79344E-05
  24  Prefactor     .94708        .21358        .62804E-05   -.25088E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.1455
  norm       = 1.56368
  Prefactor  = 9.20414
  Prefactor  = 0.771373
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.80329
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 74.7663
  Prefactor  = 9.78716
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 66.7147
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 32.7696
  Normalizat = 1.09222
  Prefactor  = 0.94708
 **********
 **   18 **HESSE 
 **********

 FCN=   5168.148     FROM HESSE     STATUS=OK           395 CALLS     3126 TOTAL
                     EDM=   .21E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.145        118.37        .10322E-03   -1.4929    
   2  norm          1.5637        .49827        .27544E-04   -1.5458    
   3  Prefactor     9.2041        10.598        .13210E-03   -1.5101    
   4  Prefactor     .77137        110.00        .51785E-02   -1.5532    
   5  Prefactor     .10000E-03    2.8933        .11932E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    15.891        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    48.327        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    10.257        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.8033        23.676        .20715E-03   -1.5318    
  10  norm          .10000E-03    .75663        .88520E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    1.2413        .77674E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     74.766        53.967        .46438E-04   -1.3976    
  13  Prefactor     9.7872        14.534        .12813E-03   -1.5082    
  14  norm          .10000E-03    3.7793        .26830E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    5.7615        .16837E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    13.947        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    .25415        .64103E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     66.715        70.366        .24570E-03   -1.4073    
  19  Prefactor     .10000E-03    3.9630        .13956E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    5.4126        .16305E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    1.3573        .81369E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     32.770        46.962        .70036E-04   -1.4562    
  23  Normalizat    1.0922        .25839        .24864E-03   -.90002    
  24  Prefactor     .94708        .21685        .23926E-03   -.94515    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.05766e-08
Minuit parameter uncertainties:
  1  84.9133
  2  0.498271
  3  10.6003
  4  18.4566
  5  2.08072e-06
  6  1.00667e-05
  7  0.000112993
  8  2.16423e-06
  9  18.9896
  10  5.7921e-06
  11  6.21173e-06
  12  54.0028
  13  14.5389
  14  8.46771e-06
  15  7.84324e-06
  16  7.63656e-06
  17  4.09631e-07
  18  70.4544
  19  1.0212e-05
  20  4.46736e-06
  21  1.70747e-05
  22  47.0151
  23  0.258692
  24  0.217051
Done.

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

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  7.477e+01  5.400e+01  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  2.707e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
270        Scale:  6.765e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
526    Prefactor:  9.471e-01  2.171e-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.092e+00  2.587e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.48
Ra Dec: 340.957 -25.170
Photon Index (Fixed Index): 2.71 +/- 0.00
Photon Flux (Fixed Index): 7.75e-08 +/- 5.59e-08
Energy Flux (Fixed Index): 1.86e-05 +/- 1.34e-05

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) = 5168.13135728
delta logL = 0.016493223673

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5168.12117695
delta logL = 0.0266735548348

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    66.528       1.0000         .10000E-03   10000.    
     2 'Index     '    2.8795       1.0000          .0000       10.000    
     3 'Normalizat'    1.0790       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95545       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=   5168.121     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      264 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     66.523        62.396        .49206E-04    .17411E-03
   2  Index         2.8793        .79764        .63204E-02    .77033E-04
   3  Normalizat    1.0795        .24568        .24991E-03   -.28245E-03
   4  Prefactor     .95501        .21653        .23838E-03   -.32755E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 66.5227
  Index      = 2.87932
  Normalizat = 1.07946
  Prefactor  = 0.955014
 **********
 **   18 **HESSE 
 **********

 FCN=   5168.121     FROM HESSE     STATUS=OK            25 CALLS      289 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     66.523        59.167        .98413E-05   -1.4075    
   2  Index         2.8793        .75525        .25281E-03   -.43801    
   3  Normalizat    1.0795        .24549        .49983E-04   -.90414    
   4  Prefactor     .95501        .21646        .47676E-04   -.94244    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.75334e-10
Minuit parameter uncertainties:
  1  59.2197
  2  0.758793
  3  0.245754
  4  0.216658
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/440211': 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) = 5168.12117481
delta logL = 0.0266756957453

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  6.652e+01  5.922e+01  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  2.879e+00  7.588e-01  0.000e+00  1.000e+01 (-1.000e+00)
270        Scale:  6.765e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
526    Prefactor:  9.550e-01  2.167e-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.079e+00  2.458e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.54
Ra Dec: 340.957 -25.170
Photon Index (Free Index): 2.88 +/- 0.76
Photon Flux (Free Index): 8.71e-08 +/- 6.95e-08
Energy Flux (Free Index): 1.86e-05 +/- 1.22e-05

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/440211/cmap_HighResolution_322012801_322272001_4FGL_J2243.8-2510_daily_bin319.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.75e-08', energy_flux2='1.86e-05', photon_flux_error='5.59e-08', dlogl='2.67e-02', energy_flux='1.86e-05', photon_flux2='8.71e-08', job_status='DONE', time_completed='2021-09-28 18:57:31.989109', photon_index_error2='0.76', photon_index2='2.88', ts='4.48', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', energy_flux_error2='1.22e-05', EG='1.09', time_epoch_completed='1632880651.99', return_code='0', job_id='440211', GAL2='0.96', EG2='1.08', return_code2='0', energy_flux_error='1.34e-05', photon_flux_error2='6.95e-08', ts2='4.54', photon_index='2.71' WHERE bin_id='319' AND source_name='4FGL J2243.8-2510' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 18:57:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0292>
Subject: Job 440211: <4FGL_J2243.8-2510_daily_bin319> in cluster <slac> Done

Job <4FGL_J2243.8-2510_daily_bin319> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Sep 28 18:45:41 2021
Job was executed on host(s) <bullet0292>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 18:45:42 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:45:42 2021
Terminated at Tue Sep 28 18:57:32 2021
Results reported at Tue Sep 28 18:57:32 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.8-2510_daily_bin319 340.957 -25.1701 322012801 322272001 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 :                                   546.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             265.05 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   710 sec.
    Turnaround time :                            711 sec.

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

