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


Performing analysis on: 4FGL_J2243.8-2510_daily_bin922
RA = 340.957, Dec = -25.1701
tmin = 478310401, tmax = 478569601
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='443480', job_status='RUN', time_executed='2021-09-28 18:55:55.896734', time_epoch_executed='1632880555.9' WHERE source_name='4FGL J2243.8-2510' and cadence='daily' and bin_id='922'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/443480

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/443480/ft1_4FGL_J2243.8-2510_daily_bin922.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/443480/ft2_4FGL_J2243.8-2510_daily_bin922.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/443480/ft1_4FGL_J2243.8-2510_daily_bin922.fits outfile=/scratch/kocevski/443480/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin922.fits ra=340.957 dec=-25.1701 rad=12.0 tmin=478310401.0 tmax=478569601.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.54
user 3.31
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/443480/ft1_filtered_4FGL_J2243.8-2510_daily_bin922.fits" evtable="EVENTS" scfile=/scratch/kocevski/443480/ft2_4FGL_J2243.8-2510_daily_bin922.fits sctable="SC_DATA" outfile=/scratch/kocevski/443480/ltcube_478310401_478569601_4FGL_J2243.8-2510_daily_bin922.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/443480/ft2_4FGL_J2243.8-2510_daily_bin922.fits
.....................!
real 12.05
user 11.47
sys 0.54

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/443480/ft1_filtered_4FGL_J2243.8-2510_daily_bin922.fits evtable="EVENTS" scfile=/scratch/kocevski/443480/ft2_4FGL_J2243.8-2510_daily_bin922.fits sctable="SC_DATA" expcube=/scratch/kocevski/443480/ltcube_478310401_478569601_4FGL_J2243.8-2510_daily_bin922.fits outfile=/scratch/kocevski/443480/expmap_478310401_478569601_4FGL_J2243.8-2510_daily_bin922.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/443480/ltcube_478310401_478569601_4FGL_J2243.8-2510_daily_bin922.fits
.....................!
real 190.01
user 185.17
sys 4.42

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/443480/ft1_filtered_4FGL_J2243.8-2510_daily_bin922.fits scfile=/scratch/kocevski/443480/ft2_4FGL_J2243.8-2510_daily_bin922.fits outfile=/scratch/kocevski/443480/cmap_478310401_478569601_4FGL_J2243.8-2510_daily_bin922.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/443480/ft1_filtered_4FGL_J2243.8-2510_daily_bin922.fits scfile=/scratch/kocevski/443480/ft2_4FGL_J2243.8-2510_daily_bin922.fits outfile=/scratch/kocevski/443480/cmap_HighResolution_478310401_478569601_4FGL_J2243.8-2510_daily_bin922.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.56
user 0.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/443480/ft1_filtered_4FGL_J2243.8-2510_daily_bin922.fits evtable="EVENTS" scfile=/scratch/kocevski/443480/ft2_4FGL_J2243.8-2510_daily_bin922.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/443480/Model_4FGL_J2243.8-2510_daily_bin922.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/443480/ft1_filtered_4FGL_J2243.8-2510_daily_bin922.fits.....................!
real 46.16
user 44.79
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10229E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    1.7354       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.8610       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    29.769       1.0000         .10000E-03   10000.    
     7 'norm      '    12.747       1.0000         .10000E-03   10000.    
     8 'Prefactor '    36.093       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .22510       1.0000         .10000E-03   10000.    
    11 'norm      '    .11042E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    138.52       1.0000         .10000E-03   10000.    
    13 'Prefactor '    10.007       1.0000         .10000E-03   10000.    
    14 'norm      '    2.7231       1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.7547       1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.8420       1.0000         .10000E-03   10000.    
    17 'norm      '    .10138E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10511E-01   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10231E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    29.702       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .61882       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.3030       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=   5477.368     FROM MIGRAD    STATUS=CONVERGED    987 CALLS     3218 TOTAL
                     EDM=   .87E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    193.71        .18142E-02** at limit **
   2  norm          1.7355        .49430        .26883E-04   -.54468E-03
   3  Prefactor     .10000E-03    4.5669        .15420E-02** at limit **
   4  Prefactor     2.8620        10.062        .24034E-03   -.14058E-03
   5  Prefactor     .10000E-03    3.9468        .14313E-02** at limit **
   6  Prefactor     29.746        71.953        .73433E-04   -.75861E-05
   7  norm          12.741        21.313        .11219E-03   -.18239E-05
   8  Prefactor     36.096        23.563        .66708E-04    .40186E-04
   9  Prefactor     .10000E-03    14.930        .18142E-02** at limit **
  10  norm          .22590        1.2706        .11895E-02    .44890E-03
  11  norm          .10000E-03    3.0979        .18768E-02** at limit **
  12  Prefactor     138.48        59.314        .17112E-03   -.37736E-04
  13  Prefactor     10.008        11.630        .12667E-03    .28271E-04
  14  norm          2.7232        3.0568        .13115E-03   -.11503E-03
  15  Prefactor     6.7652        11.976        .15439E-03   -.43447E-04
  16  Prefactor     5.8437        8.4939        .16616E-03   -.28060E-03
  17  norm          .10000E-03    1.4273        .91803E-03** at limit **
  18  Prefactor     .10000E-03    70.161        .19956    ** at limit **
  19  Prefactor     .10000E-03    13.565        .18142E-02** at limit **
  20  Prefactor     .10000E-03    8.2072        .36285E-03** at limit **
  21  norm          .10000E-03    1.1878        .78491E-03** at limit **
  22  Prefactor     29.713        33.690        .73514E-04    .17320E-04
  23  Normalizat    .61889        .23620        .31692E-03    .73216E-04
  24  Prefactor     1.3029        .21915        .21403E-03    .30435E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100005
  norm       = 1.7355
  Prefactor  = 0.0001
  Prefactor  = 2.86197
  Prefactor  = 0.0001
  Prefactor  = 29.7458
  norm       = 12.7412
  Prefactor  = 36.0962
  Prefactor  = 0.0001
  norm       = 0.2259
  norm       = 0.0001
  Prefactor  = 138.48
  Prefactor  = 10.0078
  norm       = 2.72321
  Prefactor  = 6.76517
  Prefactor  = 5.8437
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 29.7127
  Normalizat = 0.618886
  Prefactor  = 1.30286
 **********
 **   18 **HESSE 
 **********

 FCN=   5477.368     FROM HESSE     STATUS=OK           385 CALLS     3603 TOTAL
                     EDM=   .84E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    193.74        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.7355        .49429        .10753E-05   -1.5444    
   3  Prefactor     .10000E-03    4.5673        .30841E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     2.8620        10.062        .96136E-05   -1.5370    
   5  Prefactor     .10000E-03    3.9474        .28626E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     29.746        71.748        .29373E-05   -1.4617    
   7  norm          12.741        21.312        .44878E-05   -1.4994    
   8  Prefactor     36.096        23.562        .13342E-04   -1.4506    
   9  Prefactor     .10000E-03    14.936        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .22590        1.2592        .47581E-04   -1.5613    
  11  norm          .10000E-03    3.1033        .37537E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     138.48        59.278        .68448E-05   -1.3349    
  13  Prefactor     10.008        11.628        .50669E-05   -1.5075    
  14  norm          2.7232        3.0565        .52459E-05   -1.5378    
  15  Prefactor     6.7652        11.977        .61754E-05   -1.5188    
  16  Prefactor     5.8437        8.4700        .66463E-05   -1.5224    
  17  norm          .10000E-03    1.4327        .18361E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    71.564        .19630       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    13.570        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    8.2077        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    1.1878        .15698E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     29.713        33.691        .29406E-05   -1.4617    
  23  Normalizat    .61889        .23631        .12677E-04   -1.0719    
  24  Prefactor     1.3029        .21905        .42805E-04   -.83222    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.36573e-10
Minuit parameter uncertainties:
  1  0.00203554
  2  0.494295
  3  4.79931e-05
  4  10.0677
  5  3.19123e-05
  6  71.9568
  7  21.3251
  8  23.5685
  9  7.81565e-05
  10  1.0665
  11  3.64323e-05
  12  59.3036
  13  11.6308
  14  3.05672
  15  11.9809
  16  8.47176
  17  4.42937e-05
  18  0.000347521
  19  0.000197725
  20  8.38357e-05
  21  1.32602e-05
  22  33.7127
  23  0.236695
  24  0.2192
Done.

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

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  1.385e+02  5.930e+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:  1.303e+00  2.192e-01  0.000e+00  1.000e+01 ( 1.000e+00)
527        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
528        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
525   Normalization:  6.189e-01  2.367e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 11.83
Ra Dec: 340.957 -25.170
Photon Index (Fixed Index): 2.71 +/- 0.00
Photon Flux (Fixed Index): 1.44e-07 +/- 6.14e-08
Energy Flux (Fixed Index): 3.44e-05 +/- 1.47e-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) = 5477.36714072
delta logL = 0.000742801432352

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5477.36630275
delta logL = 0.00158077997003

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    141.49       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6786       1.0000          .0000       10.000    
     3 'Normalizat'    .62199       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3007       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=   5477.366     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      273 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     141.51        83.365        .16934E-03    .11144E-04
   2  Index         2.6785        .52035        .50310E-02    .37276E-03
   3  Normalizat    .62203        .23403        .31618E-03   -.12657E-04
   4  Prefactor     1.3007        .21644        .21417E-03   -.12474E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 141.511
  Index      = 2.67852
  Normalizat = 0.622025
  Prefactor  = 1.30073
 **********
 **   18 **HESSE 
 **********

 FCN=   5477.366     FROM HESSE     STATUS=OK            25 CALLS      298 TOTAL
                     EDM=   .18E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     141.51        80.513        .67736E-05   -1.3323    
   2  Index         2.6785        .50207        .10062E-02   -.48284    
   3  Normalizat    .62203        .23392        .12647E-04   -1.0706    
   4  Prefactor     1.3007        .21642        .85670E-05   -.83285    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.83215e-12
Minuit parameter uncertainties:
  1  80.5752
  2  0.503156
  3  0.234296
  4  0.21657
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/443480': 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) = 5477.3663027
delta logL = 0.00158082731014

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  1.415e+02  8.058e+01  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  2.679e+00  5.032e-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:  1.301e+00  2.166e-01  0.000e+00  1.000e+01 ( 1.000e+00)
527        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
528        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
525   Normalization:  6.220e-01  2.343e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.82
Ra Dec: 340.957 -25.170
Photon Index (Free Index): 2.68 +/- 0.50
Photon Flux (Free Index): 1.41e-07 +/- 7.17e-08
Energy Flux (Free Index): 3.46e-05 +/- 1.53e-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/443480/cmap_HighResolution_478310401_478569601_4FGL_J2243.8-2510_daily_bin922.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.44e-07', energy_flux2='3.46e-05', photon_flux_error='6.14e-08', dlogl='1.58e-03', energy_flux='3.44e-05', photon_flux2='1.41e-07', job_status='DONE', time_completed='2021-09-28 19:05:34.613980', photon_index_error2='0.50', photon_index2='2.68', ts='11.83', fit_tolerance='1e-08', GAL='1.30', photon_index_error='0.00', energy_flux_error2='1.53e-05', EG='0.62', time_epoch_completed='1632881134.61', return_code='0', job_id='443480', GAL2='1.30', EG2='0.62', return_code2='0', energy_flux_error='1.47e-05', photon_flux_error2='7.17e-08', ts2='11.82', photon_index='2.71' WHERE bin_id='922' AND source_name='4FGL J2243.8-2510' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 19:05:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0069>
Subject: Job 443480: <4FGL_J2243.8-2510_daily_bin922> in cluster <slac> Done

Job <4FGL_J2243.8-2510_daily_bin922> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 18:55:36 2021
Job was executed on host(s) <bullet0069>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 18:55:38 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 18:55:38 2021
Terminated at Tue Sep 28 19:05:35 2021
Results reported at Tue Sep 28 19:05:35 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.8-2510_daily_bin922 340.957 -25.1701 478310401 478569601 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 :                                   576.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             362.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   596 sec.
    Turnaround time :                            599 sec.

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

