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


Performing analysis on: 4FGL_J2243.8-2510_daily_bin345
RA = 340.957, Dec = -25.1701
tmin = 328752001, tmax = 329011201
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='440266', job_status='RUN', time_executed='2021-09-28 18:48:30.893478', time_epoch_executed='1632880110.89' WHERE source_name='4FGL J2243.8-2510' and cadence='daily' and bin_id='345'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/440266

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/440266/ft1_4FGL_J2243.8-2510_daily_bin345.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/440266/ft2_4FGL_J2243.8-2510_daily_bin345.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/440266/ft1_4FGL_J2243.8-2510_daily_bin345.fits outfile=/scratch/kocevski/440266/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin345.fits ra=340.957 dec=-25.1701 rad=12.0 tmin=328752001.0 tmax=329011201.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.46
user 3.24
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/440266/ft1_filtered_4FGL_J2243.8-2510_daily_bin345.fits" evtable="EVENTS" scfile=/scratch/kocevski/440266/ft2_4FGL_J2243.8-2510_daily_bin345.fits sctable="SC_DATA" outfile=/scratch/kocevski/440266/ltcube_328752001_329011201_4FGL_J2243.8-2510_daily_bin345.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/440266/ft2_4FGL_J2243.8-2510_daily_bin345.fits
.....................!
real 12.14
user 11.50
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/440266/ft1_filtered_4FGL_J2243.8-2510_daily_bin345.fits evtable="EVENTS" scfile=/scratch/kocevski/440266/ft2_4FGL_J2243.8-2510_daily_bin345.fits sctable="SC_DATA" expcube=/scratch/kocevski/440266/ltcube_328752001_329011201_4FGL_J2243.8-2510_daily_bin345.fits outfile=/scratch/kocevski/440266/expmap_328752001_329011201_4FGL_J2243.8-2510_daily_bin345.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/440266/ltcube_328752001_329011201_4FGL_J2243.8-2510_daily_bin345.fits
.....................!
real 191.64
user 185.43
sys 5.49

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/440266/ft1_filtered_4FGL_J2243.8-2510_daily_bin345.fits scfile=/scratch/kocevski/440266/ft2_4FGL_J2243.8-2510_daily_bin345.fits outfile=/scratch/kocevski/440266/cmap_328752001_329011201_4FGL_J2243.8-2510_daily_bin345.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/440266/ft1_filtered_4FGL_J2243.8-2510_daily_bin345.fits scfile=/scratch/kocevski/440266/ft2_4FGL_J2243.8-2510_daily_bin345.fits outfile=/scratch/kocevski/440266/cmap_HighResolution_328752001_329011201_4FGL_J2243.8-2510_daily_bin345.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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/440266/ft1_filtered_4FGL_J2243.8-2510_daily_bin345.fits evtable="EVENTS" scfile=/scratch/kocevski/440266/ft2_4FGL_J2243.8-2510_daily_bin345.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/440266/Model_4FGL_J2243.8-2510_daily_bin345.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/440266/ft1_filtered_4FGL_J2243.8-2510_daily_bin345.fits.....................!
real 53.54
user 52.25
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .91088       1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.8552       1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.7255       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    32.141       1.0000         .10000E-03   10000.    
     9 'Prefactor '    17.572       1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .52716       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10895E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    12.836       1.0000         .10000E-03   10000.    
    14 'norm      '    15.593       1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.5462       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .55940       1.0000         .10000E-03   10000.    
    18 'Prefactor '    14.487       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .95402       1.0000         .10000E-03   10000.    
    21 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    17.861       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .80928       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .98622       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=   6946.848     FROM MIGRAD    STATUS=CONVERGED    544 CALLS     3149 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    33.051        .24913E-05** at limit **
   2  norm          .91087        .27683        .16222E-08   -.56141E-04
   3  Prefactor     1.8548        9.1235        .14473E-05   -.84282E-04
   4  Prefactor     4.7253        11.766        .10566E-06   -.32077E-04
   5  Prefactor     .10000E-03    5.3877        .43654E-07** at limit **
   6  Prefactor     .10000E-03    31.208       -.21723E-05** at limit **
   7  norm          .10000E-03    8.1744        .70316E-07** at limit **
   8  Prefactor     32.140        18.043        .26271E-07   -.31987E-05
   9  Prefactor     17.573        10.938       -.15224E-08   -.53132E-04
  10  norm          .10000E-03    .25487        .24778E-08** at limit **
  11  norm          .52728        1.3394        .37906E-06    .15856E-03
  12  Prefactor     .10000E-03    75.125       -.14909E-05** at limit **
  13  Prefactor     12.835        10.347        .85277E-07   -.32940E-04
  14  norm          15.593        5.4923       -.19735E-06   -.34155E-03
  15  Prefactor     1.5467        17.899        .11174E-05   -.86075E-04
  16  Prefactor     .10000E-03    7.4134       -.58163E-06** at limit **
  17  norm          .55940        .44751       -.13905E-06   -.60870E-03
  18  Prefactor     14.509        105.69        .55096E-05    .42817E-04
  19  Prefactor     .10000E-03    2.7565       -.65701E-08** at limit **
  20  Prefactor     .95359        7.4621        .33904E-05   -.18626E-03
  21  norm          .10000E-03    1.4169        .17037E-07** at limit **
  22  Prefactor     17.863        29.267        .39001E-06    .11370E-04
  23  Normalizat    .80919        .15963       -.83765E-06   -.64492E-04
  24  Prefactor     .98632        .14300        .59686E-07   -.12214E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100002
  norm       = 0.910872
  Prefactor  = 1.85477
  Prefactor  = 4.72533
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  norm       = 0.0001
  Prefactor  = 32.1401
  Prefactor  = 17.5735
  norm       = 0.0001
  norm       = 0.527279
  Prefactor  = 0.000100001
  Prefactor  = 12.8354
  norm       = 15.5932
  Prefactor  = 1.54667
  Prefactor  = 0.0001
  norm       = 0.559397
  Prefactor  = 14.5092
  Prefactor  = 0.0001
  Prefactor  = 0.953587
  norm       = 0.0001
  Prefactor  = 17.8632
  Normalizat = 0.809188
  Prefactor  = 0.986321
 **********
 **   18 **HESSE 
 **********

 FCN=   6946.848     FROM HESSE     STATUS=OK           403 CALLS     3552 TOTAL
                     EDM=   .41E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    34.287        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .91087        .27769        .23557E-04   -1.5517    
   3  Prefactor     1.8548        9.1221        .30602E-03   -1.5436    
   4  Prefactor     4.7253        11.715        .18510E-03   -1.5273    
   5  Prefactor     .10000E-03    5.5007        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    32.057        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    8.1953        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     32.140        18.044        .70677E-04   -1.4574    
   9  Prefactor     17.573        10.937        .95545E-04   -1.4869    
  10  norm          .10000E-03    .26640        .82093E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .52728        1.1972        .14996E-02   -1.5563    
  12  Prefactor     .10000E-03    76.198        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     12.835        10.379        .11181E-03   -1.4991    
  14  norm          15.593        5.3925        .99467E-04   -1.4918    
  15  Prefactor     1.5467        16.774        .34269E-03   -1.5459    
  16  Prefactor     .10000E-03    7.5842        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .55940        .44250        .43898E-04   -1.5558    
  18  Prefactor     14.509        110.09        .10523E-03   -1.4946    
  19  Prefactor     .10000E-03    2.7641        .13514E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .95359        7.4580        .41378E-03   -1.5513    
  21  norm          .10000E-03    1.4357        .96735E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     17.863        29.290        .94770E-04   -1.4862    
  23  Normalizat    .80919        .18755        .25370E-03   -.99729    
  24  Prefactor     .98632        .16882        .21737E-03   -.93187    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.06244e-10
Minuit parameter uncertainties:
  1  0.000561414
  2  0.277686
  3  8.22844
  4  11.721
  5  8.34752e-06
  6  0.000452641
  7  1.14176e-05
  8  18.0466
  9  10.9381
  10  6.77443e-07
  11  1.19723
  12  0.000396784
  13  10.3801
  14  5.39262
  15  10.1905
  16  3.55463e-05
  17  0.442498
  18  80.1386
  19  7.41474e-07
  20  5.33423
  21  3.14312e-07
  22  29.3137
  23  0.187704
  24  0.168909
Done.

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

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  1.000e-04  3.968e-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:  9.863e-01  1.689e-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:  8.092e-01  1.877e-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: 7.48e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.89e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/440266/likelihoodResults_328752001_329011201_4FGL_J2243.8-2510_daily_bin345.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) = 6946.84758892
delta logL = -6.24311778665e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6946.84752673
delta logL = -2.33897480939e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10739E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.7941       1.0000          .0000       10.000    
     3 'Normalizat'    .80919       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98633       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5290E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6946.848     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      301 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .14374E-03    .80257        .18142    ** at limit **
   2  Index         2.5220        8.4394        .50000        .74238E-05
   3  Normalizat    .80919        .75005E-03    .25371E-03    .63407E-04
   4  Prefactor     .98632        .70715E-03    .21737E-03    .86347E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000143737
  Index      = 2.52198
  Normalizat = 0.809187
  Prefactor  = 0.986322
 **********
 **   18 **HESSE 
 **********

 FCN=   6946.848     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      332 TOTAL
                     EDM=   .65E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .14374E-03    296.81        .73343E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5220        5.7554        .50000       -.51853    
   3  Normalizat    .80919        .57632E-02    .10148E-04   -.99729    
   4  Prefactor     .98632        .54336E-02    .86950E-05   -.93187    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.49584e-08
Minuit parameter uncertainties:
  1  0.229018
  2  365.267
  3  0.00576325
  4  0.00543358
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/440266': 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) = 6946.84752639
delta logL = 1.04284481495e-07

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  1.437e-04  2.290e-01  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  2.522e+00  3.653e+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:  9.863e-01  5.434e-03  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:  8.092e-01  5.763e-03  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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/440266/cmap_HighResolution_328752001_329011201_4FGL_J2243.8-2510_daily_bin345.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.89e-03', job_status='DONE', photon_flux_upper_limit='7.48e-08', time_completed='2021-09-28 19:00:23.784025', job_id='440266', GAL2='0.99', fit_tolerance='1e-08', EG2='0.81', EG='0.81', time_epoch_completed='1632880823.78', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='1.04e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.71' WHERE bin_id='345' AND source_name='4FGL J2243.8-2510' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 19:00:23 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0048>
Subject: Job 440266: <4FGL_J2243.8-2510_daily_bin345> in cluster <slac> Done

Job <4FGL_J2243.8-2510_daily_bin345> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Sep 28 18:45:44 2021
Job was executed on host(s) <bullet0048>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 18:45:45 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:45 2021
Terminated at Tue Sep 28 19:00:24 2021
Results reported at Tue Sep 28 19:00:24 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.8-2510_daily_bin345 340.957 -25.1701 328752001 329011201 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 :                                   712.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             255.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   879 sec.
    Turnaround time :                            880 sec.

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

