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


Performing analysis on: 4FGL_J2243.4-2544_daily_bin1376
RA = 340.865, Dec = -25.7363
tmin = 595987201, tmax = 596246401
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='438336', job_status='RUN', time_executed='2021-09-28 18:42:10.008569', time_epoch_executed='1632879730.01' WHERE source_name='4FGL J2243.4-2544' and cadence='daily' and bin_id='1376'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/438336

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/438336/ft1_4FGL_J2243.4-2544_daily_bin1376.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/438336/ft2_4FGL_J2243.4-2544_daily_bin1376.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/438336/ft1_4FGL_J2243.4-2544_daily_bin1376.fits outfile=/scratch/kocevski/438336/ft1_filteredMKT_4FGL_J2243.4-2544_daily_bin1376.fits ra=340.865 dec=-25.7363 rad=12.0 tmin=595987201.0 tmax=596246401.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.16
user 2.96
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/438336/ft1_filtered_4FGL_J2243.4-2544_daily_bin1376.fits" evtable="EVENTS" scfile=/scratch/kocevski/438336/ft2_4FGL_J2243.4-2544_daily_bin1376.fits sctable="SC_DATA" outfile=/scratch/kocevski/438336/ltcube_595987201_596246401_4FGL_J2243.4-2544_daily_bin1376.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/438336/ft2_4FGL_J2243.4-2544_daily_bin1376.fits
.....................!
real 12.24
user 11.87
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/438336/ft1_filtered_4FGL_J2243.4-2544_daily_bin1376.fits evtable="EVENTS" scfile=/scratch/kocevski/438336/ft2_4FGL_J2243.4-2544_daily_bin1376.fits sctable="SC_DATA" expcube=/scratch/kocevski/438336/ltcube_595987201_596246401_4FGL_J2243.4-2544_daily_bin1376.fits outfile=/scratch/kocevski/438336/expmap_595987201_596246401_4FGL_J2243.4-2544_daily_bin1376.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/438336/ltcube_595987201_596246401_4FGL_J2243.4-2544_daily_bin1376.fits
.....................!
real 189.83
user 185.03
sys 4.48

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/438336/ft1_filtered_4FGL_J2243.4-2544_daily_bin1376.fits scfile=/scratch/kocevski/438336/ft2_4FGL_J2243.4-2544_daily_bin1376.fits outfile=/scratch/kocevski/438336/cmap_595987201_596246401_4FGL_J2243.4-2544_daily_bin1376.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.68
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/438336/ft1_filtered_4FGL_J2243.4-2544_daily_bin1376.fits scfile=/scratch/kocevski/438336/ft2_4FGL_J2243.4-2544_daily_bin1376.fits outfile=/scratch/kocevski/438336/cmap_HighResolution_595987201_596246401_4FGL_J2243.4-2544_daily_bin1376.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/438336/ft1_filtered_4FGL_J2243.4-2544_daily_bin1376.fits evtable="EVENTS" scfile=/scratch/kocevski/438336/ft2_4FGL_J2243.4-2544_daily_bin1376.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/438336/Model_4FGL_J2243.4-2544_daily_bin1376.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/438336/ft1_filtered_4FGL_J2243.4-2544_daily_bin1376.fits.....................!
real 45.66
user 44.37
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10208E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    1.8568       1.0000         .10000E-03   10000.    
     4 'Prefactor '    15.065       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .79561E-02   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    77.199       1.0000         .10000E-03   10000.    
     8 'norm      '    12.541       1.0000         .10000E-03   10000.    
     9 'Prefactor '    98.770       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .57451       1.0000         .10000E-03   10000.    
    13 'Prefactor '    115.05       1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.8415       1.0000         .10000E-03   10000.    
    15 'norm      '    .63373       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    7.1631       1.0000         .10000E-03   10000.    
    18 'norm      '    .29840       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .25001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    15.172       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .35517       1.0000         .10000E-03   10000.    
    22 'norm      '    14.314       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10084E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.1386       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .84147       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=   5362.234     FROM MIGRAD    STATUS=CONVERGED    584 CALLS     2962 TOTAL
                     EDM=   .88E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    15.166        .16676E-05** at limit **
   2  Prefactor     .10000E-03    28.434        .39607E-06** at limit **
   3  norm          1.8568        .49516        .50699E-08   -.12834E-03
   4  Prefactor     15.073        11.618        .14222E-06   -.30153E-04
   5  Prefactor     .10000E-03    11.737        .23527E-06** at limit **
   6  Prefactor     .10000E-03    18.657       -.10354E-05** at limit **
   7  Prefactor     77.191        63.844       -.11149E-05   -.70002E-04
   8  norm          12.547        20.502       -.14128E-05   -.92876E-04
   9  Prefactor     98.779        32.390        .51240E-06    .12570E-03
  10  Prefactor     .10000E-03    11.925        .11712E-05** at limit **
  11  norm          .10000E-03    .39593       -.28459E-07** at limit **
  12  norm          .57319        2.0688        .82024E-06   -.21329E-03
  13  Prefactor     115.08        66.309        .18847E-05    .71810E-04
  14  Prefactor     5.8389        9.0607        .26372E-05   -.18547E-03
  15  norm          .63250        3.2703        .10886E-05   -.19796E-03
  16  Prefactor     .10000E-03    5.4074       -.50263E-07** at limit **
  17  Prefactor     7.1551        15.171       -.16165E-05   -.92248E-03
  18  norm          .30005        .80372       -.26265E-07   -.25418E-02
  19  Prefactor     .10001E-03    228.82       -.10487E-04** at limit **
  20  Prefactor     15.173        13.987        .21165E-06   -.13071E-04
  21  Prefactor     .33389        15.224        .33455E-05   -.58928E-03
  22  norm          14.315        5.6417        .13716E-06    .37326E-05
  23  Prefactor     .10000E-03    12.946       -.15152E-05** at limit **
  24  Normalizat    1.1386        .21502       -.19197E-05   -.29528E-03
  25  Prefactor     .84156        .18850        .61842E-06   -.31090E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.85685
  Prefactor  = 15.0732
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 77.1907
  norm       = 12.5473
  Prefactor  = 98.7789
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.573193
  Prefactor  = 115.079
  Prefactor  = 5.83889
  norm       = 0.632497
  Prefactor  = 0.0001
  Prefactor  = 7.1551
  norm       = 0.300047
  Prefactor  = 0.000100012
  Prefactor  = 15.1732
  Prefactor  = 0.333894
  norm       = 14.3145
  Prefactor  = 0.0001
  Normalizat = 1.13857
  Prefactor  = 0.841563
 **********
 **   18 **HESSE 
 **********

 FCN=   5362.234     FROM HESSE     STATUS=OK           433 CALLS     3395 TOTAL
                     EDM=   .80E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    15.272        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    28.452        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.8568        .49634        .25843E-04   -1.5435    
   4  Prefactor     15.073        11.542        .10319E-03   -1.4931    
   5  Prefactor     .10000E-03    107.28        .47715E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    19.337        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     77.191        63.849        .45703E-04   -1.3949    
   8  norm          12.547        20.518        .11311E-03   -1.4999    
   9  Prefactor     98.779        32.490        .40449E-04   -1.3717    
  10  Prefactor     .10000E-03    12.003        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    .52536        .89340E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .57319        2.0352        .17006E-03   -1.5557    
  13  Prefactor     115.08        66.868        .18755E-03   -1.3558    
  14  Prefactor     5.8389        9.1702        .83082E-03   -1.5225    
  15  norm          .63250        3.0844        .24723E-03   -1.5549    
  16  Prefactor     .10000E-03    5.4086        .16623E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     7.1551        14.841        .14988E-03   -1.5173    
  18  norm          .30005        .62552        .72017E-03   -1.5598    
  19  Prefactor     .10001E-03    233.62        .21465E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     15.173        13.983        .10283E-03   -1.4929    
  21  Prefactor     .33389        100.48        .41044E-02   -1.5592    
  22  norm          14.315        5.6423        .10587E-03   -1.4951    
  23  Prefactor     .10000E-03    13.010        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.1386        .25626        .25795E-03   -.88523    
  25  Prefactor     .84156        .22462        .26689E-03   -.98214    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.99728e-09
Minuit parameter uncertainties:
  1  0.000159522
  2  5.38048e-05
  3  0.496337
  4  11.5438
  5  0.000467179
  6  6.99048e-05
  7  63.9055
  8  20.5298
  9  32.4958
  10  3.3173e-05
  11  5.28112e-06
  12  2.03549
  13  66.9124
  14  9.17238
  15  2.7935
  16  6.38228e-06
  17  14.8482
  18  0.625529
  19  0.00333887
  20  13.9861
  21  11.6021
  22  5.6425
  23  0.000132415
  24  0.256537
  25  0.224869
Done.

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

Extracting fit parameters...

4FGL J2243.4-2544
   Spectrum: LogParabola
252         norm:  5.732e-01  2.035e+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:  8.416e-01  2.249e-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.139e+00  2.565e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/438336/likelihoodResults_595987201_596246401_4FGL_J2243.4-2544_daily_bin1376.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) = 5362.21454683
delta logL = 0.0194478061812

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5362.21402336
delta logL = 0.0199712748845

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .62650       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6471       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1404       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84055       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5362.214     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      281 TOTAL
                     EDM=   .83E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .62966        1.7800        .17441E-02    .40673E-02
   2  alpha         1.6500        1.4784        .43184E-01   -.10743E-04
   3  Normalizat    1.1403        .23786        .25779E-03   -.49217E-04
   4  Prefactor     .84060        .21615        .26702E-03   -.44790E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.629663
  alpha      = 1.64999
  Normalizat = 1.1403
  Prefactor  = 0.840599
 **********
 **   18 **HESSE 
 **********

 FCN=   5362.214     FROM HESSE     STATUS=OK            27 CALLS      308 TOTAL
                     EDM=   .61E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .62966        1.7930        .34881E-03   -1.5549    
   2  alpha         1.6500        1.4902        .17273E-02   -.34692    
   3  Normalizat    1.1403        .23811        .10311E-04   -.88468    
   4  Prefactor     .84060        .21639        .10681E-04   -.98249    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.10943e-11
Minuit parameter uncertainties:
  1  1.79319
  2  1.61403
  3  0.238336
  4  0.216605
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/438336': 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) = 5362.21402056
delta logL = 0.0199740701455

Extracting fit parameters...

4FGL J2243.4-2544
   Spectrum: LogParabola
252         norm:  6.297e-01  1.793e+00  1.000e-04  1.000e+04 ( 1.000e-12)
253        alpha:  1.650e+00  1.614e+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:  8.406e-01  2.166e-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.140e+00  2.383e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.12
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/438336/cmap_HighResolution_595987201_596246401_4FGL_J2243.4-2544_daily_bin1376.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.09e-05', job_status='DONE', photon_flux_upper_limit='6.43e-08', time_completed='2021-09-28 18:52:30.057662', job_id='438336', GAL2='0.84', fit_tolerance='1e-08', EG2='1.14', EG='1.14', time_epoch_completed='1632880350.06', return_code2='0', ts='0.12', comment='SUCCESS', return_code='0', GAL='0.84', dlogl='2.00e-02', ts2='0.16', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='1376' AND source_name='4FGL J2243.4-2544' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 18:52:30 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0098>
Subject: Job 438336: <4FGL_J2243.4-2544_daily_bin1376> in cluster <slac> Done

Job <4FGL_J2243.4-2544_daily_bin1376> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Sep 28 18:40:41 2021
Job was executed on host(s) <bullet0098>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 18:40:42 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:40:42 2021
Terminated at Tue Sep 28 18:52:30 2021
Results reported at Tue Sep 28 18:52:30 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.4-2544_daily_bin1376 340.865 -25.7363 595987201 596246401 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 :                                   601.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             354.91 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   708 sec.
    Turnaround time :                            709 sec.

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

