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


Performing analysis on: 4FGL_J2243.8-2510_daily_bin445
RA = 340.957, Dec = -25.1701
tmin = 354672001, tmax = 354931201
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='441739', job_status='RUN', time_executed='2021-09-28 18:53:12.624411', time_epoch_executed='1632880392.62' WHERE source_name='4FGL J2243.8-2510' and cadence='daily' and bin_id='445'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/441739

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/441739/ft1_4FGL_J2243.8-2510_daily_bin445.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/441739/ft2_4FGL_J2243.8-2510_daily_bin445.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/441739/ft1_4FGL_J2243.8-2510_daily_bin445.fits outfile=/scratch/kocevski/441739/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin445.fits ra=340.957 dec=-25.1701 rad=12.0 tmin=354672001.0 tmax=354931201.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.36
user 3.14
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/441739/ft2_4FGL_J2243.8-2510_daily_bin445.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/441739/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin445.fits evtable="EVENTS" outfile="/scratch/kocevski/441739/ft1_filtered_4FGL_J2243.8-2510_daily_bin445.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.33
sys 0.14

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/441739/ft1_filtered_4FGL_J2243.8-2510_daily_bin445.fits evtable="EVENTS" scfile=/scratch/kocevski/441739/ft2_4FGL_J2243.8-2510_daily_bin445.fits sctable="SC_DATA" expcube=/scratch/kocevski/441739/ltcube_354672001_354931201_4FGL_J2243.8-2510_daily_bin445.fits outfile=/scratch/kocevski/441739/expmap_354672001_354931201_4FGL_J2243.8-2510_daily_bin445.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/441739/ltcube_354672001_354931201_4FGL_J2243.8-2510_daily_bin445.fits
.....................!
real 192.81
user 187.80
sys 4.68

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/441739/ft1_filtered_4FGL_J2243.8-2510_daily_bin445.fits scfile=/scratch/kocevski/441739/ft2_4FGL_J2243.8-2510_daily_bin445.fits outfile=/scratch/kocevski/441739/cmap_354672001_354931201_4FGL_J2243.8-2510_daily_bin445.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/441739/ft1_filtered_4FGL_J2243.8-2510_daily_bin445.fits scfile=/scratch/kocevski/441739/ft2_4FGL_J2243.8-2510_daily_bin445.fits outfile=/scratch/kocevski/441739/cmap_HighResolution_354672001_354931201_4FGL_J2243.8-2510_daily_bin445.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.39
sys 0.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    29.529       1.0000         .10000E-03   10000.    
     2 'norm      '    .68431       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .80364       1.0000         .10000E-03   10000.    
     5 'Prefactor '    8.1347       1.0000         .10000E-03   10000.    
     6 'Prefactor '    26.500       1.0000         .10000E-03   10000.    
     7 'norm      '    9.7459       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10377E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    25.531       1.0000         .10000E-03   10000.    
    10 'norm      '    1.3461       1.0000         .10000E-03   10000.    
    11 'norm      '    .10069E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10744E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    28.512       1.0000         .10000E-03   10000.    
    14 'norm      '    23.120       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    3.4615       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .55023E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    6.3123       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .45831       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.2194       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=   6317.130     FROM MIGRAD    STATUS=CONVERGED    546 CALLS     2729 TOTAL
                     EDM=   .90E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     29.522        73.793       -.10729E-04    .26641E-05
   2  norm          .68429        .31283        .37671E-07    .26332E-03
   3  Prefactor     .10000E-03    3.1070        .77302E-07** at limit **
   4  Prefactor     .82600        9.2041       -.35694E-06   -.25754E-03
   5  Prefactor     8.1345        8.0962       -.24665E-07    .18914E-03
   6  Prefactor     26.502        36.655        .19138E-05   -.35292E-05
   7  norm          9.7418        16.515       -.42232E-07    .14733E-04
   8  Prefactor     .10000E-03    42.222       -.41485E-04** at limit **
   9  Prefactor     25.510        14.145       -.19905E-05    .23261E-03
  10  norm          1.3463        .73933       -.18834E-07   -.21485E-03
  11  norm          .10000E-03    1.0464        .11221E-06** at limit **
  12  Prefactor     .10000E-03    117.33       -.31362E-04** at limit **
  13  Prefactor     28.511        13.388        .87599E-06    .99772E-04
  14  norm          23.117        6.3799        .46023E-06    .13165E-03
  15  Prefactor     .10000E-03    6.8048       -.97002E-07** at limit **
  16  Prefactor     .10000E-03    9.4942        .99534E-06** at limit **
  17  norm          3.4613        .84246       -.56034E-07    .18479E-03
  18  Prefactor     .10000E-03    48.949        .57604E-04** at limit **
  19  Prefactor     .10011E-03    5.8963        .23726E-05** at limit **
  20  Prefactor     .10000E-03    4.2649       -.21230E-07** at limit **
  21  norm          6.3123        3.1395       -.32643E-07   -.14280E-04
  22  Prefactor     .10000E-03    10.257       -.16462E-05** at limit **
  23  Normalizat    .45833        .19736        .10277E-05    .65374E-04
  24  Prefactor     1.2193        .17742       -.22586E-06    .11209E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 29.5222
  norm       = 0.684288
  Prefactor  = 0.0001
  Prefactor  = 0.826001
  Prefactor  = 8.1345
  Prefactor  = 26.5025
  norm       = 9.74181
  Prefactor  = 0.000100001
  Prefactor  = 25.5104
  norm       = 1.34627
  norm       = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 28.5107
  norm       = 23.1171
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.46126
  Prefactor  = 0.0001
  Prefactor  = 0.000100112
  Prefactor  = 0.0001
  norm       = 6.31234
  Prefactor  = 0.0001
  Normalizat = 0.458331
  Prefactor  = 1.21929
 **********
 **   18 **HESSE 
 **********

 FCN=   6317.130     FROM HESSE     STATUS=OK           401 CALLS     3130 TOTAL
                     EDM=   .58E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     29.522        73.605        .73729E-04   -1.4621    
   2  norm          .68429        .31230        .28982E-04   -1.5543    
   3  Prefactor     .10000E-03    3.1161        .13680E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .82600        32.532        .46221E-02   -1.5526    
   5  Prefactor     8.1345        8.0871        .14057E-03   -1.5137    
   6  Prefactor     26.502        36.640        .77820E-04   -1.4678    
   7  norm          9.7418        16.509        .12836E-03   -1.5084    
   8  Prefactor     .10000E-03    42.670        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     25.510        14.120        .79280E-04   -1.4697    
  10  norm          1.3463        .73721        .49059E-04   -1.5476    
  11  norm          .10000E-03    1.0831        .15864E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    118.53        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     28.511        13.391        .75030E-04   -1.4640    
  14  norm          23.117        6.3889        .83305E-04   -1.4746    
  15  Prefactor     .10000E-03    6.8233        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    9.5997        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          3.4613        .84178        .33259E-04   -1.5336    
  18  Prefactor     .10000E-03    49.145        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10011E-03    21.477        .37186E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    4.2849        .16021E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          6.3123        3.1387        .96138E-04   -1.5205    
  22  Prefactor     .10000E-03    10.260        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .45833        .21757        .34680E-03   -1.1439    
  24  Prefactor     1.2193        .19906        .21001E-03   -.85740    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.75204e-09
Minuit parameter uncertainties:
  1  73.833
  2  0.312305
  3  5.73e-06
  4  10.3729
  5  8.08817
  6  36.6716
  7  16.5162
  8  0.000376553
  9  14.1216
  10  0.737211
  11  8.92363e-06
  12  0.00118277
  13  13.3929
  14  6.38912
  15  5.5305e-06
  16  2.29816e-05
  17  0.841782
  18  4.05212e-05
  19  0.00310988
  20  9.34439e-07
  21  3.13878
  22  1.00739e-06
  23  0.217972
  24  0.199181
Done.

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

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  1.000e-04  1.183e-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:  1.219e+00  1.992e-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:  4.583e-01  2.180e-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: 9.10e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.17e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/441739/likelihoodResults_354672001_354931201_4FGL_J2243.8-2510_daily_bin445.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) = 6317.13047539
delta logL = -4.00783083023e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6317.13036618
delta logL = 6.913218931e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .34092E-01   1.0000         .10000E-03   10000.    
     2 'Index     '    4.3417       1.0000          .0000       10.000    
     3 'Normalizat'    .45832       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2193       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=   6317.130     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      296 TOTAL
                     EDM=   .26E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .19144        5.7943        .91922E-01    .13383E-03
   2  Index         3.8351        2.9314        .50000        .21055E-05
   3  Normalizat    .45724        .42079E-02    .78393E-01    .12182E-03
   4  Prefactor     1.2199        .40313E-02    .34190E-01    .28720E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.191443
  Index      = 3.83509
  Normalizat = 0.457241
  Prefactor  = 1.21987
 **********
 **   18 **HESSE 
 **********

 FCN=   6317.130     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      329 TOTAL
                     EDM=   .11E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .19144        9453.3        .36714E-02   -1.5620    
   2  Index         3.8351        5.1244        .49343E-01   -.23514    
   3  Normalizat    .45724        .79109E-01    .34719E-03   -1.1444    
   4  Prefactor     1.2199        .65243E-01    .20996E-03   -.85722    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.11792e-06
Minuit parameter uncertainties:
  1  108.324
  2  226.598
  3  0.0791285
  4  0.0652472
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/441739': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6317.13024945
delta logL = 0.000185861478712

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  1.914e-01  1.083e+02  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  3.835e+00  2.266e+02  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:  1.220e+00  6.525e-02  0.000e+00  1.000e+01 ( 1.000e+00)
527        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
528        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
525   Normalization:  4.572e-01  7.913e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 340.957 -25.170

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/441739/cmap_HighResolution_354672001_354931201_4FGL_J2243.8-2510_daily_bin445.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.17e-03', job_status='DONE', photon_flux_upper_limit='9.10e-08', time_completed='2021-09-28 19:04:01.098757', job_id='441739', GAL2='1.22', fit_tolerance='1e-08', EG2='0.46', EG='0.46', time_epoch_completed='1632881041.1', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.22', dlogl='1.86e-04', ts2='0.00', photon_index_error='0.00', photon_index='2.71' WHERE bin_id='445' AND source_name='4FGL J2243.8-2510' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 19:04:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0083>
Subject: Job 441739: <4FGL_J2243.8-2510_daily_bin445> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.8-2510_daily_bin445 340.957 -25.1701 354672001 354931201 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 :                                   648.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             308.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   811 sec.
    Turnaround time :                            812 sec.

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

