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


Performing analysis on: 4FGL_J2243.4-2544_daily_bin723
RA = 340.865, Dec = -25.7363
tmin = 426729601, tmax = 426988801
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='435214', job_status='RUN', time_executed='2021-09-28 18:34:34.999511', time_epoch_executed='1632879275.0' WHERE source_name='4FGL J2243.4-2544' and cadence='daily' and bin_id='723'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/435214

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/435214/ft1_4FGL_J2243.4-2544_daily_bin723.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/435214/ft2_4FGL_J2243.4-2544_daily_bin723.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/435214/ft1_4FGL_J2243.4-2544_daily_bin723.fits outfile=/scratch/kocevski/435214/ft1_filteredMKT_4FGL_J2243.4-2544_daily_bin723.fits ra=340.865 dec=-25.7363 rad=12.0 tmin=426729601.0 tmax=426988801.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 5.51
user 5.25
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/435214/ft2_4FGL_J2243.4-2544_daily_bin723.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/435214/ft1_filteredMKT_4FGL_J2243.4-2544_daily_bin723.fits evtable="EVENTS" outfile="/scratch/kocevski/435214/ft1_filtered_4FGL_J2243.4-2544_daily_bin723.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/435214/ft1_filtered_4FGL_J2243.4-2544_daily_bin723.fits" evtable="EVENTS" scfile=/scratch/kocevski/435214/ft2_4FGL_J2243.4-2544_daily_bin723.fits sctable="SC_DATA" outfile=/scratch/kocevski/435214/ltcube_426729601_426988801_4FGL_J2243.4-2544_daily_bin723.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/435214/ft2_4FGL_J2243.4-2544_daily_bin723.fits
.....................!
real 11.90
user 11.56
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/435214/ft1_filtered_4FGL_J2243.4-2544_daily_bin723.fits evtable="EVENTS" scfile=/scratch/kocevski/435214/ft2_4FGL_J2243.4-2544_daily_bin723.fits sctable="SC_DATA" expcube=/scratch/kocevski/435214/ltcube_426729601_426988801_4FGL_J2243.4-2544_daily_bin723.fits outfile=/scratch/kocevski/435214/expmap_426729601_426988801_4FGL_J2243.4-2544_daily_bin723.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/435214/ltcube_426729601_426988801_4FGL_J2243.4-2544_daily_bin723.fits
.....................!
real 190.66
user 185.61
sys 4.69

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/435214/ft1_filtered_4FGL_J2243.4-2544_daily_bin723.fits scfile=/scratch/kocevski/435214/ft2_4FGL_J2243.4-2544_daily_bin723.fits outfile=/scratch/kocevski/435214/cmap_426729601_426988801_4FGL_J2243.4-2544_daily_bin723.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.57
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/435214/ft1_filtered_4FGL_J2243.4-2544_daily_bin723.fits scfile=/scratch/kocevski/435214/ft2_4FGL_J2243.4-2544_daily_bin723.fits outfile=/scratch/kocevski/435214/cmap_HighResolution_426729601_426988801_4FGL_J2243.4-2544_daily_bin723.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.57
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/435214/ft1_filtered_4FGL_J2243.4-2544_daily_bin723.fits evtable="EVENTS" scfile=/scratch/kocevski/435214/ft2_4FGL_J2243.4-2544_daily_bin723.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/435214/Model_4FGL_J2243.4-2544_daily_bin723.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/435214/ft1_filtered_4FGL_J2243.4-2544_daily_bin723.fits.....................!
real 35.18
user 33.81
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    1.0291       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    27.707       1.0000         .10000E-03   10000.    
     6 'Prefactor '    12.972       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .20422E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    19.399       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10150E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    3.2914       1.0000         .10000E-03   10000.    
    12 'norm      '    .68044       1.0000         .10000E-03   10000.    
    13 'Prefactor '    48.356       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    6.4937       1.0000         .10000E-03   10000.    
    18 'norm      '    .44016E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    7.8223       1.0000         .10000E-03   10000.    
    22 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    18.408       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .72450       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0122       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=   3213.542     FROM MIGRAD    STATUS=CONVERGED    598 CALLS     2969 TOTAL
                     EDM=   .30E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8.1903       -.25570E-07** at limit **
   2  Prefactor     .10000E-03    19.747       -.29620E-07** at limit **
   3  norm          1.0291        .40935        .17308E-09   -.50505E-04
   4  Prefactor     .10000E-03    17.330       -.74920E-06** at limit **
   5  Prefactor     27.708        20.832       -.46117E-07    .29949E-04
   6  Prefactor     12.981        14.498        .23853E-06    .79334E-04
   7  Prefactor     .10000E-03    440.72       -.13002E-05** at limit **
   8  norm          19.402        30.688        .23985E-06   -.37095E-04
   9  Prefactor     .10000E-03    14.176        .12701E-06** at limit **
  10  Prefactor     .10000E-03    16.229       -.36221E-06** at limit **
  11  norm          3.2900        1.7396        .12077E-07   -.79121E-04
  12  norm          .67970        9.5507        .73572E-06   -.11395E-03
  13  Prefactor     48.344        134.25       -.20230E-05   -.26528E-04
  14  Prefactor     .10000E-03    16.384       -.40988E-08** at limit **
  15  norm          .10000E-03    12.901       -.93061E-06** at limit **
  16  Prefactor     .10000E-03    15.549       -.42434E-06** at limit **
  17  Prefactor     6.5102        19.957        .40877E-05    .17163E-03
  18  norm          .10000E-03    .84519       -.10054E-05** at limit **
  19  Prefactor     .10000E-03    206.33       -.28354E-07** at limit **
  20  Prefactor     .10000E-03    7.8230       -.36009E-07** at limit **
  21  Prefactor     7.8522        32.812        .22476E-05    .11003E-03
  22  norm          .10000E-03    6.1194        .14744E-05** at limit **
  23  Prefactor     18.576        100.26        .42635E-06    .38568E-04
  24  Normalizat    .72364        .27376       -.16690E-05    .10567E-03
  25  Prefactor     1.0129        .22982        .13276E-05   -.23009E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.02907
  Prefactor  = 0.0001
  Prefactor  = 27.7081
  Prefactor  = 12.9806
  Prefactor  = 0.000100002
  norm       = 19.4019
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.28997
  norm       = 0.679702
  Prefactor  = 48.3439
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.5102
  norm       = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.85216
  norm       = 0.000100001
  Prefactor  = 18.5757
  Normalizat = 0.723639
  Prefactor  = 1.01287
 **********
 **   18 **HESSE 
 **********

 FCN=   3213.542     FROM HESSE     STATUS=OK           423 CALLS     3392 TOTAL
                     EDM=   .83E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    8.1915        .15846E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    19.750        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.0291        .40961        .22057E-04   -1.5505    
   4  Prefactor     .10000E-03    17.892        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     27.708        20.847        .76110E-04   -1.4655    
   6  Prefactor     12.981        14.564        .11122E-03   -1.4987    
   7  Prefactor     .10000E-03    443.83        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          19.402        30.500        .90937E-04   -1.4827    
   9  Prefactor     .10000E-03    14.181        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    16.286        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          3.2900        1.7398        .52026E-04   -1.5345    
  12  norm          .67970        7.3655        .20028E-03   -1.5543    
  13  Prefactor     48.344        121.85        .57665E-04   -1.4316    
  14  Prefactor     .10000E-03    16.577        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    13.415        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    15.597        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     6.5102        19.588        .15749E-03   -1.5198    
  18  norm          .10000E-03    7.6626        .86712E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    206.77        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    7.8259        .15487E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     7.8522        31.062        .14337E-03   -1.5147    
  22  norm          .10000E-03    5.9649        .13485E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     18.576        99.367        .93350E-04   -1.4846    
  24  Normalizat    .72364        .33190        .29651E-03   -1.0297    
  25  Prefactor     1.0129        .27956        .22006E-03   -.92302    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.29221e-10
Minuit parameter uncertainties:
  1  3.65836e-06
  2  1.36817e-05
  3  0.409612
  4  0.000100656
  5  20.8522
  6  14.5683
  7  0.00172845
  8  30.5245
  9  7.31867e-05
  10  7.9715e-05
  11  1.73981
  12  4.47535
  13  122.488
  14  9.84897e-06
  15  5.17345e-05
  16  1.34044e-05
  17  19.6071
  18  0.000219633
  19  0.000287298
  20  3.95449e-06
  21  31.1256
  22  0.000180838
  23  86.1493
  24  0.332825
  25  0.279957
Done.

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

Extracting fit parameters...

4FGL J2243.4-2544
   Spectrum: LogParabola
252         norm:  6.797e-01  4.475e+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.013e+00  2.800e-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.236e-01  3.328e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/435214/likelihoodResults_426729601_426988801_4FGL_J2243.4-2544_daily_bin723.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): 102
logL (Free Index) = 3213.17994206
delta logL = 0.362109711828

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3213.13480314
delta logL = 0.407248630754

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .29590       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.8721       1.0000          .0000       5.0000    
     3 'Normalizat'    .64761       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0530       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=   3213.135     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      225 TOTAL
                     EDM=   .55E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .29503        6.8845        .77248E-02    .61379E-03
   2  alpha         3.8737        4.4293        .35156        .27217E-04
   3  Normalizat    .64753        .55421E-01    .70382E-01   -.63135E-06
   4  Prefactor     1.0532        .48281E-01    .39737E-01   -.18051E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.295029
  alpha      = 3.87367
  Normalizat = 0.647529
  Prefactor  = 1.05318
 **********
 **   18 **HESSE 
 **********

 FCN=   3213.135     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      260 TOTAL
                     EDM=   .29E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .29503        19.175        .35165E-03   -1.5599    
   2  alpha         3.8737        2.8221        .13686E-01    .58173    
   3  Normalizat    .64753        .25105        .31152E-03   -1.0600    
   4  Prefactor     1.0532        .21793        .21599E-03   -.90977    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.87113e-07
Minuit parameter uncertainties:
  1  4.75777
  2  8.39572
  3  0.251491
  4  0.218114
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/435214': 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): 102
logL (Free Index) = 3213.13480252
delta logL = 0.407249243739

Extracting fit parameters...

4FGL J2243.4-2544
   Spectrum: LogParabola
252         norm:  2.950e-01  4.758e+00  1.000e-04  1.000e+04 ( 1.000e-12)
253        alpha:  3.874e+00  8.396e+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.053e+00  2.181e-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:  6.475e-01  2.515e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.06
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/435214/cmap_HighResolution_426729601_426988801_4FGL_J2243.4-2544_daily_bin723.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.32e-05', job_status='DONE', photon_flux_upper_limit='9.94e-08', time_completed='2021-09-28 18:42:45.021317', job_id='435214', GAL2='1.05', fit_tolerance='1e-08', EG2='0.65', EG='0.72', time_epoch_completed='1632879765.02', return_code2='102', ts='0.06', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='4.07e-01', ts2='0.92', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='723' AND source_name='4FGL J2243.4-2544' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 18:42:45 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0237>
Subject: Job 435214: <4FGL_J2243.4-2544_daily_bin723> in cluster <slac> Done

Job <4FGL_J2243.4-2544_daily_bin723> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 18:30:34 2021
Job was executed on host(s) <bullet0237>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 18:30:36 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:30:36 2021
Terminated at Tue Sep 28 18:42:45 2021
Results reported at Tue Sep 28 18:42:45 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.4-2544_daily_bin723 340.865 -25.7363 426729601 426988801 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 :                                   490.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             262.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   729 sec.
    Turnaround time :                            731 sec.

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

