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


Performing analysis on: 4FGL_J2243.4-2544_daily_bin430
RA = 340.865, Dec = -25.7363
tmin = 350784001, tmax = 351043201
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='434078', job_status='RUN', time_executed='2021-09-28 18:29:29.422784', time_epoch_executed='1632878969.42' WHERE source_name='4FGL J2243.4-2544' and cadence='daily' and bin_id='430'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/434078

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/434078/ft1_4FGL_J2243.4-2544_daily_bin430.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/434078/ft2_4FGL_J2243.4-2544_daily_bin430.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/434078/ft1_4FGL_J2243.4-2544_daily_bin430.fits outfile=/scratch/kocevski/434078/ft1_filteredMKT_4FGL_J2243.4-2544_daily_bin430.fits ra=340.865 dec=-25.7363 rad=12.0 tmin=350784001.0 tmax=351043201.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.35
user 3.15
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/434078/ft2_4FGL_J2243.4-2544_daily_bin430.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/434078/ft1_filteredMKT_4FGL_J2243.4-2544_daily_bin430.fits evtable="EVENTS" outfile="/scratch/kocevski/434078/ft1_filtered_4FGL_J2243.4-2544_daily_bin430.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.49
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/434078/ft1_filtered_4FGL_J2243.4-2544_daily_bin430.fits" evtable="EVENTS" scfile=/scratch/kocevski/434078/ft2_4FGL_J2243.4-2544_daily_bin430.fits sctable="SC_DATA" outfile=/scratch/kocevski/434078/ltcube_350784001_351043201_4FGL_J2243.4-2544_daily_bin430.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/434078/ft2_4FGL_J2243.4-2544_daily_bin430.fits
.....................!
real 11.62
user 11.26
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/434078/ft1_filtered_4FGL_J2243.4-2544_daily_bin430.fits evtable="EVENTS" scfile=/scratch/kocevski/434078/ft2_4FGL_J2243.4-2544_daily_bin430.fits sctable="SC_DATA" expcube=/scratch/kocevski/434078/ltcube_350784001_351043201_4FGL_J2243.4-2544_daily_bin430.fits outfile=/scratch/kocevski/434078/expmap_350784001_351043201_4FGL_J2243.4-2544_daily_bin430.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/434078/ltcube_350784001_351043201_4FGL_J2243.4-2544_daily_bin430.fits
.....................!
real 190.12
user 185.26
sys 4.55

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/434078/ft1_filtered_4FGL_J2243.4-2544_daily_bin430.fits scfile=/scratch/kocevski/434078/ft2_4FGL_J2243.4-2544_daily_bin430.fits outfile=/scratch/kocevski/434078/cmap_350784001_351043201_4FGL_J2243.4-2544_daily_bin430.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/434078/ft1_filtered_4FGL_J2243.4-2544_daily_bin430.fits scfile=/scratch/kocevski/434078/ft2_4FGL_J2243.4-2544_daily_bin430.fits outfile=/scratch/kocevski/434078/cmap_HighResolution_350784001_351043201_4FGL_J2243.4-2544_daily_bin430.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/434078/ft1_filtered_4FGL_J2243.4-2544_daily_bin430.fits evtable="EVENTS" scfile=/scratch/kocevski/434078/ft2_4FGL_J2243.4-2544_daily_bin430.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/434078/Model_4FGL_J2243.4-2544_daily_bin430.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/434078/ft1_filtered_4FGL_J2243.4-2544_daily_bin430.fits.....................!
real 64.78
user 63.50
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.643       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    1.2661       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .11501E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.5870       1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.6249       1.0000         .10000E-03   10000.    
     7 'Prefactor '    47.281       1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    1.1333       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    10.176       1.0000         .10000E-03   10000.    
    15 'norm      '    19.912       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    10.358       1.0000         .10000E-03   10000.    
    18 'norm      '    5.1121       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.6485       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    2.5200       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .56682       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.2522       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=   8750.052     FROM MIGRAD    STATUS=CONVERGED    560 CALLS     2870 TOTAL
                     EDM=   .55E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.643        14.019        .17245E-07   -.36651E-04
   2  Prefactor     .10000E-03    16.514        .90440E-06** at limit **
   3  norm          1.2661        .33588        .28316E-08   -.29724E-03
   4  Prefactor     .10006E-03    6.2732        .36388E-05** at limit **
   5  Prefactor     3.5869        6.6726        .26386E-05    .33312E-03
   6  Prefactor     3.6257        5.9748        .17875E-06   -.80633E-04
   7  Prefactor     47.273        51.416        .21060E-05    .32544E-04
   8  norm          .10000E-03    5.4006        .54511E-08** at limit **
   9  Prefactor     .10000E-03    15.336        .26539E-05** at limit **
  10  Prefactor     .10000E-03    2.6643       -.35709E-07** at limit **
  11  norm          .10000E-03    .21146       -.90892E-07** at limit **
  12  norm          1.1324        1.3674       -.52514E-07   -.20664E-03
  13  Prefactor     .10000E-03    31.937        .16990E-05** at limit **
  14  Prefactor     10.177        8.5099        .41958E-06    .11746E-03
  15  norm          19.912        5.4410       -.16508E-06    .17214E-03
  16  Prefactor     .10000E-03    4.6876        .13234E-07** at limit **
  17  Prefactor     10.357        12.030        .23150E-05    .59035E-03
  18  norm          5.1120        1.0727       -.13509E-06    .20765E-02
  19  Prefactor     .10000E-03    11.509       -.16031E-05** at limit **
  20  Prefactor     3.6485        4.4367        .25035E-06    .36792E-04
  21  Prefactor     .10000E-03    17.732       -.14151E-05** at limit **
  22  norm          2.5201        1.9872        .23322E-07   -.26573E-04
  23  Prefactor     .10000E-03    12.196        .14927E-05** at limit **
  24  Normalizat    .56672        .15559       -.16154E-05   -.14195E-03
  25  Prefactor     1.2523        .14565        .47897E-06   -.19758E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.6429
  Prefactor  = 0.0001
  norm       = 1.26614
  Prefactor  = 0.000100057
  Prefactor  = 3.58687
  Prefactor  = 3.62567
  Prefactor  = 47.2732
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 1.1324
  Prefactor  = 0.0001
  Prefactor  = 10.1765
  norm       = 19.9122
  Prefactor  = 0.0001
  Prefactor  = 10.357
  norm       = 5.11201
  Prefactor  = 0.0001
  Prefactor  = 3.64847
  Prefactor  = 0.0001
  norm       = 2.52005
  Prefactor  = 0.0001
  Normalizat = 0.566718
  Prefactor  = 1.2523
 **********
 **   18 **HESSE 
 **********

 FCN=   8750.052     FROM HESSE     STATUS=OK           423 CALLS     3293 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.643        14.015        .11265E-03   -1.4997    
   2  Prefactor     .10000E-03    16.523        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.2661        .33667        .27102E-04   -1.5483    
   4  Prefactor     .10006E-03    17.979        .32896E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.5869        6.9182        .10668E-02   -1.5329    
   6  Prefactor     3.6257        5.9710        .21220E-03   -1.5327    
   7  Prefactor     47.273        51.565        .58314E-04   -1.4332    
   8  norm          .10000E-03    5.4081        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    15.396        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    2.6730        .14909E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    .21860        .84013E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.1324        1.3381        .11627E-03   -1.5495    
  13  Prefactor     .10000E-03    32.118        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     10.177        8.5236        .62805E-03   -1.5070    
  15  norm          19.912        5.4383        .89757E-04   -1.4815    
  16  Prefactor     .10000E-03    4.6915        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     10.357        12.443        .62248E-03   -1.5064    
  18  norm          5.1120        1.0967        .33082E-04   -1.5256    
  19  Prefactor     .10000E-03    11.515        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     3.6485        4.4343        .21149E-03   -1.5326    
  21  Prefactor     .10000E-03    18.090        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          2.5201        1.9808        .11392E-03   -1.5390    
  23  Prefactor     .10000E-03    12.221        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .56672        .18329        .31861E-03   -1.0942    
  25  Prefactor     1.2523        .17349        .21617E-03   -.84737    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.74387e-09
Minuit parameter uncertainties:
  1  14.0184
  2  2.53076e-05
  3  0.336668
  4  0.00202519
  5  6.91974
  6  5.97198
  7  51.6137
  8  4.03605e-07
  9  4.97595e-05
  10  1.16329e-06
  11  2.26757e-06
  12  1.33816
  13  6.33833e-05
  14  8.52462
  15  5.43845
  16  4.29764e-07
  17  12.446
  18  1.09675
  19  4.11571e-05
  20  4.43466
  21  2.39402e-05
  22  1.98086
  23  3.88041e-05
  24  0.18349
  25  0.173567
Done.

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

Extracting fit parameters...

4FGL J2243.4-2544
   Spectrum: LogParabola
252         norm:  1.132e+00  1.338e+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.252e+00  1.736e-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:  5.667e-01  1.835e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.30
Ra Dec: 340.865 -25.736
Photon Index (Fixed Index): 2.00 +/- 0.00
Photon Flux (Fixed Index): 1.10e-08 +/- 1.29e-08
Energy Flux (Fixed Index): 6.97e-06 +/- 8.24e-06

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

Saving results to:
/scratch/kocevski/434078/likelihoodResults_350784001_351043201_4FGL_J2243.4-2544_daily_bin430.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) = 8749.87883226
delta logL = 0.173342067457

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8749.8734529
delta logL = 0.178721426315

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .68980       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.7660       1.0000          .0000       5.0000    
     3 'Normalizat'    .55287       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2601       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=   8749.873     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      282 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .68982        2.5083        .82126E-03   -.20678E-02
   2  alpha         2.7662        3.6397        .17120E-01   -.94527E-04
   3  Normalizat    .55286        .17838        .32221E-03   -.87221E-04
   4  Prefactor     1.2601        .17205        .21552E-03   -.15703E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.689817
  alpha      = 2.76615
  Normalizat = 0.552861
  Prefactor  = 1.26011
 **********
 **   18 **HESSE 
 **********

 FCN=   8749.873     FROM HESSE     STATUS=OK            27 CALLS      309 TOTAL
                     EDM=   .98E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .68982        1.1949        .32850E-04   -1.5542    
   2  alpha         2.7662        1.1844        .68480E-03    .10666    
   3  Normalizat    .55286        .17427        .12888E-04   -1.1002    
   4  Prefactor     1.2601        .16972        .43104E-04   -.84501    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.76123e-10
Minuit parameter uncertainties:
  1  1.19494
  2  1.23456
  3  0.174443
  4  0.169798
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/434078': 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) = 8749.87345288
delta logL = 0.178721447011

Extracting fit parameters...

4FGL J2243.4-2544
   Spectrum: LogParabola
252         norm:  6.898e-01  1.195e+00  1.000e-04  1.000e+04 ( 1.000e-12)
253        alpha:  2.766e+00  1.235e+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:  1.260e+00  1.698e-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:  5.529e-01  1.744e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.66
Ra Dec: 340.865 -25.736
Photon Index (Free Index): 2.77 +/- 1.23
Photon Flux (Free Index): 2.25e-08 +/- 2.86e-08
Energy Flux (Free Index): 6.01e-06 +/- 6.01e-06

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/434078/cmap_HighResolution_350784001_351043201_4FGL_J2243.4-2544_daily_bin430.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.92e-05', comment='SUCCESS', photon_flux='1.10e-08', energy_flux2='6.01e-06', photon_flux_error='1.29e-08', dlogl='1.79e-01', energy_flux='6.97e-06', photon_flux2='2.25e-08', job_status='DONE', time_completed='2021-09-28 18:42:43.901043', photon_index_error2='1.23', photon_index2='2.77', ts='1.30', fit_tolerance='1e-08', GAL='1.25', photon_index_error='0.00', photon_flux_upper_limit='4.59e-08', energy_flux_error2='6.01e-06', EG='0.57', time_epoch_completed='1632879763.9', return_code='0', job_id='434078', GAL2='1.26', EG2='0.55', return_code2='0', energy_flux_error='8.24e-06', photon_flux_error2='2.86e-08', ts2='1.66', photon_index='2.00' WHERE bin_id='430' AND source_name='4FGL J2243.4-2544' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 18:42:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0078>
Subject: Job 434078: <4FGL_J2243.4-2544_daily_bin430> in cluster <slac> Done

Job <4FGL_J2243.4-2544_daily_bin430> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep 28 18:26:11 2021
Job was executed on host(s) <bullet0078>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 18:26:13 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:26:13 2021
Terminated at Tue Sep 28 18:42:44 2021
Results reported at Tue Sep 28 18:42:44 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.4-2544_daily_bin430 340.865 -25.7363 350784001 351043201 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 :                                   793.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             245.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   991 sec.
    Turnaround time :                            993 sec.

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

