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


Performing analysis on: 4FGL_J2243.8-2510_daily_bin1048
RA = 340.957, Dec = -25.1701
tmin = 510969601, tmax = 511228801
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='443667', job_status='RUN', time_executed='2021-09-28 18:56:35.525827', time_epoch_executed='1632880595.53' WHERE source_name='4FGL J2243.8-2510' and cadence='daily' and bin_id='1048'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/443667

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/443667/ft1_4FGL_J2243.8-2510_daily_bin1048.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/443667/ft2_4FGL_J2243.8-2510_daily_bin1048.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/443667/ft1_4FGL_J2243.8-2510_daily_bin1048.fits outfile=/scratch/kocevski/443667/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin1048.fits ra=340.957 dec=-25.1701 rad=12.0 tmin=510969601.0 tmax=511228801.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.44
user 3.22
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/443667/ft1_filtered_4FGL_J2243.8-2510_daily_bin1048.fits" evtable="EVENTS" scfile=/scratch/kocevski/443667/ft2_4FGL_J2243.8-2510_daily_bin1048.fits sctable="SC_DATA" outfile=/scratch/kocevski/443667/ltcube_510969601_511228801_4FGL_J2243.8-2510_daily_bin1048.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/443667/ft2_4FGL_J2243.8-2510_daily_bin1048.fits
.....................!
real 11.73
user 11.36
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/443667/ft1_filtered_4FGL_J2243.8-2510_daily_bin1048.fits evtable="EVENTS" scfile=/scratch/kocevski/443667/ft2_4FGL_J2243.8-2510_daily_bin1048.fits sctable="SC_DATA" expcube=/scratch/kocevski/443667/ltcube_510969601_511228801_4FGL_J2243.8-2510_daily_bin1048.fits outfile=/scratch/kocevski/443667/expmap_510969601_511228801_4FGL_J2243.8-2510_daily_bin1048.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/443667/ltcube_510969601_511228801_4FGL_J2243.8-2510_daily_bin1048.fits
.....................!
real 190.43
user 186.14
sys 3.94

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/443667/ft1_filtered_4FGL_J2243.8-2510_daily_bin1048.fits scfile=/scratch/kocevski/443667/ft2_4FGL_J2243.8-2510_daily_bin1048.fits outfile=/scratch/kocevski/443667/cmap_510969601_511228801_4FGL_J2243.8-2510_daily_bin1048.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.54
user 0.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/443667/ft1_filtered_4FGL_J2243.8-2510_daily_bin1048.fits scfile=/scratch/kocevski/443667/ft2_4FGL_J2243.8-2510_daily_bin1048.fits outfile=/scratch/kocevski/443667/cmap_HighResolution_510969601_511228801_4FGL_J2243.8-2510_daily_bin1048.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.40
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/443667/ft1_filtered_4FGL_J2243.8-2510_daily_bin1048.fits evtable="EVENTS" scfile=/scratch/kocevski/443667/ft2_4FGL_J2243.8-2510_daily_bin1048.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/443667/Model_4FGL_J2243.8-2510_daily_bin1048.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/443667/ft1_filtered_4FGL_J2243.8-2510_daily_bin1048.fits.....................!
real 57.98
user 56.60
sys 1.15

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    66.618       1.0000         .10000E-03   10000.    
     2 'norm      '    2.6709       1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.1435       1.0000         .10000E-03   10000.    
     4 'Prefactor '    27.037       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10134E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    50.350       1.0000         .10000E-03   10000.    
     7 'norm      '    18.212       1.0000         .10000E-03   10000.    
     8 'Prefactor '    21.832       1.0000         .10000E-03   10000.    
     9 'Prefactor '    23.201       1.0000         .10000E-03   10000.    
    10 'norm      '    1.0359       1.0000         .10000E-03   10000.    
    11 'norm      '    1.0354       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.7719       1.0000         .10000E-03   10000.    
    14 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    9.7271       1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.8191       1.0000         .10000E-03   10000.    
    17 'norm      '    .36529       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    11.917       1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.3028       1.0000         .10000E-03   10000.    
    21 'norm      '    .10179E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    15.904       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0692       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .73643       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=   7427.180     FROM MIGRAD    STATUS=CONVERGED    522 CALLS     2721 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     66.622        74.412        .90078E-07    .65277E-05
   2  norm          2.6709        .49206       -.69496E-09   -.38377E-04
   3  Prefactor     2.1431        3.8314        .30612E-06   -.22223E-04
   4  Prefactor     27.037        16.670        .83307E-08   -.20907E-04
   5  Prefactor     .10000E-03    5.7717        .15150E-06** at limit **
   6  Prefactor     50.352        51.960        .12914E-06    .33893E-05
   7  norm          18.212        16.398       -.11048E-06   -.24988E-04
   8  Prefactor     21.834        16.625       -.37908E-07   -.22828E-05
   9  Prefactor     23.199        12.371       -.11628E-06   -.89985E-04
  10  norm          1.0358        .76737        .43003E-07   -.28610E-04
  11  norm          1.0343        1.6768        .44378E-06    .38687E-03
  12  Prefactor     .10000E-03    28.356       -.18550E-06** at limit **
  13  Prefactor     1.7750        11.553        .16623E-05   -.16207E-04
  14  norm          .10000E-03    1.3043       -.34213E-07** at limit **
  15  Prefactor     9.7307        11.842       -.14343E-06   -.85404E-04
  16  Prefactor     5.8089        13.063       -.77896E-06   -.20940E-03
  17  norm          .36522        .54325        .38039E-06    .36632E-03
  18  Prefactor     .10000E-03    29.887        .14091E-06** at limit **
  19  Prefactor     11.917        8.6661        .35413E-07   -.10457E-04
  20  Prefactor     1.3132        28.806        .15485E-05   -.47596E-04
  21  norm          .10000E-03    1.9621       -.12367E-05** at limit **
  22  Prefactor     15.875        27.648       -.10406E-06   -.85821E-04
  23  Normalizat    1.0692        .17223        .50653E-06   -.14963E-03
  24  Prefactor     .73642        .15061       -.93036E-06   -.24854E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 66.6219
  norm       = 2.67093
  Prefactor  = 2.14309
  Prefactor  = 27.0371
  Prefactor  = 0.0001
  Prefactor  = 50.3515
  norm       = 18.2121
  Prefactor  = 21.8341
  Prefactor  = 23.1989
  norm       = 1.03578
  norm       = 1.03426
  Prefactor  = 0.0001
  Prefactor  = 1.77504
  norm       = 0.0001
  Prefactor  = 9.73066
  Prefactor  = 5.80887
  norm       = 0.365221
  Prefactor  = 0.0001
  Prefactor  = 11.9172
  Prefactor  = 1.31323
  norm       = 0.0001
  Prefactor  = 15.8751
  Normalizat = 1.06918
  Prefactor  = 0.736423
 **********
 **   18 **HESSE 
 **********

 FCN=   7427.180     FROM HESSE     STATUS=OK           411 CALLS     3132 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     66.622        74.465        .49173E-04   -1.4074    
   2  norm          2.6709        .49295        .24913E-04   -1.5381    
   3  Prefactor     2.1431        3.8041        .21896E-03   -1.5415    
   4  Prefactor     27.037        16.669        .77045E-04   -1.4668    
   5  Prefactor     .10000E-03    5.9452        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     50.352        51.852        .56517E-04   -1.4288    
   7  norm          18.212        16.378        .93852E-04   -1.4854    
   8  Prefactor     21.834        16.632        .85725E-04   -1.4773    
   9  Prefactor     23.199        12.376        .83160E-04   -1.4744    
  10  norm          1.0358        .76059        .62029E-04   -1.5504    
  11  norm          1.0343        1.4821        .13965E-02   -1.5505    
  12  Prefactor     .10000E-03    28.443        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.7750        11.493        .31457E-03   -1.5442    
  14  norm          .10000E-03    1.3166        .95986E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     9.7307        11.693        .12849E-03   -1.5084    
  16  Prefactor     5.8089        11.725        .16649E-03   -1.5226    
  17  norm          .36522        .50302        .58161E-03   -1.5587    
  18  Prefactor     .10000E-03    29.909        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     11.917        8.6654        .11604E-03   -1.5017    
  20  Prefactor     1.3132        21.012        .38694E-03   -1.5479    
  21  norm          .10000E-03    1.9452        .22931E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     15.875        27.798        .10043E-03   -1.4911    
  23  Normalizat    1.0692        .20087        .23440E-03   -.90748    
  24  Prefactor     .73642        .17398        .25769E-03   -1.0212    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.65768e-10
Minuit parameter uncertainties:
  1  74.5696
  2  0.492951
  3  3.80457
  4  16.6714
  5  4.08168e-06
  6  51.898
  7  16.3816
  8  16.635
  9  12.3772
  10  0.760599
  11  1.48217
  12  7.69607e-05
  13  9.0357
  14  4.72164e-06
  15  11.6958
  16  11.7301
  17  0.503027
  18  4.20097e-05
  19  8.66628
  20  10.5099
  21  1.41374e-05
  22  27.8211
  23  0.201014
  24  0.174112
Done.

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

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  1.000e-04  7.696e-05  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.364e-01  1.741e-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.069e+00  2.010e-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.03e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.54e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/443667/likelihoodResults_510969601_511228801_4FGL_J2243.8-2510_daily_bin1048.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) = 7427.18002017
delta logL = -0.000167492680703

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7427.17985392
delta logL = -1.24274174595e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10213E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    3.8014       1.0000          .0000       10.000    
     3 'Normalizat'    1.0692       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73642       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=   7427.180     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      241 TOTAL
                     EDM=   .13E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    446.74        .90712E-02** at limit **
   2  Index         3.7913        7.3122        .50000        .59747E-05
   3  Normalizat    1.0692        .20902E-01    .39422E-01    .89606E-04
   4  Prefactor     .73642        .19479E-01    .42884E-01    .62943E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 3.79126
  Normalizat = 1.06918
  Prefactor  = 0.736422
 **********
 **   18 **HESSE 
 **********

 FCN=   7427.180     FROM HESSE     STATUS=OK            33 CALLS      274 TOTAL
                     EDM=   .94E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    17.077        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.7913        6.7655        .50000       -.24417    
   3  Normalizat    1.0692        .17684        .23440E-03   -.90748    
   4  Prefactor     .73642        .16502        .25769E-03   -1.0212    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.43161e-11
Minuit parameter uncertainties:
  1  0.000231697
  2  4.86406
  3  0.176938
  4  0.165129
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/443667': 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) = 7427.17985384
delta logL = -1.16476803669e-06

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
526    Prefactor:  7.364e-01  1.651e-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.069e+00  1.769e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/443667/cmap_HighResolution_510969601_511228801_4FGL_J2243.8-2510_daily_bin1048.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.54e-03', job_status='DONE', photon_flux_upper_limit='7.03e-08', time_completed='2021-09-28 19:08:55.321024', job_id='443667', GAL2='0.74', fit_tolerance='1e-08', EG2='1.07', EG='1.07', time_epoch_completed='1632881335.32', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.74', dlogl='-1.16e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.71' WHERE bin_id='1048' AND source_name='4FGL J2243.8-2510' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 19:08:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0034>
Subject: Job 443667: <4FGL_J2243.8-2510_daily_bin1048> in cluster <slac> Done

Job <4FGL_J2243.8-2510_daily_bin1048> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 18:55:50 2021
Job was executed on host(s) <bullet0034>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 18:55:51 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:51 2021
Terminated at Tue Sep 28 19:08:55 2021
Results reported at Tue Sep 28 19:08:55 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.8-2510_daily_bin1048 340.957 -25.1701 510969601 511228801 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 :                                   738.40 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             319.23 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   784 sec.
    Turnaround time :                            785 sec.

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

