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


Performing analysis on: 4FGL_J2243.8-2510_daily_bin235
RA = 340.957, Dec = -25.1701
tmin = 300240001, tmax = 300499201
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='440022', job_status='RUN', time_executed='2021-09-28 18:49:15.244725', time_epoch_executed='1632880155.24' WHERE source_name='4FGL J2243.8-2510' and cadence='daily' and bin_id='235'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/440022

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/440022/ft1_4FGL_J2243.8-2510_daily_bin235.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/440022/ft2_4FGL_J2243.8-2510_daily_bin235.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/440022/ft1_4FGL_J2243.8-2510_daily_bin235.fits outfile=/scratch/kocevski/440022/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin235.fits ra=340.957 dec=-25.1701 rad=12.0 tmin=300240001.0 tmax=300499201.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.40
user 3.18
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/440022/ft1_filtered_4FGL_J2243.8-2510_daily_bin235.fits" evtable="EVENTS" scfile=/scratch/kocevski/440022/ft2_4FGL_J2243.8-2510_daily_bin235.fits sctable="SC_DATA" outfile=/scratch/kocevski/440022/ltcube_300240001_300499201_4FGL_J2243.8-2510_daily_bin235.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/440022/ft2_4FGL_J2243.8-2510_daily_bin235.fits
.....................!
real 12.01
user 11.66
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/440022/ft1_filtered_4FGL_J2243.8-2510_daily_bin235.fits evtable="EVENTS" scfile=/scratch/kocevski/440022/ft2_4FGL_J2243.8-2510_daily_bin235.fits sctable="SC_DATA" expcube=/scratch/kocevski/440022/ltcube_300240001_300499201_4FGL_J2243.8-2510_daily_bin235.fits outfile=/scratch/kocevski/440022/expmap_300240001_300499201_4FGL_J2243.8-2510_daily_bin235.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/440022/ltcube_300240001_300499201_4FGL_J2243.8-2510_daily_bin235.fits
.....................!
real 193.28
user 187.60
sys 5.34

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/440022/ft1_filtered_4FGL_J2243.8-2510_daily_bin235.fits scfile=/scratch/kocevski/440022/ft2_4FGL_J2243.8-2510_daily_bin235.fits outfile=/scratch/kocevski/440022/cmap_300240001_300499201_4FGL_J2243.8-2510_daily_bin235.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/440022/ft1_filtered_4FGL_J2243.8-2510_daily_bin235.fits scfile=/scratch/kocevski/440022/ft2_4FGL_J2243.8-2510_daily_bin235.fits outfile=/scratch/kocevski/440022/cmap_HighResolution_300240001_300499201_4FGL_J2243.8-2510_daily_bin235.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/440022/ft1_filtered_4FGL_J2243.8-2510_daily_bin235.fits evtable="EVENTS" scfile=/scratch/kocevski/440022/ft2_4FGL_J2243.8-2510_daily_bin235.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/440022/Model_4FGL_J2243.8-2510_daily_bin235.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/440022/ft1_filtered_4FGL_J2243.8-2510_daily_bin235.fits.....................!
real 59.15
user 57.87
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .19677E-02   1.0000         .10000E-03   10000.    
     2 'norm      '    1.2840       1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.9850       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .88194E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.7609       1.0000         .10000E-03   10000.    
     6 'Prefactor '    62.188       1.0000         .10000E-03   10000.    
     7 'norm      '    19.016       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10108E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    8.2734       1.0000         .10000E-03   10000.    
    10 'norm      '    .74897       1.0000         .10000E-03   10000.    
    11 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    21.752       1.0000         .10000E-03   10000.    
    13 'Prefactor '    6.2121       1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .37225       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .14873E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    1.8064       1.0000         .10000E-03   10000.    
    22 'Prefactor '    23.673       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1636       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .61260       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=   7622.429     FROM MIGRAD    STATUS=CONVERGED    537 CALLS     2372 TOTAL
                     EDM=   .22E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    452.12       -.22627E-04** at limit **
   2  norm          1.2841        .33729       -.93766E-07    .25116E-03
   3  Prefactor     3.9882        5.0205       -.20027E-06    .70964E-04
   4  Prefactor     .10017E-03    6.0953       -.55717E-06** at limit **
   5  Prefactor     5.7564        7.4730        .32755E-06   -.10193E-04
   6  Prefactor     62.230        37.376        .16204E-06    .35647E-04
   7  norm          19.014        12.703        .34327E-07    .39419E-05
   8  Prefactor     .10000E-03    9.0199       -.19213E-06** at limit **
   9  Prefactor     8.2737        6.9204        .14496E-06    .32132E-05
  10  norm          .74829        .64591        .23774E-06    .48166E-03
  11  norm          .10000E-03    .51553       -.19945E-08** at limit **
  12  Prefactor     21.746        22.229        .18957E-06   -.14857E-05
  13  Prefactor     6.2111        9.6993        .51573E-06   -.12862E-05
  14  norm          .10000E-03    .93683        .11377E-07** at limit **
  15  Prefactor     .10000E-03    2.6776        .11779E-07** at limit **
  16  Prefactor     .10000E-03    1.9488        .19393E-07** at limit **
  17  norm          .37221        .29966        .42247E-07    .21188E-03
  18  Prefactor     .10000E-03    85.223        .16892E-06** at limit **
  19  Prefactor     .10000E-03    3.5411        .67376E-07** at limit **
  20  Prefactor     .10000E-03    1.6826        .23301E-07** at limit **
  21  norm          1.8064        2.4998        .42029E-06    .49355E-04
  22  Prefactor     23.668        24.469       -.63540E-07   -.80288E-05
  23  Normalizat    1.1636        .14962       -.36486E-06    .73013E-05
  24  Prefactor     .61268        .13277       -.13887E-05    .37301E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 1.28407
  Prefactor  = 3.9882
  Prefactor  = 0.000100167
  Prefactor  = 5.75636
  Prefactor  = 62.2302
  norm       = 19.0144
  Prefactor  = 0.0001
  Prefactor  = 8.27367
  norm       = 0.748292
  norm       = 0.0001
  Prefactor  = 21.7463
  Prefactor  = 6.21106
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.372212
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.80637
  Prefactor  = 23.6677
  Normalizat = 1.16358
  Prefactor  = 0.612681
 **********
 **   18 **HESSE 
 **********

 FCN=   7622.429     FROM HESSE     STATUS=OK           407 CALLS     2779 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    448.45        .40487E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.2841        .33651        .25155E-04   -1.5481    
   3  Prefactor     3.9882        4.9999        .20204E-03   -1.5309    
   4  Prefactor     .10017E-03    48.627        .41297E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     5.7564        7.5015        .16734E-03   -1.5228    
   6  Prefactor     62.230        37.423        .25442E-03   -1.4129    
   7  norm          19.014        12.706        .91848E-04   -1.4836    
   8  Prefactor     .10000E-03    9.0440        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     8.2737        6.9223        .13938E-03   -1.5133    
  10  norm          .74829        .62508        .63239E-03   -1.5535    
  11  norm          .10000E-03    .51793        .61011E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     21.746        22.174        .85881E-04   -1.4775    
  13  Prefactor     6.2111        9.7768        .16106E-03   -1.5209    
  14  norm          .10000E-03    .94828        .82467E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    2.6817        .13949E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    1.9616        .11883E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .37221        .28468        .41383E-03   -1.5586    
  18  Prefactor     .10000E-03    85.507        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    3.6071        .16047E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    1.6854        .11058E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          1.8064        2.4843        .15206E-03   -1.5439    
  22  Prefactor     23.668        24.419        .82328E-04   -1.4735    
  23  Normalizat    1.1636        .17372        .20773E-03   -.87736    
  24  Prefactor     .61268        .15268        .25469E-03   -1.0705    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.34852e-09
Minuit parameter uncertainties:
  1  0.000100702
  2  0.336511
  3  5.00039
  4  0.00571145
  5  7.50274
  6  37.4376
  7  12.7082
  8  2.99962e-06
  9  6.92293
  10  0.62509
  11  5.64972e-07
  12  22.1822
  13  9.77927
  14  1.16707e-06
  15  1.50933e-06
  16  2.38326e-06
  17  0.284677
  18  0.000145332
  19  6.37466e-06
  20  1.57901e-06
  21  2.48441
  22  24.429
  23  0.173806
  24  0.15278
Done.

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

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  2.175e+01  2.218e+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:  6.127e-01  1.528e-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.164e+00  1.738e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.74
Ra Dec: 340.957 -25.170
Photon Index (Fixed Index): 2.71 +/- 0.00
Photon Flux (Fixed Index): 2.25e-08 +/- 2.30e-08
Energy Flux (Fixed Index): 5.40e-06 +/- 5.50e-06

TS (Fixed Index): 1.74
Ra Dec: 340.957 -25.170
Photon Flux Upper Limit: 7.90e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.22e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/440022/likelihoodResults_300240001_300499201_4FGL_J2243.8-2510_daily_bin235.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) = 7622.05721498
delta logL = 0.372145008395

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7622.01786438
delta logL = 0.411495607372

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    29.125       1.0000         .10000E-03   10000.    
     2 'Index     '    1.8955       1.0000          .0000       10.000    
     3 'Normalizat'    1.1773       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .60453       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=   7622.018     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      209 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     29.125        37.290        .18559E-02   -.71241E-03
   2  Index         1.8954        .79773        .26427       -.82025E-05
   3  Normalizat    1.1773        .14288        .35475E-01    .30674E-05
   4  Prefactor     .60454        .13088        .41116E-01    .29550E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 29.1251
  Index      = 1.89541
  Normalizat = 1.17726
  Prefactor  = 0.604535
 **********
 **   18 **HESSE 
 **********

 FCN=   7622.018     FROM HESSE     STATUS=OK            31 CALLS      240 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     29.125        28.639        .74238E-04   -1.4628    
   2  Index         1.8954        .85368        .13041E-01   -.66991    
   3  Normalizat    1.1773        .16240        .20667E-03   -.87308    
   4  Prefactor     .60454        .14904        .25618E-03   -1.0740    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.44106e-09
Minuit parameter uncertainties:
  1  28.6525
  2  0.860577
  3  0.162468
  4  0.149142
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/440022': 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) = 7622.01786437
delta logL = 0.411495625023

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  2.913e+01  2.865e+01  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  1.895e+00  8.606e-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:  6.045e-01  1.491e-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.177e+00  1.625e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.56
Ra Dec: 340.957 -25.170
Photon Index (Free Index): 1.90 +/- 0.86
Photon Flux (Free Index): 1.22e-08 +/- 1.59e-08
Energy Flux (Free Index): 1.11e-05 +/- 1.97e-05

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/440022/cmap_HighResolution_300240001_300499201_4FGL_J2243.8-2510_daily_bin235.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.22e-03', comment='SUCCESS', photon_flux='2.25e-08', energy_flux2='1.11e-05', photon_flux_error='2.30e-08', dlogl='4.11e-01', energy_flux='5.40e-06', photon_flux2='1.22e-08', job_status='DONE', time_completed='2021-09-28 19:00:48.185366', photon_index_error2='0.86', photon_index2='1.90', ts='1.74', fit_tolerance='1e-08', GAL='0.61', photon_index_error='0.00', photon_flux_upper_limit='7.90e-08', energy_flux_error2='1.97e-05', EG='1.16', time_epoch_completed='1632880848.19', return_code='0', job_id='440022', GAL2='0.60', EG2='1.18', return_code2='0', energy_flux_error='5.50e-06', photon_flux_error2='1.59e-08', ts2='2.56', photon_index='2.71' WHERE bin_id='235' AND source_name='4FGL J2243.8-2510' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 19:00:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0227>
Subject: Job 440022: <4FGL_J2243.8-2510_daily_bin235> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.8-2510_daily_bin235 340.957 -25.1701 300240001 300499201 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 :                                   693.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             273.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   914 sec.
    Turnaround time :                            916 sec.

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

