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


Performing analysis on: 4FGL_J2243.4-2544_daily_bin1276
RA = 340.865, Dec = -25.7363
tmin = 570067201, tmax = 570326401
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='438192', job_status='RUN', time_executed='2021-09-28 18:43:30.122725', time_epoch_executed='1632879810.12' WHERE source_name='4FGL J2243.4-2544' and cadence='daily' and bin_id='1276'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/438192

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/438192/ft1_4FGL_J2243.4-2544_daily_bin1276.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/438192/ft2_4FGL_J2243.4-2544_daily_bin1276.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/438192/ft1_4FGL_J2243.4-2544_daily_bin1276.fits outfile=/scratch/kocevski/438192/ft1_filteredMKT_4FGL_J2243.4-2544_daily_bin1276.fits ra=340.865 dec=-25.7363 rad=12.0 tmin=570067201.0 tmax=570326401.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.60
user 3.37
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/438192/ft2_4FGL_J2243.4-2544_daily_bin1276.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/438192/ft1_filteredMKT_4FGL_J2243.4-2544_daily_bin1276.fits evtable="EVENTS" outfile="/scratch/kocevski/438192/ft1_filtered_4FGL_J2243.4-2544_daily_bin1276.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.48
user 0.32
sys 0.16

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/438192/ft1_filtered_4FGL_J2243.4-2544_daily_bin1276.fits evtable="EVENTS" scfile=/scratch/kocevski/438192/ft2_4FGL_J2243.4-2544_daily_bin1276.fits sctable="SC_DATA" expcube=/scratch/kocevski/438192/ltcube_570067201_570326401_4FGL_J2243.4-2544_daily_bin1276.fits outfile=/scratch/kocevski/438192/expmap_570067201_570326401_4FGL_J2243.4-2544_daily_bin1276.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/438192/ltcube_570067201_570326401_4FGL_J2243.4-2544_daily_bin1276.fits
.....................!
real 190.64
user 185.51
sys 4.81

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/438192/ft1_filtered_4FGL_J2243.4-2544_daily_bin1276.fits scfile=/scratch/kocevski/438192/ft2_4FGL_J2243.4-2544_daily_bin1276.fits outfile=/scratch/kocevski/438192/cmap_570067201_570326401_4FGL_J2243.4-2544_daily_bin1276.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/438192/ft1_filtered_4FGL_J2243.4-2544_daily_bin1276.fits scfile=/scratch/kocevski/438192/ft2_4FGL_J2243.4-2544_daily_bin1276.fits outfile=/scratch/kocevski/438192/cmap_HighResolution_570067201_570326401_4FGL_J2243.4-2544_daily_bin1276.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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/438192/ft1_filtered_4FGL_J2243.4-2544_daily_bin1276.fits evtable="EVENTS" scfile=/scratch/kocevski/438192/ft2_4FGL_J2243.4-2544_daily_bin1276.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/438192/Model_4FGL_J2243.4-2544_daily_bin1276.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/438192/ft1_filtered_4FGL_J2243.4-2544_daily_bin1276.fits.....................!
real 36.74
user 35.40
sys 1.27

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11841E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    24.187       1.0000         .10000E-03   10000.    
     3 'norm      '    1.0561       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    42.269       1.0000         .10000E-03   10000.    
     9 'Prefactor '    20.337       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    2.0862       1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.6380       1.0000         .10000E-03   10000.    
    15 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .15134E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    13.352       1.0000         .10000E-03   10000.    
    18 'norm      '    1.1269       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.3940       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10203E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.1592       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .91154       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=   3933.238     FROM MIGRAD    STATUS=CONVERGED   1008 CALLS     3766 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    40.734        .18142E-02** at limit **
   2  Prefactor     24.178        97.654        .81450E-04    .22374E-04
   3  norm          1.0561        .47665        .27969E-04   -.83531E-04
   4  Prefactor     .10000E-03    8.8622        .18142E-02** at limit **
   5  Prefactor     .10000E-03    9.3476        .18142E-02** at limit **
   6  Prefactor     .10000E-03    5.2530        .14004E-02** at limit **
   7  Prefactor     .10007E-03    138.60        .18142E-02** at limit **
   8  norm          42.264        29.822        .61659E-04    .10510E-04
   9  Prefactor     20.338        20.229        .88816E-04    .10944E-04
  10  Prefactor     .10000E-03    5.3563        .14162E-02** at limit **
  11  norm          2.0862        1.4206        .59591E-04    .29199E-03
  12  norm          .10000E-03    .80612        .54926E-03** at limit **
  13  Prefactor     .10000E-03    15.807        .18142E-02** at limit **
  14  Prefactor     5.6371        14.594        .84590E-03    .35892E-03
  15  norm          .10000E-03    3.1856        .21552E-03** at limit **
  16  Prefactor     .10004E-03    178.40        .45284E-02** at limit **
  17  Prefactor     13.352        10.961        .10962E-03   -.10228E-02
  18  norm          1.1269        .80181        .40359E-04   -.22401E-02
  19  Prefactor     .10002E-03    158.57        .18142E-02** at limit **
  20  Prefactor     1.3925        33.442        .36787E-03    .62858E-04
  21  Prefactor     .10000E-03    3.3847        .11262E-02** at limit **
  22  norm          .10000E-03    2.8119        .10182E-02** at limit **
  23  Prefactor     .10006E-03    139.51        .18142E-02** at limit **
  24  Normalizat    1.1594        .28745        .24226E-03   -.76891E-04
  25  Prefactor     .91138        .26138        .25230E-03    .14464E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 24.1776
  norm       = 1.05613
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100068
  norm       = 42.2644
  Prefactor  = 20.3379
  Prefactor  = 0.0001
  norm       = 2.08625
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.63706
  norm       = 0.0001
  Prefactor  = 0.000100036
  Prefactor  = 13.3522
  norm       = 1.12689
  Prefactor  = 0.000100024
  Prefactor  = 1.39248
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100057
  Normalizat = 1.15937
  Prefactor  = 0.911375
 **********
 **   18 **HESSE 
 **********

 FCN=   3933.238     FROM HESSE     STATUS=OK           401 CALLS     4167 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    40.734        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     24.178        97.631        .16290E-04   -1.4724    
   3  norm          1.0561        .47665        .11187E-05   -1.5502    
   4  Prefactor     .10000E-03    8.8637        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    9.3481        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    5.2535        .28009E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10007E-03    138.62        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          42.264        29.823        .24664E-05   -1.4407    
   9  Prefactor     20.338        20.229        .35526E-05   -1.4806    
  10  Prefactor     .10000E-03    5.3565        .28323E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.0862        1.4206        .23836E-05   -1.5419    
  12  norm          .10000E-03    .80612        .10985E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    15.807        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     5.6371        14.586        .33836E-04   -1.5233    
  15  norm          .10000E-03    3.1856        .43104E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10004E-03    182.07        .18114E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     13.352        10.861        .43847E-05   -1.4977    
  18  norm          1.1269        .80185        .16143E-05   -1.5496    
  19  Prefactor     .10002E-03    158.61        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     1.3925        33.425        .14715E-04   -1.5472    
  21  Prefactor     .10000E-03    3.3848        .22525E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    2.8125        .20365E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10006E-03    139.56        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.1594        .28765        .96904E-05   -.87868    
  25  Prefactor     .91138        .26166        .10092E-04   -.95745    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.65927e-09
Minuit parameter uncertainties:
  1  5.82021e-05
  2  97.4469
  3  0.476648
  4  3.65566e-05
  5  2.14403e-05
  6  9.57883e-06
  7  0.00613865
  8  29.8332
  9  20.2356
  10  3.18728e-06
  11  1.42059
  12  3.93167e-07
  13  6.19083e-06
  14  14.5954
  15  1.79449e-05
  16  0.0051388
  17  10.8626
  18  0.801862
  19  0.00392624
  20  13.6527
  21  1.0943e-05
  22  6.33664e-06
  23  0.00566407
  24  0.288039
  25  0.262021
Done.

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

Extracting fit parameters...

4FGL J2243.4-2544
   Spectrum: LogParabola
252         norm:  1.000e-04  3.932e-07  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:  9.114e-01  2.620e-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.159e+00  2.880e-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: 4.35e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.77e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/438192/likelihoodResults_570067201_570326401_4FGL_J2243.4-2544_daily_bin1276.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) = 3933.23781329
delta logL = -2.35538755078e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3933.23781044
delta logL = 5.0044445743e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10028E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9737       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1593       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91148       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=   3933.238     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      238 TOTAL
                     EDM=   .10E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    76.446        .55433E-02** at limit **
   2  alpha         1.6106        3.3053        .16947        .22943E-07
   3  Normalizat    1.1594        .58305E-01    .24226E-03   -.67928E-04
   4  Prefactor     .91137        .54834E-01    .25230E-03   -.60087E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.61058
  Normalizat = 1.15937
  Prefactor  = 0.911373
 **********
 **   18 **HESSE 
 **********

 FCN=   3933.238     FROM HESSE     STATUS=OK            23 CALLS      261 TOTAL
                     EDM=   .10E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .89295        .57857E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.6106        4.1133        .67788E-02   -.36374    
   3  Normalizat    1.1594        .27287        .96904E-05   -.87868    
   4  Prefactor     .91137        .25661        .10092E-04   -.95745    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.02113e-11
Minuit parameter uncertainties:
  1  2.44571e-06
  2  112.074
  3  0.273209
  4  0.256947
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/438192': 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) = 3933.23780493
delta logL = 6.00958992436e-06

Extracting fit parameters...

4FGL J2243.4-2544
   Spectrum: LogParabola
252         norm:  1.000e-04  2.446e-06  1.000e-04  1.000e+04 ( 1.000e-12)
253        alpha:  1.611e+00  1.121e+02  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:  9.114e-01  2.569e-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.159e+00  2.732e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/438192/cmap_HighResolution_570067201_570326401_4FGL_J2243.4-2544_daily_bin1276.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.77e-05', job_status='DONE', photon_flux_upper_limit='4.35e-08', time_completed='2021-09-28 18:54:03.785873', job_id='438192', GAL2='0.91', fit_tolerance='1e-08', EG2='1.16', EG='1.16', time_epoch_completed='1632880443.79', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='6.01e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='1276' AND source_name='4FGL J2243.4-2544' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 18:54:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0032>
Subject: Job 438192: <4FGL_J2243.4-2544_daily_bin1276> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.4-2544_daily_bin1276 340.865 -25.7363 570067201 570326401 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 :                                   565.25 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             295.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   813 sec.
    Turnaround time :                            816 sec.

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

