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


Performing analysis on: 4FGL_J2243.8-2510_daily_bin239
RA = 340.957, Dec = -25.1701
tmin = 301276801, tmax = 301536001
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='440030', job_status='RUN', time_executed='2021-09-28 18:47:10.763013', time_epoch_executed='1632880030.76' WHERE source_name='4FGL J2243.8-2510' and cadence='daily' and bin_id='239'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/440030

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/440030/ft1_4FGL_J2243.8-2510_daily_bin239.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/440030/ft2_4FGL_J2243.8-2510_daily_bin239.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/440030/ft1_4FGL_J2243.8-2510_daily_bin239.fits outfile=/scratch/kocevski/440030/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin239.fits ra=340.957 dec=-25.1701 rad=12.0 tmin=301276801.0 tmax=301536001.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.54
user 4.27
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/440030/ft1_filtered_4FGL_J2243.8-2510_daily_bin239.fits" evtable="EVENTS" scfile=/scratch/kocevski/440030/ft2_4FGL_J2243.8-2510_daily_bin239.fits sctable="SC_DATA" outfile=/scratch/kocevski/440030/ltcube_301276801_301536001_4FGL_J2243.8-2510_daily_bin239.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/440030/ft2_4FGL_J2243.8-2510_daily_bin239.fits
.....................!
real 11.87
user 11.49
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/440030/ft1_filtered_4FGL_J2243.8-2510_daily_bin239.fits evtable="EVENTS" scfile=/scratch/kocevski/440030/ft2_4FGL_J2243.8-2510_daily_bin239.fits sctable="SC_DATA" expcube=/scratch/kocevski/440030/ltcube_301276801_301536001_4FGL_J2243.8-2510_daily_bin239.fits outfile=/scratch/kocevski/440030/expmap_301276801_301536001_4FGL_J2243.8-2510_daily_bin239.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/440030/ltcube_301276801_301536001_4FGL_J2243.8-2510_daily_bin239.fits
.....................!
real 191.13
user 185.73
sys 5.04

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/440030/ft1_filtered_4FGL_J2243.8-2510_daily_bin239.fits scfile=/scratch/kocevski/440030/ft2_4FGL_J2243.8-2510_daily_bin239.fits outfile=/scratch/kocevski/440030/cmap_301276801_301536001_4FGL_J2243.8-2510_daily_bin239.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.55
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/440030/ft1_filtered_4FGL_J2243.8-2510_daily_bin239.fits scfile=/scratch/kocevski/440030/ft2_4FGL_J2243.8-2510_daily_bin239.fits outfile=/scratch/kocevski/440030/cmap_HighResolution_301276801_301536001_4FGL_J2243.8-2510_daily_bin239.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.55
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/440030/ft1_filtered_4FGL_J2243.8-2510_daily_bin239.fits evtable="EVENTS" scfile=/scratch/kocevski/440030/ft2_4FGL_J2243.8-2510_daily_bin239.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/440030/Model_4FGL_J2243.8-2510_daily_bin239.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/440030/ft1_filtered_4FGL_J2243.8-2510_daily_bin239.fits.....................!
real 46.25
user 44.89
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    68.538       1.0000         .10000E-03   10000.    
     2 'norm      '    1.5917       1.0000         .10000E-03   10000.    
     3 'Prefactor '    16.911       1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.8138       1.0000         .10000E-03   10000.    
     5 'Prefactor '    10.685       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    53.800       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .18905E-01   1.0000         .10000E-03   10000.    
    10 'norm      '    .39360       1.0000         .10000E-03   10000.    
    11 'norm      '    .10109E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    45.790       1.0000         .10000E-03   10000.    
    13 'Prefactor '    19.159       1.0000         .10000E-03   10000.    
    14 'norm      '    11.551       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    4.6346       1.0000         .10000E-03   10000.    
    17 'norm      '    .17341       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    2.6163       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .87426       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .87120       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=   5439.199     FROM MIGRAD    STATUS=CONVERGED    549 CALLS     2757 TOTAL
                     EDM=   .60E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     68.533        59.262       -.80094E-06   -.10250E-04
   2  norm          1.5917        .43037       -.15044E-07    .75930E-04
   3  Prefactor     16.916        13.000       -.25337E-06    .30534E-04
   4  Prefactor     2.7990        41.220        .10470E-05    .17026E-04
   5  Prefactor     10.686        8.0636       -.77019E-07    .51599E-04
   6  Prefactor     .10000E-03    27.727        .22259E-05** at limit **
   7  norm          53.796        26.805        .71840E-06    .12384E-03
   8  Prefactor     .10000E-03    7.9308        .42890E-07** at limit **
   9  Prefactor     .10031E-03    11.926       -.21402E-05** at limit **
  10  norm          .39353        .65542        .11713E-06    .25508E-03
  11  norm          .10000E-03    1.4799       -.22561E-05** at limit **
  12  Prefactor     45.729        42.497       -.10011E-05    .96707E-04
  13  Prefactor     19.160        14.609       -.54496E-06   -.92723E-05
  14  norm          11.552        5.6588       -.32520E-06   -.87531E-04
  15  Prefactor     .10000E-03    32.903       -.12511E-05** at limit **
  16  Prefactor     4.6449        8.5582       -.90650E-06    .43291E-04
  17  norm          .17320        .45389        .56490E-06    .20385E-02
  18  Prefactor     .10000E-03    41.929        .30046E-05** at limit **
  19  Prefactor     .10000E-03    4.7837        .16327E-07** at limit **
  20  Prefactor     .10000E-03    2.4011       -.13267E-07** at limit **
  21  norm          2.6167        2.9079       -.92216E-07   -.57874E-05
  22  Prefactor     .10000E-03    31.693       -.21171E-05** at limit **
  23  Normalizat    .87420        .20057        .34227E-05    .14888E-03
  24  Prefactor     .87121        .16900       -.10002E-05    .35491E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 68.5333
  norm       = 1.59169
  Prefactor  = 16.916
  Prefactor  = 2.79895
  Prefactor  = 10.6858
  Prefactor  = 0.0001
  norm       = 53.7957
  Prefactor  = 0.0001
  Prefactor  = 0.000100313
  norm       = 0.393531
  norm       = 0.0001
  Prefactor  = 45.7294
  Prefactor  = 19.1595
  norm       = 11.5521
  Prefactor  = 0.0001
  Prefactor  = 4.64485
  norm       = 0.173202
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.6167
  Prefactor  = 0.0001
  Normalizat = 0.874204
  Prefactor  = 0.871207
 **********
 **   18 **HESSE 
 **********

 FCN=   5439.199     FROM HESSE     STATUS=OK           405 CALLS     3162 TOTAL
                     EDM=   .39E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     68.533        59.254        .48484E-04   -1.4050    
   2  norm          1.5917        .43090        .24333E-04   -1.5456    
   3  Prefactor     16.916        12.932        .97394E-04   -1.4885    
   4  Prefactor     2.7990        40.714        .24249E-03   -1.5373    
   5  Prefactor     10.686        8.0671        .12257E-03   -1.5054    
   6  Prefactor     .10000E-03    27.796        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          53.796        26.803        .54684E-04   -1.4240    
   8  Prefactor     .10000E-03    7.9361        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10031E-03    95.521        .45377E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .39353        .55662        .74439E-03   -1.5583    
  11  norm          .10000E-03    1.4363        .16837E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     45.729        42.619        .59251E-04   -1.4354    
  13  Prefactor     19.160        14.662        .91504E-04   -1.4832    
  14  norm          11.552        5.6277        .10758E-03   -1.5028    
  15  Prefactor     .10000E-03    33.680        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     4.6449        8.1521        .18695E-03   -1.5277    
  17  norm          .17320        .39078        .70005E-03   -1.5625    
  18  Prefactor     .10000E-03    42.051        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    4.8107        .15753E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    2.4032        .11157E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          2.6167        2.8989        .12853E-03   -1.5384    
  22  Prefactor     .10000E-03    31.934        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .87420        .22863        .25386E-03   -.97373    
  24  Prefactor     .87121        .19793        .23386E-03   -.97155    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.94773e-09
Minuit parameter uncertainties:
  1  59.3055
  2  0.430901
  3  12.9344
  4  21.3673
  5  8.06796
  6  0.000176778
  7  26.8093
  8  4.31564e-06
  9  0.0109447
  10  0.55663
  11  2.86137e-05
  12  42.6472
  13  14.665
  14  5.62793
  15  0.000215819
  16  8.15401
  17  0.390784
  18  0.000305538
  19  5.97496e-06
  20  1.72e-06
  21  2.89903
  22  0.000234646
  23  0.228882
  24  0.198088
Done.

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

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  4.573e+01  4.265e+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:  8.712e-01  1.981e-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:  8.742e-01  2.289e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.77
Ra Dec: 340.957 -25.170
Photon Index (Fixed Index): 2.71 +/- 0.00
Photon Flux (Fixed Index): 4.74e-08 +/- 4.42e-08
Energy Flux (Fixed Index): 1.13e-05 +/- 1.06e-05

TS (Fixed Index): 1.77
Ra Dec: 340.957 -25.170
Photon Flux Upper Limit: 1.41e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.11e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/440030/likelihoodResults_301276801_301536001_4FGL_J2243.8-2510_daily_bin239.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) = 5436.89816508
delta logL = 2.30101056403

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5436.66330553
delta logL = 2.53587011144

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .42672E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    8.8133       1.0000          .0000       10.000    
     3 'Normalizat'    .77008       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95013       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=   5436.663     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      366 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .42182E-02    .37947E-01    .56817E-03    .75834E-02
   2  Index         8.8196        2.6927        .13910        .68112E-04
   3  Normalizat    .77036        .63777E-01    .43219E-01    .26051E-04
   4  Prefactor     .94983        .59161E-01    .45641E-01    .66176E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0042182
  Index      = 8.81957
  Normalizat = 0.770357
  Prefactor  = 0.949826
 **********
 **   18 **HESSE 
 **********

 FCN=   5436.663     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      397 TOTAL
                     EDM=   .16E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .42182E-02    .60543E-01    .24202E-05   -1.5695    
   2  Index         8.8196        7.8751        .61322E-03    .86936    
   3  Normalizat    .77036        .21429        .26785E-03   -1.0118    
   4  Prefactor     .94983        .19511        .22512E-03   -.94421    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.59811e-11
Minuit parameter uncertainties:
  1  0.0315802
  2  4.08412
  3  0.214529
  4  0.195253
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/440030': 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) = 5436.66330307
delta logL = 2.53587257693

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  4.218e-03  3.158e-02  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  8.820e+00  4.084e+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:  9.498e-01  1.953e-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:  7.704e-01  2.145e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.23
Ra Dec: 340.957 -25.170
Photon Index (Free Index): 8.82 +/- 4.08
Photon Flux (Free Index): 1.16e-07 +/- 6.26e-08
Energy Flux (Free Index): 1.32e-05 +/- 7.56e-06

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/440030/cmap_HighResolution_301276801_301536001_4FGL_J2243.8-2510_daily_bin239.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.11e-02', comment='SUCCESS', photon_flux='4.74e-08', energy_flux2='1.32e-05', photon_flux_error='4.42e-08', dlogl='2.54e+00', energy_flux='1.13e-05', photon_flux2='1.16e-07', job_status='DONE', time_completed='2021-09-28 18:57:48.432541', photon_index_error2='4.08', photon_index2='8.82', ts='1.77', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', photon_flux_upper_limit='1.41e-07', energy_flux_error2='7.56e-06', EG='0.87', time_epoch_completed='1632880668.43', return_code='0', job_id='440030', GAL2='0.95', EG2='0.77', return_code2='102', energy_flux_error='1.06e-05', photon_flux_error2='6.26e-08', ts2='7.23', photon_index='2.71' WHERE bin_id='239' AND source_name='4FGL J2243.8-2510' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 18:57:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0251>
Subject: Job 440030: <4FGL_J2243.8-2510_daily_bin239> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.8-2510_daily_bin239 340.957 -25.1701 301276801 301536001 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 :                                   635.25 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             305.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   734 sec.
    Turnaround time :                            736 sec.

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

