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


Performing analysis on: 4FGL_J2243.4-2544_daily_bin510
RA = 340.865, Dec = -25.7363
tmin = 371520001, tmax = 371779201
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='434205', job_status='RUN', time_executed='2021-09-28 18:30:21.003091', time_epoch_executed='1632879021.0' WHERE source_name='4FGL J2243.4-2544' and cadence='daily' and bin_id='510'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/434205

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/434205/ft1_4FGL_J2243.4-2544_daily_bin510.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/434205/ft2_4FGL_J2243.4-2544_daily_bin510.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/434205/ft1_4FGL_J2243.4-2544_daily_bin510.fits outfile=/scratch/kocevski/434205/ft1_filteredMKT_4FGL_J2243.4-2544_daily_bin510.fits ra=340.865 dec=-25.7363 rad=12.0 tmin=371520001.0 tmax=371779201.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 4.43
user 4.20
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/434205/ft1_filtered_4FGL_J2243.4-2544_daily_bin510.fits" evtable="EVENTS" scfile=/scratch/kocevski/434205/ft2_4FGL_J2243.4-2544_daily_bin510.fits sctable="SC_DATA" outfile=/scratch/kocevski/434205/ltcube_371520001_371779201_4FGL_J2243.4-2544_daily_bin510.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/434205/ft2_4FGL_J2243.4-2544_daily_bin510.fits
.....................!
real 12.05
user 11.65
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/434205/ft1_filtered_4FGL_J2243.4-2544_daily_bin510.fits evtable="EVENTS" scfile=/scratch/kocevski/434205/ft2_4FGL_J2243.4-2544_daily_bin510.fits sctable="SC_DATA" expcube=/scratch/kocevski/434205/ltcube_371520001_371779201_4FGL_J2243.4-2544_daily_bin510.fits outfile=/scratch/kocevski/434205/expmap_371520001_371779201_4FGL_J2243.4-2544_daily_bin510.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/434205/ltcube_371520001_371779201_4FGL_J2243.4-2544_daily_bin510.fits
.....................!
real 190.24
user 184.85
sys 5.01

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/434205/ft1_filtered_4FGL_J2243.4-2544_daily_bin510.fits scfile=/scratch/kocevski/434205/ft2_4FGL_J2243.4-2544_daily_bin510.fits outfile=/scratch/kocevski/434205/cmap_371520001_371779201_4FGL_J2243.4-2544_daily_bin510.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/434205/ft1_filtered_4FGL_J2243.4-2544_daily_bin510.fits scfile=/scratch/kocevski/434205/ft2_4FGL_J2243.4-2544_daily_bin510.fits outfile=/scratch/kocevski/434205/cmap_HighResolution_371520001_371779201_4FGL_J2243.4-2544_daily_bin510.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/434205/ft1_filtered_4FGL_J2243.4-2544_daily_bin510.fits evtable="EVENTS" scfile=/scratch/kocevski/434205/ft2_4FGL_J2243.4-2544_daily_bin510.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/434205/Model_4FGL_J2243.4-2544_daily_bin510.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/434205/ft1_filtered_4FGL_J2243.4-2544_daily_bin510.fits.....................!
real 36.87
user 35.60
sys 1.14

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10164E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .28420E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .92630       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .19826E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    19.158       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .16740E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10893E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .21289E-02   1.0000         .10000E-03   10000.    
     9 'Prefactor '    21.532       1.0000         .10000E-03   10000.    
    10 'Prefactor '    26.021       1.0000         .10000E-03   10000.    
    11 'norm      '    2.0122       1.0000         .10000E-03   10000.    
    12 'norm      '    1.8396       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .66668E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    15.457       1.0000         .10000E-03   10000.    
    15 'norm      '    5.9600       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .98810E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    18.786       1.0000         .10000E-03   10000.    
    18 'norm      '    .10447E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .13358E-02   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .30568E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    2.9017       1.0000         .10000E-03   10000.    
    22 'norm      '    .10030E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .74964E-02   1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.3181       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .69676       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=   3792.736     FROM MIGRAD    STATUS=CONVERGED    608 CALLS     2517 TOTAL
                     EDM=   .37E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    14.268        .44100E-05** at limit **
   2  Prefactor     .10000E-03    33.199        .59157E-05** at limit **
   3  norm          .92597        .49107        .52276E-07   -.22500E-03
   4  Prefactor     .10000E-03    8.7520        .20505E-07** at limit **
   5  Prefactor     19.293        23.753        .31050E-06   -.30036E-04
   6  Prefactor     .10000E-03    4.3735       -.32576E-07** at limit **
   7  Prefactor     .10000E-03    25.538       -.20976E-05** at limit **
   8  norm          .10000E-03    15.417        .16143E-05** at limit **
   9  Prefactor     20.426        29.404       -.37617E-05   -.18606E-04
  10  Prefactor     26.092        19.624        .13325E-04    .34036E-04
  11  norm          2.0105        1.2717        .63889E-07   -.19102E-03
  12  norm          1.8342        2.3738       -.34860E-06   -.56829E-04
  13  Prefactor     .10000E-03    105.17       -.17967E-04** at limit **
  14  Prefactor     15.250        23.049        .88174E-05   -.51620E-04
  15  norm          6.0544        6.3242        .97039E-06   -.13348E-04
  16  Prefactor     .10000E-03    18.235       -.20709E-04** at limit **
  17  Prefactor     18.870        20.766       -.65196E-05   -.25281E-03
  18  norm          .10000E-03    .79311        .49596E-06** at limit **
  19  Prefactor     .10000E-03    35.261       -.58890E-05** at limit **
  20  Prefactor     .10000E-03    4.1383       -.19409E-07** at limit **
  21  Prefactor     2.5745        27.282        .14807E-04   -.28386E-04
  22  norm          .10000E-03    1.7229        .29577E-07** at limit **
  23  Prefactor     .10000E-03    51.291        .88172E-05** at limit **
  24  Normalizat    1.3197        .26515       -.42316E-05    .37224E-04
  25  Prefactor     .69621        .21510       -.26076E-06   -.16966E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.925965
  Prefactor  = 0.0001
  Prefactor  = 19.2934
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 20.4263
  Prefactor  = 26.092
  norm       = 2.01051
  norm       = 1.83417
  Prefactor  = 0.000100004
  Prefactor  = 15.2498
  norm       = 6.05442
  Prefactor  = 0.0001
  Prefactor  = 18.8697
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.57449
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.31967
  Prefactor  = 0.696208
 **********
 **   18 **HESSE 
 **********

 FCN=   3792.736     FROM HESSE     STATUS=OK           427 CALLS     2944 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    14.270        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    33.206        .21412E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .92597        .49099        .30404E-04   -1.5516    
   4  Prefactor     .10000E-03    8.7986        .17790E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     19.293        23.777        .91506E-04   -1.4829    
   6  Prefactor     .10000E-03    4.3784        .12578E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    25.541        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    15.445        .20172E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     20.426        29.420        .86318E-04   -1.4804    
  10  Prefactor     26.092        19.668        .78531E-04   -1.4686    
  11  norm          2.0105        1.2689        .53385E-04   -1.5424    
  12  norm          1.8342        2.3520        .10396E-03   -1.5437    
  13  Prefactor     .10000E-03    106.04        .21007E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     15.250        23.432        .10187E-03   -1.4927    
  15  norm          6.0544        6.3070        .13957E-03   -1.5216    
  16  Prefactor     .10000E-03    18.130        .20770E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     18.870        19.458        .92408E-04   -1.4839    
  18  norm          .10000E-03    2.0565        .95133E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    35.266        .20560E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    4.1422        .12236E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     2.5745        25.619        .23854E-03   -1.5387    
  22  norm          .10000E-03    1.7307        .78940E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    51.429        .18587E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.3197        .33401        .24197E-03   -.82981    
  25  Prefactor     .69621        .26819        .27773E-03   -1.0368    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.0655e-09
Minuit parameter uncertainties:
  1  6.15355e-06
  2  1.46674e-05
  3  0.490992
  4  1.69898e-05
  5  23.7884
  6  5.4509e-06
  7  2.56313e-06
  8  1.88941e-05
  9  29.4413
  10  19.6728
  11  1.2689
  12  2.35214
  13  0.001317
  14  23.4463
  15  6.30773
  16  8.51929e-05
  17  19.4641
  18  7.4191e-05
  19  9.12222e-06
  20  3.64319e-06
  21  16.2512
  22  3.99985e-06
  23  8.83781e-05
  24  0.334562
  25  0.268685
Done.

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

Extracting fit parameters...

4FGL J2243.4-2544
   Spectrum: LogParabola
252         norm:  1.834e+00  2.352e+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:  6.962e-01  2.687e-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.320e+00  3.346e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.16
Ra Dec: 340.865 -25.736
Photon Index (Fixed Index): 2.00 +/- 0.00
Photon Flux (Fixed Index): 1.77e-08 +/- 2.28e-08
Energy Flux (Fixed Index): 1.13e-05 +/- 1.45e-05

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

Saving results to:
/scratch/kocevski/434205/likelihoodResults_371520001_371779201_4FGL_J2243.4-2544_daily_bin510.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) = 3792.73263601
delta logL = 0.00352501370435

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3792.73252948
delta logL = 0.00363154735942

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.8252       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1144       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3168       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .69734       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=   3792.733     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      229 TOTAL
                     EDM=   .42E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.8201        95.271        .77252E-02    .13731E-03
   2  alpha         2.1095        3.8289        .41788        .11523E-04
   3  Normalizat    1.3170        .11584        .54764E-01    .13127E-05
   4  Prefactor     .69730        .77239E-01    .62733E-01    .11532E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.82012
  alpha      = 2.10954
  Normalizat = 1.31697
  Prefactor  = 0.697302
 **********
 **   18 **HESSE 
 **********

 FCN=   3792.733     FROM HESSE     STATUS=OK            33 CALLS      262 TOTAL
                     EDM=   .69E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.8201        2.3358        .10173E-03   -1.5438    
   2  alpha         2.1095        1.2383        .21353E-01   -.15683    
   3  Normalizat    1.3170        .29655        .24215E-03   -.83061    
   4  Prefactor     .69730        .25522        .27751E-03   -1.0363    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.87055e-10
Minuit parameter uncertainties:
  1  2.33592
  2  1.29715
  3  0.296937
  4  0.255648
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/434205': 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) = 3792.7325181
delta logL = 0.00364292997619

Extracting fit parameters...

4FGL J2243.4-2544
   Spectrum: LogParabola
252         norm:  1.820e+00  2.336e+00  1.000e-04  1.000e+04 ( 1.000e-12)
253        alpha:  2.110e+00  1.297e+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:  6.973e-01  2.556e-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.317e+00  2.969e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.17
Ra Dec: 340.865 -25.736
Photon Index (Free Index): 2.11 +/- 1.30
Photon Flux (Free Index): 2.05e-08 +/- 4.08e-08
Energy Flux (Free Index): 1.10e-05 +/- 1.43e-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/434205/cmap_HighResolution_371520001_371779201_4FGL_J2243.4-2544_daily_bin510.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.48e-05', comment='SUCCESS', photon_flux='1.77e-08', energy_flux2='1.10e-05', photon_flux_error='2.28e-08', dlogl='3.64e-03', energy_flux='1.13e-05', photon_flux2='2.05e-08', job_status='DONE', time_completed='2021-09-28 18:38:45.667942', photon_index_error2='1.30', photon_index2='2.11', ts='1.16', fit_tolerance='1e-08', GAL='0.70', photon_index_error='0.00', photon_flux_upper_limit='8.62e-08', energy_flux_error2='1.43e-05', EG='1.32', time_epoch_completed='1632879525.67', return_code='0', job_id='434205', GAL2='0.70', EG2='1.32', return_code2='0', energy_flux_error='1.45e-05', photon_flux_error2='4.08e-08', ts2='1.17', photon_index='2.00' WHERE bin_id='510' AND source_name='4FGL J2243.4-2544' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 18:38:45 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0085>
Subject: Job 434205: <4FGL_J2243.4-2544_daily_bin510> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.4-2544_daily_bin510 340.865 -25.7363 371520001 371779201 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 :                                   504.24 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             232.87 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   739 sec.
    Turnaround time :                            742 sec.

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

