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


Performing analysis on: 4FGL_J2243.8-2510_daily_bin1506
RA = 340.957, Dec = -25.1701
tmin = 629683201, tmax = 629942401
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='446403', job_status='RUN', time_executed='2021-09-28 19:05:52.060661', time_epoch_executed='1632881152.06' WHERE source_name='4FGL J2243.8-2510' and cadence='daily' and bin_id='1506'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/446403

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/446403/ft1_4FGL_J2243.8-2510_daily_bin1506.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/446403/ft2_4FGL_J2243.8-2510_daily_bin1506.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/446403/ft1_4FGL_J2243.8-2510_daily_bin1506.fits outfile=/scratch/kocevski/446403/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin1506.fits ra=340.957 dec=-25.1701 rad=12.0 tmin=629683201.0 tmax=629942401.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.55
user 3.29
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/446403/ft2_4FGL_J2243.8-2510_daily_bin1506.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/446403/ft2_4FGL_J2243.8-2510_daily_bin1506.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/446403/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin1506.fits evtable="EVENTS" outfile="/scratch/kocevski/446403/ft1_filtered_4FGL_J2243.8-2510_daily_bin1506.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.50
user 0.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/446403/ft1_filtered_4FGL_J2243.8-2510_daily_bin1506.fits" evtable="EVENTS" scfile=/scratch/kocevski/446403/ft2_4FGL_J2243.8-2510_daily_bin1506.fits sctable="SC_DATA" outfile=/scratch/kocevski/446403/ltcube_629683201_629942401_4FGL_J2243.8-2510_daily_bin1506.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/446403/ft2_4FGL_J2243.8-2510_daily_bin1506.fits
.....................!
real 11.64
user 11.25
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/446403/ft1_filtered_4FGL_J2243.8-2510_daily_bin1506.fits evtable="EVENTS" scfile=/scratch/kocevski/446403/ft2_4FGL_J2243.8-2510_daily_bin1506.fits sctable="SC_DATA" expcube=/scratch/kocevski/446403/ltcube_629683201_629942401_4FGL_J2243.8-2510_daily_bin1506.fits outfile=/scratch/kocevski/446403/expmap_629683201_629942401_4FGL_J2243.8-2510_daily_bin1506.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/446403/ltcube_629683201_629942401_4FGL_J2243.8-2510_daily_bin1506.fits
.....................!
real 190.19
user 184.90
sys 4.92

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 164 point sources and 0 extended sources

Setting source of interest to:
4FGL J2243.8-2510 @ 340.957 -25.1701

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/446403/ft1_filtered_4FGL_J2243.8-2510_daily_bin1506.fits scfile=/scratch/kocevski/446403/ft2_4FGL_J2243.8-2510_daily_bin1506.fits outfile=/scratch/kocevski/446403/cmap_629683201_629942401_4FGL_J2243.8-2510_daily_bin1506.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.957 yref=-25.1701 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/446403/ft1_filtered_4FGL_J2243.8-2510_daily_bin1506.fits scfile=/scratch/kocevski/446403/ft2_4FGL_J2243.8-2510_daily_bin1506.fits outfile=/scratch/kocevski/446403/cmap_HighResolution_629683201_629942401_4FGL_J2243.8-2510_daily_bin1506.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.957 yref=-25.1701 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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/446403/ft1_filtered_4FGL_J2243.8-2510_daily_bin1506.fits evtable="EVENTS" scfile=/scratch/kocevski/446403/ft2_4FGL_J2243.8-2510_daily_bin1506.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/446403/Model_4FGL_J2243.8-2510_daily_bin1506.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/446403/ft1_filtered_4FGL_J2243.8-2510_daily_bin1506.fits.....................!
real 51.44
user 50.12
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/446403/ft1_filtered_4FGL_J2243.8-2510_daily_bin1506.fits', '/scratch/kocevski/446403/ft2_4FGL_J2243.8-2510_daily_bin1506.fits', expMap='/scratch/kocevski/446403/expmap_629683201_629942401_4FGL_J2243.8-2510_daily_bin1506.fits', expCube='/scratch/kocevski/446403/ltcube_629683201_629942401_4FGL_J2243.8-2510_daily_bin1506.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/446403/Model_4FGL_J2243.8-2510_daily_bin1506.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2243.8-2510'

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  7.852e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  2.707e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
270        Scale:  6.765e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/446403/ft1_filtered_4FGL_J2243.8-2510_daily_bin1506.fits
Spacecraft file(s): /scratch/kocevski/446403/ft2_4FGL_J2243.8-2510_daily_bin1506.fits
Exposure map: /scratch/kocevski/446403/expmap_629683201_629942401_4FGL_J2243.8-2510_daily_bin1506.fits
Exposure cube: /scratch/kocevski/446403/ltcube_629683201_629942401_4FGL_J2243.8-2510_daily_bin1506.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/446403/Model_4FGL_J2243.8-2510_daily_bin1506.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) = 6495.9838415

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    44.675       1.0000         .10000E-03   10000.    
     2 'norm      '    1.0809       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.8472       1.0000         .10000E-03   10000.    
     7 'norm      '    12.287       1.0000         .10000E-03   10000.    
     8 'Prefactor '    31.177       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10086E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.5616       1.0000         .10000E-03   10000.    
    11 'norm      '    2.7869       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    10.080       1.0000         .10000E-03   10000.    
    14 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.1312       1.0000         .10000E-03   10000.    
    16 'Prefactor '    7.4319       1.0000         .10000E-03   10000.    
    17 'norm      '    1.2351       1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.2435       1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.6928       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    14.173       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1720       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .59512       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5290E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6495.982     FROM MIGRAD    STATUS=CONVERGED    534 CALLS     2670 TOTAL
                     EDM=   .13E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     44.681        73.803       -.18879E-06   -.24389E-05
   2  norm          1.0809        .37529        .10156E-07    .18980E-04
   3  Prefactor     .10000E-03    2.8715       -.12060E-07** at limit **
   4  Prefactor     .10000E-03    12.342        .12220E-06** at limit **
   5  Prefactor     .10000E-03    3.0276       -.33796E-07** at limit **
   6  Prefactor     1.8103        83.006        .10669E-04   -.49779E-05
   7  norm          12.286        12.507        .12298E-07   -.25306E-05
   8  Prefactor     31.178        20.406        .89748E-07    .97033E-06
   9  Prefactor     .10000E-03    7.0210       -.53612E-07** at limit **
  10  norm          1.5615        .83558       -.42183E-07   -.20420E-03
  11  norm          2.7855        1.9732        .69131E-07    .27700E-04
  12  Prefactor     .10000E-03    25.834       -.17979E-06** at limit **
  13  Prefactor     10.086        10.569        .26004E-06   -.70334E-06
  14  norm          .10000E-03    2.3829        .19719E-06** at limit **
  15  Prefactor     6.1305        12.253       -.79353E-06   -.21992E-04
  16  Prefactor     7.4347        11.012        .15721E-05   -.74104E-05
  17  norm          1.2349        .61476       -.13522E-06   -.16701E-03
  18  Prefactor     5.2632        224.37       -.47470E-05   -.22431E-05
  19  Prefactor     4.6929        9.2273        .13266E-05    .50349E-04
  20  Prefactor     .10000E-03    4.4802        .34873E-06** at limit **
  21  norm          .10000E-03    .83925        .86539E-08** at limit **
  22  Prefactor     14.175        18.225       -.80237E-07   -.32373E-05
  23  Normalizat    1.1716        .17726       -.15756E-05   -.90701E-05
  24  Prefactor     .59548        .15449        .11858E-05   -.66868E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 44.6806
  norm       = 1.08087
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.81033
  norm       = 12.286
  Prefactor  = 31.1775
  Prefactor  = 0.0001
  norm       = 1.56148
  norm       = 2.78546
  Prefactor  = 0.0001
  Prefactor  = 10.0862
  norm       = 0.0001
  Prefactor  = 6.13052
  Prefactor  = 7.43468
  norm       = 1.23494
  Prefactor  = 5.26318
  Prefactor  = 4.69285
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 14.1751
  Normalizat = 1.17157
  Prefactor  = 0.595479
 **********
 **   18 **HESSE 
 **********

 FCN=   6495.982     FROM HESSE     STATUS=OK           403 CALLS     3073 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     44.681        73.799        .59983E-04   -1.4370    
   2  norm          1.0809        .37487        .27766E-04   -1.5500    
   3  Prefactor     .10000E-03    2.8793        .13337E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    12.398        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    3.1160        .27388E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.8103        83.795        .30681E-03   -1.5439    
   7  norm          12.286        12.505        .11428E-03   -1.5007    
   8  Prefactor     31.178        20.406        .71759E-04   -1.4591    
   9  Prefactor     .10000E-03    7.0853        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.5615        .83296        .51912E-04   -1.5458    
  11  norm          2.7855        1.9700        .45843E-03   -1.5374    
  12  Prefactor     .10000E-03    25.897        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     10.086        10.598        .12621E-03   -1.5073    
  14  norm          .10000E-03    2.4388        .24247E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     6.1305        12.217        .16214E-03   -1.5213    
  16  Prefactor     7.4347        11.052        .73559E-03   -1.5163    
  17  norm          1.2349        .62174        .36108E-04   -1.5486    
  18  Prefactor     5.2632        224.71        .17554E-03   -1.5249    
  19  Prefactor     4.6929        9.3066        .92882E-03   -1.5275    
  20  Prefactor     .10000E-03    4.5138        .16655E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    .84459        .72092E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     14.175        18.227        .10639E-03   -1.4955    
  23  Normalizat    1.1716        .20285        .21361E-03   -.87486    
  24  Prefactor     .59548        .17864        .26735E-03   -1.0778    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.09032e-10
Minuit parameter uncertainties:
  1  73.9505
  2  0.374874
  3  9.21361e-07
  4  5.47922e-06
  5  9.96735e-07
  6  24.6692
  7  12.5081
  8  20.4102
  9  2.20691e-06
  10  0.832967
  11  1.97002
  12  4.52317e-06
  13  10.5996
  14  2.97393e-07
  15  12.2215
  16  11.0548
  17  0.621741
  18  69.0589
  19  9.30943
  20  3.48189e-06
  21  4.53526e-07
  22  18.234
  23  0.202982
  24  0.178808
Done.

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

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  1.000e-04  4.523e-06  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  2.707e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
270        Scale:  6.765e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
526    Prefactor:  5.955e-01  1.788e-01  0.000e+00  1.000e+01 ( 1.000e+00)
527        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
528        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
525   Normalization:  1.172e+00  2.030e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 340.957 -25.170
Photon Flux Upper Limit: 7.14e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.62e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/446403/likelihoodResults_629683201_629942401_4FGL_J2243.8-2510_daily_bin1506.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) = 6495.9824073
delta logL = -0.000183955520697

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6495.98222375
delta logL = -4.07230800192e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    3.6140       1.0000          .0000       10.000    
     3 'Normalizat'    1.1716       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .59548       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5290E+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=   6495.982     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      285 TOTAL
                     EDM=   .48E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10059E-03    84.329        .36285E-02** at limit **
   2  Index         3.5694        5.2876        .50000        .36314E-05
   3  Normalizat    1.1716        .77101E-02    .21361E-03    .49602E-04
   4  Prefactor     .59548        .71203E-02    .26735E-03    .22155E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100592
  Index      = 3.56944
  Normalizat = 1.17156
  Prefactor  = 0.59548
 **********
 **   18 **HESSE 
 **********

 FCN=   6495.982     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      314 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10059E-03    544.08        .72569E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.5694        6.6790        .50000       -.29017    
   3  Normalizat    1.1716        .20151E-01    .85445E-05   -.87486    
   4  Prefactor     .59548        .18608E-01    .10694E-04   -1.0778    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.06744e-09
Minuit parameter uncertainties:
  1  0.0362297
  2  1151.43
  3  0.0201506
  4  0.0186086
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/446403': 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) = 6495.98222373
delta logL = -3.85430212191e-07

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  1.006e-04  3.623e-02  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  3.569e+00  1.151e+03  0.000e+00  1.000e+01 (-1.000e+00)
270        Scale:  6.765e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
526    Prefactor:  5.955e-01  1.861e-02  0.000e+00  1.000e+01 ( 1.000e+00)
527        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
528        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
525   Normalization:  1.172e+00  2.015e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 340.957 -25.170

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/446403/cmap_HighResolution_629683201_629942401_4FGL_J2243.8-2510_daily_bin1506.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.62e-03', job_status='DONE', photon_flux_upper_limit='7.14e-08', time_completed='2021-09-28 19:16:48.296992', job_id='446403', GAL2='0.60', fit_tolerance='1e-08', EG2='1.17', EG='1.17', time_epoch_completed='1632881808.3', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.60', dlogl='-3.85e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.71' WHERE bin_id='1506' AND source_name='4FGL J2243.8-2510' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 19:16:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0233>
Subject: Job 446403: <4FGL_J2243.8-2510_daily_bin1506> in cluster <slac> Done

Job <4FGL_J2243.8-2510_daily_bin1506> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Sep 28 19:05:13 2021
Job was executed on host(s) <bullet0233>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 19:05:14 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 19:05:14 2021
Terminated at Tue Sep 28 19:16:48 2021
Results reported at Tue Sep 28 19:16:48 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.8-2510_daily_bin1506 340.957 -25.1701 629683201 629942401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2243.8-2510 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   654.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             326.36 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   694 sec.
    Turnaround time :                            695 sec.

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

