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


Performing analysis on: 4FGL_J2350.6-3005_daily_bin689
RA = 357.665, Dec = -30.087
tmin = 417916801, tmax = 418176001
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='158505', job_status='RUN', time_executed='2021-09-30 07:08:21.718646', time_epoch_executed='1633010901.72' WHERE source_name='4FGL J2350.6-3005' and cadence='daily' and bin_id='689'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/158505

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/158505/ft1_4FGL_J2350.6-3005_daily_bin689.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/158505/ft2_4FGL_J2350.6-3005_daily_bin689.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/158505/ft1_4FGL_J2350.6-3005_daily_bin689.fits outfile=/scratch/kocevski/158505/ft1_filteredMKT_4FGL_J2350.6-3005_daily_bin689.fits ra=357.665 dec=-30.087 rad=12.0 tmin=417916801.0 tmax=418176001.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 7.30
user 7.00
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/158505/ft2_4FGL_J2350.6-3005_daily_bin689.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/158505/ft2_4FGL_J2350.6-3005_daily_bin689.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/158505/ft1_filteredMKT_4FGL_J2350.6-3005_daily_bin689.fits evtable="EVENTS" outfile="/scratch/kocevski/158505/ft1_filtered_4FGL_J2350.6-3005_daily_bin689.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.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/158505/ft1_filtered_4FGL_J2350.6-3005_daily_bin689.fits" evtable="EVENTS" scfile=/scratch/kocevski/158505/ft2_4FGL_J2350.6-3005_daily_bin689.fits sctable="SC_DATA" outfile=/scratch/kocevski/158505/ltcube_417916801_418176001_4FGL_J2350.6-3005_daily_bin689.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/158505/ft2_4FGL_J2350.6-3005_daily_bin689.fits
.....................!
real 12.09
user 11.67
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/158505/ft1_filtered_4FGL_J2350.6-3005_daily_bin689.fits evtable="EVENTS" scfile=/scratch/kocevski/158505/ft2_4FGL_J2350.6-3005_daily_bin689.fits sctable="SC_DATA" expcube=/scratch/kocevski/158505/ltcube_417916801_418176001_4FGL_J2350.6-3005_daily_bin689.fits outfile=/scratch/kocevski/158505/expmap_417916801_418176001_4FGL_J2350.6-3005_daily_bin689.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/158505/ltcube_417916801_418176001_4FGL_J2350.6-3005_daily_bin689.fits
.....................!
real 190.46
user 185.40
sys 3.92

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 184 point sources and 0 extended sources

Setting source of interest to:
4FGL J2350.6-3005 @ 357.665 -30.087

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/158505/ft1_filtered_4FGL_J2350.6-3005_daily_bin689.fits scfile=/scratch/kocevski/158505/ft2_4FGL_J2350.6-3005_daily_bin689.fits outfile=/scratch/kocevski/158505/cmap_417916801_418176001_4FGL_J2350.6-3005_daily_bin689.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=357.665 yref=-30.087 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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/158505/ft1_filtered_4FGL_J2350.6-3005_daily_bin689.fits scfile=/scratch/kocevski/158505/ft2_4FGL_J2350.6-3005_daily_bin689.fits outfile=/scratch/kocevski/158505/cmap_HighResolution_417916801_418176001_4FGL_J2350.6-3005_daily_bin689.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=357.665 yref=-30.087 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/158505/ft1_filtered_4FGL_J2350.6-3005_daily_bin689.fits evtable="EVENTS" scfile=/scratch/kocevski/158505/ft2_4FGL_J2350.6-3005_daily_bin689.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/158505/Model_4FGL_J2350.6-3005_daily_bin689.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/158505/ft1_filtered_4FGL_J2350.6-3005_daily_bin689.fits.....................!
real 25.83
user 24.43
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/158505/ft1_filtered_4FGL_J2350.6-3005_daily_bin689.fits', '/scratch/kocevski/158505/ft2_4FGL_J2350.6-3005_daily_bin689.fits', expMap='/scratch/kocevski/158505/expmap_417916801_418176001_4FGL_J2350.6-3005_daily_bin689.fits', expCube='/scratch/kocevski/158505/ltcube_417916801_418176001_4FGL_J2350.6-3005_daily_bin689.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/158505/Model_4FGL_J2350.6-3005_daily_bin689.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2350.6-3005'

4FGL J2350.6-3005
   Spectrum: PowerLaw
526    Prefactor:  8.104e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
527        Index:  2.022e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
528        Scale:  2.236e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/158505/ft1_filtered_4FGL_J2350.6-3005_daily_bin689.fits
Spacecraft file(s): /scratch/kocevski/158505/ft2_4FGL_J2350.6-3005_daily_bin689.fits
Exposure map: /scratch/kocevski/158505/expmap_417916801_418176001_4FGL_J2350.6-3005_daily_bin689.fits
Exposure cube: /scratch/kocevski/158505/ltcube_417916801_418176001_4FGL_J2350.6-3005_daily_bin689.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/158505/Model_4FGL_J2350.6-3005_daily_bin689.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) = 2141.91616443

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10151E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.5697       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.9849       1.0000         .10000E-03   10000.    
     6 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .65928       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    10.190       1.0000         .10000E-03   10000.    
    10 'norm      '    5.1347       1.0000         .10000E-03   10000.    
    11 'Prefactor '    16.109       1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    8.9580       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10100E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .19511E-01   1.0000         .10000E-03   10000.    
    16 'Prefactor '    114.19       1.0000         .10000E-03   10000.    
    17 'Prefactor '    45.022       1.0000         .10000E-03   10000.    
    18 'Prefactor '    9.3173       1.0000         .10000E-03   10000.    
    19 'Prefactor '    48.602       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.0032       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .87225       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5870E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   2141.904     FROM MIGRAD    STATUS=CONVERGED    459 CALLS     2233 TOTAL
                     EDM=   .79E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    60.734        .16060E-05** at limit **
   2  Prefactor     .10000E-03    148.47        .38672E-04** at limit **
   3  Prefactor     3.5707        4.4744        .61644E-06    .89685E-05
   4  Prefactor     .10000E-03    11.492       -.20149E-06** at limit **
   5  Prefactor     4.9856        24.406        .15858E-05   -.32189E-04
   6  norm          .10000E-03    7.5116        .28364E-06** at limit **
   7  norm          .65928        1.1293       -.11719E-06   -.57307E-03
   8  Prefactor     .10000E-03    29.822        .18366E-05** at limit **
   9  norm          10.187        11.192        .13613E-05   -.30021E-04
  10  norm          5.1369        16.260       -.47106E-05   -.11023E-03
  11  Prefactor     16.135        150.80        .53825E-04    .47301E-06
  12  norm          .10000E-03    4.1611        .57261E-08** at limit **
  13  norm          8.9578        6.2915        .76733E-08    .28678E-04
  14  Prefactor     .10000E-03    92.466       -.13455E-04** at limit **
  15  norm          .33273E-01    5.2816        .89718E-06   -.51312E-03
  16  Prefactor     114.23        154.27        .33441E-04    .30752E-05
  17  Prefactor     45.008        50.463       -.78751E-05   -.21832E-05
  18  Prefactor     9.3202        9.6334        .13714E-06   -.91185E-03
  19  Prefactor     48.579        67.142       -.19426E-04   -.84403E-05
  20  Normalizat    1.0029        .28430       -.28208E-05   -.51260E-05
  21  Prefactor     .87252        .29646        .28518E-06   -.78743E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.57067
  Prefactor  = 0.0001
  Prefactor  = 4.98557
  norm       = 0.0001
  norm       = 0.659281
  Prefactor  = 0.0001
  norm       = 10.1865
  norm       = 5.13687
  Prefactor  = 16.1353
  norm       = 0.0001
  norm       = 8.9578
  Prefactor  = 0.0001
  norm       = 0.0332727
  Prefactor  = 114.233
  Prefactor  = 45.0078
  Prefactor  = 9.32021
  Prefactor  = 48.5787
  Normalizat = 1.00286
  Prefactor  = 0.872525
 **********
 **   18 **HESSE 
 **********

 FCN=   2141.904     FROM HESSE     STATUS=OK           333 CALLS     2566 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    60.799        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    148.62        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     3.5707        4.4671        .10568E-03   -1.5330    
   4  Prefactor     .10000E-03    11.492        .15325E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.9856        24.354        .18012E-03   -1.5261    
   6  norm          .10000E-03    7.5545        .12388E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .65928        1.0650        .62072E-03   -1.5546    
   8  Prefactor     .10000E-03    30.159        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          10.187        11.219        .12552E-03   -1.5070    
  10  norm          5.1369        16.241        .17742E-03   -1.5255    
  11  Prefactor     16.135        151.73        .99791E-04   -1.4904    
  12  norm          .10000E-03    4.1694        .92092E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          8.9578        6.2908        .93810E-04   -1.5109    
  14  Prefactor     .10000E-03    92.942        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .33273E-01    9.3692        .38018E-01   -1.5672    
  16  Prefactor     114.23        154.05        .18824E-03   -1.3566    
  17  Prefactor     45.008        50.440        .59752E-04   -1.4365    
  18  Prefactor     9.3202        9.6525        .65647E-03   -1.5097    
  19  Prefactor     48.579        66.884        .57520E-04   -1.4313    
  20  Normalizat    1.0029        .33375        .23265E-03   -.92935    
  21  Prefactor     .87252        .34682        .26505E-03   -.97108    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.54297e-09
Minuit parameter uncertainties:
  1  3.44551e-05
  2  7.94843e-05
  3  4.4675
  4  1.63073e-05
  5  22.0523
  6  6.6506e-06
  7  1.06507
  8  9.53475e-06
  9  11.2214
  10  16.2552
  11  99.2899
  12  1.65997e-05
  13  6.29125
  14  0.000427152
  15  1.11517
  16  154.59
  17  50.4882
  18  9.65407
  19  66.9871
  20  0.334444
  21  0.347702
Done.

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

Extracting fit parameters...

4FGL J2350.6-3005
   Spectrum: PowerLaw
526    Prefactor:  4.501e+01  5.049e+01  1.000e-04  1.000e+04 ( 1.000e-14)
527        Index:  2.022e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
528        Scale:  2.236e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
584    Prefactor:  8.725e-01  3.477e-01  0.000e+00  1.000e+01 ( 1.000e+00)
585        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
586        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
583   Normalization:  1.003e+00  3.344e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.55
Ra Dec: 357.665 -30.087
Photon Index (Fixed Index): 2.02 +/- 0.00
Photon Flux (Fixed Index): 2.35e-08 +/- 2.64e-08
Energy Flux (Fixed Index): 1.54e-05 +/- 1.73e-05

TS (Fixed Index): 2.55
Ra Dec: 357.665 -30.087
Photon Flux Upper Limit: 1.17e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.77e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/158505/likelihoodResults_417916801_418176001_4FGL_J2350.6-3005_daily_bin689.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) = 2141.60083495
delta logL = 0.303317302751

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2141.60081364
delta logL = 0.303338613429

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    69.821       1.0000         .10000E-03   10000.    
     2 'Index     '    1.4345       1.0000          .0000       10.000    
     3 'Normalizat'    1.0128       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86588       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5870E+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=   2141.601     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      251 TOTAL
                     EDM=   .18E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     69.745        76.033        .24020E-03    .42597E-06
   2  Index         1.4337        .67780        .79030E-02    .11702E-05
   3  Normalizat    1.0127        .31746        .23165E-03    .97419E-05
   4  Prefactor     .86593        .34108        .13293E-02   -.26883E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 69.7448
  Index      = 1.43366
  Normalizat = 1.01274
  Prefactor  = 0.865928
 **********
 **   18 **HESSE 
 **********

 FCN=   2141.601     FROM HESSE     STATUS=OK            25 CALLS      276 TOTAL
                     EDM=   .18E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     69.745        75.906        .96079E-05   -1.4036    
   2  Index         1.4337        .67676        .31612E-03   -.79415    
   3  Normalizat    1.0127        .31837        .92659E-05   -.92605    
   4  Prefactor     .86593        .34206        .53174E-04   -.97342    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.79152e-11
Minuit parameter uncertainties:
  1  76.0121
  2  0.681041
  3  0.318973
  4  0.342906
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/158505': 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) = 2141.60081223
delta logL = 0.303340017442

Extracting fit parameters...

4FGL J2350.6-3005
   Spectrum: PowerLaw
526    Prefactor:  6.974e+01  7.601e+01  1.000e-04  1.000e+04 ( 1.000e-14)
527        Index:  1.434e+00  6.810e-01  0.000e+00  1.000e+01 (-1.000e+00)
528        Scale:  2.236e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
584    Prefactor:  8.659e-01  3.429e-01  0.000e+00  1.000e+01 ( 1.000e+00)
585        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
586        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
583   Normalization:  1.013e+00  3.190e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.16
Ra Dec: 357.665 -30.087
Photon Index (Free Index): 1.43 +/- 0.68
Photon Flux (Free Index): 1.31e-08 +/- 1.72e-08
Energy Flux (Free Index): 5.19e-05 +/- 9.84e-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/158505/cmap_HighResolution_417916801_418176001_4FGL_J2350.6-3005_daily_bin689.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.77e-03', comment='SUCCESS', photon_flux='2.35e-08', energy_flux2='5.19e-05', photon_flux_error='2.64e-08', dlogl='3.03e-01', energy_flux='1.54e-05', photon_flux2='1.31e-08', job_status='DONE', time_completed='2021-09-30 07:15:44.342204', photon_index_error2='0.68', photon_index2='1.43', ts='2.55', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', photon_flux_upper_limit='1.17e-07', energy_flux_error2='9.84e-05', EG='1.00', time_epoch_completed='1633011344.34', return_code='0', job_id='158505', GAL2='0.87', EG2='1.01', return_code2='0', energy_flux_error='1.73e-05', photon_flux_error2='1.72e-08', ts2='3.16', photon_index='2.02' WHERE bin_id='689' AND source_name='4FGL J2350.6-3005' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 07:15:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0044>
Subject: Job 158505: <4FGL_J2350.6-3005_daily_bin689> in cluster <slac> Done

Job <4FGL_J2350.6-3005_daily_bin689> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Sep 30 07:05:59 2021
Job was executed on host(s) <bullet0044>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 07:06:01 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep 30 07:06:01 2021
Terminated at Thu Sep 30 07:15:45 2021
Results reported at Thu Sep 30 07:15:45 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2350.6-3005_daily_bin689 357.665 -30.087 417916801 418176001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2350.6-3005 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   434.26 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             274.47 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   583 sec.
    Turnaround time :                            586 sec.

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

