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


Performing analysis on: 4FGL_J2359.2-3134_daily_bin1628
RA = 359.817, Dec = -31.5832
tmin = 661305601, tmax = 661564801
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='338416', job_status='RUN', time_executed='2021-12-19 01:38:57.508474', time_epoch_executed='1639906737.51' WHERE source_name='4FGL J2359.2-3134' and cadence='daily' and bin_id='1628'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/338416

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/338416/ft1_4FGL_J2359.2-3134_daily_bin1628.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/338416/ft2_4FGL_J2359.2-3134_daily_bin1628.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/338416/ft1_4FGL_J2359.2-3134_daily_bin1628.fits outfile=/scratch/kocevski/338416/ft1_filteredMKT_4FGL_J2359.2-3134_daily_bin1628.fits ra=359.817 dec=-31.5832 rad=12.0 tmin=661305601.0 tmax=661564801.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.79
user 3.50
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/338416/ft2_4FGL_J2359.2-3134_daily_bin1628.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/338416/ft1_filteredMKT_4FGL_J2359.2-3134_daily_bin1628.fits evtable="EVENTS" outfile="/scratch/kocevski/338416/ft1_filtered_4FGL_J2359.2-3134_daily_bin1628.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.52
user 0.35
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/338416/ft1_filtered_4FGL_J2359.2-3134_daily_bin1628.fits" evtable="EVENTS" scfile=/scratch/kocevski/338416/ft2_4FGL_J2359.2-3134_daily_bin1628.fits sctable="SC_DATA" outfile=/scratch/kocevski/338416/ltcube_661305601_661564801_4FGL_J2359.2-3134_daily_bin1628.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/338416/ft2_4FGL_J2359.2-3134_daily_bin1628.fits
.....................!
real 14.74
user 14.37
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/338416/ft1_filtered_4FGL_J2359.2-3134_daily_bin1628.fits evtable="EVENTS" scfile=/scratch/kocevski/338416/ft2_4FGL_J2359.2-3134_daily_bin1628.fits sctable="SC_DATA" expcube=/scratch/kocevski/338416/ltcube_661305601_661564801_4FGL_J2359.2-3134_daily_bin1628.fits outfile=/scratch/kocevski/338416/expmap_661305601_661564801_4FGL_J2359.2-3134_daily_bin1628.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/338416/ltcube_661305601_661564801_4FGL_J2359.2-3134_daily_bin1628.fits
.....................!
real 192.11
user 186.95
sys 4.74

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/338416/ft1_filtered_4FGL_J2359.2-3134_daily_bin1628.fits scfile=/scratch/kocevski/338416/ft2_4FGL_J2359.2-3134_daily_bin1628.fits outfile=/scratch/kocevski/338416/cmap_661305601_661564801_4FGL_J2359.2-3134_daily_bin1628.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.57
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/338416/ft1_filtered_4FGL_J2359.2-3134_daily_bin1628.fits scfile=/scratch/kocevski/338416/ft2_4FGL_J2359.2-3134_daily_bin1628.fits outfile=/scratch/kocevski/338416/cmap_HighResolution_661305601_661564801_4FGL_J2359.2-3134_daily_bin1628.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.56
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/338416/ft1_filtered_4FGL_J2359.2-3134_daily_bin1628.fits evtable="EVENTS" scfile=/scratch/kocevski/338416/ft2_4FGL_J2359.2-3134_daily_bin1628.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/338416/Model_4FGL_J2359.2-3134_daily_bin1628.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/338416/ft1_filtered_4FGL_J2359.2-3134_daily_bin1628.fits.....................!
real 47.65
user 46.24
sys 1.31

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/338416/ft1_filtered_4FGL_J2359.2-3134_daily_bin1628.fits', '/scratch/kocevski/338416/ft2_4FGL_J2359.2-3134_daily_bin1628.fits', expMap='/scratch/kocevski/338416/expmap_661305601_661564801_4FGL_J2359.2-3134_daily_bin1628.fits', expCube='/scratch/kocevski/338416/ltcube_661305601_661564801_4FGL_J2359.2-3134_daily_bin1628.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/338416/Model_4FGL_J2359.2-3134_daily_bin1628.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/338416/ft1_filtered_4FGL_J2359.2-3134_daily_bin1628.fits
Spacecraft file(s): /scratch/kocevski/338416/ft2_4FGL_J2359.2-3134_daily_bin1628.fits
Exposure map: /scratch/kocevski/338416/expmap_661305601_661564801_4FGL_J2359.2-3134_daily_bin1628.fits
Exposure cube: /scratch/kocevski/338416/ltcube_661305601_661564801_4FGL_J2359.2-3134_daily_bin1628.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/338416/Model_4FGL_J2359.2-3134_daily_bin1628.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) = 6429.70965589

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    21.829       1.0000         .10000E-03   10000.    
     2 'Prefactor '    8.4813       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    10.129       1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.1288       1.0000         .10000E-03   10000.    
     6 'Prefactor '    50.989       1.0000         .10000E-03   10000.    
     7 'norm      '    5.3369       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    8.0534       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10066E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10138E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    4.8936       1.0000         .10000E-03   10000.    
    14 'norm      '    5.1461       1.0000         .10000E-03   10000.    
    15 'Prefactor '    17.109       1.0000         .10000E-03   10000.    
    16 'norm      '    .10356E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10157E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .18299E-02   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .15798       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .80009       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1553       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=   6429.704     FROM MIGRAD    STATUS=CONVERGED    837 CALLS     2725 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     21.774        50.870        .85731E-04   -.13996E-03
   2  Prefactor     8.4816        3.7124        .48593E-03   -.15217E-02
   3  Prefactor     .10000E-03    9.0576        .18142E-02** at limit **
   4  Prefactor     10.130        9.1260        .12590E-03   -.49664E-04
   5  Prefactor     5.1125        27.779        .17753E-03   -.49182E-04
   6  Prefactor     51.000        36.451        .56163E-04    .28137E-04
   7  norm          5.3375        5.1350        .17141E-03   -.10075E-03
   8  Prefactor     .10000E-03    3.7740        .15126E-02** at limit **
   9  norm          .10000E-03    1.5860        .98553E-03** at limit **
  10  norm          8.0540        7.1797        .14128E-03   -.16689E-03
  11  Prefactor     .10000E-03    28.985        .18142E-02** at limit **
  12  Prefactor     .10000E-03    30.656        .18142E-02** at limit **
  13  norm          4.8918        3.7189        .13007E-03   -.14146E-02
  14  norm          5.1467        3.7711        .12572E-03   -.13565E-03
  15  Prefactor     17.102        22.434        .96830E-04   -.53304E-04
  16  norm          .10006E-03    16.079        .22031E-02** at limit **
  17  Prefactor     .10000E-03    32.527        .18142E-02** at limit **
  18  Prefactor     .10009E-03    41.553        .14016    ** at limit **
  19  Prefactor     .15573        19.471        .22638E-02    .81599E-03
  20  Prefactor     .10000E-03    11.583        .18142E-02** at limit **
  21  Normalizat    .80004        .18777        .24044E-03   -.69568E-03
  22  Prefactor     1.1552        .21274        .24000E-03   -.69406E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 21.7738
  Prefactor  = 8.48162
  Prefactor  = 0.0001
  Prefactor  = 10.1299
  Prefactor  = 5.11247
  Prefactor  = 51.0001
  norm       = 5.33753
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 8.05401
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.89175
  norm       = 5.14674
  Prefactor  = 17.1023
  norm       = 0.000100058
  Prefactor  = 0.0001
  Prefactor  = 0.00010009
  Prefactor  = 0.155734
  Prefactor  = 0.0001
  Normalizat = 0.800042
  Prefactor  = 1.15521
 **********
 **   18 **HESSE 
 **********

 FCN=   6429.704     FROM HESSE     STATUS=OK           332 CALLS     3057 TOTAL
                     EDM=   .98E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     21.774        50.867        .17146E-04   -1.4774    
   2  Prefactor     8.4816        3.7122        .19437E-04   -1.5125    
   3  Prefactor     .10000E-03    9.0583        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     10.130        9.1253        .50360E-05   -1.5071    
   5  Prefactor     5.1125        27.779        .71011E-05   -1.5256    
   6  Prefactor     51.000        36.463        .22465E-05   -1.4278    
   7  norm          5.3375        5.1342        .68563E-05   -1.5246    
   8  Prefactor     .10000E-03    3.7752        .30252E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    1.5860        .19711E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          8.0540        7.1793        .56513E-05   -1.5140    
  11  Prefactor     .10000E-03    28.987        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    30.659        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          4.8918        3.7162        .52029E-05   -1.5266    
  14  norm          5.1467        3.7708        .50287E-05   -1.5254    
  15  Prefactor     17.102        22.433        .38732E-05   -1.4881    
  16  norm          .10006E-03    16.235        .44061E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    32.528        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10009E-03    41.302        .14072       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .15573        19.522        .90553E-04   -1.5629    
  20  Prefactor     .10000E-03    11.584        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .80004        .18727        .48088E-04   -1.0007    
  22  Prefactor     1.1552        .21279        .48000E-04   -.87721    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.8049e-09
Minuit parameter uncertainties:
  1  50.9688
  2  3.7123
  3  0.000103693
  4  9.12651
  5  23.8513
  6  36.4786
  7  5.13462
  8  1.11498e-05
  9  5.84019e-08
  10  7.18011
  11  0.000145918
  12  0.000189893
  13  3.71639
  14  3.77101
  15  22.4441
  16  0.00193899
  17  6.95033e-06
  18  0.00385386
  19  3.48734
  20  9.42367e-06
  21  0.187424
  22  0.212943
Done.

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

Extracting fit parameters...

4FGL J2359.2-3134
   Spectrum: PowerLaw
590    Prefactor:  1.000e-04  9.424e-06  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:  1.155e+00  2.129e-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:  8.000e-01  1.874e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 359.817 -31.583
Photon Flux Upper Limit: 4.45e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.48e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/338416/likelihoodResults_661305601_661564801_4FGL_J2359.2-3134_daily_bin1628.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) = 6429.70406836
delta logL = -0.000410094555264

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6429.70365824
delta logL = 2.6727320801e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5913       1.0000          .0000       10.000    
     3 'Normalizat'    .80004       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1552       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=   6429.704     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      244 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10206E-03    236.15        .18142E-02** at limit **
   2  Index         2.4898        8.6499        .50000        .78757E-05
   3  Normalizat    .80004        .16615E-01    .24044E-03    .17164E-04
   4  Prefactor     1.1552        .19663E-01    .24000E-03   -.45144E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000102063
  Index      = 2.48982
  Normalizat = 0.800044
  Prefactor  = 1.15521
 **********
 **   18 **HESSE 
 **********

 FCN=   6429.704     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      273 TOTAL
                     EDM=   .63E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10206E-03    907.43        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4898        8.7532        .50000       -.52595    
   3  Normalizat    .80004        .35521E-01    .96175E-05   -1.0007    
   4  Prefactor     1.1552        .42037E-01    .95999E-05   -.87721    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.27045e-08
Minuit parameter uncertainties:
  1  0.0879009
  2  1865.49
  3  0.0355215
  4  0.0420386
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/338416': 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) = 6429.70365811
delta logL = 1.55804627866e-07

Extracting fit parameters...

4FGL J2359.2-3134
   Spectrum: PowerLaw
590    Prefactor:  1.021e-04  8.790e-02  1.000e-04  1.000e+04 ( 1.000e-13)
591        Index:  2.490e+00  1.865e+03  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:  1.155e+00  4.204e-02  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:  8.000e-01  3.552e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 359.817 -31.583

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/338416/cmap_HighResolution_661305601_661564801_4FGL_J2359.2-3134_daily_bin1628.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.48e-03', job_status='DONE', photon_flux_upper_limit='4.45e-08', time_completed='2021-12-19 01:50:36.257448', job_id='338416', GAL2='1.16', fit_tolerance='1e-08', EG2='0.80', EG='0.80', time_epoch_completed='1639907436.26', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.16', dlogl='1.56e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.60' WHERE bin_id='1628' AND source_name='4FGL J2359.2-3134' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Dec 19 01:50:36 PST 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0291>
Subject: Job 338416: <4FGL_J2359.2-3134_daily_bin1628> in cluster <slac> Done

Job <4FGL_J2359.2-3134_daily_bin1628> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Dec 19 01:35:43 2021
Job was executed on host(s) <bullet0291>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Dec 19 01:38:16 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Dec 19 01:38:16 2021
Terminated at Sun Dec 19 01:50:37 2021
Results reported at Sun Dec 19 01:50:37 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2359.2-3134_daily_bin1628 359.817 -31.5832 661305601 661564801 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 :                                   701.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             325.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   742 sec.
    Turnaround time :                            894 sec.

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

