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


Performing analysis on: 4FGL_J2243.8-2510_daily_bin1590
RA = 340.957, Dec = -25.1701
tmin = 651456001, tmax = 651715201
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='446510', job_status='RUN', time_executed='2021-09-28 19:06:32.677845', time_epoch_executed='1632881192.68' WHERE source_name='4FGL J2243.8-2510' and cadence='daily' and bin_id='1590'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/446510

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/446510/ft1_4FGL_J2243.8-2510_daily_bin1590.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/446510/ft2_4FGL_J2243.8-2510_daily_bin1590.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/446510/ft1_4FGL_J2243.8-2510_daily_bin1590.fits outfile=/scratch/kocevski/446510/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin1590.fits ra=340.957 dec=-25.1701 rad=12.0 tmin=651456001.0 tmax=651715201.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.50
user 3.26
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/446510/ft1_filtered_4FGL_J2243.8-2510_daily_bin1590.fits" evtable="EVENTS" scfile=/scratch/kocevski/446510/ft2_4FGL_J2243.8-2510_daily_bin1590.fits sctable="SC_DATA" outfile=/scratch/kocevski/446510/ltcube_651456001_651715201_4FGL_J2243.8-2510_daily_bin1590.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/446510/ft2_4FGL_J2243.8-2510_daily_bin1590.fits
.....................!
real 11.85
user 11.50
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/446510/ft1_filtered_4FGL_J2243.8-2510_daily_bin1590.fits evtable="EVENTS" scfile=/scratch/kocevski/446510/ft2_4FGL_J2243.8-2510_daily_bin1590.fits sctable="SC_DATA" expcube=/scratch/kocevski/446510/ltcube_651456001_651715201_4FGL_J2243.8-2510_daily_bin1590.fits outfile=/scratch/kocevski/446510/expmap_651456001_651715201_4FGL_J2243.8-2510_daily_bin1590.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/446510/ltcube_651456001_651715201_4FGL_J2243.8-2510_daily_bin1590.fits
.....................!
real 190.28
user 185.07
sys 4.90

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/446510/ft1_filtered_4FGL_J2243.8-2510_daily_bin1590.fits scfile=/scratch/kocevski/446510/ft2_4FGL_J2243.8-2510_daily_bin1590.fits outfile=/scratch/kocevski/446510/cmap_651456001_651715201_4FGL_J2243.8-2510_daily_bin1590.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.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/446510/ft1_filtered_4FGL_J2243.8-2510_daily_bin1590.fits scfile=/scratch/kocevski/446510/ft2_4FGL_J2243.8-2510_daily_bin1590.fits outfile=/scratch/kocevski/446510/cmap_HighResolution_651456001_651715201_4FGL_J2243.8-2510_daily_bin1590.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.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    36.126       1.0000         .10000E-03   10000.    
     2 'norm      '    .89824       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .15151E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    8.3248       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .15440E-02   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    1.9212       1.0000         .10000E-03   10000.    
     8 'Prefactor '    46.211       1.0000         .10000E-03   10000.    
     9 'Prefactor '    27.242       1.0000         .10000E-03   10000.    
    10 'norm      '    1.2438       1.0000         .10000E-03   10000.    
    11 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    44.658       1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.2000       1.0000         .10000E-03   10000.    
    14 'norm      '    .17975E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10563E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    7.3674       1.0000         .10000E-03   10000.    
    17 'norm      '    .10069E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    83.168       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10166E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10238E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    12.123       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .98159       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .83208       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=   4116.031     FROM MIGRAD    STATUS=CONVERGED    543 CALLS     2741 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     35.951        80.257       -.50085E-05   -.27341E-03
   2  norm          .89819        .43456       -.10748E-07   -.16258E-03
   3  Prefactor     .10000E-03    30.148       -.45085E-05** at limit **
   4  Prefactor     8.3302        26.509       -.10705E-05   -.24074E-05
   5  Prefactor     .10102E-03    11.823        .20075E-05** at limit **
   6  Prefactor     .10000E-03    38.337        .65511E-06** at limit **
   7  norm          1.9165        47.467        .36774E-04   -.36313E-04
   8  Prefactor     46.182        37.534        .34495E-06   -.25212E-03
   9  Prefactor     27.248        20.708       -.25220E-06   -.13174E-03
  10  norm          1.2439        1.2766        .20079E-06   -.10824E-04
  11  norm          .10000E-03    1.9479       -.22260E-06** at limit **
  12  Prefactor     44.651        71.906       -.40609E-05   -.10923E-03
  13  Prefactor     5.1973        14.499        .24001E-06   -.94922E-04
  14  norm          .10000E-03    5.2715        .10649E-05** at limit **
  15  Prefactor     .10000E-03    14.472        .47546E-06** at limit **
  16  Prefactor     7.3452        10.294       -.80276E-06   -.42342E-03
  17  norm          .10000E-03    .22162        .17864E-06** at limit **
  18  Prefactor     83.147        84.104       -.25079E-06   -.56802E-04
  19  Prefactor     .10000E-03    23.399        .20231E-05** at limit **
  20  Prefactor     .10000E-03    6.4992        .39368E-06** at limit **
  21  norm          12.124        5.2368        .27666E-07   -.21583E-04
  22  Prefactor     .10000E-03    25.839        .23497E-07** at limit **
  23  Normalizat    .98135        .23827        .77269E-06   -.39719E-03
  24  Prefactor     .83224        .19625       -.18858E-05   -.26356E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 35.9508
  norm       = 0.89819
  Prefactor  = 0.0001
  Prefactor  = 8.3302
  Prefactor  = 0.000101022
  Prefactor  = 0.000100001
  norm       = 1.91646
  Prefactor  = 46.1821
  Prefactor  = 27.2478
  norm       = 1.24387
  norm       = 0.0001
  Prefactor  = 44.6511
  Prefactor  = 5.19733
  norm       = 0.000100004
  Prefactor  = 0.0001
  Prefactor  = 7.34516
  norm       = 0.0001
  Prefactor  = 83.1467
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 12.124
  Prefactor  = 0.0001
  Normalizat = 0.981348
  Prefactor  = 0.832239
 **********
 **   18 **HESSE 
 **********

 FCN=   4116.031     FROM HESSE     STATUS=OK           395 CALLS     3136 TOTAL
                     EDM=   .99E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     35.951        80.384        .33339E-03   -1.4508    
   2  norm          .89819        .43602        .28435E-04   -1.5518    
   3  Prefactor     .10000E-03    30.737        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.3302        26.449        .13895E-03   -1.5131    
   5  Prefactor     .10102E-03    120.11        .40891E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    38.359        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.9165        47.288        .14989E-02   -1.5431    
   8  Prefactor     46.182        36.954        .58982E-04   -1.4348    
   9  Prefactor     27.248        20.781        .76755E-04   -1.4664    
  10  norm          1.2439        1.2563        .69511E-04   -1.5485    
  11  norm          .10000E-03    1.9604        .86932E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     44.651        71.384        .59995E-04   -1.4371    
  13  Prefactor     5.1973        14.577        .17628E-03   -1.5252    
  14  norm          .10000E-03    9.6785        .26335E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    14.525        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     7.3452        9.6647        .14777E-03   -1.5166    
  17  norm          .10000E-03    .22355        .58305E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     83.147        84.114        .22023E-03   -1.3882    
  19  Prefactor     .10000E-03    24.375        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    6.5275        .15960E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          12.124        5.2384        .93212E-04   -1.5011    
  22  Prefactor     .10000E-03    25.866        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .98135        .28413        .25209E-03   -.93658    
  24  Prefactor     .83224        .23369        .23913E-03   -.98551    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.91689e-09
Minuit parameter uncertainties:
  1  80.6277
  2  0.436018
  3  0.000144635
  4  26.4867
  5  0.0222011
  6  0.000302636
  7  19.0558
  8  36.972
  9  20.7866
  10  1.25635
  11  1.27463e-05
  12  71.5213
  13  14.5871
  14  0.000386509
  15  5.83568e-06
  16  9.66675
  17  6.25908e-07
  18  84.2348
  19  0.000179478
  20  1.00882e-05
  21  5.23861
  22  5.5115e-05
  23  0.284572
  24  0.233971
Done.

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

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  4.465e+01  7.152e+01  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:  8.322e-01  2.340e-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.813e-01  2.846e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.56
Ra Dec: 340.957 -25.170
Photon Flux Upper Limit: 1.88e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.48e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/446510/likelihoodResults_651456001_651715201_4FGL_J2243.8-2510_daily_bin1590.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) = 4116.02492217
delta logL = 0.00639347662582

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4115.77446056
delta logL = 0.25685509127

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.2287       1.0000         .10000E-03   10000.    
     2 'Index     '    4.8465       1.0000          .0000       10.000    
     3 'Normalizat'    .91978       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87910       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=   4115.774     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      265 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.2407        89.897        .56360E-02    .34970E-03
   2  Index         4.8431        7.1280        .12711        .94008E-04
   3  Normalizat    .92028        .67136E-01    .45154E-01    .30024E-05
   4  Prefactor     .87904        .58813E-01    .44738E-01   -.29132E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.24073
  Index      = 4.84307
  Normalizat = 0.920283
  Prefactor  = 0.879037
 **********
 **   18 **HESSE 
 **********

 FCN=   4115.774     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      298 TOTAL
                     EDM=   .41E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.2407        165.71        .11326E-03   -1.5348    
   2  Index         4.8431        7.3921        .62549E-02   -.31391E-01
   3  Normalizat    .92028        .23483        .25915E-03   -.95751    
   4  Prefactor     .87904        .20129        .23337E-03   -.96877    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.0691e-07
Minuit parameter uncertainties:
  1  46.4826
  2  8.46071
  3  0.235089
  4  0.201459
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/446510': 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) = 4115.77445307
delta logL = 0.256862581878

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  3.241e+00  4.648e+01  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  4.843e+00  8.461e+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:  8.790e-01  2.015e-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.203e-01  2.351e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.17
Ra Dec: 340.957 -25.170
Photon Index (Free Index): 4.84 +/- 8.46
Photon Flux (Free Index): 8.90e-08 +/- 9.74e-08
Energy Flux (Free Index): 1.20e-05 +/- 1.82e-05

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/446510/cmap_HighResolution_651456001_651715201_4FGL_J2243.8-2510_daily_bin1590.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.48e-02', comment='SUCCESS', energy_flux2='1.20e-05', dlogl='2.57e-01', photon_flux2='8.90e-08', job_status='DONE', time_completed='2021-09-28 19:15:23.859021', photon_index_error2='8.46', photon_index2='4.84', ts='0.56', fit_tolerance='1e-08', GAL='0.83', photon_index_error='0.00', photon_flux_upper_limit='1.88e-07', energy_flux_error2='1.82e-05', EG='0.98', time_epoch_completed='1632881723.86', return_code='0', job_id='446510', GAL2='0.88', EG2='0.92', return_code2='102', photon_flux_error2='9.74e-08', ts2='1.17', photon_index='2.71' WHERE bin_id='1590' AND source_name='4FGL J2243.8-2510' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 19:15:23 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0250>
Subject: Job 446510: <4FGL_J2243.8-2510_daily_bin1590> in cluster <slac> Done

Job <4FGL_J2243.8-2510_daily_bin1590> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Sep 28 19:05:21 2021
Job was executed on host(s) <bullet0250>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 19:05:24 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 19:05:24 2021
Terminated at Tue Sep 28 19:15:24 2021
Results reported at Tue Sep 28 19:15:24 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.8-2510_daily_bin1590 340.957 -25.1701 651456001 651715201 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 :                                   523.40 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             278.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   600 sec.
    Turnaround time :                            603 sec.

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

