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


Performing analysis on: 4FGL_J2243.8-2510_daily_bin1041
RA = 340.957, Dec = -25.1701
tmin = 509155201, tmax = 509414401
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='443655', job_status='RUN', time_executed='2021-09-28 18:59:28.376701', time_epoch_executed='1632880768.38' WHERE source_name='4FGL J2243.8-2510' and cadence='daily' and bin_id='1041'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/443655

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/443655/ft1_4FGL_J2243.8-2510_daily_bin1041.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/443655/ft2_4FGL_J2243.8-2510_daily_bin1041.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/443655/ft1_4FGL_J2243.8-2510_daily_bin1041.fits outfile=/scratch/kocevski/443655/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin1041.fits ra=340.957 dec=-25.1701 rad=12.0 tmin=509155201.0 tmax=509414401.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.63
user 3.41
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/443655/ft1_filtered_4FGL_J2243.8-2510_daily_bin1041.fits" evtable="EVENTS" scfile=/scratch/kocevski/443655/ft2_4FGL_J2243.8-2510_daily_bin1041.fits sctable="SC_DATA" outfile=/scratch/kocevski/443655/ltcube_509155201_509414401_4FGL_J2243.8-2510_daily_bin1041.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/443655/ft2_4FGL_J2243.8-2510_daily_bin1041.fits
.....................!
real 11.74
user 11.37
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/443655/ft1_filtered_4FGL_J2243.8-2510_daily_bin1041.fits evtable="EVENTS" scfile=/scratch/kocevski/443655/ft2_4FGL_J2243.8-2510_daily_bin1041.fits sctable="SC_DATA" expcube=/scratch/kocevski/443655/ltcube_509155201_509414401_4FGL_J2243.8-2510_daily_bin1041.fits outfile=/scratch/kocevski/443655/expmap_509155201_509414401_4FGL_J2243.8-2510_daily_bin1041.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/443655/ltcube_509155201_509414401_4FGL_J2243.8-2510_daily_bin1041.fits
.....................!
real 193.06
user 187.43
sys 5.27

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/443655/ft1_filtered_4FGL_J2243.8-2510_daily_bin1041.fits scfile=/scratch/kocevski/443655/ft2_4FGL_J2243.8-2510_daily_bin1041.fits outfile=/scratch/kocevski/443655/cmap_509155201_509414401_4FGL_J2243.8-2510_daily_bin1041.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/443655/ft1_filtered_4FGL_J2243.8-2510_daily_bin1041.fits scfile=/scratch/kocevski/443655/ft2_4FGL_J2243.8-2510_daily_bin1041.fits outfile=/scratch/kocevski/443655/cmap_HighResolution_509155201_509414401_4FGL_J2243.8-2510_daily_bin1041.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.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    45.770       1.0000         .10000E-03   10000.    
     2 'norm      '    1.9964       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    96.122       1.0000         .10000E-03   10000.    
     7 'norm      '    54.197       1.0000         .10000E-03   10000.    
     8 'Prefactor '    57.175       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10671E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .63203       1.0000         .10000E-03   10000.    
    11 'norm      '    .91454       1.0000         .10000E-03   10000.    
    12 'Prefactor '    12.904       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    9.1065       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    34.538       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    123.88       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    3.1802       1.0000         .10000E-03   10000.    
    22 'Prefactor '    184.36       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .72587       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.3733       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=   4812.524     FROM MIGRAD    STATUS=CONVERGED    528 CALLS     3078 TOTAL
                     EDM=   .78E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     45.693        87.879       -.35678E-06   -.29432E-04
   2  norm          1.9964        .65911        .41080E-09    .44906E-04
   3  Prefactor     .10000E-03    6.3988       -.90767E-07** at limit **
   4  Prefactor     .10000E-03    13.110       -.15739E-06** at limit **
   5  Prefactor     .10000E-03    13.809        .33665E-06** at limit **
   6  Prefactor     96.098        73.570       -.12554E-06   -.17511E-04
   7  norm          54.198        36.758        .23177E-06   -.11080E-04
   8  Prefactor     57.181        37.055        .60716E-07    .44917E-05
   9  Prefactor     .10000E-03    43.546       -.28072E-05** at limit **
  10  norm          .63172        1.1092        .60302E-07   -.12253E-03
  11  norm          .91176        5.5868       -.29211E-05   -.15729E-03
  12  Prefactor     12.876        205.21        .19431E-04   -.18839E-04
  13  Prefactor     .10000E-03    11.764        .36347E-06** at limit **
  14  norm          9.1059        6.4656        .13473E-06   -.75250E-04
  15  Prefactor     .10000E-03    12.848        .12554E-07** at limit **
  16  Prefactor     34.539        16.062       -.47611E-06   -.10792E-03
  17  norm          .10000E-03    .62132        .15416E-06** at limit **
  18  Prefactor     123.95        103.45        .27602E-06    .29016E-04
  19  Prefactor     .10000E-03    6.5295        .25698E-07** at limit **
  20  Prefactor     .10000E-03    6.9801       -.27805E-07** at limit **
  21  norm          3.1799        3.6029       -.77407E-08    .15946E-04
  22  Prefactor     184.34        79.203       -.14510E-07   -.12994E-04
  23  Normalizat    .72542        .26543        .55722E-07   -.50573E-04
  24  Prefactor     1.3737        .23316       -.22588E-06    .37349E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 45.6927
  norm       = 1.99637
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 96.098
  norm       = 54.1982
  Prefactor  = 57.1812
  Prefactor  = 0.000100001
  norm       = 0.631722
  norm       = 0.911758
  Prefactor  = 12.8761
  Prefactor  = 0.0001
  norm       = 9.10594
  Prefactor  = 0.0001
  Prefactor  = 34.5386
  norm       = 0.0001
  Prefactor  = 123.946
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.17995
  Prefactor  = 184.344
  Normalizat = 0.72542
  Prefactor  = 1.3737
 **********
 **   18 **HESSE 
 **********

 FCN=   4812.524     FROM HESSE     STATUS=OK           399 CALLS     3477 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     45.693        87.724        .29632E-03   -1.4355    
   2  norm          1.9964        .65944        .31063E-04   -1.5425    
   3  Prefactor     .10000E-03    6.4366        .17136E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    13.124        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    13.998        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     96.098        73.394        .20498E-03   -1.3744    
   7  norm          54.198        36.726        .54484E-04   -1.4234    
   8  Prefactor     57.181        37.044        .53054E-04   -1.4194    
   9  Prefactor     .10000E-03    44.799        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .63172        1.0156        .91941E-03   -1.5549    
  11  norm          .91176        5.6758        .22202E-03   -1.5517    
  12  Prefactor     12.876        211.79        .11151E-03   -1.4990    
  13  Prefactor     .10000E-03    11.821        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          9.1059        6.4584        .13281E-03   -1.5104    
  15  Prefactor     .10000E-03    12.855        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     34.539        14.705        .68188E-04   -1.4532    
  17  norm          .10000E-03    .90095        .94768E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     123.95        103.32        .18082E-03   -1.3477    
  19  Prefactor     .10000E-03    6.5441        .17313E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    6.9922        .17889E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          3.1799        3.5962        .13415E-03   -1.5351    
  22  Prefactor     184.34        79.136        .14868E-03   -1.2984    
  23  Normalizat    .72542        .31958        .35573E-03   -1.0290    
  24  Prefactor     1.3737        .28317        .24361E-03   -.81141    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.30219e-09
Minuit parameter uncertainties:
  1  87.9738
  2  0.659447
  3  1.69058e-05
  4  2.23201e-05
  5  6.86702e-05
  6  73.4631
  7  36.7414
  8  37.0589
  9  0.000376971
  10  1.01567
  11  4.55008
  12  104.881
  13  6.90667e-05
  14  6.45894
  15  2.99041e-06
  16  14.7064
  17  3.33851e-06
  18  103.47
  19  7.54062e-06
  20  2.54615e-06
  21  3.59643
  22  79.1813
  23  0.320405
  24  0.283486
Done.

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

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  1.288e+01  1.049e+02  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.374e+00  2.835e-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.254e-01  3.204e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/443655/likelihoodResults_509155201_509414401_4FGL_J2243.8-2510_daily_bin1041.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) = 4812.51051051
delta logL = 0.0133831459007

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4812.50509774
delta logL = 0.0187959108853

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    21.195       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0594       1.0000          .0000       10.000    
     3 'Normalizat'    .73436       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3659       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=   4812.505     FROM MIGRAD    STATUS=CONVERGED    105 CALLS      306 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     21.264        86.139        .87002E-04   -.12153E-04
   2  Index         2.0656        2.1569        .10995E-01   -.32251E-05
   3  Normalizat    .73325        .29970        .35393E-03    .20596E-03
   4  Prefactor     1.3669        .27371        .24408E-03   -.30800E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 21.2639
  Index      = 2.0656
  Normalizat = 0.733248
  Prefactor  = 1.36688
 **********
 **   18 **HESSE 
 **********

 FCN=   4812.505     FROM HESSE     STATUS=OK            25 CALLS      331 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     21.264        88.779        .34801E-05   -1.4785    
   2  Index         2.0656        2.1881        .43979E-03   -.62720    
   3  Normalizat    .73325        .30007        .14157E-04   -1.0259    
   4  Prefactor     1.3669        .27390        .48816E-04   -.81339    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.24171e-09
Minuit parameter uncertainties:
  1  87.1198
  2  2.31168
  3  0.300749
  4  0.274188
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/443655': 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) = 4812.50508753
delta logL = 0.018806122258

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
526    Prefactor:  1.367e+00  2.742e-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.332e-01  3.007e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.03
Ra Dec: 340.957 -25.170

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/443655/cmap_HighResolution_509155201_509414401_4FGL_J2243.8-2510_daily_bin1041.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.42e-02', job_status='DONE', photon_flux_upper_limit='1.81e-07', time_completed='2021-09-28 19:09:03.348017', job_id='443655', GAL2='1.37', fit_tolerance='1e-08', EG2='0.73', EG='0.73', time_epoch_completed='1632881343.35', return_code2='0', ts='0.03', comment='SUCCESS', return_code='0', GAL='1.37', dlogl='1.88e-02', ts2='0.07', photon_index_error='0.00', photon_index='2.71' WHERE bin_id='1041' AND source_name='4FGL J2243.8-2510' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 19:09:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0215>
Subject: Job 443655: <4FGL_J2243.8-2510_daily_bin1041> in cluster <slac> Done

Job <4FGL_J2243.8-2510_daily_bin1041> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 18:55:48 2021
Job was executed on host(s) <bullet0215>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 18:55:50 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:50 2021
Terminated at Tue Sep 28 19:09:04 2021
Results reported at Tue Sep 28 19:09:04 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.8-2510_daily_bin1041 340.957 -25.1701 509155201 509414401 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 :                                   574.02 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             257.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   793 sec.
    Turnaround time :                            796 sec.

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

