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


Performing analysis on: 4FGL_J2243.8-2510_daily_bin1518
RA = 340.957, Dec = -25.1701
tmin = 632793601, tmax = 633052801
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='446420', job_status='RUN', time_executed='2021-09-28 19:07:00.977886', time_epoch_executed='1632881220.98' WHERE source_name='4FGL J2243.8-2510' and cadence='daily' and bin_id='1518'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/446420

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/446420/ft1_4FGL_J2243.8-2510_daily_bin1518.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/446420/ft2_4FGL_J2243.8-2510_daily_bin1518.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/446420/ft1_4FGL_J2243.8-2510_daily_bin1518.fits outfile=/scratch/kocevski/446420/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin1518.fits ra=340.957 dec=-25.1701 rad=12.0 tmin=632793601.0 tmax=633052801.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.59
user 3.39
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/446420/ft2_4FGL_J2243.8-2510_daily_bin1518.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/446420/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin1518.fits evtable="EVENTS" outfile="/scratch/kocevski/446420/ft1_filtered_4FGL_J2243.8-2510_daily_bin1518.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.52
user 0.31
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/446420/ft1_filtered_4FGL_J2243.8-2510_daily_bin1518.fits" evtable="EVENTS" scfile=/scratch/kocevski/446420/ft2_4FGL_J2243.8-2510_daily_bin1518.fits sctable="SC_DATA" outfile=/scratch/kocevski/446420/ltcube_632793601_633052801_4FGL_J2243.8-2510_daily_bin1518.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/446420/ft2_4FGL_J2243.8-2510_daily_bin1518.fits
.....................!
real 12.56
user 12.18
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/446420/ft1_filtered_4FGL_J2243.8-2510_daily_bin1518.fits evtable="EVENTS" scfile=/scratch/kocevski/446420/ft2_4FGL_J2243.8-2510_daily_bin1518.fits sctable="SC_DATA" expcube=/scratch/kocevski/446420/ltcube_632793601_633052801_4FGL_J2243.8-2510_daily_bin1518.fits outfile=/scratch/kocevski/446420/expmap_632793601_633052801_4FGL_J2243.8-2510_daily_bin1518.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/446420/ltcube_632793601_633052801_4FGL_J2243.8-2510_daily_bin1518.fits
.....................!
real 191.75
user 186.44
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/446420/ft1_filtered_4FGL_J2243.8-2510_daily_bin1518.fits scfile=/scratch/kocevski/446420/ft2_4FGL_J2243.8-2510_daily_bin1518.fits outfile=/scratch/kocevski/446420/cmap_632793601_633052801_4FGL_J2243.8-2510_daily_bin1518.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.56
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/446420/ft1_filtered_4FGL_J2243.8-2510_daily_bin1518.fits scfile=/scratch/kocevski/446420/ft2_4FGL_J2243.8-2510_daily_bin1518.fits outfile=/scratch/kocevski/446420/cmap_HighResolution_632793601_633052801_4FGL_J2243.8-2510_daily_bin1518.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.54
user 0.39
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/446420/ft1_filtered_4FGL_J2243.8-2510_daily_bin1518.fits evtable="EVENTS" scfile=/scratch/kocevski/446420/ft2_4FGL_J2243.8-2510_daily_bin1518.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/446420/Model_4FGL_J2243.8-2510_daily_bin1518.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/446420/ft1_filtered_4FGL_J2243.8-2510_daily_bin1518.fits.....................!
real 38.50
user 37.11
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/446420/ft1_filtered_4FGL_J2243.8-2510_daily_bin1518.fits', '/scratch/kocevski/446420/ft2_4FGL_J2243.8-2510_daily_bin1518.fits', expMap='/scratch/kocevski/446420/expmap_632793601_633052801_4FGL_J2243.8-2510_daily_bin1518.fits', expCube='/scratch/kocevski/446420/ltcube_632793601_633052801_4FGL_J2243.8-2510_daily_bin1518.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/446420/Model_4FGL_J2243.8-2510_daily_bin1518.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/446420/ft1_filtered_4FGL_J2243.8-2510_daily_bin1518.fits
Spacecraft file(s): /scratch/kocevski/446420/ft2_4FGL_J2243.8-2510_daily_bin1518.fits
Exposure map: /scratch/kocevski/446420/expmap_632793601_633052801_4FGL_J2243.8-2510_daily_bin1518.fits
Exposure cube: /scratch/kocevski/446420/ltcube_632793601_633052801_4FGL_J2243.8-2510_daily_bin1518.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/446420/Model_4FGL_J2243.8-2510_daily_bin1518.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) = 4191.86481579

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    2.1987       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10061E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .11380E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10221E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    14.328       1.0000         .10000E-03   10000.    
    10 'norm      '    1.0990       1.0000         .10000E-03   10000.    
    11 'norm      '    .10245E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    72.127       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10152E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    8.8059       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10102E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    4.9960       1.0000         .10000E-03   10000.    
    17 'norm      '    2.2422       1.0000         .10000E-03   10000.    
    18 'Prefactor '    117.73       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10158E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    16.967       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.2731       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .72386       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=   4191.837     FROM MIGRAD    STATUS=CONVERGED    544 CALLS     2742 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    39.234        .14849E-05** at limit **
   2  norm          2.1987        .62241        .68510E-08    .50940E-05
   3  Prefactor     .10000E-03    3.3527        .10061E-08** at limit **
   4  Prefactor     .10000E-03    8.2160        .13551E-07** at limit **
   5  Prefactor     .10000E-03    4.4741        .32606E-07** at limit **
   6  Prefactor     .10000E-03    24.261       -.30260E-06** at limit **
   7  norm          .10023E-03    60.902       -.10357E-04** at limit **
   8  Prefactor     .10001E-03    61.097       -.33649E-05** at limit **
   9  Prefactor     14.330        17.804       -.79718E-06   -.88686E-04
  10  norm          1.0990        .95629        .23850E-07    .35223E-04
  11  norm          .10000E-03    3.5966       -.10377E-07** at limit **
  12  Prefactor     72.045        68.973        .28449E-05    .24118E-03
  13  Prefactor     .10000E-03    14.634        .91951E-06** at limit **
  14  norm          8.8032        8.2252        .68545E-07    .17085E-03
  15  Prefactor     .10000E-03    10.894        .77613E-06** at limit **
  16  Prefactor     4.9992        19.231        .33200E-07    .42394E-04
  17  norm          2.2422        1.3496       -.14808E-06   -.15367E-02
  18  Prefactor     117.67        96.726        .48622E-05    .27722E-03
  19  Prefactor     .10000E-03    15.186       -.42105E-06** at limit **
  20  Prefactor     .10000E-03    4.5628        .34434E-06** at limit **
  21  norm          .10000E-03    4.3953        .10605E-07** at limit **
  22  Prefactor     16.967        56.851        .23401E-06   -.90784E-05
  23  Normalizat    1.2730        .24509       -.57115E-06   -.31177E-04
  24  Prefactor     .72391        .20528       -.24930E-06   -.52226E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  norm       = 2.19872
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100232
  Prefactor  = 0.000100007
  Prefactor  = 14.3299
  norm       = 1.09904
  norm       = 0.0001
  Prefactor  = 72.0452
  Prefactor  = 0.000100001
  norm       = 8.80322
  Prefactor  = 0.0001
  Prefactor  = 4.99919
  norm       = 2.24218
  Prefactor  = 117.667
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 16.9674
  Normalizat = 1.27298
  Prefactor  = 0.723908
 **********
 **   18 **HESSE 
 **********

 FCN=   4191.837     FROM HESSE     STATUS=OK           395 CALLS     3137 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    39.410        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.1987        .62361        .26412E-04   -1.5411    
   3  Prefactor     .10000E-03    3.3555        .11578E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    8.2298        .18126E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    4.4874        .13375E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    24.271        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10023E-03    84.827        .55518E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10001E-03    62.404        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     14.330        17.891        .10581E-03   -1.4951    
  10  norm          1.0990        .95295        .57131E-04   -1.5498    
  11  norm          .10000E-03    3.6701        .23769E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     72.045        69.570        .23635E-03   -1.4008    
  13  Prefactor     .10000E-03    14.825        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          8.8032        8.1345        .67537E-03   -1.5114    
  15  Prefactor     .10000E-03    10.975        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     4.9992        19.588        .89958E-03   -1.5261    
  17  norm          2.2422        1.3835        .42006E-04   -1.5408    
  18  Prefactor     117.67        100.71        .18542E-03   -1.3534    
  19  Prefactor     .10000E-03    15.357        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    4.5811        .13525E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    4.4880        .13234E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     16.967        56.978        .97234E-04   -1.4884    
  23  Normalizat    1.2730        .30496        .24919E-03   -.84377    
  24  Prefactor     .72391        .25350        .27750E-03   -1.0260    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.29807e-09
Minuit parameter uncertainties:
  1  0.000480891
  2  0.623609
  3  1.07445e-06
  4  4.85841e-06
  5  5.38079e-06
  6  7.2777e-05
  7  0.00888517
  8  0.00132028
  9  17.8979
  10  0.952963
  11  5.01415e-05
  12  69.6492
  13  0.000184353
  14  8.13554
  15  0.000138148
  16  19.6134
  17  1.38351
  18  100.855
  19  6.97225e-05
  20  3.9125e-05
  21  6.79248e-06
  22  57.1615
  23  0.305386
  24  0.25391
Done.

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

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  7.205e+01  6.965e+01  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:  7.239e-01  2.539e-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.273e+00  3.054e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.55
Ra Dec: 340.957 -25.170
Photon Index (Fixed Index): 2.71 +/- 0.00
Photon Flux (Fixed Index): 7.47e-08 +/- 7.21e-08
Energy Flux (Fixed Index): 1.79e-05 +/- 1.73e-05

TS (Fixed Index): 1.55
Ra Dec: 340.957 -25.170
Photon Flux Upper Limit: 2.20e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.73e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/446420/likelihoodResults_632793601_633052801_4FGL_J2243.8-2510_daily_bin1518.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) = 4191.83696654
delta logL = 7.17585044185e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4191.83696242
delta logL = 1.1298417121e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    72.271       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7026       1.0000          .0000       10.000    
     3 'Normalizat'    1.2730       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .72394       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=   4191.837     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      248 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     72.285        86.987        .47224E-04   -.32370E-03
   2  Index         2.7027        .84760        .70892E-02   -.23655E-03
   3  Normalizat    1.2732        .29099        .24918E-03    .53328E-03
   4  Prefactor     .72377        .24904        .27752E-03    .51326E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 72.2848
  Index      = 2.70274
  Normalizat = 1.27317
  Prefactor  = 0.723771
 **********
 **   18 **HESSE 
 **********

 FCN=   4191.837     FROM HESSE     STATUS=OK            23 CALLS      271 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     72.285        83.443        .94448E-05   -1.4005    
   2  Index         2.7027        .81263        .28357E-03   -.47738    
   3  Normalizat    1.2732        .29119        .49835E-04   -.84371    
   4  Prefactor     .72377        .24912        .55504E-04   -1.0260    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.14837e-09
Minuit parameter uncertainties:
  1  83.5782
  2  0.817233
  3  0.291566
  4  0.249501
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/446420': 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) = 4191.83696201
delta logL = 1.1708162674e-05

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  7.228e+01  8.358e+01  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  2.703e+00  8.172e-01  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:  7.238e-01  2.495e-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.273e+00  2.916e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.56
Ra Dec: 340.957 -25.170
Photon Index (Free Index): 2.70 +/- 0.82
Photon Flux (Free Index): 7.45e-08 +/- 7.49e-08
Energy Flux (Free Index): 1.79e-05 +/- 1.72e-05

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/446420/cmap_HighResolution_632793601_633052801_4FGL_J2243.8-2510_daily_bin1518.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.73e-02', comment='SUCCESS', photon_flux='7.47e-08', energy_flux2='1.79e-05', photon_flux_error='7.21e-08', dlogl='1.17e-05', energy_flux='1.79e-05', photon_flux2='7.45e-08', job_status='DONE', time_completed='2021-09-28 19:15:55.721252', photon_index_error2='0.82', photon_index2='2.70', ts='1.55', fit_tolerance='1e-08', GAL='0.72', photon_index_error='0.00', photon_flux_upper_limit='2.20e-07', energy_flux_error2='1.72e-05', EG='1.27', time_epoch_completed='1632881755.72', return_code='0', job_id='446420', GAL2='0.72', EG2='1.27', return_code2='0', energy_flux_error='1.73e-05', photon_flux_error2='7.49e-08', ts2='1.56', photon_index='2.71' WHERE bin_id='1518' AND source_name='4FGL J2243.8-2510' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 19:15:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0304>
Subject: Job 446420: <4FGL_J2243.8-2510_daily_bin1518> in cluster <slac> Done

Job <4FGL_J2243.8-2510_daily_bin1518> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Sep 28 19:05:14 2021
Job was executed on host(s) <bullet0304>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 19:05:16 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:16 2021
Terminated at Tue Sep 28 19:15:56 2021
Results reported at Tue Sep 28 19:15:56 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.8-2510_daily_bin1518 340.957 -25.1701 632793601 633052801 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 :                                   532.23 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             278.82 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   640 sec.
    Turnaround time :                            642 sec.

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

