/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 2 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 = 7427
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2243.8-2510_daily_bin389
RA = 340.957, Dec = -25.1701
tmin = 340156801, tmax = 340416001
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='441669', job_status='RUN', time_executed='2021-09-28 18:50:40.917802', time_epoch_executed='1632880240.92' WHERE source_name='4FGL J2243.8-2510' and cadence='daily' and bin_id='389'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/441669

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/441669/ft1_4FGL_J2243.8-2510_daily_bin389.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/441669/ft2_4FGL_J2243.8-2510_daily_bin389.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/441669/ft1_4FGL_J2243.8-2510_daily_bin389.fits outfile=/scratch/kocevski/441669/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin389.fits ra=340.957 dec=-25.1701 rad=12.0 tmin=340156801.0 tmax=340416001.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.31
user 3.09
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/441669/ft2_4FGL_J2243.8-2510_daily_bin389.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/441669/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin389.fits evtable="EVENTS" outfile="/scratch/kocevski/441669/ft1_filtered_4FGL_J2243.8-2510_daily_bin389.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.32
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/441669/ft1_filtered_4FGL_J2243.8-2510_daily_bin389.fits" evtable="EVENTS" scfile=/scratch/kocevski/441669/ft2_4FGL_J2243.8-2510_daily_bin389.fits sctable="SC_DATA" outfile=/scratch/kocevski/441669/ltcube_340156801_340416001_4FGL_J2243.8-2510_daily_bin389.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/441669/ft2_4FGL_J2243.8-2510_daily_bin389.fits
.....................!
real 11.89
user 11.52
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/441669/ft1_filtered_4FGL_J2243.8-2510_daily_bin389.fits evtable="EVENTS" scfile=/scratch/kocevski/441669/ft2_4FGL_J2243.8-2510_daily_bin389.fits sctable="SC_DATA" expcube=/scratch/kocevski/441669/ltcube_340156801_340416001_4FGL_J2243.8-2510_daily_bin389.fits outfile=/scratch/kocevski/441669/expmap_340156801_340416001_4FGL_J2243.8-2510_daily_bin389.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/441669/ltcube_340156801_340416001_4FGL_J2243.8-2510_daily_bin389.fits
.....................!
real 192.31
user 186.36
sys 5.58

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/441669/ft1_filtered_4FGL_J2243.8-2510_daily_bin389.fits scfile=/scratch/kocevski/441669/ft2_4FGL_J2243.8-2510_daily_bin389.fits outfile=/scratch/kocevski/441669/cmap_340156801_340416001_4FGL_J2243.8-2510_daily_bin389.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.53
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/441669/ft1_filtered_4FGL_J2243.8-2510_daily_bin389.fits scfile=/scratch/kocevski/441669/ft2_4FGL_J2243.8-2510_daily_bin389.fits outfile=/scratch/kocevski/441669/cmap_HighResolution_340156801_340416001_4FGL_J2243.8-2510_daily_bin389.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.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/441669/ft1_filtered_4FGL_J2243.8-2510_daily_bin389.fits evtable="EVENTS" scfile=/scratch/kocevski/441669/ft2_4FGL_J2243.8-2510_daily_bin389.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/441669/Model_4FGL_J2243.8-2510_daily_bin389.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/441669/ft1_filtered_4FGL_J2243.8-2510_daily_bin389.fits.....................!
real 38.73
user 37.41
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    88.368       1.0000         .10000E-03   10000.    
     2 'norm      '    1.1721       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .93852E-01   1.0000         .10000E-03   10000.    
     4 'Prefactor '    7.6063       1.0000         .10000E-03   10000.    
     5 'Prefactor '    9.4450       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .65127       1.0000         .10000E-03   10000.    
     7 'norm      '    27.676       1.0000         .10000E-03   10000.    
     8 'Prefactor '    15.736       1.0000         .10000E-03   10000.    
     9 'Prefactor '    22.294       1.0000         .10000E-03   10000.    
    10 'norm      '    4.1168       1.0000         .10000E-03   10000.    
    11 'norm      '    .63812       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10136E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.4221       1.0000         .10000E-03   10000.    
    14 'norm      '    .10054E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    8.2081       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .51657       1.0000         .10000E-03   10000.    
    17 'norm      '    .85571       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10061E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .16603E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.9660       1.0000         .10000E-03   10000.    
    21 'norm      '    3.5741       1.0000         .10000E-03   10000.    
    22 'Prefactor '    36.929       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .90976       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .86386       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=   4320.856     FROM MIGRAD    STATUS=CONVERGED    593 CALLS     2812 TOTAL
                     EDM=   .37E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     88.385        105.47        .62604E-06   -.31825E-05
   2  norm          1.1724        .48865       -.28928E-07    .11358E-03
   3  Prefactor     .23579E-01    8.5387       -.76568E-06   -.92050E-05
   4  Prefactor     7.5924        26.021        .35540E-05    .12430E-04
   5  Prefactor     9.4503        12.903       -.64398E-07    .83912E-04
   6  Prefactor     .58245        54.406       -.17353E-05    .55519E-05
   7  norm          27.665        23.984       -.13619E-06    .61735E-04
   8  Prefactor     15.728        37.798       -.98869E-06    .11178E-04
   9  Prefactor     22.303        15.414       -.17205E-06    .12502E-03
  10  norm          4.1176        1.5448       -.63751E-07    .16639E-03
  11  norm          .63939        2.3978       -.70748E-08    .12716E-03
  12  Prefactor     .10000E-03    58.875       -.41261E-06** at limit **
  13  Prefactor     4.4410        14.660        .80007E-06    .18384E-03
  14  norm          .10000E-03    2.2247       -.97272E-07** at limit **
  15  Prefactor     8.2600        13.805        .67492E-06    .31274E-03
  16  Prefactor     .43632        26.206       -.54590E-05    .39768E-03
  17  norm          .85785        .65719        .84389E-07    .20009E-02
  18  Prefactor     .10000E-03    37.683        .18340E-06** at limit **
  19  Prefactor     .10000E-03    32.976        .51803E-06** at limit **
  20  Prefactor     1.9747        11.653        .33446E-05    .40906E-03
  21  norm          3.5710        3.9703       -.39468E-07    .43499E-04
  22  Prefactor     37.010        53.144       -.80797E-06    .95302E-05
  23  Normalizat    .90979        .25358        .18105E-05    .27528E-03
  24  Prefactor     .86390        .20485       -.45923E-06    .38653E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 88.3851
  norm       = 1.17238
  Prefactor  = 0.0235792
  Prefactor  = 7.59238
  Prefactor  = 9.45028
  Prefactor  = 0.582454
  norm       = 27.6645
  Prefactor  = 15.7276
  Prefactor  = 22.3026
  norm       = 4.11757
  norm       = 0.639386
  Prefactor  = 0.0001
  Prefactor  = 4.441
  norm       = 0.0001
  Prefactor  = 8.26003
  Prefactor  = 0.436315
  norm       = 0.857855
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.97467
  norm       = 3.57103
  Prefactor  = 37.0098
  Normalizat = 0.909786
  Prefactor  = 0.863904
 **********
 **   18 **HESSE 
 **********

 FCN=   4320.856     FROM HESSE     STATUS=OK           421 CALLS     3233 TOTAL
                     EDM=   .64E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     88.385        105.49        .42741E-04   -1.3825    
   2  norm          1.1724        .49005        .28605E-04   -1.5491    
   3  Prefactor     .23579E-01    16.485        .59867E-01   -1.5677    
   4  Prefactor     7.5924        26.290        .14541E-03   -1.5157    
   5  Prefactor     9.4503        12.915        .65200E-03   -1.5093    
   6  Prefactor     .58245        58.699        .15106       -1.5555    
   7  norm          27.665        23.916        .76152E-04   -1.4656    
   8  Prefactor     15.728        37.722        .10097E-03   -1.4915    
   9  Prefactor     22.303        15.387        .84832E-04   -1.4763    
  10  norm          4.1176        1.5455        .47325E-04   -1.5302    
  11  norm          .63939        2.3282        .18539E-03   -1.5548    
  12  Prefactor     .10000E-03    58.985        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.4410        14.748        .95752E-03   -1.5286    
  14  norm          .10000E-03    2.2333        .95636E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     8.2600        15.335        .13994E-03   -1.5133    
  16  Prefactor     .43632        136.97        .29921E-02   -1.5576    
  17  norm          .85785        .70489        .40641E-04   -1.5523    
  18  Prefactor     .10000E-03    37.680        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    33.983        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     1.9747        12.445        .14789E-02   -1.5427    
  21  norm          3.5710        3.9544        .12646E-03   -1.5330    
  22  Prefactor     37.010        53.263        .65950E-04   -1.4490    
  23  Normalizat    .90979        .30870        .26328E-03   -.96117    
  24  Prefactor     .86390        .25086        .24146E-03   -.97414    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.40461e-09
Minuit parameter uncertainties:
  1  105.716
  2  0.490056
  3  1.24464
  4  26.3302
  5  12.9193
  6  11.7051
  7  23.9244
  8  37.7789
  9  15.39
  10  1.54549
  11  2.32857
  12  8.90262e-05
  13  14.7597
  14  1.16735e-06
  15  15.3423
  16  15.4953
  17  0.704893
  18  1.27665e-05
  19  0.000220822
  20  9.91735
  21  3.95469
  22  53.3314
  23  0.309299
  24  0.251198
Done.

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

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  1.000e-04  8.903e-05  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:  8.639e-01  2.512e-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:  9.098e-01  3.093e-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: 1.22e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.64e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/441669/likelihoodResults_340156801_340416001_4FGL_J2243.8-2510_daily_bin389.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) = 4320.85570742
delta logL = -8.06822681625e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4320.85562692
delta logL = -1.7424190446e-07

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 'Index     '    2.7646       1.0000          .0000       10.000    
     3 'Normalizat'    .90979       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86391       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=   4320.856     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      274 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    84.529        .18142E-02** at limit **
   2  Index         2.6969        6.3364        .50000        .13824E-04
   3  Normalizat    .90979        .25539        .26328E-03    .47498E-06
   4  Prefactor     .86390        .23017        .24146E-03   -.44730E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100012
  Index      = 2.69692
  Normalizat = 0.909787
  Prefactor  = 0.863902
 **********
 **   18 **HESSE 
 **********

 FCN=   4320.856     FROM HESSE     STATUS=OK            29 CALLS      303 TOTAL
                     EDM=   .35E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    60.415        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.6969        6.3392        .50000       -.47869    
   3  Normalizat    .90979        .25567        .10531E-04   -.96117    
   4  Prefactor     .86390        .23042        .96582E-05   -.97414    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.46395e-10
Minuit parameter uncertainties:
  1  0.00171271
  2  4.46467
  3  0.256016
  4  0.230684
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/441669': 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) = 4320.85562671
delta logL = 3.006971383e-08

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  1.000e-04  1.713e-03  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  2.697e+00  4.465e+00  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:  8.639e-01  2.307e-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:  9.098e-01  2.560e-01  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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/441669/cmap_HighResolution_340156801_340416001_4FGL_J2243.8-2510_daily_bin389.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.64e-03', job_status='DONE', photon_flux_upper_limit='1.22e-07', time_completed='2021-09-28 18:59:43.476867', job_id='441669', GAL2='0.86', fit_tolerance='1e-08', EG2='0.91', EG='0.91', time_epoch_completed='1632880783.48', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.86', dlogl='3.01e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.71' WHERE bin_id='389' AND source_name='4FGL J2243.8-2510' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 18:59:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0055>
Subject: Job 441669: <4FGL_J2243.8-2510_daily_bin389> in cluster <slac> Done

Job <4FGL_J2243.8-2510_daily_bin389> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep 28 18:50:20 2021
Job was executed on host(s) <bullet0055>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 18:50:21 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:50:21 2021
Terminated at Tue Sep 28 18:59:44 2021
Results reported at Tue Sep 28 18:59:44 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.8-2510_daily_bin389 340.957 -25.1701 340156801 340416001 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 :                                   539.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             347.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   562 sec.
    Turnaround time :                            564 sec.

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

