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


Performing analysis on: 4FGL_J2243.8-2510_daily_bin812
RA = 340.957, Dec = -25.1701
tmin = 449798401, tmax = 450057601
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='443319', job_status='RUN', time_executed='2021-09-28 18:57:31.155381', time_epoch_executed='1632880651.16' WHERE source_name='4FGL J2243.8-2510' and cadence='daily' and bin_id='812'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/443319

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/443319/ft1_4FGL_J2243.8-2510_daily_bin812.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/443319/ft2_4FGL_J2243.8-2510_daily_bin812.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/443319/ft1_4FGL_J2243.8-2510_daily_bin812.fits outfile=/scratch/kocevski/443319/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin812.fits ra=340.957 dec=-25.1701 rad=12.0 tmin=449798401.0 tmax=450057601.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 4.39
user 4.12
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/443319/ft1_filtered_4FGL_J2243.8-2510_daily_bin812.fits" evtable="EVENTS" scfile=/scratch/kocevski/443319/ft2_4FGL_J2243.8-2510_daily_bin812.fits sctable="SC_DATA" outfile=/scratch/kocevski/443319/ltcube_449798401_450057601_4FGL_J2243.8-2510_daily_bin812.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/443319/ft2_4FGL_J2243.8-2510_daily_bin812.fits
.....................!
real 12.00
user 11.61
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/443319/ft1_filtered_4FGL_J2243.8-2510_daily_bin812.fits evtable="EVENTS" scfile=/scratch/kocevski/443319/ft2_4FGL_J2243.8-2510_daily_bin812.fits sctable="SC_DATA" expcube=/scratch/kocevski/443319/ltcube_449798401_450057601_4FGL_J2243.8-2510_daily_bin812.fits outfile=/scratch/kocevski/443319/expmap_449798401_450057601_4FGL_J2243.8-2510_daily_bin812.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/443319/ltcube_449798401_450057601_4FGL_J2243.8-2510_daily_bin812.fits
.....................!
real 191.69
user 185.08
sys 5.99

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/443319/ft1_filtered_4FGL_J2243.8-2510_daily_bin812.fits scfile=/scratch/kocevski/443319/ft2_4FGL_J2243.8-2510_daily_bin812.fits outfile=/scratch/kocevski/443319/cmap_449798401_450057601_4FGL_J2243.8-2510_daily_bin812.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.55
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/443319/ft1_filtered_4FGL_J2243.8-2510_daily_bin812.fits scfile=/scratch/kocevski/443319/ft2_4FGL_J2243.8-2510_daily_bin812.fits outfile=/scratch/kocevski/443319/cmap_HighResolution_449798401_450057601_4FGL_J2243.8-2510_daily_bin812.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/443319/ft1_filtered_4FGL_J2243.8-2510_daily_bin812.fits evtable="EVENTS" scfile=/scratch/kocevski/443319/ft2_4FGL_J2243.8-2510_daily_bin812.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/443319/Model_4FGL_J2243.8-2510_daily_bin812.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/443319/ft1_filtered_4FGL_J2243.8-2510_daily_bin812.fits.....................!
real 41.05
user 39.60
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .25840       1.0000         .10000E-03   10000.    
     2 'norm      '    .61143       1.0000         .10000E-03   10000.    
     3 'Prefactor '    14.266       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .26776E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    25.271       1.0000         .10000E-03   10000.    
     8 'Prefactor '    31.290       1.0000         .10000E-03   10000.    
     9 'Prefactor '    10.218       1.0000         .10000E-03   10000.    
    10 'norm      '    .25964       1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.4190       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11751E-02   1.0000         .10000E-03   10000.    
    14 'norm      '    .97485       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .73168E-01   1.0000         .10000E-03   10000.    
    22 'Prefactor '    77.430       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.3090       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .79725       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=   4561.198     FROM MIGRAD    STATUS=CONVERGED    991 CALLS     3582 TOTAL
                     EDM=   .44E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10039E-03    105.83        .18845    ** at limit **
   2  norm          .61154        .37865        .31572E-04    .33092E-03
   3  Prefactor     14.268        14.816        .10604E-03    .61001E-04
   4  Prefactor     .10000E-03    9.2544        .18142E-02** at limit **
   5  Prefactor     .10000E-03    28.701        .39381E-02** at limit **
   6  Prefactor     .10000E-03    27.990        .18142E-02** at limit **
   7  norm          25.269        24.087        .79687E-04    .19260E-04
   8  Prefactor     31.285        27.835        .71630E-04    .57454E-04
   9  Prefactor     10.215        18.736        .12535E-03    .29023E-04
  10  norm          .26000        .58103        .83397E-03    .53063E-03
  11  norm          .10000E-03    1.0370        .66626E-03** at limit **
  12  Prefactor     3.3961        82.663        .21877E-03   -.83665E-05
  13  Prefactor     .10000E-03    171.72        .48291E-02** at limit **
  14  norm          .97341        3.4232        .22998E-03    .44490E-05
  15  Prefactor     .10000E-03    6.1846        .16393E-02** at limit **
  16  Prefactor     .10000E-03    17.662        .36285E-03** at limit **
  17  norm          .10000E-03    .32797        .67899E-03** at limit **
  18  Prefactor     .10000E-03    48.896        .18142E-02** at limit **
  19  Prefactor     .10000E-03    6.0868        .16249E-02** at limit **
  20  Prefactor     .10000E-03    6.1519        .16332E-02** at limit **
  21  norm          .74330E-01    22.315        .19588E-02    .15706E-03
  22  Prefactor     77.420        53.302        .22818E-03    .52813E-05
  23  Normalizat    1.3093        .28207        .23812E-03    .24394E-03
  24  Prefactor     .79698        .23761        .25861E-03    .13984E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100392
  norm       = 0.611539
  Prefactor  = 14.268
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 25.2687
  Prefactor  = 31.285
  Prefactor  = 10.2155
  norm       = 0.259997
  norm       = 0.0001
  Prefactor  = 3.39609
  Prefactor  = 0.000100001
  norm       = 0.973412
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0743302
  Prefactor  = 77.4202
  Normalizat = 1.30928
  Prefactor  = 0.796984
 **********
 **   18 **HESSE 
 **********

 FCN=   4561.198     FROM HESSE     STATUS=OK           387 CALLS     3969 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10039E-03    114.25        .17942       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .61154        .37865        .12629E-05   -1.5552    
   3  Prefactor     14.268        14.811        .42418E-05   -1.4952    
   4  Prefactor     .10000E-03    9.2551        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    28.924        .78762E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    27.990        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          25.269        24.091        .31875E-05   -1.4702    
   8  Prefactor     31.285        27.831        .14326E-04   -1.4589    
   9  Prefactor     10.215        18.731        .50140E-05   -1.5069    
  10  norm          .26000        .58055        .33359E-04   -1.5606    
  11  norm          .10000E-03    1.0370        .13325E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.3961        82.666        .87509E-05   -1.5339    
  13  Prefactor     .10000E-03    176.54        .19317E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .97341        3.4226        .91992E-05   -1.5511    
  15  Prefactor     .10000E-03    6.1847        .32786E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    17.663        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    .32809        .13580E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    48.896        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    6.0874        .32499E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    6.1526        .32665E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .74330E-01    22.640        .78353E-04   -1.5653    
  22  Prefactor     77.420        53.089        .91271E-05   -1.3946    
  23  Normalizat    1.3093        .28180        .47624E-04   -.83290    
  24  Prefactor     .79698        .23762        .10344E-04   -.99840    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.79466e-10
Minuit parameter uncertainties:
  1  0.0134115
  2  0.378655
  3  14.8151
  4  5.63151e-06
  5  0.000106687
  6  0.00013972
  7  24.1004
  8  27.8424
  9  18.7413
  10  0.580562
  11  7.93167e-06
  12  33.5623
  13  0.000917226
  14  3.42327
  15  4.87219e-07
  16  1.97851e-05
  17  3.02638e-06
  18  0.000348493
  19  7.04566e-06
  20  1.37501e-06
  21  2.5937
  22  53.1218
  23  0.282134
  24  0.237923
Done.

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

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  3.396e+00  3.356e+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.970e-01  2.379e-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.309e+00  2.821e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.01
Ra Dec: 340.957 -25.170
Photon Flux Upper Limit: 1.13e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.91e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/443319/likelihoodResults_449798401_450057601_4FGL_J2243.8-2510_daily_bin812.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) = 4561.19077244
delta logL = 0.00727813090907

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4561.18715268
delta logL = 0.010897892158

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.3738       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2801       1.0000          .0000       10.000    
     3 'Normalizat'    1.3104       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79543       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=   4561.187     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      276 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.3663        54.565        .15898E-03    .28057E-03
   2  Index         2.2806        2.3312        .17733E-01    .15450E-03
   3  Normalizat    1.3103        .26641        .23803E-03   -.62679E-03
   4  Prefactor     .79556        .23294        .25881E-03   -.58316E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.36628
  Index      = 2.28056
  Normalizat = 1.31026
  Prefactor  = 0.795561
 **********
 **   18 **HESSE 
 **********

 FCN=   4561.187     FROM HESSE     STATUS=OK            23 CALLS      299 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.3663        53.876        .31797E-04   -1.5203    
   2  Index         2.2806        2.3197        .70931E-03   -.57506    
   3  Normalizat    1.3103        .26668        .47606E-04   -.83261    
   4  Prefactor     .79556        .23314        .51763E-04   -.99892    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.0658e-08
Minuit parameter uncertainties:
  1  37.0848
  2  2.45794
  3  0.266959
  4  0.233431
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/443319': 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) = 4561.18715244
delta logL = 0.0108981300173

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  6.366e+00  3.708e+01  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  2.281e+00  2.458e+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:  7.956e-01  2.334e-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.310e+00  2.670e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.01
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/443319/cmap_HighResolution_449798401_450057601_4FGL_J2243.8-2510_daily_bin812.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.91e-03', job_status='DONE', photon_flux_upper_limit='1.13e-07', time_completed='2021-09-28 19:07:27.129724', job_id='443319', GAL2='0.80', fit_tolerance='1e-08', EG2='1.31', EG='1.31', time_epoch_completed='1632881247.13', return_code2='0', ts='0.01', comment='SUCCESS', return_code='0', GAL='0.80', dlogl='1.09e-02', ts2='0.03', photon_index_error='0.00', photon_index='2.71' WHERE bin_id='812' AND source_name='4FGL J2243.8-2510' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 19:07:27 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0205>
Subject: Job 443319: <4FGL_J2243.8-2510_daily_bin812> in cluster <slac> Done

Job <4FGL_J2243.8-2510_daily_bin812> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 18:55:25 2021
Job was executed on host(s) <bullet0205>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 18:55:27 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:55:27 2021
Terminated at Tue Sep 28 19:07:27 2021
Results reported at Tue Sep 28 19:07:27 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.8-2510_daily_bin812 340.957 -25.1701 449798401 450057601 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 :                                   594.54 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             325.25 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   720 sec.
    Turnaround time :                            722 sec.

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

