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


Performing analysis on: 4FGL_J2243.8-2510_daily_bin869
RA = 340.957, Dec = -25.1701
tmin = 464572801, tmax = 464832001
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='443402', job_status='RUN', time_executed='2021-09-28 18:57:33.831663', time_epoch_executed='1632880653.83' WHERE source_name='4FGL J2243.8-2510' and cadence='daily' and bin_id='869'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/443402

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/443402/ft1_4FGL_J2243.8-2510_daily_bin869.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/443402/ft2_4FGL_J2243.8-2510_daily_bin869.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/443402/ft1_4FGL_J2243.8-2510_daily_bin869.fits outfile=/scratch/kocevski/443402/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin869.fits ra=340.957 dec=-25.1701 rad=12.0 tmin=464572801.0 tmax=464832001.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.35
user 3.13
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/443402/ft1_filtered_4FGL_J2243.8-2510_daily_bin869.fits" evtable="EVENTS" scfile=/scratch/kocevski/443402/ft2_4FGL_J2243.8-2510_daily_bin869.fits sctable="SC_DATA" outfile=/scratch/kocevski/443402/ltcube_464572801_464832001_4FGL_J2243.8-2510_daily_bin869.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/443402/ft2_4FGL_J2243.8-2510_daily_bin869.fits
.....................!
real 12.13
user 11.75
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/443402/ft1_filtered_4FGL_J2243.8-2510_daily_bin869.fits evtable="EVENTS" scfile=/scratch/kocevski/443402/ft2_4FGL_J2243.8-2510_daily_bin869.fits sctable="SC_DATA" expcube=/scratch/kocevski/443402/ltcube_464572801_464832001_4FGL_J2243.8-2510_daily_bin869.fits outfile=/scratch/kocevski/443402/expmap_464572801_464832001_4FGL_J2243.8-2510_daily_bin869.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/443402/ltcube_464572801_464832001_4FGL_J2243.8-2510_daily_bin869.fits
.....................!
real 192.79
user 187.37
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/443402/ft1_filtered_4FGL_J2243.8-2510_daily_bin869.fits scfile=/scratch/kocevski/443402/ft2_4FGL_J2243.8-2510_daily_bin869.fits outfile=/scratch/kocevski/443402/cmap_464572801_464832001_4FGL_J2243.8-2510_daily_bin869.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.14

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    32.665       1.0000         .10000E-03   10000.    
     2 'norm      '    .85644       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10173E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    8.7151       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10538       1.0000         .10000E-03   10000.    
     6 'Prefactor '    26.660       1.0000         .10000E-03   10000.    
     7 'norm      '    7.4413       1.0000         .10000E-03   10000.    
     8 'Prefactor '    11.638       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.4222       1.0000         .10000E-03   10000.    
    11 'norm      '    .10028E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    20.704       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    14.008       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10107E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    5.2158       1.0000         .10000E-03   10000.    
    21 'norm      '    .26175       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10586E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0980       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .78119       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=   4836.515     FROM MIGRAD    STATUS=CONVERGED    985 CALLS     3211 TOTAL
                     EDM=   .87E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     32.714        71.030        .70110E-04    .68105E-05
   2  norm          .85644        .36912        .26707E-04    .64277E-04
   3  Prefactor     .10000E-03    14.396        .36285E-03** at limit **
   4  Prefactor     8.7168        19.415        .13578E-03   -.36004E-05
   5  Prefactor     .76064E-01    12.939        .57077E-01    .18488E-03
   6  Prefactor     26.655        68.341        .77586E-04   -.24910E-05
   7  norm          7.4409        15.208        .14702E-03    .51035E-05
   8  Prefactor     11.642        26.398        .11743E-03   -.57024E-04
   9  Prefactor     .10000E-03    10.748        .18142E-02** at limit **
  10  norm          1.4222        .98137        .54864E-04    .31289E-04
  11  norm          .10000E-03    2.8411        .16316E-02** at limit **
  12  Prefactor     20.672        39.954        .88027E-04   -.80073E-05
  13  Prefactor     .10000E-03    12.829        .18142E-02** at limit **
  14  norm          .10000E-03    2.0218        .95897E-03** at limit **
  15  Prefactor     14.008        12.188        .10702E-03   -.15425E-03
  16  Prefactor     .10000E-03    7.2872        .36101E-03** at limit **
  17  norm          .10000E-03    .24699        .61483E-03** at limit **
  18  Prefactor     .10000E-03    46.837        .18142E-02** at limit **
  19  Prefactor     .10000E-03    13.284        .18142E-02** at limit **
  20  Prefactor     5.2150        9.2412        .17601E-03   -.37915E-04
  21  norm          .26317        7.0476        .18296E-02    .35839E-03
  22  Prefactor     .10000E-03    100.76        .18142E-02** at limit **
  23  Normalizat    1.0981        .23836        .22573E-03   -.15077E-03
  24  Prefactor     .78113        .21222        .24038E-03   -.18076E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 32.7142
  norm       = 0.856442
  Prefactor  = 0.0001
  Prefactor  = 8.71677
  Prefactor  = 0.0760645
  Prefactor  = 26.6548
  norm       = 7.44088
  Prefactor  = 11.6417
  Prefactor  = 0.0001
  norm       = 1.42221
  norm       = 0.0001
  Prefactor  = 20.6721
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 14.0079
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.21502
  norm       = 0.263166
  Prefactor  = 0.000100001
  Normalizat = 1.0981
  Prefactor  = 0.781128
 **********
 **   18 **HESSE 
 **********

 FCN=   4836.515     FROM HESSE     STATUS=OK           385 CALLS     3596 TOTAL
                     EDM=   .63E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     32.714        71.096        .28044E-05   -1.4563    
   2  norm          .85644        .36912        .10683E-05   -1.5523    
   3  Prefactor     .10000E-03    14.397        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.7168        19.412        .54312E-05   -1.5117    
   5  Prefactor     .76064E-01    11.379        .61841E-01   -1.5653    
   6  Prefactor     26.655        68.354        .31034E-05   -1.4675    
   7  norm          7.4409        15.209        .58809E-05   -1.5162    
   8  Prefactor     11.642        26.382        .46971E-05   -1.5025    
   9  Prefactor     .10000E-03    10.751        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.4222        .98139        .21946E-05   -1.5469    
  11  norm          .10000E-03    2.8437        .32631E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     20.672        39.903        .35211E-05   -1.4798    
  13  Prefactor     .10000E-03    12.837        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    2.0220        .19179E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     14.008        12.185        .42807E-05   -1.4959    
  16  Prefactor     .10000E-03    7.2872        .72202E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    .24702        .12297E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    46.838        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    13.289        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     5.2150        9.2391        .70405E-05   -1.5251    
  21  norm          .26317        7.0494        .73183E-04   -1.5605    
  22  Prefactor     .10000E-03    100.81        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.0981        .23839        .45145E-04   -.89813    
  24  Prefactor     .78113        .21247        .96151E-05   -1.0043    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.25961e-10
Minuit parameter uncertainties:
  1  71.2809
  2  0.369123
  3  8.10725e-05
  4  19.4262
  5  1.85982
  6  68.5553
  7  15.2172
  8  26.4084
  9  8.00998e-06
  10  0.981403
  11  3.96746e-06
  12  39.9542
  13  3.79467e-05
  14  2.52657e-06
  15  12.1876
  16  3.61921e-05
  17  5.33124e-06
  18  1.6781e-05
  19  1.70698e-05
  20  9.24165
  21  2.72393
  22  0.000612505
  23  0.238627
  24  0.212697
Done.

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

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  2.067e+01  3.995e+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.811e-01  2.127e-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.098e+00  2.386e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.34
Ra Dec: 340.957 -25.170
Photon Flux Upper Limit: 1.16e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.16e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/443402/likelihoodResults_464572801_464832001_4FGL_J2243.8-2510_daily_bin869.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) = 4836.5127275
delta logL = 0.00237073931021

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4836.50918823
delta logL = 0.00591000553686

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.703       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9958       1.0000          .0000       10.000    
     3 'Normalizat'    1.0937       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78452       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   4836.509     FROM MIGRAD    STATUS=FAILED        92 CALLS      272 TOTAL
                     EDM=   .54E-06    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.753        1198.1        .10107E-03   -.12035E-04
   2  Index         2.9941        6.6588        .12478E-01    .22166E-03
   3  Normalizat    1.0924        .29936        .22624E-03   -.46296E-03
   4  Prefactor     .78563        .27600        .23977E-03    .49809E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   4836.509     FROM SIMPLEX   STATUS=UNCHANGED     86 CALLS      358 TOTAL
                     EDM=   .10E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.753        1198.1        .47543E-03   -1.4914    
   2  Index         2.9941        6.6588        .21276E-02   -.41281    
   3  Normalizat    1.0924        .29936        .20870E-03   -.89997    
   4  Prefactor     .78563        .27600        .14191E-03   -1.0026    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4836.509     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      390 TOTAL
                     EDM=   .27E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.754        70.694        .40429E-05    .56241E-05
   2  Index         2.9940        2.9940        .24957E-02    .16718E-05
   3  Normalizat    1.0924        .23815        .45248E-04    .13065E-05
   4  Prefactor     .78561        .21499        .47953E-04    .28450E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.7536
  Index      = 2.99402
  Normalizat = 1.09241
  Prefactor  = 0.785611
 **********
 **   18 **HESSE 
 **********

 FCN=   4836.509     FROM HESSE     STATUS=OK            23 CALLS      413 TOTAL
                     EDM=   .16E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.754        60.861        .80857E-06   -1.4914    
   2  Index         2.9940        2.7738        .99827E-04   -.41282    
   3  Normalizat    1.0924        .23752        .90496E-05   -.89996    
   4  Prefactor     .78561        .21434        .95906E-05   -1.0026    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.61789e-13
Minuit parameter uncertainties:
  1  61.102
  2  2.9796
  3  0.237756
  4  0.214563
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/443402': 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) = 4836.50917155
delta logL = 0.00592669211892

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  1.575e+01  6.110e+01  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  2.994e+00  2.980e+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:  7.856e-01  2.146e-01  0.000e+00  1.000e+01 ( 1.000e+00)
527        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
528        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
525   Normalization:  1.092e+00  2.378e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.34
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/443402/cmap_HighResolution_464572801_464832001_4FGL_J2243.8-2510_daily_bin869.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.16e-03', job_status='DONE', photon_flux_upper_limit='1.16e-07', time_completed='2021-09-28 19:07:29.086460', job_id='443402', GAL2='0.79', fit_tolerance='1e-08', EG2='1.09', EG='1.10', time_epoch_completed='1632881249.09', return_code2='0', ts='0.34', comment='SUCCESS', return_code='0', GAL='0.78', dlogl='5.93e-03', ts2='0.35', photon_index_error='0.00', photon_index='2.71' WHERE bin_id='869' AND source_name='4FGL J2243.8-2510' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 19:07:29 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0048>
Subject: Job 443402: <4FGL_J2243.8-2510_daily_bin869> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.8-2510_daily_bin869 340.957 -25.1701 464572801 464832001 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 :                                   595.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             338.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   717 sec.
    Turnaround time :                            719 sec.

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

