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


Performing analysis on: 4FGL_J2243.8-2510_daily_bin375
RA = 340.957, Dec = -25.1701
tmin = 336528001, tmax = 336787201
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='441651', job_status='RUN', time_executed='2021-09-28 18:52:40.859454', time_epoch_executed='1632880360.86' WHERE source_name='4FGL J2243.8-2510' and cadence='daily' and bin_id='375'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/441651

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/441651/ft1_4FGL_J2243.8-2510_daily_bin375.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/441651/ft2_4FGL_J2243.8-2510_daily_bin375.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/441651/ft1_4FGL_J2243.8-2510_daily_bin375.fits outfile=/scratch/kocevski/441651/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin375.fits ra=340.957 dec=-25.1701 rad=12.0 tmin=336528001.0 tmax=336787201.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.79
user 5.50
sys 0.26

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/441651/ft2_4FGL_J2243.8-2510_daily_bin375.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/441651/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin375.fits evtable="EVENTS" outfile="/scratch/kocevski/441651/ft1_filtered_4FGL_J2243.8-2510_daily_bin375.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/441651/ft1_filtered_4FGL_J2243.8-2510_daily_bin375.fits" evtable="EVENTS" scfile=/scratch/kocevski/441651/ft2_4FGL_J2243.8-2510_daily_bin375.fits sctable="SC_DATA" outfile=/scratch/kocevski/441651/ltcube_336528001_336787201_4FGL_J2243.8-2510_daily_bin375.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/441651/ft2_4FGL_J2243.8-2510_daily_bin375.fits
.....................!
real 11.88
user 11.49
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/441651/ft1_filtered_4FGL_J2243.8-2510_daily_bin375.fits evtable="EVENTS" scfile=/scratch/kocevski/441651/ft2_4FGL_J2243.8-2510_daily_bin375.fits sctable="SC_DATA" expcube=/scratch/kocevski/441651/ltcube_336528001_336787201_4FGL_J2243.8-2510_daily_bin375.fits outfile=/scratch/kocevski/441651/expmap_336528001_336787201_4FGL_J2243.8-2510_daily_bin375.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/441651/ltcube_336528001_336787201_4FGL_J2243.8-2510_daily_bin375.fits
.....................!
real 191.19
user 185.59
sys 5.29

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/441651/ft1_filtered_4FGL_J2243.8-2510_daily_bin375.fits scfile=/scratch/kocevski/441651/ft2_4FGL_J2243.8-2510_daily_bin375.fits outfile=/scratch/kocevski/441651/cmap_336528001_336787201_4FGL_J2243.8-2510_daily_bin375.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/441651/ft1_filtered_4FGL_J2243.8-2510_daily_bin375.fits scfile=/scratch/kocevski/441651/ft2_4FGL_J2243.8-2510_daily_bin375.fits outfile=/scratch/kocevski/441651/cmap_HighResolution_336528001_336787201_4FGL_J2243.8-2510_daily_bin375.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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/441651/ft1_filtered_4FGL_J2243.8-2510_daily_bin375.fits evtable="EVENTS" scfile=/scratch/kocevski/441651/ft2_4FGL_J2243.8-2510_daily_bin375.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/441651/Model_4FGL_J2243.8-2510_daily_bin375.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/441651/ft1_filtered_4FGL_J2243.8-2510_daily_bin375.fits.....................!
real 45.66
user 44.40
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .62915       1.0000         .10000E-03   10000.    
     3 'Prefactor '    7.0179       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    19.794       1.0000         .10000E-03   10000.    
     7 'norm      '    24.580       1.0000         .10000E-03   10000.    
     8 'Prefactor '    25.243       1.0000         .10000E-03   10000.    
     9 'Prefactor '    27.285       1.0000         .10000E-03   10000.    
    10 'norm      '    2.1231       1.0000         .10000E-03   10000.    
    11 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10052E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    9.7785       1.0000         .10000E-03   10000.    
    14 'norm      '    20.224       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .83813       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .96138       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=   5307.776     FROM MIGRAD    STATUS=CONVERGED    529 CALLS     2324 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    16.363        .71972E-06** at limit **
   2  norm          .62915        .27885       -.19844E-07    .19350E-03
   3  Prefactor     7.0174        7.4038       -.20252E-05   -.20382E-02
   4  Prefactor     .10000E-03    8.6938       -.77508E-06** at limit **
   5  Prefactor     .10000E-03    12.383        .10501E-05** at limit **
   6  Prefactor     19.742        98.945       -.10759E-03    .13912E-05
   7  norm          24.579        25.063       -.79568E-06   -.14062E-04
   8  Prefactor     25.242        26.762       -.11308E-05   -.36038E-05
   9  Prefactor     27.285        14.545       -.17726E-06   -.25009E-04
  10  norm          2.1233        1.2873        .12088E-05    .57485E-03
  11  norm          .10000E-03    1.6616       -.22315E-06** at limit **
  12  Prefactor     .10000E-03    41.241        .13692E-04** at limit **
  13  Prefactor     9.7779        11.499       -.11313E-05   -.52903E-04
  14  norm          20.223        6.1348       -.69965E-06   -.22346E-04
  15  Prefactor     .10000E-03    3.7103       -.71188E-07** at limit **
  16  Prefactor     .10000E-03    3.9481       -.12815E-06** at limit **
  17  norm          .10000E-03    .21064        .11267E-06** at limit **
  18  Prefactor     .10000E-03    50.309       -.50826E-05** at limit **
  19  Prefactor     .10000E-03    32.568       -.41653E-05** at limit **
  20  Prefactor     .10000E-03    2.6303        .98202E-07** at limit **
  21  norm          .10000E-03    1.7608       -.32336E-06** at limit **
  22  Prefactor     .10000E-03    12.524       -.13978E-05** at limit **
  23  Normalizat    .83821        .18727        .22985E-05    .52896E-04
  24  Prefactor     .96130        .17114        .28548E-05   -.10048E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.629149
  Prefactor  = 7.01741
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 19.7418
  norm       = 24.5792
  Prefactor  = 25.2422
  Prefactor  = 27.2852
  norm       = 2.12325
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.77794
  norm       = 20.2232
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.838212
  Prefactor  = 0.961304
 **********
 **   18 **HESSE 
 **********

 FCN=   5307.776     FROM HESSE     STATUS=OK           393 CALLS     2717 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    16.365        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .62915        .27864        .24905E-04   -1.5549    
   3  Prefactor     7.0174        7.5397        .75717E-03   -1.5178    
   4  Prefactor     .10000E-03    8.7194        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    12.689        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     19.742        97.556        .90025E-04   -1.4819    
   7  norm          24.579        25.051        .80798E-04   -1.4716    
   8  Prefactor     25.242        26.761        .79731E-04   -1.4703    
   9  Prefactor     27.285        14.554        .76695E-04   -1.4663    
  10  norm          2.1233        1.2823        .59883E-04   -1.5417    
  11  norm          .10000E-03    1.7207        .18314E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    41.275        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     9.7779        11.514        .12815E-03   -1.5082    
  14  norm          20.223        6.1341        .89064E-04   -1.4808    
  15  Prefactor     .10000E-03    3.7114        .13704E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    3.9684        .14121E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    .21085        .18142E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    50.343        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    33.299        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    2.6335        .11538E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    1.7953        .94398E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    12.529        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .83821        .21896        .26068E-03   -.98667    
  24  Prefactor     .96130        .20055        .22726E-03   -.94031    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.45968e-09
Minuit parameter uncertainties:
  1  6.00491e-06
  2  0.278643
  3  7.54074
  4  1.69627e-05
  5  0.00012081
  6  88.0016
  7  25.062
  8  26.7741
  9  14.5563
  10  1.28229
  11  9.77602e-06
  12  6.47974e-05
  13  11.5164
  14  6.13432
  15  7.56049e-08
  16  3.86116e-06
  17  8.50242e-08
  18  5.00892e-05
  19  0.00020843
  20  4.65616e-06
  21  9.39307e-06
  22  1.30654e-05
  23  0.219187
  24  0.20071
Done.

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

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  1.000e-04  6.480e-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:  9.613e-01  2.007e-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:  8.382e-01  2.192e-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.02e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.01e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/441651/likelihoodResults_336528001_336787201_4FGL_J2243.8-2510_daily_bin375.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) = 5307.77652851
delta logL = -0.000115366307

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5307.77641456
delta logL = -1.42173303175e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10281E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    3.4021       1.0000          .0000       10.000    
     3 'Normalizat'    .83821       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96131       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   5307.776     FROM MIGRAD    STATUS=FAILED        90 CALLS      268 TOTAL
                     EDM=   .60E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .13463E-03    42.237        .18142E-01** at limit **
   2  Index         2.8495        5.9964        .50000        .87020E-05
   3  Normalizat    .83821        .49263E-02    .26068E-03    .71742E-04
   4  Prefactor     .96131        .45964E-02    .22726E-03    .54228E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   5307.776     FROM SIMPLEX   STATUS=PROGRESS      99 CALLS      367 TOTAL
                     EDM=   .75E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10251E-03    42.237        .91189E-03** at limit **
   2  Index         2.8410        5.9964        .26076E-02    .87020E-05
   3  Normalizat    .83820        .49263E-02    .79894E-05    .71742E-04
   4  Prefactor     .96129        .45964E-02    .63157E-05    .54228E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5307.776     FROM MIGRAD    STATUS=CONVERGED     37 CALLS      404 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10632E-03    21.642        .36285E-01** at limit **
   2  Index         2.5756        6.3956        .50000        .39290E-05
   3  Normalizat    .83820        .31538E-02    .10427E-04   -.76524E-02
   4  Prefactor     .96129        .29426E-02    .90902E-05   -.87423E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00010632
  Index      = 2.57556
  Normalizat = 0.838195
  Prefactor  = 0.961292
 **********
 **   18 **HESSE 
 **********

 FCN=   5307.776     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      433 TOTAL
                     EDM=   .33E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10632E-03    2264.9        .94667E-03   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5756        8.5112        .50000       -.50624    
   3  Normalizat    .83820        .34947E-01    .20854E-05   -.98667    
   4  Prefactor     .96129        .32602E-01    .18180E-05   -.94031    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.30964e-08
Minuit parameter uncertainties:
  1  0.249386
  2  2987.52
  3  0.0349479
  4  0.0326029
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/441651': 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) = 5307.77641312
delta logL = 1.89838829101e-08

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  1.063e-04  2.494e-01  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  2.576e+00  2.988e+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:  9.613e-01  3.260e-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:  8.382e-01  3.495e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/441651/cmap_HighResolution_336528001_336787201_4FGL_J2243.8-2510_daily_bin375.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.01e-03', job_status='DONE', photon_flux_upper_limit='1.02e-07', time_completed='2021-09-28 19:02:24.261168', job_id='441651', GAL2='0.96', fit_tolerance='1e-08', EG2='0.84', EG='0.84', time_epoch_completed='1632880944.26', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='1.90e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.71' WHERE bin_id='375' AND source_name='4FGL J2243.8-2510' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 19:02:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0231>
Subject: Job 441651: <4FGL_J2243.8-2510_daily_bin375> in cluster <slac> Done

Job <4FGL_J2243.8-2510_daily_bin375> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep 28 18:50:19 2021
Job was executed on host(s) <bullet0231>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 18:50:20 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 18:50:20 2021
Terminated at Tue Sep 28 19:02:25 2021
Results reported at Tue Sep 28 19:02:25 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.8-2510_daily_bin375 340.957 -25.1701 336528001 336787201 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 :                                   583.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             291.09 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   724 sec.
    Turnaround time :                            726 sec.

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

