/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 141 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 = 7498
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2243.4-2544_daily_bin160
RA = 340.865, Dec = -25.7363
tmin = 280800001, tmax = 281059201
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='433644', job_status='RUN', time_executed='2021-09-28 18:28:03.595852', time_epoch_executed='1632878883.6' WHERE source_name='4FGL J2243.4-2544' and cadence='daily' and bin_id='160'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/433644

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/433644/ft1_4FGL_J2243.4-2544_daily_bin160.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/433644/ft2_4FGL_J2243.4-2544_daily_bin160.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/433644/ft1_4FGL_J2243.4-2544_daily_bin160.fits outfile=/scratch/kocevski/433644/ft1_filteredMKT_4FGL_J2243.4-2544_daily_bin160.fits ra=340.865 dec=-25.7363 rad=12.0 tmin=280800001.0 tmax=281059201.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.81
user 3.57
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/433644/ft1_filtered_4FGL_J2243.4-2544_daily_bin160.fits" evtable="EVENTS" scfile=/scratch/kocevski/433644/ft2_4FGL_J2243.4-2544_daily_bin160.fits sctable="SC_DATA" outfile=/scratch/kocevski/433644/ltcube_280800001_281059201_4FGL_J2243.4-2544_daily_bin160.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/433644/ft2_4FGL_J2243.4-2544_daily_bin160.fits
.....................!
real 11.67
user 11.35
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/433644/ft1_filtered_4FGL_J2243.4-2544_daily_bin160.fits evtable="EVENTS" scfile=/scratch/kocevski/433644/ft2_4FGL_J2243.4-2544_daily_bin160.fits sctable="SC_DATA" expcube=/scratch/kocevski/433644/ltcube_280800001_281059201_4FGL_J2243.4-2544_daily_bin160.fits outfile=/scratch/kocevski/433644/expmap_280800001_281059201_4FGL_J2243.4-2544_daily_bin160.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/433644/ltcube_280800001_281059201_4FGL_J2243.4-2544_daily_bin160.fits
.....................!
real 191.13
user 185.59
sys 5.18

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/433644/ft1_filtered_4FGL_J2243.4-2544_daily_bin160.fits scfile=/scratch/kocevski/433644/ft2_4FGL_J2243.4-2544_daily_bin160.fits outfile=/scratch/kocevski/433644/cmap_280800001_281059201_4FGL_J2243.4-2544_daily_bin160.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.53
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/433644/ft1_filtered_4FGL_J2243.4-2544_daily_bin160.fits scfile=/scratch/kocevski/433644/ft2_4FGL_J2243.4-2544_daily_bin160.fits outfile=/scratch/kocevski/433644/cmap_HighResolution_280800001_281059201_4FGL_J2243.4-2544_daily_bin160.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.53
user 0.37
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/433644/ft1_filtered_4FGL_J2243.4-2544_daily_bin160.fits evtable="EVENTS" scfile=/scratch/kocevski/433644/ft2_4FGL_J2243.4-2544_daily_bin160.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/433644/Model_4FGL_J2243.4-2544_daily_bin160.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/433644/ft1_filtered_4FGL_J2243.4-2544_daily_bin160.fits.....................!
real 50.50
user 49.04
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/433644/ft1_filtered_4FGL_J2243.4-2544_daily_bin160.fits', '/scratch/kocevski/433644/ft2_4FGL_J2243.4-2544_daily_bin160.fits', expMap='/scratch/kocevski/433644/expmap_280800001_281059201_4FGL_J2243.4-2544_daily_bin160.fits', expCube='/scratch/kocevski/433644/ltcube_280800001_281059201_4FGL_J2243.4-2544_daily_bin160.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/433644/Model_4FGL_J2243.4-2544_daily_bin160.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/433644/ft1_filtered_4FGL_J2243.4-2544_daily_bin160.fits
Spacecraft file(s): /scratch/kocevski/433644/ft2_4FGL_J2243.4-2544_daily_bin160.fits
Exposure map: /scratch/kocevski/433644/expmap_280800001_281059201_4FGL_J2243.4-2544_daily_bin160.fits
Exposure cube: /scratch/kocevski/433644/ltcube_280800001_281059201_4FGL_J2243.4-2544_daily_bin160.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/433644/Model_4FGL_J2243.4-2544_daily_bin160.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) = 6320.92646866

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10425E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    236.41       1.0000         .10000E-03   10000.    
     3 'norm      '    .46322       1.0000         .10000E-03   10000.    
     4 'Prefactor '    18.121       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .61127       1.0000         .10000E-03   10000.    
     7 'Prefactor '    72.204       1.0000         .10000E-03   10000.    
     8 'norm      '    1.4321       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .16721E-01   1.0000         .10000E-03   10000.    
    10 'Prefactor '    9.3717       1.0000         .10000E-03   10000.    
    11 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    3.1523       1.0000         .10000E-03   10000.    
    13 'Prefactor '    46.208       1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.3383       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    9.4727       1.0000         .10000E-03   10000.    
    18 'norm      '    1.2903       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .92481       1.0000         .10000E-03   10000.    
    23 'Prefactor '    30.784       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .83689       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.1059       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=   6320.877     FROM MIGRAD    STATUS=CONVERGED    585 CALLS     2988 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    45.533       -.10558E-05** at limit **
   2  Prefactor     236.39        101.86        .34572E-06   -.11588E-04
   3  norm          .46321        .29201       -.71717E-08   -.23733E-04
   4  Prefactor     18.120        11.058        .88254E-07   -.22073E-05
   5  Prefactor     .10000E-03    20.212       -.24368E-07** at limit **
   6  Prefactor     .61451        5.4351        .45423E-06   -.13916E-03
   7  Prefactor     72.197        56.997        .18019E-06   -.49470E-05
   8  norm          1.4295        62.552        .41223E-05    .32255E-05
   9  Prefactor     .10026E-03    14.911        .13860E-05** at limit **
  10  Prefactor     9.3699        12.424        .35705E-06   -.19278E-04
  11  norm          .10000E-03    .24154       -.26268E-07** at limit **
  12  norm          3.1505        2.9632       -.30971E-07   -.77128E-04
  13  Prefactor     46.292        57.822       -.45069E-07    .29875E-04
  14  Prefactor     5.3395        8.6639        .40000E-06   -.28993E-04
  15  norm          .10000E-03    .96919        .57178E-07** at limit **
  16  Prefactor     .10000E-03    4.5651        .33616E-07** at limit **
  17  Prefactor     9.4738        9.7072       -.10697E-06   -.15408E-04
  18  norm          1.2901        .72714        .12544E-06    .74709E-04
  19  Prefactor     .10000E-03    26.818        .30860E-08** at limit **
  20  Prefactor     .10000E-03    8.6206       -.10829E-07** at limit **
  21  Prefactor     .10000E-03    4.1561        .63756E-07** at limit **
  22  norm          .92508        4.0990        .24041E-05    .46809E-04
  23  Prefactor     30.783        30.658       -.93198E-06   -.72951E-04
  24  Normalizat    .83669        .20697       -.23952E-05   -.17830E-03
  25  Prefactor     1.1061        .18210        .95254E-06   -.28696E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 236.393
  norm       = 0.463209
  Prefactor  = 18.1204
  Prefactor  = 0.0001
  Prefactor  = 0.614507
  Prefactor  = 72.1968
  norm       = 1.42951
  Prefactor  = 0.000100258
  Prefactor  = 9.36985
  norm       = 0.0001
  norm       = 3.15048
  Prefactor  = 46.2915
  Prefactor  = 5.33946
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.47382
  norm       = 1.29008
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.925077
  Prefactor  = 30.7827
  Normalizat = 0.836689
  Prefactor  = 1.10613
 **********
 **   18 **HESSE 
 **********

 FCN=   6320.877     FROM HESSE     STATUS=OK           441 CALLS     3429 TOTAL
                     EDM=   .38E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    45.545        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     236.39        101.62        .13164E-03   -1.2621    
   3  norm          .46321        .29401        .32802E-04   -1.5572    
   4  Prefactor     18.120        11.064        .94087E-04   -1.4856    
   5  Prefactor     .10000E-03    20.813        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .61451        38.847        .33634E-02   -1.5551    
   7  Prefactor     72.197        57.024        .47246E-04   -1.4007    
   8  norm          1.4295        63.425        .36091E-03   -1.5469    
   9  Prefactor     .10026E-03    13.453        .95019E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     9.3699        12.436        .13091E-03   -1.5096    
  11  norm          .10000E-03    .41552        .76057E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          3.1505        2.9519        .10949E-03   -1.5353    
  13  Prefactor     46.292        57.800        .58984E-04   -1.4346    
  14  Prefactor     5.3395        8.6535        .17394E-03   -1.5246    
  15  norm          .10000E-03    .96984        .76399E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    4.5659        .16580E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     9.4738        10.096        .13021E-03   -1.5092    
  18  norm          1.2901        .74554        .40824E-04   -1.5481    
  19  Prefactor     .10000E-03    26.853        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    8.7112        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    4.1643        .15810E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .92508        4.2158        .29501E-03   -1.5516    
  23  Prefactor     30.783        30.671        .72215E-04   -1.4598    
  24  Normalizat    .83669        .24098        .27579E-03   -.98722    
  25  Prefactor     1.1061        .21182        .23032E-03   -.89271    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.78945e-10
Minuit parameter uncertainties:
  1  3.55844e-05
  2  101.696
  3  0.29401
  4  11.0649
  5  1.05991e-05
  6  9.77755
  7  57.0676
  8  19.0647
  9  0.00372591
  10  12.439
  11  2.30672e-06
  12  2.95203
  13  57.8698
  14  8.65555
  15  4.02895e-08
  16  5.94298e-07
  17  10.0982
  18  0.745545
  19  7.66414e-06
  20  1.04326e-05
  21  3.84274e-07
  22  3.9499
  23  30.687
  24  0.241292
  25  0.211977
Done.

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

Extracting fit parameters...

4FGL J2243.4-2544
   Spectrum: LogParabola
252         norm:  3.150e+00  2.952e+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:  1.106e+00  2.120e-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:  8.367e-01  2.413e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.68
Ra Dec: 340.865 -25.736
Photon Index (Fixed Index): 2.00 +/- 0.00
Photon Flux (Fixed Index): 3.05e-08 +/- 2.86e-08
Energy Flux (Fixed Index): 1.94e-05 +/- 1.82e-05

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

Saving results to:
/scratch/kocevski/433644/likelihoodResults_280800001_281059201_4FGL_J2243.4-2544_daily_bin160.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) = 6320.85598154
delta logL = 0.0214419022795

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6320.8549538
delta logL = 0.0224696389296

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.2446       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8613       1.0000          .0000       5.0000    
     3 'Normalizat'    .84074       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1042       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=   6320.855     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      196 TOTAL
                     EDM=   .99E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.2451        81.861        .56214E-02    .27560E-03
   2  alpha         1.8609        2.5813        .42992        .74169E-05
   3  Normalizat    .84072        .10762        .44140E-01    .15701E-04
   4  Prefactor     1.1043        .70230E-01    .37428E-01   -.96865E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 3.24511
  alpha      = 1.86088
  Normalizat = 0.840721
  Prefactor  = 1.10429
 **********
 **   18 **HESSE 
 **********

 FCN=   6320.855     FROM HESSE     STATUS=OK            33 CALLS      229 TOTAL
                     EDM=   .41E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.2451        2.6367        .11251E-03   -1.5348    
   2  alpha         1.8609        .63985        .15784E-01   -.25852    
   3  Normalizat    .84072        .21439        .27524E-03   -.98576    
   4  Prefactor     1.1043        .20396        .23051E-03   -.89330    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.12716e-13
Minuit parameter uncertainties:
  1  2.63676
  2  0.647569
  3  0.214603
  4  0.204102
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/433644': 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) = 6320.8549535
delta logL = 0.0224699405226

Extracting fit parameters...

4FGL J2243.4-2544
   Spectrum: LogParabola
252         norm:  3.245e+00  2.637e+00  1.000e-04  1.000e+04 ( 1.000e-12)
253        alpha:  1.861e+00  6.476e-01  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:  1.104e+00  2.041e-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:  8.407e-01  2.146e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.75
Ra Dec: 340.865 -25.736
Photon Index (Free Index): 1.86 +/- 0.65
Photon Flux (Free Index): 2.64e-08 +/- 2.81e-08
Energy Flux (Free Index): 2.14e-05 +/- 2.05e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/433644/cmap_HighResolution_280800001_281059201_4FGL_J2243.4-2544_daily_bin160.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.50e-05', comment='SUCCESS', photon_flux='3.05e-08', energy_flux2='2.14e-05', photon_flux_error='2.86e-08', dlogl='2.25e-02', energy_flux='1.94e-05', photon_flux2='2.64e-08', job_status='DONE', time_completed='2021-09-28 18:39:09.029777', photon_index_error2='0.65', photon_index2='1.86', ts='2.68', fit_tolerance='1e-08', GAL='1.11', photon_index_error='0.00', photon_flux_upper_limit='8.65e-08', energy_flux_error2='2.05e-05', EG='0.84', time_epoch_completed='1632879549.03', return_code='0', job_id='433644', GAL2='1.10', EG2='0.84', return_code2='0', energy_flux_error='1.82e-05', photon_flux_error2='2.81e-08', ts2='2.75', photon_index='2.00' WHERE bin_id='160' AND source_name='4FGL J2243.4-2544' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 18:39:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0089>
Subject: Job 433644: <4FGL_J2243.4-2544_daily_bin160> in cluster <slac> Done

Job <4FGL_J2243.4-2544_daily_bin160> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep 28 18:25:32 2021
Job was executed on host(s) <bullet0089>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 18:25:34 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:25:34 2021
Terminated at Tue Sep 28 18:39:09 2021
Results reported at Tue Sep 28 18:39:09 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.4-2544_daily_bin160 340.865 -25.7363 280800001 281059201 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 :                                   663.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             303.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   815 sec.
    Turnaround time :                            817 sec.

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

