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


Performing analysis on: 4FGL_J2243.8-2510_daily_bin1483
RA = 340.957, Dec = -25.1701
tmin = 623721601, tmax = 623980801
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='445384', job_status='RUN', time_executed='2021-09-28 19:01:52.805045', time_epoch_executed='1632880912.81' WHERE source_name='4FGL J2243.8-2510' and cadence='daily' and bin_id='1483'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/445384

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/445384/ft1_4FGL_J2243.8-2510_daily_bin1483.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/445384/ft2_4FGL_J2243.8-2510_daily_bin1483.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/445384/ft1_4FGL_J2243.8-2510_daily_bin1483.fits outfile=/scratch/kocevski/445384/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin1483.fits ra=340.957 dec=-25.1701 rad=12.0 tmin=623721601.0 tmax=623980801.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.29
user 5.02
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/445384/ft1_filtered_4FGL_J2243.8-2510_daily_bin1483.fits" evtable="EVENTS" scfile=/scratch/kocevski/445384/ft2_4FGL_J2243.8-2510_daily_bin1483.fits sctable="SC_DATA" outfile=/scratch/kocevski/445384/ltcube_623721601_623980801_4FGL_J2243.8-2510_daily_bin1483.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/445384/ft2_4FGL_J2243.8-2510_daily_bin1483.fits
.....................!
real 11.76
user 11.40
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/445384/ft1_filtered_4FGL_J2243.8-2510_daily_bin1483.fits evtable="EVENTS" scfile=/scratch/kocevski/445384/ft2_4FGL_J2243.8-2510_daily_bin1483.fits sctable="SC_DATA" expcube=/scratch/kocevski/445384/ltcube_623721601_623980801_4FGL_J2243.8-2510_daily_bin1483.fits outfile=/scratch/kocevski/445384/expmap_623721601_623980801_4FGL_J2243.8-2510_daily_bin1483.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/445384/ltcube_623721601_623980801_4FGL_J2243.8-2510_daily_bin1483.fits
.....................!
real 190.43
user 185.42
sys 4.47

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/445384/ft1_filtered_4FGL_J2243.8-2510_daily_bin1483.fits scfile=/scratch/kocevski/445384/ft2_4FGL_J2243.8-2510_daily_bin1483.fits outfile=/scratch/kocevski/445384/cmap_623721601_623980801_4FGL_J2243.8-2510_daily_bin1483.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/445384/ft1_filtered_4FGL_J2243.8-2510_daily_bin1483.fits scfile=/scratch/kocevski/445384/ft2_4FGL_J2243.8-2510_daily_bin1483.fits outfile=/scratch/kocevski/445384/cmap_HighResolution_623721601_623980801_4FGL_J2243.8-2510_daily_bin1483.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.36
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/445384/ft1_filtered_4FGL_J2243.8-2510_daily_bin1483.fits evtable="EVENTS" scfile=/scratch/kocevski/445384/ft2_4FGL_J2243.8-2510_daily_bin1483.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/445384/Model_4FGL_J2243.8-2510_daily_bin1483.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/445384/ft1_filtered_4FGL_J2243.8-2510_daily_bin1483.fits....................!
real 34.73
user 33.42
sys 1.14

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10373E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .29638       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .13319E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.1840       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .59330       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    2.0079       1.0000         .10000E-03   10000.    
    11 'norm      '    4.3318       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .13997E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    17.619       1.0000         .10000E-03   10000.    
    14 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.5709       1.0000         .10000E-03   10000.    
    17 'norm      '    4.7002       1.0000         .10000E-03   10000.    
    18 'Prefactor '    37.441       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    9.6338       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10300E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.2333       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .76006       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=   3455.606     FROM MIGRAD    STATUS=CONVERGED    571 CALLS     2770 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    52.974       -.12473E-05** at limit **
   2  norm          .29638        .41305       -.22325E-07   -.12855E-04
   3  Prefactor     .10002E-03    15.480       -.34380E-05** at limit **
   4  Prefactor     .10000E-03    6.6987       -.23370E-07** at limit **
   5  Prefactor     1.1793        27.451        .39229E-05    .14082E-03
   6  Prefactor     .10000E-03    29.890       -.90243E-06** at limit **
   7  norm          .10000E-03    14.708        .47602E-07** at limit **
   8  Prefactor     .71457        54.653       -.44835E-05    .86622E-04
   9  Prefactor     .10000E-03    18.784       -.57248E-06** at limit **
  10  norm          2.0080        1.3025       -.33224E-08    .17756E-04
  11  norm          4.3325        3.4045        .94588E-06    .11648E-03
  12  Prefactor     .10000E-03    385.59        .11106E-04** at limit **
  13  Prefactor     17.605        25.655       -.24534E-06    .34107E-04
  14  norm          .10000E-03    2.9468       -.18418E-06** at limit **
  15  Prefactor     .10000E-03    23.122       -.10180E-06** at limit **
  16  Prefactor     3.5740        48.478        .63278E-05    .52744E-04
  17  norm          4.7005        2.0590       -.17150E-06    .39956E-03
  18  Prefactor     37.434        86.676        .77905E-06    .13938E-04
  19  Prefactor     .10000E-03    13.699       -.16662E-06** at limit **
  20  Prefactor     .10000E-03    24.272       -.71698E-06** at limit **
  21  norm          9.6287        6.4870       -.70995E-06   -.43102E-04
  22  Prefactor     .10000E-03    287.61       -.89323E-05** at limit **
  23  Normalizat    1.2333        .28812       -.20334E-05    .14399E-03
  24  Prefactor     .75998        .23326        .18724E-05    .31111E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.296376
  Prefactor  = 0.00010002
  Prefactor  = 0.0001
  Prefactor  = 1.17926
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.714571
  Prefactor  = 0.0001
  norm       = 2.00798
  norm       = 4.3325
  Prefactor  = 0.0001
  Prefactor  = 17.6048
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.57404
  norm       = 4.70049
  Prefactor  = 37.4342
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 9.62872
  Prefactor  = 0.000100002
  Normalizat = 1.23335
  Prefactor  = 0.759977
 **********
 **   18 **HESSE 
 **********

 FCN=   3455.606     FROM HESSE     STATUS=OK           399 CALLS     3169 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    53.085        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .29638        .38455        .43129E-03   -1.5599    
   3  Prefactor     .10002E-03    46.497        .34099E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    6.7014        .14860E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.1793        31.116        .20980E-02   -1.5491    
   6  Prefactor     .10000E-03    29.947        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    14.718        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .71457        457.28        .72708E-02   -1.5539    
   9  Prefactor     .10000E-03    18.953        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.0080        1.3025        .52020E-04   -1.5425    
  11  norm          4.3325        3.3917        .92203E-04   -1.5292    
  12  Prefactor     .10000E-03    386.06        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     17.605        25.827        .95419E-04   -1.4869    
  14  norm          .10000E-03    2.9595        .98592E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    23.181        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.5740        51.775        .10693E-02   -1.5330    
  17  norm          4.7005        2.1186        .36115E-04   -1.5274    
  18  Prefactor     37.434        86.686        .65500E-04   -1.4484    
  19  Prefactor     .10000E-03    13.816        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    24.501        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          9.6287        6.4856        .11824E-03   -1.5087    
  22  Prefactor     .10000E-03    291.34        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.2333        .35872        .25656E-03   -.85578    
  24  Prefactor     .75998        .28989        .27309E-03   -1.0122    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.57778e-09
Minuit parameter uncertainties:
  1  0.000211035
  2  0.384555
  3  0.00192064
  4  9.68584e-07
  5  12.1216
  6  0.000119428
  7  1.05021e-05
  8  36.4331
  9  9.88171e-05
  10  1.3025
  11  3.39188
  12  0.000165026
  13  25.8437
  14  1.97362e-05
  15  0.000111933
  16  27.2343
  17  2.1186
  18  86.9799
  19  1.41025e-05
  20  0.000203266
  21  6.48612
  22  0.0016026
  23  0.359441
  24  0.290472
Done.

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

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  1.000e-04  1.650e-04  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.600e-01  2.905e-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.233e+00  3.594e-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.82e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.43e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/445384/likelihoodResults_623721601_623980801_4FGL_J2243.8-2510_daily_bin1483.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) = 3455.60568673
delta logL = -1.21951948131e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3455.60218947
delta logL = 0.00348505943839

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.9014       1.0000         .10000E-03   10000.    
     2 'Index     '    3.3485       1.0000          .0000       10.000    
     3 'Normalizat'    1.2312       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .75893       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.

 FCN=   3455.602     FROM MIGRAD    STATUS=CONVERGED     70 CALLS      316 TOTAL
                     EDM=   .41E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.9964        1029.6        .59638E-02    .33818E-04
   2  Index         3.3520        3.0736        .50000        .26012E-05
   3  Normalizat    1.2261        .22219E-01    .58155E-01   -.18587E-03
   4  Prefactor     .76337        .19127E-01    .43180E-01   -.11809E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.99638
  Index      = 3.35195
  Normalizat = 1.22605
  Prefactor  = 0.763366
 **********
 **   18 **HESSE 
 **********

 FCN=   3455.602     FROM HESSE     STATUS=OK            31 CALLS      347 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.9964        156.99        .23855E-03   -1.5362    
   2  Index         3.3520        6.6335        .12121E-01   -.33589    
   3  Normalizat    1.2261        .33117        .25718E-03   -.85802    
   4  Prefactor     .76337        .27823        .27228E-03   -1.0109    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.25768e-10
Minuit parameter uncertainties:
  1  43.4977
  2  4.95768
  3  0.331739
  4  0.278744
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/445384': 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) = 3455.60205948
delta logL = 0.00361505247656

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  2.996e+00  4.350e+01  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  3.352e+00  4.958e+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.634e-01  2.787e-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.226e+00  3.317e-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/445384/cmap_HighResolution_623721601_623980801_4FGL_J2243.8-2510_daily_bin1483.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.43e-02', job_status='DONE', photon_flux_upper_limit='1.82e-07', time_completed='2021-09-28 19:10:31.322519', job_id='445384', GAL2='0.76', fit_tolerance='1e-08', EG2='1.23', EG='1.23', time_epoch_completed='1632881431.32', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.76', dlogl='3.62e-03', ts2='0.01', photon_index_error='0.00', photon_index='2.71' WHERE bin_id='1483' AND source_name='4FGL J2243.8-2510' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 19:10:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0076>
Subject: Job 445384: <4FGL_J2243.8-2510_daily_bin1483> in cluster <slac> Done

Job <4FGL_J2243.8-2510_daily_bin1483> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Sep 28 19:01:00 2021
Job was executed on host(s) <bullet0076>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 19:01:02 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:01:02 2021
Terminated at Tue Sep 28 19:10:32 2021
Results reported at Tue Sep 28 19:10:32 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.8-2510_daily_bin1483 340.957 -25.1701 623721601 623980801 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 :                                   510.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             274.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   569 sec.
    Turnaround time :                            572 sec.

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

