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


Performing analysis on: 4FGL_J2359.2-3134_daily_bin743
RA = 359.817, Dec = -31.5832
tmin = 431913601, tmax = 432172801
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='247261', job_status='RUN', time_executed='2021-09-30 12:13:19.750511', time_epoch_executed='1633029199.75' WHERE source_name='4FGL J2359.2-3134' and cadence='daily' and bin_id='743'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/247261

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/247261/ft1_4FGL_J2359.2-3134_daily_bin743.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/247261/ft2_4FGL_J2359.2-3134_daily_bin743.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/247261/ft1_4FGL_J2359.2-3134_daily_bin743.fits outfile=/scratch/kocevski/247261/ft1_filteredMKT_4FGL_J2359.2-3134_daily_bin743.fits ra=359.817 dec=-31.5832 rad=12.0 tmin=431913601.0 tmax=432172801.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 5.25
user 4.94
sys 0.28

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/247261/ft2_4FGL_J2359.2-3134_daily_bin743.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/247261/ft1_filteredMKT_4FGL_J2359.2-3134_daily_bin743.fits evtable="EVENTS" outfile="/scratch/kocevski/247261/ft1_filtered_4FGL_J2359.2-3134_daily_bin743.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.48
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/247261/ft1_filtered_4FGL_J2359.2-3134_daily_bin743.fits" evtable="EVENTS" scfile=/scratch/kocevski/247261/ft2_4FGL_J2359.2-3134_daily_bin743.fits sctable="SC_DATA" outfile=/scratch/kocevski/247261/ltcube_431913601_432172801_4FGL_J2359.2-3134_daily_bin743.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/247261/ft2_4FGL_J2359.2-3134_daily_bin743.fits
.....................!
real 12.38
user 12.04
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/247261/ft1_filtered_4FGL_J2359.2-3134_daily_bin743.fits evtable="EVENTS" scfile=/scratch/kocevski/247261/ft2_4FGL_J2359.2-3134_daily_bin743.fits sctable="SC_DATA" expcube=/scratch/kocevski/247261/ltcube_431913601_432172801_4FGL_J2359.2-3134_daily_bin743.fits outfile=/scratch/kocevski/247261/expmap_431913601_432172801_4FGL_J2359.2-3134_daily_bin743.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/247261/ltcube_431913601_432172801_4FGL_J2359.2-3134_daily_bin743.fits
.....................!
real 190.45
user 185.36
sys 4.79

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/247261/ft1_filtered_4FGL_J2359.2-3134_daily_bin743.fits scfile=/scratch/kocevski/247261/ft2_4FGL_J2359.2-3134_daily_bin743.fits outfile=/scratch/kocevski/247261/cmap_431913601_432172801_4FGL_J2359.2-3134_daily_bin743.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.52
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/247261/ft1_filtered_4FGL_J2359.2-3134_daily_bin743.fits scfile=/scratch/kocevski/247261/ft2_4FGL_J2359.2-3134_daily_bin743.fits outfile=/scratch/kocevski/247261/cmap_HighResolution_431913601_432172801_4FGL_J2359.2-3134_daily_bin743.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.53
user 0.37
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/247261/ft1_filtered_4FGL_J2359.2-3134_daily_bin743.fits evtable="EVENTS" scfile=/scratch/kocevski/247261/ft2_4FGL_J2359.2-3134_daily_bin743.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/247261/Model_4FGL_J2359.2-3134_daily_bin743.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/247261/ft1_filtered_4FGL_J2359.2-3134_daily_bin743.fits.......................!
real 23.26
user 22.04
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.6530       1.0000         .10000E-03   10000.    
     3 'Prefactor '    67.325       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    45.263       1.0000         .10000E-03   10000.    
     7 'norm      '    1.6572       1.0000         .10000E-03   10000.    
     8 'Prefactor '    14.582       1.0000         .10000E-03   10000.    
     9 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    15.193       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10066E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    40.746       1.0000         .10000E-03   10000.    
    13 'norm      '    .10020E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    19.905       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .89909       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .86651       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=   1814.635     FROM MIGRAD    STATUS=CONVERGED    450 CALLS     2320 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    32.859        .66191E-06** at limit **
   2  Prefactor     3.6526        8.3843        .59764E-05   -.61080E-03
   3  Prefactor     67.324        59.238       -.49138E-05   -.37257E-04
   4  Prefactor     .10000E-03    11.622       -.85799E-07** at limit **
   5  Prefactor     .10001E-03    44.103       -.42640E-05** at limit **
   6  Prefactor     45.265        58.206        .34049E-06    .22865E-04
   7  norm          1.6574        8.1240        .14386E-05    .82870E-04
   8  Prefactor     14.581        16.769        .53922E-06   -.60048E-04
   9  norm          .10000E-03    3.9384        .30557E-07** at limit **
  10  norm          15.193        20.067        .63960E-06   -.30880E-05
  11  Prefactor     .10001E-03    71.864        .45911E-05** at limit **
  12  Prefactor     40.710        78.265       -.76880E-05   -.21982E-03
  13  norm          .10000E-03    4.6754        .62673E-07** at limit **
  14  norm          .10000E-03    5.8535        .14069E-06** at limit **
  15  Prefactor     .10000E-03    84.682       -.29268E-05** at limit **
  16  norm          .10000E-03    2.8445        .13694E-07** at limit **
  17  Prefactor     .10002E-03    87.821       -.65126E-05** at limit **
  18  Prefactor     .10000E-03    77.141        .23196E-05** at limit **
  19  Prefactor     19.904        15.269       -.10446E-06   -.41983E-04
  20  Prefactor     .10001E-03    57.384        .44930E-05** at limit **
  21  Normalizat    .89930        .30121        .17754E-06   -.15880E-04
  22  Prefactor     .86626        .32254       -.13164E-05    .99986E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 3.65257
  Prefactor  = 67.324
  Prefactor  = 0.0001
  Prefactor  = 0.000100009
  Prefactor  = 45.2648
  norm       = 1.65743
  Prefactor  = 14.5811
  norm       = 0.0001
  norm       = 15.1927
  Prefactor  = 0.00010001
  Prefactor  = 40.7104
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100004
  norm       = 0.0001
  Prefactor  = 0.000100021
  Prefactor  = 0.000100003
  Prefactor  = 19.9045
  Prefactor  = 0.00010001
  Normalizat = 0.899297
  Prefactor  = 0.866262
 **********
 **   18 **HESSE 
 **********

 FCN=   1814.635     FROM HESSE     STATUS=OK           334 CALLS     2654 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    32.880        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.6526        8.7510        .81133E-03   -1.5326    
   3  Prefactor     67.324        59.656        .48916E-04   -1.4065    
   4  Prefactor     .10000E-03    11.630        .14186E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10001E-03    45.025        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     45.265        58.210        .59593E-04   -1.4361    
   7  norm          1.6574        8.0692        .23374E-03   -1.5450    
   8  Prefactor     14.581        16.794        .52445E-03   -1.4944    
   9  norm          .10000E-03    3.9390        .82574E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          15.193        20.066        .10276E-03   -1.4928    
  11  Prefactor     .10001E-03    72.869        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     40.710        81.512        .62797E-04   -1.4431    
  13  norm          .10000E-03    4.6944        .89947E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    5.9295        .10065E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    85.547        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    2.8490        .70171E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10002E-03    89.790        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    77.429        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     19.904        15.296        .89773E-04   -1.4815    
  20  Prefactor     .10001E-03    58.351        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .89930        .35649        .23288E-03   -.96485    
  22  Prefactor     .86626        .37984        .25951E-03   -.97330    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.3878e-09
Minuit parameter uncertainties:
  1  0.000163291
  2  8.75403
  3  59.7091
  4  2.53966e-05
  5  0.00129756
  6  58.2833
  7  7.31551
  8  16.799
  9  1.71712e-06
  10  20.0748
  11  0.00171167
  12  81.7361
  13  3.7001e-07
  14  9.68831e-06
  15  0.0012371
  16  6.73739e-07
  17  0.00275965
  18  0.000910697
  19  15.2994
  20  0.00153508
  21  0.357431
  22  0.381003
Done.

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

Extracting fit parameters...

4FGL J2359.2-3134
   Spectrum: PowerLaw
590    Prefactor:  1.000e-04  1.535e-03  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:  8.663e-01  3.810e-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.993e-01  3.574e-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: 1.82e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.42e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/247261/likelihoodResults_431913601_432172801_4FGL_J2359.2-3134_daily_bin743.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) = 1814.63536092
delta logL = -8.15172966213e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1814.63528037
delta logL = -9.60567604125e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10104E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.3954       1.0000          .0000       10.000    
     3 'Normalizat'    .89932       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86626       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   1814.633     FROM MIGRAD    STATUS=FAILED       171 CALLS      353 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .64730E-01    21.067        .18142E-01   -.11903E-02
   2  Index         5.7204        7.5521        .50000        .26295E-04
   3  Normalizat    .89239        .32899E-01    .23288E-03   -.10669E-03
   4  Prefactor     .87135        .36049E-01    .25951E-03   -.11471E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   1814.633     FROM SIMPLEX   STATUS=UNCHANGED     76 CALLS      429 TOTAL
                     EDM=   .73E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .64730E-01    21.067        .32857E-03   -.11903E-02
   2  Index         5.7204        7.5521        .12610E-01    .26295E-04
   3  Normalizat    .89239        .32899E-01    .15183E-03   -.10669E-03
   4  Prefactor     .87135        .36049E-01    .50870E-04   -.11471E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   1814.633     FROM MIGRAD    STATUS=CONVERGED     35 CALLS      464 TOTAL
                     EDM=   .91E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .64713E-01    5.4566        .84971E-03   -.21894E-02
   2  Index         5.7204        7.8097        .11230E-01    .76826E-05
   3  Normalizat    .89239        .35578        .46576E-04   -.20192E-03
   4  Prefactor     .87135        .38445        .51901E-04   -.15855E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0647131
  Index      = 5.72039
  Normalizat = 0.892395
  Prefactor  = 0.871354
 **********
 **   18 **HESSE 
 **********

 FCN=   1814.633     FROM HESSE     STATUS=OK            27 CALLS      491 TOTAL
                     EDM=   .66E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .64713E-01    9.2086        .16994E-03   -1.5759    
   2  Index         5.7204        7.1822        .44919E-03    .14458    
   3  Normalizat    .89239        .35575        .93152E-05   -.96728    
   4  Prefactor     .87135        .38444        .10380E-04   -.97149    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.61771e-10
Minuit parameter uncertainties:
  1  1.54296
  2  12.2191
  3  0.356692
  4  0.385638
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/247261': 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) = 1814.63264815
delta logL = 0.00263125329843

Extracting fit parameters...

4FGL J2359.2-3134
   Spectrum: PowerLaw
590    Prefactor:  6.471e-02  1.543e+00  1.000e-04  1.000e+04 ( 1.000e-13)
591        Index:  5.720e+00  1.222e+01  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:  8.714e-01  3.856e-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.924e-01  3.567e-01  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/247261/cmap_HighResolution_431913601_432172801_4FGL_J2359.2-3134_daily_bin743.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.42e-02', job_status='DONE', photon_flux_upper_limit='1.82e-07', time_completed='2021-09-30 12:20:20.740567', job_id='247261', GAL2='0.87', fit_tolerance='1e-08', EG2='0.89', EG='0.90', time_epoch_completed='1633029620.74', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.87', dlogl='2.63e-03', ts2='0.01', photon_index_error='0.00', photon_index='2.60' WHERE bin_id='743' AND source_name='4FGL J2359.2-3134' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 12:20:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0140>
Subject: Job 247261: <4FGL_J2359.2-3134_daily_bin743> in cluster <slac> Done

Job <4FGL_J2359.2-3134_daily_bin743> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Thu Sep 30 12:10:36 2021
Job was executed on host(s) <bullet0140>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 12:10:38 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:10:38 2021
Terminated at Thu Sep 30 12:20:21 2021
Results reported at Thu Sep 30 12:20:21 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2359.2-3134_daily_bin743 359.817 -31.5832 431913601 432172801 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 :                                   421.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             298.94 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   582 sec.
    Turnaround time :                            585 sec.

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

