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


Performing analysis on: 4FGL_J2243.8-2510_daily_bin819
RA = 340.957, Dec = -25.1701
tmin = 451612801, tmax = 451872001
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='443328', job_status='RUN', time_executed='2021-09-28 18:58:35.351141', time_epoch_executed='1632880715.35' WHERE source_name='4FGL J2243.8-2510' and cadence='daily' and bin_id='819'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/443328

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/443328/ft1_4FGL_J2243.8-2510_daily_bin819.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/443328/ft2_4FGL_J2243.8-2510_daily_bin819.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/443328/ft1_4FGL_J2243.8-2510_daily_bin819.fits outfile=/scratch/kocevski/443328/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin819.fits ra=340.957 dec=-25.1701 rad=12.0 tmin=451612801.0 tmax=451872001.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.37
user 3.16
sys 0.19

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/443328/ft1_filtered_4FGL_J2243.8-2510_daily_bin819.fits evtable="EVENTS" scfile=/scratch/kocevski/443328/ft2_4FGL_J2243.8-2510_daily_bin819.fits sctable="SC_DATA" expcube=/scratch/kocevski/443328/ltcube_451612801_451872001_4FGL_J2243.8-2510_daily_bin819.fits outfile=/scratch/kocevski/443328/expmap_451612801_451872001_4FGL_J2243.8-2510_daily_bin819.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/443328/ltcube_451612801_451872001_4FGL_J2243.8-2510_daily_bin819.fits
.....................!
real 190.95
user 186.33
sys 4.26

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/443328/ft1_filtered_4FGL_J2243.8-2510_daily_bin819.fits scfile=/scratch/kocevski/443328/ft2_4FGL_J2243.8-2510_daily_bin819.fits outfile=/scratch/kocevski/443328/cmap_451612801_451872001_4FGL_J2243.8-2510_daily_bin819.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.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/443328/ft1_filtered_4FGL_J2243.8-2510_daily_bin819.fits scfile=/scratch/kocevski/443328/ft2_4FGL_J2243.8-2510_daily_bin819.fits outfile=/scratch/kocevski/443328/cmap_HighResolution_451612801_451872001_4FGL_J2243.8-2510_daily_bin819.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.56
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/443328/ft1_filtered_4FGL_J2243.8-2510_daily_bin819.fits evtable="EVENTS" scfile=/scratch/kocevski/443328/ft2_4FGL_J2243.8-2510_daily_bin819.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/443328/Model_4FGL_J2243.8-2510_daily_bin819.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/443328/ft1_filtered_4FGL_J2243.8-2510_daily_bin819.fits.....................!
real 52.76
user 51.40
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.3485       1.0000         .10000E-03   10000.    
     2 'norm      '    .90003       1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.7946       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    66.628       1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    12.871       1.0000         .10000E-03   10000.    
     9 'Prefactor '    17.911       1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    21.965       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    8.4703       1.0000         .10000E-03   10000.    
    17 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    90.059       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    4.5915       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .93393       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .76344       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=   6730.523     FROM MIGRAD    STATUS=CONVERGED    518 CALLS     2705 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.3470        43.323       -.54908E-05   -.95984E-06
   2  norm          .90002        .29155        .28235E-08    .11883E-03
   3  Prefactor     1.7940        1.7176        .22494E-06   -.11076E-02
   4  Prefactor     .10000E-03    4.0829       -.33014E-05** at limit **
   5  Prefactor     .10000E-03    1.8833        .49250E-07** at limit **
   6  Prefactor     66.623        45.754       -.46097E-05    .14631E-05
   7  norm          .10000E-03    7.3584        .15271E-05** at limit **
   8  Prefactor     12.871        13.899        .43867E-06   -.80668E-05
   9  Prefactor     17.913        11.123        .53536E-06    .26144E-04
  10  norm          .10000E-03    .34598       -.35768E-07** at limit **
  11  norm          .10000E-03    .48763       -.59431E-07** at limit **
  12  Prefactor     21.966        22.287        .92730E-06    .17888E-04
  13  Prefactor     .10000E-03    3.6980        .23035E-05** at limit **
  14  norm          .10000E-03    1.2129        .48701E-07** at limit **
  15  Prefactor     .10000E-03    6.2504        .14306E-05** at limit **
  16  Prefactor     8.4722        6.6516        .12379E-06    .22120E-03
  17  norm          .10000E-03    .20464       -.52264E-07** at limit **
  18  Prefactor     90.063        81.005        .41305E-05   -.31255E-05
  19  Prefactor     .10000E-03    2.5127        .65288E-06** at limit **
  20  Prefactor     .10000E-03    7.7971       -.25420E-05** at limit **
  21  norm          .10000E-03    .72564        .84575E-07** at limit **
  22  Prefactor     4.5874        25.127       -.13400E-04   -.85841E-05
  23  Normalizat    .93381        .15007        .38452E-07    .90408E-04
  24  Prefactor     .76355        .13514        .39834E-06    .68855E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.34702
  norm       = 0.900024
  Prefactor  = 1.79397
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 66.6232
  norm       = 0.0001
  Prefactor  = 12.8712
  Prefactor  = 17.9126
  norm       = 0.000100002
  norm       = 0.0001
  Prefactor  = 21.966
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.4722
  norm       = 0.0001
  Prefactor  = 90.0631
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 4.58742
  Normalizat = 0.933811
  Prefactor  = 0.763552
 **********
 **   18 **HESSE 
 **********

 FCN=   6730.523     FROM HESSE     STATUS=OK           395 CALLS     3100 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.3470        43.363        .15930E-03   -1.5204    
   2  norm          .90002        .29164        .24499E-04   -1.5518    
   3  Prefactor     1.7940        6.6851        .15608E-02   -1.5440    
   4  Prefactor     .10000E-03    4.0885        .16188E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    1.8924        .10994E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     66.623        45.606        .49170E-04   -1.4074    
   7  norm          .10000E-03    7.3719        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     12.871        13.903        .11165E-03   -1.4990    
   9  Prefactor     17.913        11.152        .94636E-04   -1.4861    
  10  norm          .10000E-03    2.4853        .92423E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    .48932        .55888E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     21.966        22.257        .85464E-04   -1.4770    
  13  Prefactor     .10000E-03    3.7028        .15375E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    1.2208        .88030E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    6.2601        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     8.4722        6.1503        .13774E-03   -1.5126    
  17  norm          .10000E-03    .29097        .66132E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     90.063        81.091        .42342E-04   -1.3807    
  19  Prefactor     .10000E-03    2.5166        .12699E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    7.8890        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    .73040        .68253E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     4.5874        25.204        .18785E-03   -1.5280    
  23  Normalizat    .93381        .18102        .21955E-03   -.95282    
  24  Prefactor     .76355        .16116        .22362E-03   -1.0109    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.79983e-09
Minuit parameter uncertainties:
  1  33.2141
  2  0.291636
  3  6.68784
  4  3.35386e-06
  5  1.50188e-06
  6  45.6294
  7  4.48742e-06
  8  13.9067
  9  11.1529
  10  0.000142973
  11  1.54696e-06
  12  22.2657
  13  7.0401e-06
  14  2.41943e-06
  15  6.34873e-06
  16  6.15078
  17  1.4532e-06
  18  81.1906
  19  9.85313e-08
  20  7.8119e-06
  21  5.50482e-06
  22  21.5191
  23  0.181142
  24  0.161264
Done.

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

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  2.197e+01  2.227e+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.636e-01  1.613e-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.338e-01  1.811e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.99
Ra Dec: 340.957 -25.170
Photon Index (Fixed Index): 2.71 +/- 0.00
Photon Flux (Fixed Index): 2.28e-08 +/- 2.31e-08
Energy Flux (Fixed Index): 5.45e-06 +/- 5.53e-06

TS (Fixed Index): 2.99
Ra Dec: 340.957 -25.170
Photon Flux Upper Limit: 8.44e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.64e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/443328/likelihoodResults_451612801_451872001_4FGL_J2243.8-2510_daily_bin819.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) = 6729.99228683
delta logL = 0.530914884277

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6729.98878953
delta logL = 0.534412185448

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    21.647       1.0000         .10000E-03   10000.    
     2 'Index     '    1.7574       1.0000          .0000       10.000    
     3 'Normalizat'    .95257       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .75295       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=   6729.989     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      207 TOTAL
                     EDM=   .96E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     21.516        22.366        .21522E-02    .40779E-05
   2  Index         1.7501        .53819        .27404       -.53135E-04
   3  Normalizat    .95266        .14311        .45570E-01    .35831E-04
   4  Prefactor     .75291        .13345        .43102E-01   -.87165E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 21.5161
  Index      = 1.75006
  Normalizat = 0.95266
  Prefactor  = 0.752915
 **********
 **   18 **HESSE 
 **********

 FCN=   6729.989     FROM HESSE     STATUS=OK            33 CALLS      240 TOTAL
                     EDM=   .60E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     21.516        25.074        .86089E-04   -1.4780    
   2  Index         1.7501        .76156        .11307E-01   -.70757    
   3  Normalizat    .95266        .16995        .21766E-03   -.94634    
   4  Prefactor     .75291        .15856        .22504E-03   -1.0149    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.00397e-11
Minuit parameter uncertainties:
  1  25.0866
  2  0.766751
  3  0.170045
  4  0.158652
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/443328': 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) = 6729.98874517
delta logL = 0.534456546081

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  2.152e+01  2.509e+01  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  1.750e+00  7.668e-01  0.000e+00  1.000e+01 (-1.000e+00)
270        Scale:  6.765e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
526    Prefactor:  7.529e-01  1.587e-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.527e-01  1.700e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.06
Ra Dec: 340.957 -25.170
Photon Index (Free Index): 1.75 +/- 0.77
Photon Flux (Free Index): 8.10e-09 +/- 1.17e-08
Energy Flux (Free Index): 1.13e-05 +/- 1.94e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/443328/cmap_HighResolution_451612801_451872001_4FGL_J2243.8-2510_daily_bin819.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.64e-03', comment='SUCCESS', photon_flux='2.28e-08', energy_flux2='1.13e-05', photon_flux_error='2.31e-08', dlogl='5.34e-01', energy_flux='5.45e-06', photon_flux2='8.10e-09', job_status='DONE', time_completed='2021-09-28 19:09:37.103067', photon_index_error2='0.77', photon_index2='1.75', ts='2.99', fit_tolerance='1e-08', GAL='0.76', photon_index_error='0.00', photon_flux_upper_limit='8.44e-08', energy_flux_error2='1.94e-05', EG='0.93', time_epoch_completed='1632881377.1', return_code='0', job_id='443328', GAL2='0.75', EG2='0.95', return_code2='0', energy_flux_error='5.53e-06', photon_flux_error2='1.17e-08', ts2='4.06', photon_index='2.71' WHERE bin_id='819' AND source_name='4FGL J2243.8-2510' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 19:09:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0117>
Subject: Job 443328: <4FGL_J2243.8-2510_daily_bin819> in cluster <slac> Done

Job <4FGL_J2243.8-2510_daily_bin819> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 18:55:26 2021
Job was executed on host(s) <bullet0117>, 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:09:37 2021
Results reported at Tue Sep 28 19:09:37 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.8-2510_daily_bin819 340.957 -25.1701 451612801 451872001 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 :                                   662.02 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             276.29 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   850 sec.
    Turnaround time :                            851 sec.

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

