/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)


Waiting 47 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

number of points = 7355
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2243.4-2544_daily_bin1154
RA = 340.865, Dec = -25.7363
tmin = 538444801, tmax = 538704001
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='438015', job_status='RUN', time_executed='2021-09-28 18:41:18.133749', time_epoch_executed='1632879678.13' WHERE source_name='4FGL J2243.4-2544' and cadence='daily' and bin_id='1154'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/438015

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/438015/ft1_4FGL_J2243.4-2544_daily_bin1154.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/438015/ft2_4FGL_J2243.4-2544_daily_bin1154.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/438015/ft1_4FGL_J2243.4-2544_daily_bin1154.fits outfile=/scratch/kocevski/438015/ft1_filteredMKT_4FGL_J2243.4-2544_daily_bin1154.fits ra=340.865 dec=-25.7363 rad=12.0 tmin=538444801.0 tmax=538704001.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.50
user 3.24
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/438015/ft1_filtered_4FGL_J2243.4-2544_daily_bin1154.fits" evtable="EVENTS" scfile=/scratch/kocevski/438015/ft2_4FGL_J2243.4-2544_daily_bin1154.fits sctable="SC_DATA" outfile=/scratch/kocevski/438015/ltcube_538444801_538704001_4FGL_J2243.4-2544_daily_bin1154.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/438015/ft2_4FGL_J2243.4-2544_daily_bin1154.fits
.....................!
real 11.70
user 11.30
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/438015/ft1_filtered_4FGL_J2243.4-2544_daily_bin1154.fits evtable="EVENTS" scfile=/scratch/kocevski/438015/ft2_4FGL_J2243.4-2544_daily_bin1154.fits sctable="SC_DATA" expcube=/scratch/kocevski/438015/ltcube_538444801_538704001_4FGL_J2243.4-2544_daily_bin1154.fits outfile=/scratch/kocevski/438015/expmap_538444801_538704001_4FGL_J2243.4-2544_daily_bin1154.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/438015/ltcube_538444801_538704001_4FGL_J2243.4-2544_daily_bin1154.fits
.....................!
real 191.13
user 186.13
sys 4.61

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/438015/ft1_filtered_4FGL_J2243.4-2544_daily_bin1154.fits scfile=/scratch/kocevski/438015/ft2_4FGL_J2243.4-2544_daily_bin1154.fits outfile=/scratch/kocevski/438015/cmap_538444801_538704001_4FGL_J2243.4-2544_daily_bin1154.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.54
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/438015/ft1_filtered_4FGL_J2243.4-2544_daily_bin1154.fits scfile=/scratch/kocevski/438015/ft2_4FGL_J2243.4-2544_daily_bin1154.fits outfile=/scratch/kocevski/438015/cmap_HighResolution_538444801_538704001_4FGL_J2243.4-2544_daily_bin1154.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=340.865 yref=-25.7363 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.55
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/438015/ft1_filtered_4FGL_J2243.4-2544_daily_bin1154.fits evtable="EVENTS" scfile=/scratch/kocevski/438015/ft2_4FGL_J2243.4-2544_daily_bin1154.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/438015/Model_4FGL_J2243.4-2544_daily_bin1154.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/438015/ft1_filtered_4FGL_J2243.4-2544_daily_bin1154.fits.....................!
real 66.83
user 65.41
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    32.721       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    1.0674       1.0000         .10000E-03   10000.    
     4 'Prefactor '    8.6202       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    3.0345       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    15.071       1.0000         .10000E-03   10000.    
    11 'norm      '    3.8352       1.0000         .10000E-03   10000.    
    12 'norm      '    .92792       1.0000         .10000E-03   10000.    
    13 'Prefactor '    23.876       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    1.1888       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    17.068       1.0000         .10000E-03   10000.    
    18 'norm      '    1.5665       1.0000         .10000E-03   10000.    
    19 'Prefactor '    29.973       1.0000         .10000E-03   10000.    
    20 'Prefactor '    14.004       1.0000         .10000E-03   10000.    
    21 'Prefactor '    9.7180       1.0000         .10000E-03   10000.    
    22 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    10.004       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.1108       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0905       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=   8457.219     FROM MIGRAD    STATUS=CONVERGED    578 CALLS     2932 TOTAL
                     EDM=   .24E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     32.714        27.233       -.18162E-05    .77475E-04
   2  Prefactor     .10000E-03    73.597        .38111E-06** at limit **
   3  norm          1.0674        .32938        .10901E-07    .35444E-04
   4  Prefactor     8.6203        9.3908        .22024E-06   -.30351E-04
   5  Prefactor     .10000E-03    16.956        .36653E-08** at limit **
   6  Prefactor     .10000E-03    3.6862        .91071E-09** at limit **
   7  Prefactor     .10000E-03    40.631       -.16859E-07** at limit **
   8  norm          3.0332        6.2729       -.18670E-06   -.35428E-03
   9  Prefactor     .10000E-03    11.206        .69588E-08** at limit **
  10  Prefactor     15.069        14.702        .56415E-06   -.21772E-03
  11  norm          3.8352        1.4861       -.12896E-07   -.57762E-04
  12  norm          .92800        1.8885        .55124E-06    .66261E-03
  13  Prefactor     23.872        41.888       -.49624E-05    .25120E-04
  14  Prefactor     .10000E-03    3.6508        .25839E-08** at limit **
  15  norm          1.1887        2.1720        .18262E-07   -.13930E-03
  16  Prefactor     .10000E-03    4.5122        .72408E-08** at limit **
  17  Prefactor     17.066        11.217       -.41841E-07   -.59544E-04
  18  norm          1.5665        .82950        .14561E-08   -.17093E-03
  19  Prefactor     29.973        40.527       -.47479E-06    .75488E-05
  20  Prefactor     14.002        16.470        .94474E-07   -.13799E-04
  21  Prefactor     9.7181        8.8377        .23898E-06   -.52018E-04
  22  norm          .10000E-03    .76800       -.12215E-08** at limit **
  23  Prefactor     10.003        20.736       -.22563E-06    .18808E-05
  24  Normalizat    1.1109        .17648        .37128E-06   -.65258E-04
  25  Prefactor     1.0904        .16264       -.12631E-06   -.55289E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 32.7144
  Prefactor  = 0.0001
  norm       = 1.06745
  Prefactor  = 8.62033
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.03317
  Prefactor  = 0.0001
  Prefactor  = 15.0685
  norm       = 3.83525
  norm       = 0.928005
  Prefactor  = 23.8715
  Prefactor  = 0.0001
  norm       = 1.18867
  Prefactor  = 0.0001
  Prefactor  = 17.066
  norm       = 1.5665
  Prefactor  = 29.9728
  Prefactor  = 14.0023
  Prefactor  = 9.71812
  norm       = 0.0001
  Prefactor  = 10.0034
  Normalizat = 1.11089
  Prefactor  = 1.09043
 **********
 **   18 **HESSE 
 **********

 FCN=   8457.219     FROM HESSE     STATUS=OK           437 CALLS     3369 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     32.714        26.623        .70051E-04   -1.4563    
   2  Prefactor     .10000E-03    73.791        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.0674        .33078        .28372E-04   -1.5501    
   4  Prefactor     8.6203        9.3893        .13653E-03   -1.5121    
   5  Prefactor     .10000E-03    17.154        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    3.7274        .17238E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    40.718        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          3.0332        19.486        .11647E-02   -1.5360    
   9  Prefactor     .10000E-03    11.275        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     15.069        14.893        .51585E-03   -1.4931    
  11  norm          3.8352        1.4850        .66323E-04   -1.5316    
  12  norm          .92800        1.6553        .16362E-02   -1.5515    
  13  Prefactor     23.872        42.148        .81977E-04   -1.4730    
  14  Prefactor     .10000E-03    3.6802        .17157E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.1887        2.1082        .17366E-03   -1.5490    
  16  Prefactor     .10000E-03    4.5155        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     17.066        11.716        .96946E-04   -1.4882    
  18  norm          1.5665        .85771        .44970E-04   -1.5458    
  19  Prefactor     29.973        40.531        .73182E-04   -1.4612    
  20  Prefactor     14.002        16.484        .10703E-03   -1.4959    
  21  Prefactor     9.7181        8.7973        .12855E-03   -1.5084    
  22  norm          .10000E-03    1.2900        .15671E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     10.003        20.681        .12669E-03   -1.5075    
  24  Normalizat    1.1109        .21623        .27098E-03   -.89403    
  25  Prefactor     1.0904        .19860        .26037E-03   -.89773    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.27544e-09
Minuit parameter uncertainties:
  1  26.6322
  2  0.000189714
  3  0.330785
  4  9.39092
  5  1.59494e-06
  6  1.22421e-06
  7  2.83853e-06
  8  15.3831
  9  1.96712e-06
  10  14.8965
  11  1.48503
  12  1.65541
  13  42.2006
  14  4.65821e-07
  15  2.10834
  16  1.11801e-06
  17  11.7172
  18  0.857713
  19  40.5683
  20  16.4898
  21  8.7985
  22  4.74051e-07
  23  20.6955
  24  0.216402
  25  0.198734
Done.

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

Extracting fit parameters...

4FGL J2243.4-2544
   Spectrum: LogParabola
252         norm:  9.280e-01  1.655e+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.090e+00  1.987e-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.111e+00  2.164e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/438015/likelihoodResults_538444801_538704001_4FGL_J2243.4-2544_daily_bin1154.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) = 8457.18098495
delta logL = 0.0379933870881

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8457.17960907
delta logL = 0.0393692576563

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .85793       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4343       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1040       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0934       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=   8457.180     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      265 TOTAL
                     EDM=   .33E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .85726        1.8606        .13356E-02    .84583E-03
   2  alpha         2.4345        1.8080        .30118E-01    .32128E-04
   3  Normalizat    1.1039        .20664        .27166E-03   -.53231E-04
   4  Prefactor     1.0935        .19526        .26001E-03   -.54392E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.857263
  alpha      = 2.43448
  Normalizat = 1.10386
  Prefactor  = 1.09347
 **********
 **   18 **HESSE 
 **********

 FCN=   8457.180     FROM HESSE     STATUS=OK            27 CALLS      292 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .85726        1.4896        .53425E-04   -1.5523    
   2  alpha         2.4345        1.5075        .12047E-02   -.26212E-01
   3  Normalizat    1.1039        .20529        .10866E-04   -.89628    
   4  Prefactor     1.0935        .19463        .10400E-04   -.89676    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.24379e-10
Minuit parameter uncertainties:
  1  1.4897
  2  1.61825
  3  0.205435
  4  0.194761
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/438015': 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) = 8457.1796087
delta logL = 0.0393696288884

Extracting fit parameters...

4FGL J2243.4-2544
   Spectrum: LogParabola
252         norm:  8.573e-01  1.490e+00  1.000e-04  1.000e+04 ( 1.000e-12)
253        alpha:  2.434e+00  1.618e+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.093e+00  1.948e-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.104e+00  2.054e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.23e-05', job_status='DONE', photon_flux_upper_limit='5.08e-08', time_completed='2021-09-28 18:54:45.183236', job_id='438015', GAL2='1.09', fit_tolerance='1e-08', EG2='1.10', EG='1.11', time_epoch_completed='1632880485.18', return_code2='0', ts='0.57', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='3.94e-02', ts2='0.65', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='1154' AND source_name='4FGL J2243.4-2544' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 18:54:45 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0236>
Subject: Job 438015: <4FGL_J2243.4-2544_daily_bin1154> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.4-2544_daily_bin1154 340.865 -25.7363 538444801 538704001 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 :                                   804.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             338.15 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   865 sec.
    Turnaround time :                            867 sec.

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

