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


Performing analysis on: 4FGL_J2243.4-2544_daily_bin1296
RA = 340.865, Dec = -25.7363
tmin = 575251201, tmax = 575510401
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='438221', job_status='RUN', time_executed='2021-09-28 18:41:43.061946', time_epoch_executed='1632879703.06' WHERE source_name='4FGL J2243.4-2544' and cadence='daily' and bin_id='1296'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/438221

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/438221/ft1_4FGL_J2243.4-2544_daily_bin1296.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/438221/ft2_4FGL_J2243.4-2544_daily_bin1296.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/438221/ft1_4FGL_J2243.4-2544_daily_bin1296.fits outfile=/scratch/kocevski/438221/ft1_filteredMKT_4FGL_J2243.4-2544_daily_bin1296.fits ra=340.865 dec=-25.7363 rad=12.0 tmin=575251201.0 tmax=575510401.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.31
user 5.04
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/438221/ft1_filtered_4FGL_J2243.4-2544_daily_bin1296.fits" evtable="EVENTS" scfile=/scratch/kocevski/438221/ft2_4FGL_J2243.4-2544_daily_bin1296.fits sctable="SC_DATA" outfile=/scratch/kocevski/438221/ltcube_575251201_575510401_4FGL_J2243.4-2544_daily_bin1296.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/438221/ft2_4FGL_J2243.4-2544_daily_bin1296.fits
.....................!
real 11.75
user 11.36
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/438221/ft1_filtered_4FGL_J2243.4-2544_daily_bin1296.fits evtable="EVENTS" scfile=/scratch/kocevski/438221/ft2_4FGL_J2243.4-2544_daily_bin1296.fits sctable="SC_DATA" expcube=/scratch/kocevski/438221/ltcube_575251201_575510401_4FGL_J2243.4-2544_daily_bin1296.fits outfile=/scratch/kocevski/438221/expmap_575251201_575510401_4FGL_J2243.4-2544_daily_bin1296.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/438221/ltcube_575251201_575510401_4FGL_J2243.4-2544_daily_bin1296.fits
.....................!
real 191.98
user 186.98
sys 4.66

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/438221/ft1_filtered_4FGL_J2243.4-2544_daily_bin1296.fits scfile=/scratch/kocevski/438221/ft2_4FGL_J2243.4-2544_daily_bin1296.fits outfile=/scratch/kocevski/438221/cmap_575251201_575510401_4FGL_J2243.4-2544_daily_bin1296.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/438221/ft1_filtered_4FGL_J2243.4-2544_daily_bin1296.fits scfile=/scratch/kocevski/438221/ft2_4FGL_J2243.4-2544_daily_bin1296.fits outfile=/scratch/kocevski/438221/cmap_HighResolution_575251201_575510401_4FGL_J2243.4-2544_daily_bin1296.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.53
user 0.36
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/438221/ft1_filtered_4FGL_J2243.4-2544_daily_bin1296.fits evtable="EVENTS" scfile=/scratch/kocevski/438221/ft2_4FGL_J2243.4-2544_daily_bin1296.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/438221/Model_4FGL_J2243.4-2544_daily_bin1296.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/438221/ft1_filtered_4FGL_J2243.4-2544_daily_bin1296.fits.....................!
real 56.67
user 55.31
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10149E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .13180E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    1.1105       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.0032       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10353E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    34.663       1.0000         .10000E-03   10000.    
     8 'norm      '    .10023E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10087E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    1.5585       1.0000         .10000E-03   10000.    
    12 'norm      '    .10033E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    68.076       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .59298E-01   1.0000         .10000E-03   10000.    
    15 'norm      '    .10683E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    10.953       1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.5642       1.0000         .10000E-03   10000.    
    18 'norm      '    2.2886       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10601E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    3.0807       1.0000         .10000E-03   10000.    
    22 'norm      '    6.3794       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .14481E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .78039       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0618       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=   7500.417     FROM MIGRAD    STATUS=CONVERGED    628 CALLS     3007 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    21.567        .97515E-08** at limit **
   2  Prefactor     .10000E-03    116.03       -.19187E-05** at limit **
   3  norm          1.1106        .31908        .79669E-09    .69557E-03
   4  Prefactor     .10000E-03    3.0479       -.15806E-06** at limit **
   5  Prefactor     6.0084        7.7865        .14108E-07    .20127E-04
   6  Prefactor     .10000E-03    4.4807       -.34523E-06** at limit **
   7  Prefactor     34.722        35.697       -.18918E-05    .18170E-03
   8  norm          .10000E-03    15.493       -.25780E-06** at limit **
   9  Prefactor     .10000E-03    6.6131       -.10839E-06** at limit **
  10  Prefactor     .10000E-03    5.6720       -.30948E-06** at limit **
  11  norm          1.5588        .74270        .12688E-07    .54405E-03
  12  norm          .10000E-03    2.1802        .38587E-05** at limit **
  13  Prefactor     68.105        38.033        .96947E-06    .15650E-03
  14  Prefactor     .21760        5.1738       -.15344E-05    .53771E-04
  15  norm          .10001E-03    1.7462       -.21063E-05** at limit **
  16  Prefactor     10.943        12.242       -.14019E-05    .45701E-03
  17  Prefactor     1.5842        12.126        .11695E-04   -.13579E-03
  18  norm          2.2863        .79511       -.35280E-06    .53572E-02
  19  Prefactor     .10000E-03    26.329       -.45081E-06** at limit **
  20  Prefactor     .10000E-03    10.698       -.42546E-06** at limit **
  21  Prefactor     3.0862        6.8995       -.14819E-05    .82534E-04
  22  norm          6.3797        3.2694       -.56838E-07   -.39918E-03
  23  Prefactor     .10001E-03    83.976       -.22233E-06** at limit **
  24  Normalizat    .77990        .16596       -.19886E-05    .61294E-03
  25  Prefactor     1.0618        .15212        .21537E-05    .81630E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.11064
  Prefactor  = 0.0001
  Prefactor  = 6.00844
  Prefactor  = 0.0001
  Prefactor  = 34.7222
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.55883
  norm       = 0.000100004
  Prefactor  = 68.1046
  Prefactor  = 0.217602
  norm       = 0.000100006
  Prefactor  = 10.9435
  Prefactor  = 1.58418
  norm       = 2.28632
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.08616
  norm       = 6.37966
  Prefactor  = 0.000100008
  Normalizat = 0.779895
  Prefactor  = 1.06177
 **********
 **   18 **HESSE 
 **********

 FCN=   7500.417     FROM HESSE     STATUS=OK           423 CALLS     3430 TOTAL
                     EDM=   .44E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    21.846        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    117.86        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.1106        .31940        .25475E-04   -1.5497    
   4  Prefactor     .10000E-03    3.0653        .14768E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     6.0084        7.7829        .16388E-03   -1.5218    
   6  Prefactor     .10000E-03    4.5708        .17911E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     34.722        35.569        .68065E-04   -1.4529    
   8  norm          .10000E-03    15.654        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    6.6285        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    5.7284        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.5588        .73996        .49939E-04   -1.5458    
  12  norm          .10000E-03    4.4124        .16416E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     68.105        39.419        .48647E-04   -1.4056    
  14  Prefactor     .21760        85.285        .36288E-02   -1.5615    
  15  norm          .10001E-03    7.5300        .20529E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     10.943        12.608        .12105E-03   -1.5046    
  17  Prefactor     1.5842        19.020        .17006E-02   -1.5456    
  18  norm          2.2863        .85369        .34445E-04   -1.5406    
  19  Prefactor     .10000E-03    26.369        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    10.849        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     3.0862        6.9258        .23108E-03   -1.5357    
  22  norm          6.3797        3.2733        .54239E-03   -1.5203    
  23  Prefactor     .10001E-03    85.230        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .77990        .19689        .26235E-03   -1.0082    
  25  Prefactor     1.0618        .17973        .21950E-03   -.90698    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.44912e-09
Minuit parameter uncertainties:
  1  0.000120593
  2  0.000281577
  3  0.319401
  4  2.56792e-05
  5  7.78418
  6  7.29268e-05
  7  35.5908
  8  5.07459e-05
  9  3.16883e-05
  10  5.25608e-06
  11  0.739967
  12  0.000264183
  13  39.4344
  14  8.62624
  15  0.000418079
  16  12.6109
  17  10.9824
  18  0.853695
  19  1.78436e-05
  20  0.000129983
  21  6.92762
  22  3.27335
  23  0.00165028
  24  0.197065
  25  0.179834
Done.

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

Extracting fit parameters...

4FGL J2243.4-2544
   Spectrum: LogParabola
252         norm:  1.000e-04  2.642e-04  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.062e+00  1.798e-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.799e-01  1.971e-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.45e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.83e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/438221/likelihoodResults_575251201_575510401_4FGL_J2243.4-2544_daily_bin1296.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) = 7500.41822671
delta logL = -0.00108873975478

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7500.41712982
delta logL = 8.14564373286e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .19409E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1364       1.0000          .0000       5.0000    
     3 'Normalizat'    .77986       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0618       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=   7500.347     FROM MIGRAD    STATUS=CONVERGED    141 CALLS      315 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .28463        1.1822        .12113E-03   -.11262E-04
   2  alpha         2.8935        1.6359        .28491E-01    .19135E-03
   3  Normalizat    .77135        .18227        .26354E-03   -.13200E-04
   4  Prefactor     1.0637        .17493        .21920E-03   -.52591E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.284626
  alpha      = 2.89354
  Normalizat = 0.771348
  Prefactor  = 1.06372
 **********
 **   18 **HESSE 
 **********

 FCN=   7500.347     FROM HESSE     STATUS=OK            25 CALLS      340 TOTAL
                     EDM=   .56E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .28463        .98643        .48454E-05   -1.5601    
   2  alpha         2.8935        1.4269        .56982E-02    .15807    
   3  Normalizat    .77135        .18248        .10542E-04   -1.0114    
   4  Prefactor     1.0637        .17503        .87679E-05   -.90635    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.63227e-12
Minuit parameter uncertainties:
  1  0.986484
  2  1.52144
  3  0.182625
  4  0.175127
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/438221': 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) = 7500.34703479
delta logL = 0.0701031811695

Extracting fit parameters...

4FGL J2243.4-2544
   Spectrum: LogParabola
252         norm:  2.846e-01  9.865e-01  1.000e-04  1.000e+04 ( 1.000e-12)
253        alpha:  2.894e+00  1.521e+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.064e+00  1.751e-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.713e-01  1.826e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/438221/cmap_HighResolution_575251201_575510401_4FGL_J2243.4-2544_daily_bin1296.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.83e-05', job_status='DONE', photon_flux_upper_limit='4.45e-08', time_completed='2021-09-28 18:54:28.608763', job_id='438221', GAL2='1.06', fit_tolerance='1e-08', EG2='0.77', EG='0.78', time_epoch_completed='1632880468.61', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='7.01e-02', ts2='0.15', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='1296' AND source_name='4FGL J2243.4-2544' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 18:54:28 PDT 2021


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

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.4-2544_daily_bin1296 340.865 -25.7363 575251201 575510401 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 :                                   753.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             265.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   834 sec.
    Turnaround time :                            837 sec.

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

