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


Performing analysis on: 4FGL_J2359.2-3134_daily_bin1150
RA = 359.817, Dec = -31.5832
tmin = 537408001, tmax = 537667201
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='249003', job_status='RUN', time_executed='2021-09-30 12:18:13.392669', time_epoch_executed='1633029493.39' WHERE source_name='4FGL J2359.2-3134' and cadence='daily' and bin_id='1150'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/249003

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/249003/ft1_4FGL_J2359.2-3134_daily_bin1150.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/249003/ft2_4FGL_J2359.2-3134_daily_bin1150.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/249003/ft1_4FGL_J2359.2-3134_daily_bin1150.fits outfile=/scratch/kocevski/249003/ft1_filteredMKT_4FGL_J2359.2-3134_daily_bin1150.fits ra=359.817 dec=-31.5832 rad=12.0 tmin=537408001.0 tmax=537667201.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 4.57
user 4.31
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/249003/ft2_4FGL_J2359.2-3134_daily_bin1150.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/249003/ft2_4FGL_J2359.2-3134_daily_bin1150.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/249003/ft1_filteredMKT_4FGL_J2359.2-3134_daily_bin1150.fits evtable="EVENTS" outfile="/scratch/kocevski/249003/ft1_filtered_4FGL_J2359.2-3134_daily_bin1150.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.50
user 0.32
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/249003/ft1_filtered_4FGL_J2359.2-3134_daily_bin1150.fits" evtable="EVENTS" scfile=/scratch/kocevski/249003/ft2_4FGL_J2359.2-3134_daily_bin1150.fits sctable="SC_DATA" outfile=/scratch/kocevski/249003/ltcube_537408001_537667201_4FGL_J2359.2-3134_daily_bin1150.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/249003/ft2_4FGL_J2359.2-3134_daily_bin1150.fits
.....................!
real 12.76
user 12.31
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/249003/ft1_filtered_4FGL_J2359.2-3134_daily_bin1150.fits evtable="EVENTS" scfile=/scratch/kocevski/249003/ft2_4FGL_J2359.2-3134_daily_bin1150.fits sctable="SC_DATA" expcube=/scratch/kocevski/249003/ltcube_537408001_537667201_4FGL_J2359.2-3134_daily_bin1150.fits outfile=/scratch/kocevski/249003/expmap_537408001_537667201_4FGL_J2359.2-3134_daily_bin1150.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/249003/ltcube_537408001_537667201_4FGL_J2359.2-3134_daily_bin1150.fits
.....................!
real 191.88
user 185.96
sys 4.97

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

Setting source of interest to:
4FGL J2359.2-3134 @ 359.817 -31.5832

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/249003/ft1_filtered_4FGL_J2359.2-3134_daily_bin1150.fits scfile=/scratch/kocevski/249003/ft2_4FGL_J2359.2-3134_daily_bin1150.fits outfile=/scratch/kocevski/249003/cmap_537408001_537667201_4FGL_J2359.2-3134_daily_bin1150.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=359.817 yref=-31.5832 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/249003/ft1_filtered_4FGL_J2359.2-3134_daily_bin1150.fits scfile=/scratch/kocevski/249003/ft2_4FGL_J2359.2-3134_daily_bin1150.fits outfile=/scratch/kocevski/249003/cmap_HighResolution_537408001_537667201_4FGL_J2359.2-3134_daily_bin1150.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=359.817 yref=-31.5832 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.55
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/249003/ft1_filtered_4FGL_J2359.2-3134_daily_bin1150.fits evtable="EVENTS" scfile=/scratch/kocevski/249003/ft2_4FGL_J2359.2-3134_daily_bin1150.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/249003/Model_4FGL_J2359.2-3134_daily_bin1150.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/249003/ft1_filtered_4FGL_J2359.2-3134_daily_bin1150.fits.....................!
real 37.02
user 35.62
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/249003/ft1_filtered_4FGL_J2359.2-3134_daily_bin1150.fits', '/scratch/kocevski/249003/ft2_4FGL_J2359.2-3134_daily_bin1150.fits', expMap='/scratch/kocevski/249003/expmap_537408001_537667201_4FGL_J2359.2-3134_daily_bin1150.fits', expCube='/scratch/kocevski/249003/ltcube_537408001_537667201_4FGL_J2359.2-3134_daily_bin1150.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/249003/Model_4FGL_J2359.2-3134_daily_bin1150.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2359.2-3134'

4FGL J2359.2-3134
   Spectrum: PowerLaw
590    Prefactor:  8.155e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
591        Index:  2.605e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
592        Scale:  6.631e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/249003/ft1_filtered_4FGL_J2359.2-3134_daily_bin1150.fits
Spacecraft file(s): /scratch/kocevski/249003/ft2_4FGL_J2359.2-3134_daily_bin1150.fits
Exposure map: /scratch/kocevski/249003/expmap_537408001_537667201_4FGL_J2359.2-3134_daily_bin1150.fits
Exposure cube: /scratch/kocevski/249003/ltcube_537408001_537667201_4FGL_J2359.2-3134_daily_bin1150.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/249003/Model_4FGL_J2359.2-3134_daily_bin1150.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) = 4296.23507088

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.4048       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10196E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .19150E-02   1.0000         .10000E-03   10000.    
     4 'Prefactor '    21.187       1.0000         .10000E-03   10000.    
     5 'Prefactor '    11.449       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10217E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    20.899       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .75396E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    3.1998       1.0000         .10000E-03   10000.    
    10 'norm      '    2.5205       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10082E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    34.627       1.0000         .10000E-03   10000.    
    13 'norm      '    6.5016       1.0000         .10000E-03   10000.    
    14 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    12.013       1.0000         .10000E-03   10000.    
    16 'norm      '    2.9648       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10778E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .11818E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.9720       1.0000         .10000E-03   10000.    
    20 'Prefactor '    57.881       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1661       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .70224       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6030E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4296.212     FROM MIGRAD    STATUS=CONVERGED    488 CALLS     2722 TOTAL
                     EDM=   .43E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.4046        51.909       -.48504E-06   -.14099E-05
   2  Prefactor     .10000E-03    5.0257        .11975E-05** at limit **
   3  Prefactor     .10000E-03    263.98       -.50237E-05** at limit **
   4  Prefactor     21.189        15.538       -.84768E-07    .22626E-04
   5  Prefactor     11.453        18.090        .81940E-07    .26489E-04
   6  Prefactor     .10000E-03    16.248       -.19419E-06** at limit **
   7  norm          20.899        8.6188       -.47169E-07    .25625E-04
   8  Prefactor     .10000E-03    19.574        .63432E-05** at limit **
   9  norm          3.1977        5.2111       -.38399E-07    .11376E-04
  10  norm          2.5224        10.142        .41100E-06   -.33293E-04
  11  Prefactor     .10000E-03    74.502        .10043E-05** at limit **
  12  Prefactor     34.672        47.081       -.64442E-06    .15860E-04
  13  norm          6.5008        5.1568        .59523E-07    .19449E-03
  14  norm          .10000E-03    2.0176       -.36858E-06** at limit **
  15  Prefactor     12.010        34.789       -.72692E-07    .32815E-04
  16  norm          2.9640        3.1179        .46403E-08    .81261E-04
  17  Prefactor     .10000E-03    36.812        .13792E-07** at limit **
  18  Prefactor     .10001E-03    67.502        .23654E-05** at limit **
  19  Prefactor     3.9712        7.7114        .44831E-06    .24518E-03
  20  Prefactor     57.893        54.524       -.52516E-06    .26025E-04
  21  Normalizat    1.1660        .20441        .23090E-06    .33801E-03
  22  Prefactor     .70233        .21863        .11112E-05    .26877E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.40463
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 21.1892
  Prefactor  = 11.453
  Prefactor  = 0.0001
  norm       = 20.8987
  Prefactor  = 0.000100005
  norm       = 3.19767
  norm       = 2.52235
  Prefactor  = 0.000100001
  Prefactor  = 34.6725
  norm       = 6.50076
  norm       = 0.0001
  Prefactor  = 12.0101
  norm       = 2.964
  Prefactor  = 0.0001
  Prefactor  = 0.000100005
  Prefactor  = 3.97116
  Prefactor  = 57.8926
  Normalizat = 1.16596
  Prefactor  = 0.702335
 **********
 **   18 **HESSE 
 **********

 FCN=   4296.212     FROM HESSE     STATUS=OK           350 CALLS     3072 TOTAL
                     EDM=   .80E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.4046        51.993        .21925E-03   -1.5339    
   2  Prefactor     .10000E-03    5.3138        .29049E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    255.20        .65406E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     21.189        15.543        .87017E-04   -1.4787    
   5  Prefactor     11.453        18.088        .11840E-03   -1.5031    
   6  Prefactor     .10000E-03    16.279        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          20.899        8.6196        .87614E-04   -1.4793    
   8  Prefactor     .10000E-03    20.233        .34308E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          3.1977        5.2092        .17909E-03   -1.5350    
  10  norm          2.5224        10.267        .12866E-02   -1.5390    
  11  Prefactor     .10000E-03    74.816        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     34.672        47.089        .68101E-04   -1.4530    
  13  norm          6.5008        5.1617        .12196E-03   -1.5198    
  14  norm          .10000E-03    2.0487        .91372E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     12.010        34.715        .11558E-03   -1.5015    
  16  norm          2.9640        3.1172        .11423E-03   -1.5364    
  17  Prefactor     .10000E-03    36.819        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10001E-03    68.639        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     3.9712        7.7225        .20238E-03   -1.5309    
  20  Prefactor     57.893        53.828        .52731E-04   -1.4185    
  21  Normalizat    1.1660        .24094        .20957E-03   -.87661    
  22  Prefactor     .70233        .25902        .29083E-03   -1.0344    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.96359e-10
Minuit parameter uncertainties:
  1  26.6368
  2  0.000149293
  3  0.00013374
  4  15.5464
  5  18.0962
  6  4.73787e-05
  7  8.62011
  8  0.000613534
  9  5.20997
  10  10.1806
  11  0.000458183
  12  47.1395
  13  5.16207
  14  3.0262e-05
  15  34.7735
  16  3.11737
  17  2.25473e-05
  18  0.00117697
  19  7.72439
  20  53.8732
  21  0.241172
  22  0.259468
Done.

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

Extracting fit parameters...

4FGL J2359.2-3134
   Spectrum: PowerLaw
590    Prefactor:  5.789e+01  5.387e+01  1.000e-04  1.000e+04 ( 1.000e-13)
591        Index:  2.605e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
592        Scale:  6.631e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
600    Prefactor:  7.023e-01  2.595e-01  0.000e+00  1.000e+01 ( 1.000e+00)
601        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
602        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
599   Normalization:  1.166e+00  2.412e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.11
Ra Dec: 359.817 -31.583
Photon Index (Fixed Index): 2.60 +/- 0.00
Photon Flux (Fixed Index): 4.98e-08 +/- 4.63e-08
Energy Flux (Fixed Index): 1.30e-05 +/- 1.21e-05

TS (Fixed Index): 2.11
Ra Dec: 359.817 -31.583
Photon Flux Upper Limit: 1.49e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.17e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/249003/likelihoodResults_537408001_537667201_4FGL_J2359.2-3134_daily_bin1150.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) = 4295.87379561
delta logL = 0.338522228412

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4295.87157125
delta logL = 0.340746584015

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    29.275       1.0000         .10000E-03   10000.    
     2 'Index     '    3.4957       1.0000          .0000       10.000    
     3 'Normalizat'    1.1097       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .74754       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6030E+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=   4295.872     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      291 TOTAL
                     EDM=   .75E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     29.276        64.070        .74047E-04    .10302E-03
   2  Index         3.4962        1.6328        .54720E-02    .55138E-04
   3  Normalizat    1.1093        .25173        .21404E-03    .11687E-03
   4  Prefactor     .74788        .26900        .28267E-03    .81482E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 29.2763
  Index      = 3.49623
  Normalizat = 1.10927
  Prefactor  = 0.747881
 **********
 **   18 **HESSE 
 **********

 FCN=   4295.872     FROM HESSE     STATUS=OK            25 CALLS      316 TOTAL
                     EDM=   .30E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     29.276        47.674        .29619E-05   -1.4625    
   2  Index         3.4962        1.2225        .21888E-03   -.30548    
   3  Normalizat    1.1093        .24860        .42808E-04   -.89455    
   4  Prefactor     .74788        .26624        .11307E-04   -1.0168    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.95969e-11
Minuit parameter uncertainties:
  1  47.7362
  2  1.23626
  3  0.248865
  4  0.266692
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/249003': 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) = 4295.87156893
delta logL = 0.340748902833

Extracting fit parameters...

4FGL J2359.2-3134
   Spectrum: PowerLaw
590    Prefactor:  2.928e+01  4.774e+01  1.000e-04  1.000e+04 ( 1.000e-13)
591        Index:  3.496e+00  1.236e+00  0.000e+00  1.000e+01 (-1.000e+00)
592        Scale:  6.631e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
600    Prefactor:  7.479e-01  2.667e-01  0.000e+00  1.000e+01 ( 1.000e+00)
601        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
602        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
599   Normalization:  1.109e+00  2.489e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.89
Ra Dec: 359.817 -31.583
Photon Index (Free Index): 3.50 +/- 1.24
Photon Flux (Free Index): 8.76e-08 +/- 7.24e-08
Energy Flux (Free Index): 1.46e-05 +/- 1.07e-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/249003/cmap_HighResolution_537408001_537667201_4FGL_J2359.2-3134_daily_bin1150.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.17e-02', comment='SUCCESS', photon_flux='4.98e-08', energy_flux2='1.46e-05', photon_flux_error='4.63e-08', dlogl='3.41e-01', energy_flux='1.30e-05', photon_flux2='8.76e-08', job_status='DONE', time_completed='2021-09-30 12:28:11.824296', photon_index_error2='1.24', photon_index2='3.50', ts='2.11', fit_tolerance='1e-08', GAL='0.70', photon_index_error='0.00', photon_flux_upper_limit='1.49e-07', energy_flux_error2='1.07e-05', EG='1.17', time_epoch_completed='1633030091.82', return_code='0', job_id='249003', GAL2='0.75', EG2='1.11', return_code2='0', energy_flux_error='1.21e-05', photon_flux_error2='7.24e-08', ts2='2.89', photon_index='2.60' WHERE bin_id='1150' AND source_name='4FGL J2359.2-3134' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 12:28:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0112>
Subject: Job 249003: <4FGL_J2359.2-3134_daily_bin1150> in cluster <slac> Done

Job <4FGL_J2359.2-3134_daily_bin1150> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Sep 30 12:16:03 2021
Job was executed on host(s) <bullet0112>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 12:16:05 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep 30 12:16:05 2021
Terminated at Thu Sep 30 12:28:12 2021
Results reported at Thu Sep 30 12:28:12 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2359.2-3134_daily_bin1150 359.817 -31.5832 537408001 537667201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2359.2-3134 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   571.26 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             252.39 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   727 sec.
    Turnaround time :                            729 sec.

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

