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


Performing analysis on: 4FGL_J2243.8-2510_daily_bin990
RA = 340.957, Dec = -25.1701
tmin = 495936001, tmax = 496195201
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='443580', job_status='RUN', time_executed='2021-09-28 18:58:03.530025', time_epoch_executed='1632880683.53' WHERE source_name='4FGL J2243.8-2510' and cadence='daily' and bin_id='990'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/443580

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/443580/ft1_4FGL_J2243.8-2510_daily_bin990.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/443580/ft2_4FGL_J2243.8-2510_daily_bin990.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/443580/ft1_4FGL_J2243.8-2510_daily_bin990.fits outfile=/scratch/kocevski/443580/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin990.fits ra=340.957 dec=-25.1701 rad=12.0 tmin=495936001.0 tmax=496195201.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.26
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/443580/ft1_filtered_4FGL_J2243.8-2510_daily_bin990.fits" evtable="EVENTS" scfile=/scratch/kocevski/443580/ft2_4FGL_J2243.8-2510_daily_bin990.fits sctable="SC_DATA" outfile=/scratch/kocevski/443580/ltcube_495936001_496195201_4FGL_J2243.8-2510_daily_bin990.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/443580/ft2_4FGL_J2243.8-2510_daily_bin990.fits
.....................!
real 11.77
user 11.43
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/443580/ft1_filtered_4FGL_J2243.8-2510_daily_bin990.fits evtable="EVENTS" scfile=/scratch/kocevski/443580/ft2_4FGL_J2243.8-2510_daily_bin990.fits sctable="SC_DATA" expcube=/scratch/kocevski/443580/ltcube_495936001_496195201_4FGL_J2243.8-2510_daily_bin990.fits outfile=/scratch/kocevski/443580/expmap_495936001_496195201_4FGL_J2243.8-2510_daily_bin990.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/443580/ltcube_495936001_496195201_4FGL_J2243.8-2510_daily_bin990.fits
.....................!
real 190.52
user 184.91
sys 5.30

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/443580/ft1_filtered_4FGL_J2243.8-2510_daily_bin990.fits scfile=/scratch/kocevski/443580/ft2_4FGL_J2243.8-2510_daily_bin990.fits outfile=/scratch/kocevski/443580/cmap_495936001_496195201_4FGL_J2243.8-2510_daily_bin990.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/443580/ft1_filtered_4FGL_J2243.8-2510_daily_bin990.fits scfile=/scratch/kocevski/443580/ft2_4FGL_J2243.8-2510_daily_bin990.fits outfile=/scratch/kocevski/443580/cmap_HighResolution_495936001_496195201_4FGL_J2243.8-2510_daily_bin990.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.36
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/443580/ft1_filtered_4FGL_J2243.8-2510_daily_bin990.fits evtable="EVENTS" scfile=/scratch/kocevski/443580/ft2_4FGL_J2243.8-2510_daily_bin990.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/443580/Model_4FGL_J2243.8-2510_daily_bin990.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/443580/ft1_filtered_4FGL_J2243.8-2510_daily_bin990.fits.....................!
real 38.88
user 37.65
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    364.01       1.0000         .10000E-03   10000.    
     2 'norm      '    1.3824       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10193E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    13.845       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10484E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    10.636       1.0000         .10000E-03   10000.    
     8 'Prefactor '    32.762       1.0000         .10000E-03   10000.    
     9 'Prefactor '    6.2466       1.0000         .10000E-03   10000.    
    10 'norm      '    .69620E-01   1.0000         .10000E-03   10000.    
    11 'norm      '    1.0081       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .14019E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    20.169       1.0000         .10000E-03   10000.    
    14 'norm      '    1.7350       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .11399E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .11321E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .19065       1.0000         .10000E-03   10000.    
    18 'Prefactor '    6.0204       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .46583E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    2.5600       1.0000         .10000E-03   10000.    
    22 'Prefactor '    3.6039       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .99872       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .98735       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=   4258.572     FROM MIGRAD    STATUS=CONVERGED    564 CALLS     2814 TOTAL
                     EDM=   .68E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     364.14        159.87       -.24295E-05   -.12781E-03
   2  norm          1.3824        .51213        .73501E-08   -.38431E-03
   3  Prefactor     .10000E-03    4.9801       -.74187E-06** at limit **
   4  Prefactor     13.855        27.858        .59697E-07    .15028E-04
   5  Prefactor     .10000E-03    6.0872       -.29298E-06** at limit **
   6  Prefactor     .10000E-03    20.851        .14910E-06** at limit **
   7  norm          10.644        19.406        .12290E-05    .96775E-04
   8  Prefactor     32.765        29.075       -.23411E-06   -.17094E-04
   9  Prefactor     6.2541        19.366        .97719E-06    .11504E-03
  10  norm          .68549E-01    .95825        .11350E-06   -.12950E-02
  11  norm          1.0125        2.4526       -.57158E-06   -.12233E-03
  12  Prefactor     .10005E-03    180.90        .15696E-04** at limit **
  13  Prefactor     20.160        17.321       -.10109E-05   -.14790E-03
  14  norm          1.7369        3.2312        .15527E-06   -.79844E-04
  15  Prefactor     .10000E-03    13.359       -.45159E-06** at limit **
  16  Prefactor     .10000E-03    7.0900       -.82217E-06** at limit **
  17  norm          .18997        .48787        .14613E-06   -.32841E-03
  18  Prefactor     6.0097        652.46       -.77676E-05   -.37299E-05
  19  Prefactor     .10004E-03    147.10        .99518E-05** at limit **
  20  Prefactor     .10000E-03    4.0945       -.17635E-07** at limit **
  21  norm          2.5596        3.8841        .56271E-07   -.15301E-04
  22  Prefactor     3.5968        194.02       -.59158E-05   -.45385E-05
  23  Normalizat    .99857        .31040        .87703E-05   -.19957E-03
  24  Prefactor     .98733        .25878       -.72346E-05   -.87733E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 364.137
  norm       = 1.38236
  Prefactor  = 0.0001
  Prefactor  = 13.8553
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 10.6438
  Prefactor  = 32.7653
  Prefactor  = 6.25407
  norm       = 0.0685487
  norm       = 1.01254
  Prefactor  = 0.000100055
  Prefactor  = 20.1601
  norm       = 1.7369
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.189966
  Prefactor  = 6.0097
  Prefactor  = 0.000100041
  Prefactor  = 0.0001
  norm       = 2.55957
  Prefactor  = 3.59681
  Normalizat = 0.998571
  Prefactor  = 0.987329
 **********
 **   18 **HESSE 
 **********

 FCN=   4258.572     FROM HESSE     STATUS=OK           409 CALLS     3223 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     364.14        161.03        .10679E-03   -1.1868    
   2  norm          1.3824        .51241        .27513E-04   -1.5473    
   3  Prefactor     .10000E-03    5.0111        .14258E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     13.855        27.823        .10765E-03   -1.4963    
   5  Prefactor     .10000E-03    6.1324        .15731E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    20.855        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          10.644        19.407        .12285E-03   -1.5055    
   8  Prefactor     32.765        29.060        .70007E-04   -1.4563    
   9  Prefactor     6.2541        19.626        .16061E-03   -1.5208    
  10  norm          .68549E-01    4.1585        .10466E-02   -1.5656    
  11  norm          1.0125        2.4315        .16126E-02   -1.5507    
  12  Prefactor     .10005E-03    190.80        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     20.160        17.312        .89185E-04   -1.4810    
  14  norm          1.7369        3.1752        .15163E-03   -1.5444    
  15  Prefactor     .10000E-03    13.438        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    7.3120        .33892E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .18997        .46205        .69382E-03   -1.5621    
  18  Prefactor     6.0097        650.97        .16364E-03   -1.5218    
  19  Prefactor     .10004E-03    150.45        .47804E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    4.0997        .12895E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          2.5596        3.8225        .14399E-03   -1.5388    
  22  Prefactor     3.5968        189.84        .21284E-03   -1.5329    
  23  Normalizat    .99857        .31923        .27005E-03   -.93078    
  24  Prefactor     .98733        .26719        .24137E-03   -.93153    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.18258e-08
Minuit parameter uncertainties:
  1  161.228
  2  0.512416
  3  6.01966e-05
  4  27.8492
  5  3.95039e-05
  6  2.48672e-05
  7  19.4185
  8  29.0721
  9  19.646
  10  1.06712
  11  2.43176
  12  0.00647535
  13  17.3162
  14  3.17552
  15  3.81568e-05
  16  6.52025e-05
  17  0.462061
  18  126.532
  19  0.00495014
  20  2.1958e-06
  21  3.82282
  22  52.4371
  23  0.319844
  24  0.267552
Done.

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

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  1.001e-04  6.475e-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.873e-01  2.676e-01  0.000e+00  1.000e+01 ( 1.000e+00)
527        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
528        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
525   Normalization:  9.986e-01  3.198e-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.30e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.02e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/443580/likelihoodResults_495936001_496195201_4FGL_J2243.8-2510_daily_bin990.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) = 4258.57191991
delta logL = -2.48512596954e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4258.57191991
delta logL = -2.48502119575e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96362E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.7067       1.0000          .0000       10.000    
     3 'Normalizat'    .99857       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98733       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=   4258.572     FROM MIGRAD    STATUS=CONVERGED     76 CALLS      217 TOTAL
                     EDM=   .67E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10106E-03    3.5212        .14359    ** at limit **
   2  Index         2.5618        8.6948        .50000        .47620E-05
   3  Normalizat    .99858        .13949E-02    .46149E-01    .11879E-03
   4  Prefactor     .98733        .12466E-02    .46109E-01    .12703E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101063
  Index      = 2.56182
  Normalizat = 0.998575
  Prefactor  = 0.987326
 **********
 **   18 **HESSE 
 **********

 FCN=   4258.572     FROM HESSE     STATUS=NOT POSDEF    41 CALLS      258 TOTAL
                     EDM=   .66E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10106E-03    3.3530        .14688       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5618        8.6086        .50000       -.50938    
   3  Normalizat    .99858        .13804E-02    .27006E-03   -.93078    
   4  Prefactor     .98733        .12338E-02    .24136E-03   -.93153    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.57543e-09
Minuit parameter uncertainties:
  1  0.0037764
  2  71.8995
  3  0.00138043
  4  0.00123384
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/443580': 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) = 4258.57189487
delta logL = 1.8956779968e-07

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
526    Prefactor:  9.873e-01  1.234e-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:  9.986e-01  1.380e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/443580/cmap_HighResolution_495936001_496195201_4FGL_J2243.8-2510_daily_bin990.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.02e-02', job_status='DONE', photon_flux_upper_limit='1.30e-07', time_completed='2021-09-28 19:06:59.534646', job_id='443580', GAL2='0.99', fit_tolerance='1e-08', EG2='1.00', EG='1.00', time_epoch_completed='1632881219.53', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='1.90e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.71' WHERE bin_id='990' AND source_name='4FGL J2243.8-2510' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 19:06:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0073>
Subject: Job 443580: <4FGL_J2243.8-2510_daily_bin990> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.8-2510_daily_bin990 340.957 -25.1701 495936001 496195201 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 :                                   536.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             267.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   674 sec.
    Turnaround time :                            678 sec.

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

