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


Performing analysis on: 4FGL_J2243.8-2510_daily_bin311
RA = 340.957, Dec = -25.1701
tmin = 319939201, tmax = 320198401
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='440194', job_status='RUN', time_executed='2021-09-28 18:48:20.294928', time_epoch_executed='1632880100.29' WHERE source_name='4FGL J2243.8-2510' and cadence='daily' and bin_id='311'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/440194

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/440194/ft1_4FGL_J2243.8-2510_daily_bin311.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/440194/ft2_4FGL_J2243.8-2510_daily_bin311.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/440194/ft1_4FGL_J2243.8-2510_daily_bin311.fits outfile=/scratch/kocevski/440194/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin311.fits ra=340.957 dec=-25.1701 rad=12.0 tmin=319939201.0 tmax=320198401.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.48
user 3.25
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/440194/ft2_4FGL_J2243.8-2510_daily_bin311.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/440194/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin311.fits evtable="EVENTS" outfile="/scratch/kocevski/440194/ft1_filtered_4FGL_J2243.8-2510_daily_bin311.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.48
user 0.30
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/440194/ft1_filtered_4FGL_J2243.8-2510_daily_bin311.fits" evtable="EVENTS" scfile=/scratch/kocevski/440194/ft2_4FGL_J2243.8-2510_daily_bin311.fits sctable="SC_DATA" outfile=/scratch/kocevski/440194/ltcube_319939201_320198401_4FGL_J2243.8-2510_daily_bin311.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/440194/ft2_4FGL_J2243.8-2510_daily_bin311.fits
.....................!
real 11.59
user 11.25
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/440194/ft1_filtered_4FGL_J2243.8-2510_daily_bin311.fits evtable="EVENTS" scfile=/scratch/kocevski/440194/ft2_4FGL_J2243.8-2510_daily_bin311.fits sctable="SC_DATA" expcube=/scratch/kocevski/440194/ltcube_319939201_320198401_4FGL_J2243.8-2510_daily_bin311.fits outfile=/scratch/kocevski/440194/expmap_319939201_320198401_4FGL_J2243.8-2510_daily_bin311.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/440194/ltcube_319939201_320198401_4FGL_J2243.8-2510_daily_bin311.fits
.....................!
real 190.68
user 185.76
sys 4.61

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/440194/ft1_filtered_4FGL_J2243.8-2510_daily_bin311.fits scfile=/scratch/kocevski/440194/ft2_4FGL_J2243.8-2510_daily_bin311.fits outfile=/scratch/kocevski/440194/cmap_319939201_320198401_4FGL_J2243.8-2510_daily_bin311.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.52
user 0.35
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/440194/ft1_filtered_4FGL_J2243.8-2510_daily_bin311.fits scfile=/scratch/kocevski/440194/ft2_4FGL_J2243.8-2510_daily_bin311.fits outfile=/scratch/kocevski/440194/cmap_HighResolution_319939201_320198401_4FGL_J2243.8-2510_daily_bin311.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.53
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/440194/ft1_filtered_4FGL_J2243.8-2510_daily_bin311.fits evtable="EVENTS" scfile=/scratch/kocevski/440194/ft2_4FGL_J2243.8-2510_daily_bin311.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/440194/Model_4FGL_J2243.8-2510_daily_bin311.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/440194/ft1_filtered_4FGL_J2243.8-2510_daily_bin311.fits.....................!
real 50.83
user 49.62
sys 1.13

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11692E-02   1.0000         .10000E-03   10000.    
     2 'norm      '    1.9918       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .28597       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    20.589       1.0000         .10000E-03   10000.    
     7 'norm      '    20.018       1.0000         .10000E-03   10000.    
     8 'Prefactor '    11.964       1.0000         .10000E-03   10000.    
     9 'Prefactor '    8.1300       1.0000         .10000E-03   10000.    
    10 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    1.6761       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .12239E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10083E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    7.7943       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .69942E-02   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .88897E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10194E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    56.680       1.0000         .10000E-03   10000.    
    19 'Prefactor '    16.072       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .11729E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.3657       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .94057       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=   5997.087     FROM MIGRAD    STATUS=CONVERGED    567 CALLS     2798 TOTAL
                     EDM=   .77E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    662.51        .29750E-05** at limit **
   2  norm          1.9922        .54321       -.33970E-07   -.18958E-02
   3  Prefactor     .10000E-03    21.340       -.28904E-05** at limit **
   4  Prefactor     .32876        185.33        .94890E-05   -.12929E-03
   5  Prefactor     .10000E-03    4.0637       -.51893E-06** at limit **
   6  Prefactor     20.642        39.308       -.31070E-05   -.14326E-03
   7  norm          20.029        20.723        .22233E-06    .69332E-04
   8  Prefactor     11.970        17.341        .12696E-06    .20031E-04
   9  Prefactor     8.1241        15.785        .81681E-06    .13560E-03
  10  norm          .10000E-03    .21594       -.88520E-08** at limit **
  11  norm          1.6757        2.0159        .86283E-08    .27981E-03
  12  Prefactor     .10000E-03    75.608       -.29673E-05** at limit **
  13  Prefactor     .10000E-03    6.9776       -.61190E-06** at limit **
  14  norm          7.8158        5.0834       -.23403E-07    .89728E-03
  15  Prefactor     .10014E-03    35.792        .62679E-05** at limit **
  16  Prefactor     .10002E-03    31.777       -.35677E-05** at limit **
  17  norm          .10000E-03    .60747       -.85363E-06** at limit **
  18  Prefactor     56.715        75.251       -.21367E-05   -.81898E-04
  19  Prefactor     16.070        13.023       -.48983E-07    .29483E-04
  20  Prefactor     .10000E-03    4.7751       -.41412E-06** at limit **
  21  norm          .10000E-03    .97073       -.14609E-06** at limit **
  22  Prefactor     .10000E-03    46.456        .90267E-06** at limit **
  23  Normalizat    1.3657        .21884       -.16721E-05    .24442E-03
  24  Prefactor     .94069        .19113        .26539E-05    .23261E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100004
  norm       = 1.99215
  Prefactor  = 0.000100003
  Prefactor  = 0.328761
  Prefactor  = 0.0001
  Prefactor  = 20.6423
  norm       = 20.0291
  Prefactor  = 11.9697
  Prefactor  = 8.12412
  norm       = 0.0001
  norm       = 1.67573
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  norm       = 7.81578
  Prefactor  = 0.000100142
  Prefactor  = 0.000100019
  norm       = 0.000100001
  Prefactor  = 56.7154
  Prefactor  = 16.0703
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.36566
  Prefactor  = 0.940691
 **********
 **   18 **HESSE 
 **********

 FCN=   5997.087     FROM HESSE     STATUS=OK           403 CALLS     3201 TOTAL
                     EDM=   .39E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    671.91        .20656E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.9922        .54599        .28848E-04   -1.5426    
   3  Prefactor     .10000E-03    22.799        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .32876        21.007        .90424E-01   -1.5593    
   5  Prefactor     .10000E-03    4.0971        .15275E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     20.642        39.912        .88271E-04   -1.4799    
   7  norm          20.029        20.710        .89520E-04   -1.4813    
   8  Prefactor     11.970        17.347        .11582E-03   -1.5016    
   9  Prefactor     8.1241        15.812        .14061E-03   -1.5138    
  10  norm          .10000E-03    .21597        .18142E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.6757        1.9967        .11585E-03   -1.5449    
  12  Prefactor     .10000E-03    76.581        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    7.0381        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          7.8158        5.1911        .68129E-03   -1.5149    
  15  Prefactor     .10014E-03    69.869        .47769E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10002E-03    35.073        .38720E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    .71093        .88258E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     56.715        75.868        .53284E-04   -1.4200    
  19  Prefactor     16.070        13.028        .99906E-04   -1.4906    
  20  Prefactor     .10000E-03    4.7996        .16530E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    .97505        .74566E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    46.881        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.3657        .25595        .25190E-03   -.81627    
  24  Prefactor     .94069        .22516        .26734E-03   -.94733    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.88592e-09
Minuit parameter uncertainties:
  1  0.00328194
  2  0.545988
  3  0.000550467
  4  5.25703
  5  3.59197e-05
  6  39.9638
  7  20.7175
  8  17.3547
  9  15.8201
  10  7.00223e-08
  11  1.99673
  12  0.0010404
  13  4.68585e-05
  14  5.1914
  15  0.00631188
  16  0.00161331
  17  3.93564e-05
  18  75.9974
  19  13.0302
  20  2.35242e-05
  21  5.33751e-06
  22  0.000241549
  23  0.256186
  24  0.225379
Done.

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

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  1.000e-04  1.040e-03  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.407e-01  2.254e-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.366e+00  2.562e-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.10e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.64e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/440194/likelihoodResults_319939201_320198401_4FGL_J2243.8-2510_daily_bin311.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) = 5997.08670512
delta logL = -6.21131448497e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5997.08664311
delta logL = -9.67975211097e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10300E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.6716       1.0000          .0000       10.000    
     3 'Normalizat'    1.3657       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94068       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=   5997.087     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      202 TOTAL
                     EDM=   .55E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    198.61        .90712E-02** at limit **
   2  Index         2.6943        5.9640        .50000       -.28326E-05
   3  Normalizat    1.3657        .20435        .56966E-01    .34438E-04
   4  Prefactor     .94069        .18498        .45521E-01    .33581E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100003
  Index      = 2.69431
  Normalizat = 1.36566
  Prefactor  = 0.94069
 **********
 **   18 **HESSE 
 **********

 FCN=   5997.087     FROM HESSE     STATUS=OK            33 CALLS      235 TOTAL
                     EDM=   .43E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    79.388        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.6943        6.3438        .50000       -.47928    
   3  Normalizat    1.3657        .24547        .25191E-03   -.81627    
   4  Prefactor     .94069        .22227        .26734E-03   -.94733    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.28088e-11
Minuit parameter uncertainties:
  1  0.00100327
  2  4.61333
  3  0.245683
  4  0.222482
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/440194': 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) = 5997.08664302
delta logL = -7.85166776041e-09

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  1.000e-04  1.003e-03  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  2.694e+00  4.613e+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:  9.407e-01  2.225e-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.366e+00  2.457e-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/440194/cmap_HighResolution_319939201_320198401_4FGL_J2243.8-2510_daily_bin311.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.64e-03', job_status='DONE', photon_flux_upper_limit='1.10e-07', time_completed='2021-09-28 18:58:55.731501', job_id='440194', GAL2='0.94', fit_tolerance='1e-08', EG2='1.37', EG='1.37', time_epoch_completed='1632880735.73', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='-7.85e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.71' WHERE bin_id='311' AND source_name='4FGL J2243.8-2510' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 18:58:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0111>
Subject: Job 440194: <4FGL_J2243.8-2510_daily_bin311> in cluster <slac> Done

Job <4FGL_J2243.8-2510_daily_bin311> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Sep 28 18:45:40 2021
Job was executed on host(s) <bullet0111>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 18:45:42 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:45:42 2021
Terminated at Tue Sep 28 18:58:56 2021
Results reported at Tue Sep 28 18:58:56 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.8-2510_daily_bin311 340.957 -25.1701 319939201 320198401 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 :                                   634.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             280.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   794 sec.
    Turnaround time :                            796 sec.

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

