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


Performing analysis on: 4FGL_J2243.4-2544_daily_bin1262
RA = 340.865, Dec = -25.7363
tmin = 566438401, tmax = 566697601
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='438171', job_status='RUN', time_executed='2021-09-28 18:41:28.163527', time_epoch_executed='1632879688.16' WHERE source_name='4FGL J2243.4-2544' and cadence='daily' and bin_id='1262'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/438171

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/438171/ft1_4FGL_J2243.4-2544_daily_bin1262.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/438171/ft2_4FGL_J2243.4-2544_daily_bin1262.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/438171/ft1_4FGL_J2243.4-2544_daily_bin1262.fits outfile=/scratch/kocevski/438171/ft1_filteredMKT_4FGL_J2243.4-2544_daily_bin1262.fits ra=340.865 dec=-25.7363 rad=12.0 tmin=566438401.0 tmax=566697601.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 2.18
user 2.01
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/438171/ft1_filtered_4FGL_J2243.4-2544_daily_bin1262.fits" evtable="EVENTS" scfile=/scratch/kocevski/438171/ft2_4FGL_J2243.4-2544_daily_bin1262.fits sctable="SC_DATA" outfile=/scratch/kocevski/438171/ltcube_566438401_566697601_4FGL_J2243.4-2544_daily_bin1262.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/438171/ft2_4FGL_J2243.4-2544_daily_bin1262.fits
.....................!
real 12.50
user 12.10
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/438171/ft1_filtered_4FGL_J2243.4-2544_daily_bin1262.fits evtable="EVENTS" scfile=/scratch/kocevski/438171/ft2_4FGL_J2243.4-2544_daily_bin1262.fits sctable="SC_DATA" expcube=/scratch/kocevski/438171/ltcube_566438401_566697601_4FGL_J2243.4-2544_daily_bin1262.fits outfile=/scratch/kocevski/438171/expmap_566438401_566697601_4FGL_J2243.4-2544_daily_bin1262.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/438171/ltcube_566438401_566697601_4FGL_J2243.4-2544_daily_bin1262.fits
.....................!
real 190.39
user 185.09
sys 4.94

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/438171/ft1_filtered_4FGL_J2243.4-2544_daily_bin1262.fits scfile=/scratch/kocevski/438171/ft2_4FGL_J2243.4-2544_daily_bin1262.fits outfile=/scratch/kocevski/438171/cmap_566438401_566697601_4FGL_J2243.4-2544_daily_bin1262.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/438171/ft1_filtered_4FGL_J2243.4-2544_daily_bin1262.fits scfile=/scratch/kocevski/438171/ft2_4FGL_J2243.4-2544_daily_bin1262.fits outfile=/scratch/kocevski/438171/cmap_HighResolution_566438401_566697601_4FGL_J2243.4-2544_daily_bin1262.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.55
user 0.36
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/438171/ft1_filtered_4FGL_J2243.4-2544_daily_bin1262.fits evtable="EVENTS" scfile=/scratch/kocevski/438171/ft2_4FGL_J2243.4-2544_daily_bin1262.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/438171/Model_4FGL_J2243.4-2544_daily_bin1262.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/438171/ft1_filtered_4FGL_J2243.4-2544_daily_bin1262.fits.....................!
real 53.50
user 51.99
sys 1.28

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10140E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    2.9619       1.0000         .10000E-03   10000.    
     4 'Prefactor '    15.877       1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.8157       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10428E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10107E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    46.222       1.0000         .10000E-03   10000.    
    10 'Prefactor '    14.376       1.0000         .10000E-03   10000.    
    11 'norm      '    3.4930       1.0000         .10000E-03   10000.    
    12 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    41.766       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .15235       1.0000         .10000E-03   10000.    
    17 'Prefactor '    31.338       1.0000         .10000E-03   10000.    
    18 'norm      '    .76713       1.0000         .10000E-03   10000.    
    19 'Prefactor '    59.297       1.0000         .10000E-03   10000.    
    20 'Prefactor '    4.6538       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .13611E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    28.776       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .73838       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0511       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=   6996.342     FROM MIGRAD    STATUS=CONVERGED    582 CALLS     2948 TOTAL
                     EDM=   .82E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9.1308        .45633E-07** at limit **
   2  Prefactor     .10000E-03    21.781        .26595E-06** at limit **
   3  norm          2.9620        .61970        .73823E-08   -.23176E-04
   4  Prefactor     15.875        10.484        .42550E-06   -.62154E-04
   5  Prefactor     6.8259        18.656       -.11714E-05   -.11591E-03
   6  Prefactor     .10000E-03    9.8218        .40485E-08** at limit **
   7  Prefactor     .10000E-03    22.048       -.17401E-06** at limit **
   8  norm          .10000E-03    7.7716        .66955E-07** at limit **
   9  Prefactor     46.225        27.472       -.25422E-06   -.58947E-04
  10  Prefactor     14.374        12.126        .67878E-06   -.17905E-03
  11  norm          3.4930        .99467       -.94885E-08   -.28561E-05
  12  norm          .10000E-03    .91152        .55440E-06** at limit **
  13  Prefactor     41.785        35.022        .22900E-05    .28661E-03
  14  Prefactor     .10000E-03    2.9848        .62971E-07** at limit **
  15  norm          .10000E-03    1.1548        .47094E-07** at limit **
  16  Prefactor     .28269        11.163        .48782E-06   -.61907E-04
  17  Prefactor     31.294        12.791       -.41709E-06   -.98350E-04
  18  norm          .76699        .74928        .71380E-07   -.35564E-03
  19  Prefactor     59.331        66.312        .55289E-05    .23512E-03
  20  Prefactor     4.6532        8.0464        .47162E-05   -.47271E-03
  21  Prefactor     .10000E-03    3.7496        .69251E-07** at limit **
  22  norm          .10000E-03    1.8049       -.46535E-06** at limit **
  23  Prefactor     28.753        35.195       -.10084E-05   -.17503E-03
  24  Normalizat    .73843        .18101       -.68144E-06   -.20549E-04
  25  Prefactor     1.0510        .16114       -.44057E-06   -.22030E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.962
  Prefactor  = 15.875
  Prefactor  = 6.8259
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 46.2248
  Prefactor  = 14.3742
  norm       = 3.49302
  norm       = 0.0001
  Prefactor  = 41.7848
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.282685
  Prefactor  = 31.2936
  norm       = 0.766987
  Prefactor  = 59.331
  Prefactor  = 4.65323
  Prefactor  = 0.0001
  norm       = 0.000100003
  Prefactor  = 28.7531
  Normalizat = 0.738429
  Prefactor  = 1.05103
 **********
 **   18 **HESSE 
 **********

 FCN=   6996.342     FROM HESSE     STATUS=OK           427 CALLS     3375 TOTAL
                     EDM=   .59E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9.1321        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    21.788        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.9620        .62041        .29271E-04   -1.5364    
   4  Prefactor     15.875        10.480        .50259E-03   -1.4911    
   5  Prefactor     6.8259        18.719        .15369E-03   -1.5185    
   6  Prefactor     .10000E-03    9.9884        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    22.065        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    7.7879        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     46.225        27.526        .58975E-04   -1.4347    
  10  Prefactor     14.374        12.230        .52819E-03   -1.4950    
  11  norm          3.4930        .99467        .10817E-03   -1.5334    
  12  norm          .10000E-03    .91031        .77192E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     41.785        35.608        .62028E-04   -1.4414    
  14  Prefactor     .10000E-03    2.9892        .14112E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    1.1570        .87712E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .28269        117.77        .45163E-02   -1.5602    
  17  Prefactor     31.294        13.076        .71575E-04   -1.4589    
  18  norm          .76699        .71052        .53810E-04   -1.5533    
  19  Prefactor     59.331        68.221        .52101E-04   -1.4166    
  20  Prefactor     4.6532        8.2499        .93279E-03   -1.5277    
  21  Prefactor     .10000E-03    3.7662        .15808E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    3.7130        .21108E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     28.753        34.984        .74685E-04   -1.4635    
  24  Normalizat    .73843        .21521        .29047E-03   -1.0239    
  25  Prefactor     1.0510        .19134        .23138E-03   -.91047    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.94305e-08
Minuit parameter uncertainties:
  1  6.54787e-06
  2  4.8475e-05
  3  0.62041
  4  10.4811
  5  18.7349
  6  1.11217e-05
  7  2.60727e-05
  8  4.40141e-06
  9  27.5331
  10  12.2324
  11  0.994677
  12  1.38384e-05
  13  35.6264
  14  2.5799e-07
  15  4.04686e-07
  16  11.5606
  17  13.0777
  18  0.71053
  19  68.3107
  20  8.25196
  21  3.42403e-06
  22  0.000210121
  23  35.0088
  24  0.215462
  25  0.191465
Done.

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

Extracting fit parameters...

4FGL J2243.4-2544
   Spectrum: LogParabola
252         norm:  1.000e-04  1.384e-05  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.051e+00  1.915e-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:  7.384e-01  2.155e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/438171/likelihoodResults_566438401_566697601_4FGL_J2243.4-2544_daily_bin1262.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) = 6996.16617563
delta logL = 0.175616560613

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6996.16334426
delta logL = 0.178447928866

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .98012E-02   1.0000         .10000E-03   10000.    
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    .70592       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0697       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=   6996.163     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      314 TOTAL
                     EDM=   .95E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .97982E-02    .19490E-01    .13200E-03    .48842E-01
   2  alpha         5.0000        3.8913        .50000    ** at limit **
   3  Normalizat    .70596        .20617        .29615E-03   -.67755E-04
   4  Prefactor     1.0697        .18936        .22947E-03   -.98590E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.00979823
  alpha      = 5
  Normalizat = 0.705959
  Prefactor  = 1.06971
 **********
 **   18 **HESSE 
 **********

 FCN=   6996.163     FROM HESSE     STATUS=OK            31 CALLS      345 TOTAL
                     EDM=   .24E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .97982E-02    .18674E-01    .26401E-04   -1.5688    
   2  alpha         5.0000        3.8073        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .70596        .20667        .11846E-04   -1.0366    
   4  Prefactor     1.0697        .18967        .91789E-05   -.90441    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.3971e-11
Minuit parameter uncertainties:
  1  0.018674
  2  1.73905e-07
  3  0.206895
  4  0.189787
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/438171': 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) = 6996.16334377
delta logL = 0.178448419608

Extracting fit parameters...

4FGL J2243.4-2544
   Spectrum: LogParabola
252         norm:  9.798e-03  1.867e-02  1.000e-04  1.000e+04 ( 1.000e-12)
253        alpha:  5.000e+00  1.739e-07  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.070e+00  1.898e-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:  7.060e-01  2.069e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/438171/cmap_HighResolution_566438401_566697601_4FGL_J2243.4-2544_daily_bin1262.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.40e-05', job_status='DONE', photon_flux_upper_limit='3.77e-08', time_completed='2021-09-28 18:53:17.253358', job_id='438171', GAL2='1.07', fit_tolerance='1e-08', EG2='0.71', EG='0.74', time_epoch_completed='1632880397.25', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='1.78e-01', ts2='0.38', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='1262' AND source_name='4FGL J2243.4-2544' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 18:53:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0057>
Subject: Job 438171: <4FGL_J2243.4-2544_daily_bin1262> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.4-2544_daily_bin1262 340.865 -25.7363 566438401 566697601 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 :                                   695.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             312.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   767 sec.
    Turnaround time :                            770 sec.

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

