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


Performing analysis on: 4FGL_J2243.8-2510_daily_bin1432
RA = 340.957, Dec = -25.1701
tmin = 610502401, tmax = 610761601
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='445309', job_status='RUN', time_executed='2021-09-28 19:02:16.723630', time_epoch_executed='1632880936.72' WHERE source_name='4FGL J2243.8-2510' and cadence='daily' and bin_id='1432'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/445309

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/445309/ft1_4FGL_J2243.8-2510_daily_bin1432.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/445309/ft2_4FGL_J2243.8-2510_daily_bin1432.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/445309/ft1_4FGL_J2243.8-2510_daily_bin1432.fits outfile=/scratch/kocevski/445309/ft1_filteredMKT_4FGL_J2243.8-2510_daily_bin1432.fits ra=340.957 dec=-25.1701 rad=12.0 tmin=610502401.0 tmax=610761601.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.59
user 3.37
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/445309/ft1_filtered_4FGL_J2243.8-2510_daily_bin1432.fits" evtable="EVENTS" scfile=/scratch/kocevski/445309/ft2_4FGL_J2243.8-2510_daily_bin1432.fits sctable="SC_DATA" outfile=/scratch/kocevski/445309/ltcube_610502401_610761601_4FGL_J2243.8-2510_daily_bin1432.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/445309/ft2_4FGL_J2243.8-2510_daily_bin1432.fits
.....................!
real 11.76
user 11.36
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/445309/ft1_filtered_4FGL_J2243.8-2510_daily_bin1432.fits evtable="EVENTS" scfile=/scratch/kocevski/445309/ft2_4FGL_J2243.8-2510_daily_bin1432.fits sctable="SC_DATA" expcube=/scratch/kocevski/445309/ltcube_610502401_610761601_4FGL_J2243.8-2510_daily_bin1432.fits outfile=/scratch/kocevski/445309/expmap_610502401_610761601_4FGL_J2243.8-2510_daily_bin1432.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/445309/ltcube_610502401_610761601_4FGL_J2243.8-2510_daily_bin1432.fits
.....................!
real 190.57
user 185.34
sys 4.81

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/445309/ft1_filtered_4FGL_J2243.8-2510_daily_bin1432.fits scfile=/scratch/kocevski/445309/ft2_4FGL_J2243.8-2510_daily_bin1432.fits outfile=/scratch/kocevski/445309/cmap_610502401_610761601_4FGL_J2243.8-2510_daily_bin1432.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.38
sys 0.13

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14239E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    1.1404       1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.6371       1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.6111       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .55432E-01   1.0000         .10000E-03   10000.    
     6 'Prefactor '    44.059       1.0000         .10000E-03   10000.    
     7 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    36.216       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10135E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .54711       1.0000         .10000E-03   10000.    
    11 'norm      '    3.2351       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    28.079       1.0000         .10000E-03   10000.    
    14 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10447E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    2.5004       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .12323E-01   1.0000         .10000E-03   10000.    
    19 'Prefactor '    7.7759       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10537E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .11304E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.4757       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .55135       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5290E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5275.369     FROM MIGRAD    STATUS=CONVERGED    999 CALLS     3590 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    204.83        .18142E-02** at limit **
   2  norm          1.1404        .43138        .28472E-04    .38931E-03
   3  Prefactor     2.6370        10.005        .12554E-02   -.34311E-04
   4  Prefactor     2.6134        20.338        .25243E-03    .58547E-05
   5  Prefactor     .13278E-03    9.6221        .57206E-01** at limit **
   6  Prefactor     44.056        49.375        .60399E-04    .20178E-04
   7  norm          .10000E-03    12.170        .18142E-02** at limit **
   8  Prefactor     36.222        27.207        .66594E-04    .11202E-03
   9  Prefactor     .10000E-03    15.468        .18142E-02** at limit **
  10  norm          .54741        .83730        .85848E-03   -.10897E-02
  11  norm          3.2348        2.3350        .91303E-04    .19051E-04
  12  Prefactor     .10000E-03    45.784        .18142E-02** at limit **
  13  Prefactor     28.085        16.366        .75605E-04    .89771E-04
  14  norm          .10000E-03    1.1012        .74394E-03** at limit **
  15  Prefactor     .10000E-03    7.7465        .18142E-02** at limit **
  16  Prefactor     .10000E-03    10.679        .18142E-02** at limit **
  17  norm          2.4998        .80284        .35263E-04    .32465E-03
  18  Prefactor     .10048E-03    92.995        .21207    ** at limit **
  19  Prefactor     7.7734        12.351        .14380E-03    .30991E-04
  20  Prefactor     .10000E-03    24.370        .36285E-03** at limit **
  21  norm          .10000E-03    5.3373        .20676E-02** at limit **
  22  Prefactor     .10000E-03    13.996        .18142E-02** at limit **
  23  Normalizat    1.4757        .25322        .22480E-03    .31257E-03
  24  Prefactor     .55135        .21896        .30728E-03    .22609E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  norm       = 1.1404
  Prefactor  = 2.63703
  Prefactor  = 2.61341
  Prefactor  = 0.000132781
  Prefactor  = 44.0564
  norm       = 0.0001
  Prefactor  = 36.2221
  Prefactor  = 0.0001
  norm       = 0.547407
  norm       = 3.23476
  Prefactor  = 0.0001
  Prefactor  = 28.0845
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.49978
  Prefactor  = 0.000100482
  Prefactor  = 7.77336
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.47567
  Prefactor  = 0.551347
 **********
 **   18 **HESSE 
 **********

 FCN=   5275.369     FROM HESSE     STATUS=OK           397 CALLS     3987 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    204.87        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.1404        .43138        .11389E-05   -1.5494    
   3  Prefactor     2.6370        9.9979        .50218E-04   -1.5383    
   4  Prefactor     2.6134        20.329        .10097E-04   -1.5385    
   5  Prefactor     .13278E-03    8.3411        .63594E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     44.056        49.370        .12080E-04   -1.4379    
   7  norm          .10000E-03    12.171        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     36.222        27.210        .13319E-04   -1.4504    
   9  Prefactor     .10000E-03    15.482        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .54741        .83681        .34339E-04   -1.5560    
  11  norm          3.2348        2.3349        .36521E-05   -1.5348    
  12  Prefactor     .10000E-03    45.790        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     28.085        16.365        .30242E-05   -1.4648    
  14  norm          .10000E-03    1.1012        .14879E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    7.7469        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    10.683        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.4998        .80268        .14105E-05   -1.5392    
  18  Prefactor     .10048E-03    95.739        .20751       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     7.7734        12.350        .57520E-05   -1.5150    
  20  Prefactor     .10000E-03    24.372        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    5.3759        .41352E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    13.997        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.4757        .25348        .44960E-04   -.78464    
  24  Prefactor     .55135        .21914        .12291E-04   -1.0968    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.05754e-09
Minuit parameter uncertainties:
  1  0.00107473
  2  0.431386
  3  10.0043
  4  14.5842
  5  0.0330759
  6  49.4159
  7  1.41284e-05
  8  27.2195
  9  5.64557e-05
  10  0.836825
  11  2.33499
  12  3.99518e-05
  13  16.3679
  14  9.10128e-07
  15  8.85029e-06
  16  3.8407e-05
  17  0.802681
  18  0.0136062
  19  12.3545
  20  8.66445e-05
  21  3.1077e-05
  22  1.34625e-05
  23  0.253702
  24  0.219481
Done.

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

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  1.000e-04  3.995e-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:  5.513e-01  2.195e-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.476e+00  2.537e-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.00e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.88e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/445309/likelihoodResults_610502401_610761601_4FGL_J2243.8-2510_daily_bin1432.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) = 5275.36942432
delta logL = -0.000103988109004

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5275.36932068
delta logL = -3.46349224856e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5275.369     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      282 TOTAL
                     EDM=   .92E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10193E-03    22.657        .18142E-01** at limit **
   2  Index         3.1303        8.2270        .50000        .40194E-05
   3  Normalizat    1.4757        .38455E-02    .22480E-03    .30879E-04
   4  Prefactor     .55135        .33879E-02    .30728E-03    .11469E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101927
  Index      = 3.13025
  Normalizat = 1.47567
  Prefactor  = 0.551347
 **********
 **   18 **HESSE 
 **********

 FCN=   5275.369     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      311 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10193E-03    900.79        .72569E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.1303        6.0422        .50000       -.38326    
   3  Normalizat    1.4757        .24664E-01    .44960E-04   -.78464    
   4  Prefactor     .55135        .21729E-01    .12291E-04   -1.0968    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.5743e-09
Minuit parameter uncertainties:
  1  0.0846266
  2  1232.3
  3  0.0246637
  4  0.021729
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/445309': 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) = 5275.36932051
delta logL = -1.784064807e-07

Extracting fit parameters...

4FGL J2243.8-2510
   Spectrum: PowerLaw
268    Prefactor:  1.019e-04  8.463e-02  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  3.130e+00  1.232e+03  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:  5.513e-01  2.173e-02  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.476e+00  2.466e-02  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/445309/cmap_HighResolution_610502401_610761601_4FGL_J2243.8-2510_daily_bin1432.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.88e-03', job_status='DONE', photon_flux_upper_limit='1.00e-07', time_completed='2021-09-28 19:13:07.820295', job_id='445309', GAL2='0.55', fit_tolerance='1e-08', EG2='1.48', EG='1.48', time_epoch_completed='1632881587.82', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.55', dlogl='-1.78e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.71' WHERE bin_id='1432' AND source_name='4FGL J2243.8-2510' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 19:13:07 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0075>
Subject: Job 445309: <4FGL_J2243.8-2510_daily_bin1432> in cluster <slac> Done

Job <4FGL_J2243.8-2510_daily_bin1432> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Sep 28 19:00:55 2021
Job was executed on host(s) <bullet0075>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 19:00:57 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:00:57 2021
Terminated at Tue Sep 28 19:13:08 2021
Results reported at Tue Sep 28 19:13:08 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.8-2510_daily_bin1432 340.957 -25.1701 610502401 610761601 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 :                                   648.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             326.22 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   731 sec.
    Turnaround time :                            733 sec.

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

