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


Performing analysis on: 4FGL_J2243.8-2510_daily_bin544
RA = 340.957, Dec = -25.1701
tmin = 380332801, tmax = 380592001
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='441907', job_status='RUN', time_executed='2021-09-28 18:53:56.918401', time_epoch_executed='1632880436.92' WHERE source_name='4FGL J2243.8-2510' and cadence='daily' and bin_id='544'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/441907

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/441907/ft1_4FGL_J2243.8-2510_daily_bin544.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/441907/ft2_4FGL_J2243.8-2510_daily_bin544.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/441907/ft1_4FGL_J2243.8-2510_daily_bin544.fits outfile=/scratch/kocevski/441907/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin544.fits ra=340.957 dec=-25.1701 rad=12.0 tmin=380332801.0 tmax=380592001.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.45
user 3.28
sys 0.15

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/441907/ft2_4FGL_J2243.8-2510_daily_bin544.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/441907/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin544.fits evtable="EVENTS" outfile="/scratch/kocevski/441907/ft1_filtered_4FGL_J2243.8-2510_daily_bin544.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.49
user 0.34
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/441907/ft1_filtered_4FGL_J2243.8-2510_daily_bin544.fits" evtable="EVENTS" scfile=/scratch/kocevski/441907/ft2_4FGL_J2243.8-2510_daily_bin544.fits sctable="SC_DATA" outfile=/scratch/kocevski/441907/ltcube_380332801_380592001_4FGL_J2243.8-2510_daily_bin544.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/441907/ft2_4FGL_J2243.8-2510_daily_bin544.fits
.....................!
real 11.76
user 11.41
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/441907/ft1_filtered_4FGL_J2243.8-2510_daily_bin544.fits evtable="EVENTS" scfile=/scratch/kocevski/441907/ft2_4FGL_J2243.8-2510_daily_bin544.fits sctable="SC_DATA" expcube=/scratch/kocevski/441907/ltcube_380332801_380592001_4FGL_J2243.8-2510_daily_bin544.fits outfile=/scratch/kocevski/441907/expmap_380332801_380592001_4FGL_J2243.8-2510_daily_bin544.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/441907/ltcube_380332801_380592001_4FGL_J2243.8-2510_daily_bin544.fits
.....................!
real 190.20
user 185.56
sys 4.26

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/441907/ft1_filtered_4FGL_J2243.8-2510_daily_bin544.fits scfile=/scratch/kocevski/441907/ft2_4FGL_J2243.8-2510_daily_bin544.fits outfile=/scratch/kocevski/441907/cmap_380332801_380592001_4FGL_J2243.8-2510_daily_bin544.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=340.957 yref=-25.1701 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.54
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/441907/ft1_filtered_4FGL_J2243.8-2510_daily_bin544.fits scfile=/scratch/kocevski/441907/ft2_4FGL_J2243.8-2510_daily_bin544.fits outfile=/scratch/kocevski/441907/cmap_HighResolution_380332801_380592001_4FGL_J2243.8-2510_daily_bin544.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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/441907/ft1_filtered_4FGL_J2243.8-2510_daily_bin544.fits evtable="EVENTS" scfile=/scratch/kocevski/441907/ft2_4FGL_J2243.8-2510_daily_bin544.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/441907/Model_4FGL_J2243.8-2510_daily_bin544.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/441907/ft1_filtered_4FGL_J2243.8-2510_daily_bin544.fits.....................!
real 44.11
user 42.77
sys 1.12

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    211.66       1.0000         .10000E-03   10000.    
     2 'norm      '    4.5145       1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.9069       1.0000         .10000E-03   10000.    
     4 'Prefactor '    24.222       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10139E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    51.565       1.0000         .10000E-03   10000.    
     7 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    12.227       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    2.5075       1.0000         .10000E-03   10000.    
    11 'norm      '    .10527E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    132.98       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    1.9977       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .42099       1.0000         .10000E-03   10000.    
    17 'norm      '    .10048E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10068E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10070E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.2488       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .74058       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=   4841.687     FROM MIGRAD    STATUS=CONVERGED    541 CALLS     3228 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     211.76        171.48        .59413E-05    .97226E-04
   2  norm          4.5142        .90914       -.91443E-07    .47723E-03
   3  Prefactor     5.9036        12.838       -.14853E-06   -.22721E-04
   4  Prefactor     24.216        22.152       -.53594E-06   -.34637E-04
   5  Prefactor     .10000E-03    10.851       -.52871E-07** at limit **
   6  Prefactor     51.553        63.358       -.14251E-05   -.40814E-04
   7  norm          .10000E-03    7.8781       -.28676E-08** at limit **
   8  Prefactor     12.227        23.874        .10361E-07   -.84066E-05
   9  Prefactor     .10000E-03    10.380       -.31777E-06** at limit **
  10  norm          2.5073        1.2423        .99901E-08   -.14402E-04
  11  norm          .10001E-03    3.1725       -.29869E-05** at limit **
  12  Prefactor     132.96        61.799        .50104E-05    .38613E-03
  13  Prefactor     .10000E-03    7.2499       -.18124E-06** at limit **
  14  norm          1.9997        3.1377        .23868E-06   -.87866E-04
  15  Prefactor     .10000E-03    7.7541       -.52916E-07** at limit **
  16  Prefactor     .40653        6.6507        .85847E-06   -.71415E-03
  17  norm          .10000E-03    .30574       -.75820E-07** at limit **
  18  Prefactor     .10000E-03    45.766        .90197E-06** at limit **
  19  Prefactor     .10000E-03    12.668       -.96015E-07** at limit **
  20  Prefactor     .10000E-03    6.2044       -.28909E-07** at limit **
  21  norm          .10000E-03    3.0498       -.20434E-07** at limit **
  22  Prefactor     .10000E-03    47.440       -.99278E-06** at limit **
  23  Normalizat    1.2485        .22955       -.10521E-05    .11682E-03
  24  Prefactor     .74093        .19571        .13444E-05   -.82845E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 211.764
  norm       = 4.51419
  Prefactor  = 5.90362
  Prefactor  = 24.2156
  Prefactor  = 0.0001
  Prefactor  = 51.553
  norm       = 0.0001
  Prefactor  = 12.2272
  Prefactor  = 0.0001
  norm       = 2.50731
  norm       = 0.000100005
  Prefactor  = 132.965
  Prefactor  = 0.0001
  norm       = 1.99972
  Prefactor  = 0.0001
  Prefactor  = 0.406529
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.24849
  Prefactor  = 0.740932
 **********
 **   18 **HESSE 
 **********

 FCN=   4841.687     FROM HESSE     STATUS=OK           393 CALLS     3621 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     211.76        172.05        .13895E-03   -1.2787    
   2  norm          4.5142        .91015        .27327E-04   -1.5283    
   3  Prefactor     5.9036        12.829        .16523E-03   -1.5222    
   4  Prefactor     24.216        22.161        .81391E-04   -1.4723    
   5  Prefactor     .10000E-03    11.039        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     51.553        63.446        .55850E-04   -1.4271    
   7  norm          .10000E-03    7.8806        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     12.227        23.892        .11456E-03   -1.5008    
   9  Prefactor     .10000E-03    10.436        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.5073        1.2394        .52131E-04   -1.5391    
  11  norm          .10001E-03    5.7835        .21365E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     132.96        68.033        .17460E-03   -1.3397    
  13  Prefactor     .10000E-03    7.2781        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.9997        3.1465        .14586E-03   -1.5425    
  15  Prefactor     .10000E-03    7.7625        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .40653        45.142        .30214E-02   -1.5580    
  17  norm          .10000E-03    .49840        .70726E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    45.790        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    12.934        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    6.2184        .16914E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    3.1436        .23727E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    47.583        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.2485        .28138        .25594E-03   -.85117    
  24  Prefactor     .74093        .23798        .28256E-03   -1.0194    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.08685e-08
Minuit parameter uncertainties:
  1  172.465
  2  0.910158
  3  12.8346
  4  22.1688
  5  1.13256e-05
  6  63.5289
  7  5.25049e-06
  8  23.9109
  9  1.41661e-06
  10  1.23938
  11  0.000350823
  12  68.073
  13  1.56501e-05
  14  3.14676
  15  1.63732e-05
  16  8.57332
  17  1.27923e-05
  18  0.000158214
  19  7.30467e-06
  20  1.42139e-05
  21  1.10042e-06
  22  0.000164635
  23  0.281723
  24  0.238307
Done.

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

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  1.330e+02  6.807e+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:  7.409e-01  2.383e-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.248e+00  2.817e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.75
Ra Dec: 340.957 -25.170
Photon Index (Fixed Index): 2.71 +/- 0.00
Photon Flux (Fixed Index): 1.38e-07 +/- 7.05e-08
Energy Flux (Fixed Index): 3.30e-05 +/- 1.69e-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) = 4840.96703936
delta logL = 0.719732656651

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4840.96422538
delta logL = 0.722546641509

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    66.014       1.0000         .10000E-03   10000.    
     2 'Index     '    3.4275       1.0000          .0000       10.000    
     3 'Normalizat'    1.1858       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78219       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=   4840.964     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      297 TOTAL
                     EDM=   .84E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     66.005        73.137        .49396E-04    .20028E-03
   2  Index         3.4273        .76709        .39650E-02    .95740E-04
   3  Normalizat    1.1859        .27529        .26131E-03   -.94584E-04
   4  Prefactor     .78221        .23609        .27568E-03   -.94972E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 66.005
  Index      = 3.42731
  Normalizat = 1.1859
  Prefactor  = 0.782206
 **********
 **   18 **HESSE 
 **********

 FCN=   4840.964     FROM HESSE     STATUS=OK            25 CALLS      322 TOTAL
                     EDM=   .91E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     66.005        63.739        .98792E-05   -1.4081    
   2  Index         3.4273        .66852        .15860E-03   -.31997    
   3  Normalizat    1.1859        .27544        .10452E-04   -.87040    
   4  Prefactor     .78221        .23607        .11027E-04   -1.0039    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.08914e-11
Minuit parameter uncertainties:
  1  63.8051
  2  0.670752
  3  0.275777
  4  0.23638
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/441907': 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) = 4840.96422477
delta logL = 0.72254725035

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  6.600e+01  6.381e+01  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  3.427e+00  6.708e-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:  7.822e-01  2.364e-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.186e+00  2.758e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.30
Ra Dec: 340.957 -25.170
Photon Index (Free Index): 3.43 +/- 0.67
Photon Flux (Free Index): 1.91e-07 +/- 9.04e-08
Energy Flux (Free Index): 3.24e-05 +/- 1.46e-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/441907/cmap_HighResolution_380332801_380592001_4FGL_J2243.8-2510_daily_bin544.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.38e-07', energy_flux2='3.24e-05', photon_flux_error='7.05e-08', dlogl='7.23e-01', energy_flux='3.30e-05', photon_flux2='1.91e-07', job_status='DONE', time_completed='2021-09-28 19:03:00.060131', photon_index_error2='0.67', photon_index2='3.43', ts='6.75', fit_tolerance='1e-08', GAL='0.74', photon_index_error='0.00', energy_flux_error2='1.46e-05', EG='1.25', time_epoch_completed='1632880980.06', return_code='0', job_id='441907', GAL2='0.78', EG2='1.19', return_code2='0', energy_flux_error='1.69e-05', photon_flux_error2='9.04e-08', ts2='8.30', photon_index='2.71' WHERE bin_id='544' AND source_name='4FGL J2243.8-2510' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 19:03:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0304>
Subject: Job 441907: <4FGL_J2243.8-2510_daily_bin544> in cluster <slac> Done

Job <4FGL_J2243.8-2510_daily_bin544> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep 28 18:50:41 2021
Job was executed on host(s) <bullet0304>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 18:50: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:50:42 2021
Terminated at Tue Sep 28 19:03:00 2021
Results reported at Tue Sep 28 19:03:00 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.8-2510_daily_bin544 340.957 -25.1701 380332801 380592001 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 :                                   542.19 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             267.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   738 sec.
    Turnaround time :                            739 sec.

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

