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


Performing analysis on: 4FGL_J2243.4-2544_daily_bin990
RA = 340.865, Dec = -25.7363
tmin = 495936001, tmax = 496195201
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='436698', job_status='RUN', time_executed='2021-09-28 18:38:01.216835', time_epoch_executed='1632879481.22' WHERE source_name='4FGL J2243.4-2544' and cadence='daily' and bin_id='990'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/436698

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/436698/ft1_4FGL_J2243.4-2544_daily_bin990.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/436698/ft2_4FGL_J2243.4-2544_daily_bin990.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/436698/ft1_4FGL_J2243.4-2544_daily_bin990.fits outfile=/scratch/kocevski/436698/ft1_filteredMKT_4FGL_J2243.4-2544_daily_bin990.fits ra=340.865 dec=-25.7363 rad=12.0 tmin=495936001.0 tmax=496195201.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.48
user 3.24
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/436698/ft2_4FGL_J2243.4-2544_daily_bin990.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/436698/ft2_4FGL_J2243.4-2544_daily_bin990.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/436698/ft1_filteredMKT_4FGL_J2243.4-2544_daily_bin990.fits evtable="EVENTS" outfile="/scratch/kocevski/436698/ft1_filtered_4FGL_J2243.4-2544_daily_bin990.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/436698/ft1_filtered_4FGL_J2243.4-2544_daily_bin990.fits" evtable="EVENTS" scfile=/scratch/kocevski/436698/ft2_4FGL_J2243.4-2544_daily_bin990.fits sctable="SC_DATA" outfile=/scratch/kocevski/436698/ltcube_495936001_496195201_4FGL_J2243.4-2544_daily_bin990.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/436698/ft2_4FGL_J2243.4-2544_daily_bin990.fits
.....................!
real 11.97
user 11.61
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/436698/ft1_filtered_4FGL_J2243.4-2544_daily_bin990.fits evtable="EVENTS" scfile=/scratch/kocevski/436698/ft2_4FGL_J2243.4-2544_daily_bin990.fits sctable="SC_DATA" expcube=/scratch/kocevski/436698/ltcube_495936001_496195201_4FGL_J2243.4-2544_daily_bin990.fits outfile=/scratch/kocevski/436698/expmap_495936001_496195201_4FGL_J2243.4-2544_daily_bin990.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/436698/ltcube_495936001_496195201_4FGL_J2243.4-2544_daily_bin990.fits
.....................!
real 191.88
user 186.95
sys 4.56

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 161 point sources and 0 extended sources

Setting source of interest to:
4FGL J2243.4-2544 @ 340.865 -25.7363

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/436698/ft1_filtered_4FGL_J2243.4-2544_daily_bin990.fits scfile=/scratch/kocevski/436698/ft2_4FGL_J2243.4-2544_daily_bin990.fits outfile=/scratch/kocevski/436698/cmap_495936001_496195201_4FGL_J2243.4-2544_daily_bin990.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.865 yref=-25.7363 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.52
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/436698/ft1_filtered_4FGL_J2243.4-2544_daily_bin990.fits scfile=/scratch/kocevski/436698/ft2_4FGL_J2243.4-2544_daily_bin990.fits outfile=/scratch/kocevski/436698/cmap_HighResolution_495936001_496195201_4FGL_J2243.4-2544_daily_bin990.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.865 yref=-25.7363 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/436698/ft1_filtered_4FGL_J2243.4-2544_daily_bin990.fits evtable="EVENTS" scfile=/scratch/kocevski/436698/ft2_4FGL_J2243.4-2544_daily_bin990.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/436698/Model_4FGL_J2243.4-2544_daily_bin990.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/436698/ft1_filtered_4FGL_J2243.4-2544_daily_bin990.fits.....................!
real 38.99
user 37.70
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/436698/ft1_filtered_4FGL_J2243.4-2544_daily_bin990.fits', '/scratch/kocevski/436698/ft2_4FGL_J2243.4-2544_daily_bin990.fits', expMap='/scratch/kocevski/436698/expmap_495936001_496195201_4FGL_J2243.4-2544_daily_bin990.fits', expCube='/scratch/kocevski/436698/ltcube_495936001_496195201_4FGL_J2243.4-2544_daily_bin990.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/436698/Model_4FGL_J2243.4-2544_daily_bin990.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2243.4-2544'

4FGL J2243.4-2544
   Spectrum: LogParabola
252         norm:  1.477e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
253        alpha:  1.999e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
254         beta:  1.309e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
255           Eb:  1.191e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/436698/ft1_filtered_4FGL_J2243.4-2544_daily_bin990.fits
Spacecraft file(s): /scratch/kocevski/436698/ft2_4FGL_J2243.4-2544_daily_bin990.fits
Exposure map: /scratch/kocevski/436698/expmap_495936001_496195201_4FGL_J2243.4-2544_daily_bin990.fits
Exposure cube: /scratch/kocevski/436698/ltcube_495936001_496195201_4FGL_J2243.4-2544_daily_bin990.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/436698/Model_4FGL_J2243.4-2544_daily_bin990.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) = 4222.0362213

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .23073E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    288.58       1.0000         .10000E-03   10000.    
     3 'norm      '    1.3644       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10220E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    17.489       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    11.081       1.0000         .10000E-03   10000.    
     9 'Prefactor '    30.187       1.0000         .10000E-03   10000.    
    10 'Prefactor '    6.8220       1.0000         .10000E-03   10000.    
    11 'norm      '    .10353       1.0000         .10000E-03   10000.    
    12 'norm      '    1.0776       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    20.382       1.0000         .10000E-03   10000.    
    15 'norm      '    1.7995       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .20396       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.7010       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    2.8970       1.0000         .10000E-03   10000.    
    23 'Prefactor '    16.564       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.0272       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .93645       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5200E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4222.001     FROM MIGRAD    STATUS=CONVERGED    596 CALLS     3060 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    28.534       -.68705E-06** at limit **
   2  Prefactor     288.43        139.37        .24693E-05    .27848E-04
   3  norm          1.3645        .50172       -.58363E-08   -.63981E-04
   4  Prefactor     .10000E-03    5.3105       -.13915E-06** at limit **
   5  Prefactor     17.488        28.658       -.23050E-06    .19318E-05
   6  Prefactor     .10000E-03    5.1907       -.89927E-08** at limit **
   7  Prefactor     .10000E-03    20.490        .49090E-07** at limit **
   8  norm          11.084        19.631        .34083E-06    .61622E-05
   9  Prefactor     30.177        26.150       -.11758E-06    .10101E-05
  10  Prefactor     6.7844        19.689       -.89263E-06    .60554E-05
  11  norm          .10388        1.1820        .37738E-06   -.42209E-03
  12  norm          1.0771        2.5350        .20736E-06    .76498E-04
  13  Prefactor     .10000E-03    186.87       -.20835E-05** at limit **
  14  Prefactor     20.357        17.155       -.35919E-06   -.17727E-05
  15  norm          1.7996        3.2433        .11875E-06   -.24518E-04
  16  Prefactor     .10000E-03    13.548        .65752E-06** at limit **
  17  Prefactor     .10000E-03    7.0845        .10208E-05** at limit **
  18  norm          .20381        .46591        .10946E-07   -.22918E-03
  19  Prefactor     .10000E-03    60.867        .59933E-06** at limit **
  20  Prefactor     1.7113        50.499        .36794E-05    .29650E-04
  21  Prefactor     .10000E-03    4.1167        .11866E-06** at limit **
  22  norm          2.8981        4.1276       -.62376E-06   -.10661E-03
  23  Prefactor     16.376        57.235        .90021E-05    .27245E-04
  24  Normalizat    1.0292        .28485        .48059E-05   -.48197E-04
  25  Prefactor     .93477        .24531       -.46859E-05    .36314E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 288.434
  norm       = 1.36447
  Prefactor  = 0.0001
  Prefactor  = 17.4875
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 11.0842
  Prefactor  = 30.1771
  Prefactor  = 6.78444
  norm       = 0.103877
  norm       = 1.07711
  Prefactor  = 0.0001
  Prefactor  = 20.3565
  norm       = 1.79964
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.203812
  Prefactor  = 0.0001
  Prefactor  = 1.71134
  Prefactor  = 0.0001
  norm       = 2.8981
  Prefactor  = 16.3763
  Normalizat = 1.02916
  Prefactor  = 0.934772
 **********
 **   18 **HESSE 
 **********

 FCN=   4222.001     FROM HESSE     STATUS=OK           433 CALLS     3493 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    28.593        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     288.43        140.62        .11947E-03   -1.2295    
   3  norm          1.3645        .50203        .26968E-04   -1.5474    
   4  Prefactor     .10000E-03    5.3188        .14623E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     17.488        28.651        .95771E-04   -1.4871    
   6  Prefactor     .10000E-03    5.2188        .14456E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    20.493        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          11.084        19.586        .12035E-03   -1.5042    
   9  Prefactor     30.177        26.163        .72923E-04   -1.4609    
  10  Prefactor     6.7844        19.743        .15361E-03   -1.5187    
  11  norm          .10388        2.7954        .13070E-02   -1.5644    
  12  norm          1.0771        2.4435        .14867E-03   -1.5500    
  13  Prefactor     .10000E-03    187.60        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     20.357        17.250        .88718E-04   -1.4805    
  15  norm          1.7996        3.1957        .14915E-03   -1.5440    
  16  Prefactor     .10000E-03    13.621        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    7.2388        .33596E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .20381        .46492        .19991E-03   -1.5618    
  19  Prefactor     .10000E-03    60.910        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     1.7113        53.283        .16126E-02   -1.5446    
  21  Prefactor     .10000E-03    4.1204        .12872E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          2.8981        4.1257        .14561E-03   -1.5367    
  23  Prefactor     16.376        58.934        .98409E-04   -1.4898    
  24  Normalizat    1.0292        .31276        .26448E-03   -.92060    
  25  Prefactor     .93477        .26471        .24572E-03   -.94936    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.35897e-10
Minuit parameter uncertainties:
  1  0.000113368
  2  140.787
  3  0.502027
  4  9.61679e-06
  5  28.6734
  6  5.0651e-06
  7  2.8047e-06
  8  19.5968
  9  26.173
  10  19.7619
  11  1.07728
  12  2.44373
  13  3.20983e-05
  14  17.2542
  15  3.19605
  16  3.14699e-05
  17  2.73816e-05
  18  0.464925
  19  1.37997e-05
  20  19.1164
  21  6.96145e-07
  22  4.12606
  23  59.1451
  24  0.31332
  25  0.265081
Done.

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

Extracting fit parameters...

4FGL J2243.4-2544
   Spectrum: LogParabola
252         norm:  1.077e+00  2.444e+00  1.000e-04  1.000e+04 ( 1.000e-12)
253        alpha:  1.999e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
254         beta:  1.309e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
255           Eb:  1.191e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
517    Prefactor:  9.348e-01  2.651e-01  0.000e+00  1.000e+01 ( 1.000e+00)
518        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
519        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
516   Normalization:  1.029e+00  3.133e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.26
Ra Dec: 340.865 -25.736
Photon Flux Upper Limit: 7.82e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.98e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/436698/likelihoodResults_495936001_496195201_4FGL_J2243.4-2544_daily_bin990.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) = 4221.9591725
delta logL = 0.0420671159936

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4221.95873263
delta logL = 0.042506981802

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.0177       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3446       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0249       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93541       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5200E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4221.959     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      200 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.0181        55.867        .28565E-01    .68147E-03
   2  alpha         2.3449        3.2375        .41253        .22172E-04
   3  Normalizat    1.0249        .42470E-01    .42715E-01    .52541E-05
   4  Prefactor     .93539        .38091E-01    .45455E-01    .65189E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.01813
  alpha      = 2.34494
  Normalizat = 1.02491
  Prefactor  = 0.935391
 **********
 **   18 **HESSE 
 **********

 FCN=   4221.959     FROM HESSE     STATUS=OK            35 CALLS      235 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.0181        2.3352        .13367E-02   -1.5506    
   2  alpha         2.3449        1.2056        .21165E-01   -.62062E-01
   3  Normalizat    1.0249        .27883        .26493E-03   -.92201    
   4  Prefactor     .93539        .24939        .24562E-03   -.94915    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.03647e-09
Minuit parameter uncertainties:
  1  2.33539
  2  1.2582
  3  0.279233
  4  0.249694
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/436698': 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) = 4221.9587325
delta logL = 0.0425071179152

Extracting fit parameters...

4FGL J2243.4-2544
   Spectrum: LogParabola
252         norm:  1.018e+00  2.335e+00  1.000e-04  1.000e+04 ( 1.000e-12)
253        alpha:  2.345e+00  1.258e+00  0.000e+00  5.000e+00 ( 1.000e+00)
254         beta:  1.309e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
255           Eb:  1.191e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
517    Prefactor:  9.354e-01  2.497e-01  0.000e+00  1.000e+01 ( 1.000e+00)
518        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
519        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
516   Normalization:  1.025e+00  2.792e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.26
Ra Dec: 340.865 -25.736

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/436698/cmap_HighResolution_495936001_496195201_4FGL_J2243.4-2544_daily_bin990.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.98e-05', job_status='DONE', photon_flux_upper_limit='7.82e-08', time_completed='2021-09-28 18:47:05.582232', job_id='436698', GAL2='0.94', fit_tolerance='1e-08', EG2='1.02', EG='1.03', time_epoch_completed='1632880025.58', return_code2='0', ts='0.26', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='4.25e-02', ts2='0.35', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='990' AND source_name='4FGL J2243.4-2544' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 18:47:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0031>
Subject: Job 436698: <4FGL_J2243.4-2544_daily_bin990> in cluster <slac> Done

Job <4FGL_J2243.4-2544_daily_bin990> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Sep 28 18:35:34 2021
Job was executed on host(s) <bullet0031>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 18:35:35 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:35:35 2021
Terminated at Tue Sep 28 18:47:06 2021
Results reported at Tue Sep 28 18:47:06 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.4-2544_daily_bin990 340.865 -25.7363 495936001 496195201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2243.4-2544 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   542.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             322.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   690 sec.
    Turnaround time :                            692 sec.

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

