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


Performing analysis on: 4FGL_J2243.8-2510_daily_bin594
RA = 340.957, Dec = -25.1701
tmin = 393292801, tmax = 393552001
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='441987', job_status='RUN', time_executed='2021-09-28 18:53:32.260853', time_epoch_executed='1632880412.26' WHERE source_name='4FGL J2243.8-2510' and cadence='daily' and bin_id='594'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/441987

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/441987/ft1_4FGL_J2243.8-2510_daily_bin594.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/441987/ft2_4FGL_J2243.8-2510_daily_bin594.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/441987/ft1_4FGL_J2243.8-2510_daily_bin594.fits outfile=/scratch/kocevski/441987/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin594.fits ra=340.957 dec=-25.1701 rad=12.0 tmin=393292801.0 tmax=393552001.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.68
user 4.43
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/441987/ft1_filtered_4FGL_J2243.8-2510_daily_bin594.fits" evtable="EVENTS" scfile=/scratch/kocevski/441987/ft2_4FGL_J2243.8-2510_daily_bin594.fits sctable="SC_DATA" outfile=/scratch/kocevski/441987/ltcube_393292801_393552001_4FGL_J2243.8-2510_daily_bin594.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/441987/ft2_4FGL_J2243.8-2510_daily_bin594.fits
.....................!
real 11.67
user 11.34
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/441987/ft1_filtered_4FGL_J2243.8-2510_daily_bin594.fits evtable="EVENTS" scfile=/scratch/kocevski/441987/ft2_4FGL_J2243.8-2510_daily_bin594.fits sctable="SC_DATA" expcube=/scratch/kocevski/441987/ltcube_393292801_393552001_4FGL_J2243.8-2510_daily_bin594.fits outfile=/scratch/kocevski/441987/expmap_393292801_393552001_4FGL_J2243.8-2510_daily_bin594.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/441987/ltcube_393292801_393552001_4FGL_J2243.8-2510_daily_bin594.fits
.....................!
real 190.77
user 185.78
sys 4.67

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/441987/ft1_filtered_4FGL_J2243.8-2510_daily_bin594.fits scfile=/scratch/kocevski/441987/ft2_4FGL_J2243.8-2510_daily_bin594.fits outfile=/scratch/kocevski/441987/cmap_393292801_393552001_4FGL_J2243.8-2510_daily_bin594.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/441987/ft1_filtered_4FGL_J2243.8-2510_daily_bin594.fits scfile=/scratch/kocevski/441987/ft2_4FGL_J2243.8-2510_daily_bin594.fits outfile=/scratch/kocevski/441987/cmap_HighResolution_393292801_393552001_4FGL_J2243.8-2510_daily_bin594.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.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/441987/ft1_filtered_4FGL_J2243.8-2510_daily_bin594.fits evtable="EVENTS" scfile=/scratch/kocevski/441987/ft2_4FGL_J2243.8-2510_daily_bin594.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/441987/Model_4FGL_J2243.8-2510_daily_bin594.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/441987/ft1_filtered_4FGL_J2243.8-2510_daily_bin594.fits.....................!
real 45.31
user 44.05
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .73815       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    13.564       1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.7059       1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.1079       1.0000         .10000E-03   10000.    
     7 'norm      '    .10089E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    31.261       1.0000         .10000E-03   10000.    
     9 'Prefactor '    16.642       1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    3.9369       1.0000         .10000E-03   10000.    
    12 'Prefactor '    15.039       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    7.1815       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    4.6470       1.0000         .10000E-03   10000.    
    21 'norm      '    7.7949       1.0000         .10000E-03   10000.    
    22 'Prefactor '    21.571       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.2104       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .63354       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=   5421.939     FROM MIGRAD    STATUS=CONVERGED    958 CALLS     3114 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    27.603        .18142E-02** at limit **
   2  norm          .73814        .28229        .23405E-04   -.27687E-04
   3  Prefactor     .10000E-03    5.1421        .16221E-02** at limit **
   4  Prefactor     13.564        17.910        .10876E-03    .97214E-05
   5  Prefactor     4.7060        6.4597        .92749E-03    .27739E-04
   6  Prefactor     1.0481        279.46        .84074E-02    .25216E-04
   7  norm          .10000E-03    42.556        .18142E-02** at limit **
   8  Prefactor     31.263        17.677        .71663E-04   -.61870E-05
   9  Prefactor     16.642        15.875        .98177E-04   -.23391E-04
  10  norm          .10000E-03    .23249        .68101E-04** at limit **
  11  norm          3.9365        2.6173        .83816E-04    .52845E-03
  12  Prefactor     15.068        49.057        .10328E-03    .77053E-06
  13  Prefactor     .10000E-03    7.8367        .18142E-02** at limit **
  14  norm          7.1823        4.7815        .12430E-03   -.37482E-03
  15  Prefactor     .10000E-03    6.0547        .17663E-02** at limit **
  16  Prefactor     .10000E-03    4.1455        .14555E-02** at limit **
  17  norm          .10000E-03    .41712        .67088E-03** at limit **
  18  Prefactor     .10000E-03    64.264        .18142E-02** at limit **
  19  Prefactor     .10000E-03    6.1802        .17783E-02** at limit **
  20  Prefactor     4.6472        5.0569        .16730E-03   -.12938E-03
  21  norm          7.7948        4.2547        .10594E-03   -.11161E-04
  22  Prefactor     21.575        41.091        .86241E-04   -.21092E-05
  23  Normalizat    1.2103        .21739        .21563E-03   -.10731E-03
  24  Prefactor     .63366        .18501        .25856E-03   -.48541E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.738145
  Prefactor  = 0.0001
  Prefactor  = 13.5645
  Prefactor  = 4.70597
  Prefactor  = 1.04805
  norm       = 0.0001
  Prefactor  = 31.2626
  Prefactor  = 16.6423
  norm       = 0.0001
  norm       = 3.93649
  Prefactor  = 15.0678
  Prefactor  = 0.0001
  norm       = 7.18234
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.64722
  norm       = 7.79484
  Prefactor  = 21.5747
  Normalizat = 1.21031
  Prefactor  = 0.633657
 **********
 **   18 **HESSE 
 **********

 FCN=   5421.939     FROM HESSE     STATUS=OK           377 CALLS     3491 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    27.605        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .73814        .28228        .93621E-06   -1.5536    
   3  Prefactor     .10000E-03    5.1437        .32441E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     13.564        17.907        .43504E-05   -1.4971    
   5  Prefactor     4.7060        6.4580        .37100E-04   -1.5274    
   6  Prefactor     1.0481        286.56        .33630E-03   -1.5503    
   7  norm          .10000E-03    42.572        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     31.263        17.675        .28665E-05   -1.4589    
   9  Prefactor     16.642        15.871        .39271E-05   -1.4892    
  10  norm          .10000E-03    .23249        .13620E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          3.9365        2.6170        .16763E-04   -1.5311    
  12  Prefactor     15.068        49.013        .41312E-05   -1.4931    
  13  Prefactor     .10000E-03    7.8413        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          7.1823        4.7800        .49718E-05   -1.5172    
  15  Prefactor     .10000E-03    6.0552        .35326E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    4.1462        .29109E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    .41775        .13418E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    64.266        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    6.1828        .35566E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     4.6472        5.0565        .66920E-05   -1.5277    
  21  norm          7.7948        4.2544        .42376E-05   -1.5150    
  22  Prefactor     21.575        41.079        .34496E-05   -1.4779    
  23  Normalizat    1.2103        .21756        .43126E-04   -.86285    
  24  Prefactor     .63366        .18506        .10343E-04   -1.0619    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.19978e-10
Minuit parameter uncertainties:
  1  4.17353e-06
  2  0.282285
  3  3.65467e-06
  4  17.9144
  5  6.45895
  6  34.8279
  7  0.000137502
  8  17.6776
  9  15.8753
  10  7.26172e-08
  11  2.6171
  12  49.1447
  13  4.22982e-06
  14  4.78022
  15  1.3425e-05
  16  1.4106e-06
  17  1.06056e-06
  18  7.12845e-05
  19  5.57076e-07
  20  5.05701
  21  4.25452
  22  41.1329
  23  0.217726
  24  0.185242
Done.

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

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  1.507e+01  4.914e+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:  6.337e-01  1.852e-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.210e+00  2.177e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/441987/likelihoodResults_393292801_393552001_4FGL_J2243.8-2510_daily_bin594.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) = 5421.76628827
delta logL = 0.172988231235

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5421.74925575
delta logL = 0.190020752605

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.4031       1.0000         .10000E-03   10000.    
     2 'Index     '    4.0766       1.0000          .0000       10.000    
     3 'Normalizat'    1.1788       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .65146       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   5421.749     FROM MIGRAD    STATUS=FAILED       105 CALLS      332 TOTAL
                     EDM=   .38E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.3650        501.53        .86440E-03    .24167E-03
   2  Index         4.0825        5.6831        .78484E-02    .29189E-03
   3  Normalizat    1.1775        .16906        .21804E-03    .17206E-05
   4  Prefactor     .65260        .14951        .25509E-03    .44568E-07
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   5421.749     FROM SIMPLEX   STATUS=UNCHANGED     90 CALLS      422 TOTAL
                     EDM=   .10E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.3650        501.53        .27053E-03    .24167E-03
   2  Index         4.0825        5.6831        .12089E-02    .29189E-03
   3  Normalizat    1.1775        .16906        .11231E-03    .17206E-05
   4  Prefactor     .65260        .14951        .43439E-04    .44568E-07
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5421.749     FROM MIGRAD    STATUS=CONVERGED     31 CALLS      453 TOTAL
                     EDM=   .86E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.3650        51.728        .17288E-03   -.23674E-05
   2  Index         4.0825        3.4973        .15697E-02    .11299E-04
   3  Normalizat    1.1775        .21373        .87216E-05    .18249E-05
   4  Prefactor     .65260        .18650        .10203E-04    .44568E-07
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.36498
  Index      = 4.08248
  Normalizat = 1.1775
  Prefactor  = 0.652602
 **********
 **   18 **HESSE 
 **********

 FCN=   5421.749     FROM HESSE     STATUS=OK            25 CALLS      478 TOTAL
                     EDM=   .47E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.3650        28.720        .69152E-05   -1.5245    
   2  Index         4.0825        2.7323        .31394E-03   -.18455    
   3  Normalizat    1.1775        .21391        .17443E-05   -.87301    
   4  Prefactor     .65260        .18648        .10203E-04   -1.0541    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.67194e-14
Minuit parameter uncertainties:
  1  24.8445
  2  2.89717
  3  0.214068
  4  0.186654
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/441987': 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) = 5421.74923385
delta logL = 0.190042658566

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  5.365e+00  2.484e+01  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  4.082e+00  2.897e+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:  6.526e-01  1.867e-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.178e+00  2.141e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.16
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/441987/cmap_HighResolution_393292801_393552001_4FGL_J2243.8-2510_daily_bin594.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.22e-03', job_status='DONE', photon_flux_upper_limit='1.17e-07', time_completed='2021-09-28 19:04:09.972799', job_id='441987', GAL2='0.65', fit_tolerance='1e-08', EG2='1.18', EG='1.21', time_epoch_completed='1632881049.97', return_code2='0', ts='0.16', comment='SUCCESS', return_code='0', GAL='0.63', dlogl='1.90e-01', ts2='0.61', photon_index_error='0.00', photon_index='2.71' WHERE bin_id='594' AND source_name='4FGL J2243.8-2510' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 19:04:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0286>
Subject: Job 441987: <4FGL_J2243.8-2510_daily_bin594> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.8-2510_daily_bin594 340.957 -25.1701 393292801 393552001 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 :                                   637.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             293.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   800 sec.
    Turnaround time :                            801 sec.

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

