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


Performing analysis on: 4FGL_J2134.5-2130_daily_bin1400
RA = 323.641, Dec = -21.5029
tmin = 602208001, tmax = 602467201
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='601019', job_status='RUN', time_executed='2021-09-26 19:42:08.595396', time_epoch_executed='1632710528.6' WHERE source_name='4FGL J2134.5-2130' and cadence='daily' and bin_id='1400'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/601019

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/601019/ft1_4FGL_J2134.5-2130_daily_bin1400.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/601019/ft2_4FGL_J2134.5-2130_daily_bin1400.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/601019/ft1_4FGL_J2134.5-2130_daily_bin1400.fits outfile=/scratch/kocevski/601019/ft1_filteredMKT_4FGL_J2134.5-2130_daily_bin1400.fits ra=323.641 dec=-21.5029 rad=12.0 tmin=602208001.0 tmax=602467201.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.29
user 5.03
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/601019/ft2_4FGL_J2134.5-2130_daily_bin1400.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/601019/ft2_4FGL_J2134.5-2130_daily_bin1400.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/601019/ft1_filteredMKT_4FGL_J2134.5-2130_daily_bin1400.fits evtable="EVENTS" outfile="/scratch/kocevski/601019/ft1_filtered_4FGL_J2134.5-2130_daily_bin1400.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.35
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/601019/ft1_filtered_4FGL_J2134.5-2130_daily_bin1400.fits" evtable="EVENTS" scfile=/scratch/kocevski/601019/ft2_4FGL_J2134.5-2130_daily_bin1400.fits sctable="SC_DATA" outfile=/scratch/kocevski/601019/ltcube_602208001_602467201_4FGL_J2134.5-2130_daily_bin1400.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/601019/ft2_4FGL_J2134.5-2130_daily_bin1400.fits
.....................!
real 12.88
user 12.51
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/601019/ft1_filtered_4FGL_J2134.5-2130_daily_bin1400.fits evtable="EVENTS" scfile=/scratch/kocevski/601019/ft2_4FGL_J2134.5-2130_daily_bin1400.fits sctable="SC_DATA" expcube=/scratch/kocevski/601019/ltcube_602208001_602467201_4FGL_J2134.5-2130_daily_bin1400.fits outfile=/scratch/kocevski/601019/expmap_602208001_602467201_4FGL_J2134.5-2130_daily_bin1400.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/601019/ltcube_602208001_602467201_4FGL_J2134.5-2130_daily_bin1400.fits
.....................!
real 191.18
user 186.02
sys 4.77

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

Setting source of interest to:
4FGL J2134.5-2130 @ 323.641 -21.5029

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/601019/ft1_filtered_4FGL_J2134.5-2130_daily_bin1400.fits scfile=/scratch/kocevski/601019/ft2_4FGL_J2134.5-2130_daily_bin1400.fits outfile=/scratch/kocevski/601019/cmap_602208001_602467201_4FGL_J2134.5-2130_daily_bin1400.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=323.641 yref=-21.5029 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.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/601019/ft1_filtered_4FGL_J2134.5-2130_daily_bin1400.fits scfile=/scratch/kocevski/601019/ft2_4FGL_J2134.5-2130_daily_bin1400.fits outfile=/scratch/kocevski/601019/cmap_HighResolution_602208001_602467201_4FGL_J2134.5-2130_daily_bin1400.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=323.641 yref=-21.5029 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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/601019/ft1_filtered_4FGL_J2134.5-2130_daily_bin1400.fits evtable="EVENTS" scfile=/scratch/kocevski/601019/ft2_4FGL_J2134.5-2130_daily_bin1400.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/601019/Model_4FGL_J2134.5-2130_daily_bin1400.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/601019/ft1_filtered_4FGL_J2134.5-2130_daily_bin1400.fits.....................!
real 64.99
user 63.51
sys 1.30

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/601019/ft1_filtered_4FGL_J2134.5-2130_daily_bin1400.fits', '/scratch/kocevski/601019/ft2_4FGL_J2134.5-2130_daily_bin1400.fits', expMap='/scratch/kocevski/601019/expmap_602208001_602467201_4FGL_J2134.5-2130_daily_bin1400.fits', expCube='/scratch/kocevski/601019/ltcube_602208001_602467201_4FGL_J2134.5-2130_daily_bin1400.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/601019/Model_4FGL_J2134.5-2130_daily_bin1400.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2134.5-2130'

4FGL J2134.5-2130
   Spectrum: PowerLaw
275    Prefactor:  1.845e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
276        Index:  1.996e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
277        Scale:  2.061e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/601019/ft1_filtered_4FGL_J2134.5-2130_daily_bin1400.fits
Spacecraft file(s): /scratch/kocevski/601019/ft2_4FGL_J2134.5-2130_daily_bin1400.fits
Exposure map: /scratch/kocevski/601019/expmap_602208001_602467201_4FGL_J2134.5-2130_daily_bin1400.fits
Exposure cube: /scratch/kocevski/601019/ltcube_602208001_602467201_4FGL_J2134.5-2130_daily_bin1400.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/601019/Model_4FGL_J2134.5-2130_daily_bin1400.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) = 7351.0847726

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    48.504       1.0000         .10000E-03   10000.    
     2 'norm      '    .10181E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10259E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .13694E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.1874       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    3.8049       1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.8616       1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.6385       1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.3435       1.0000         .10000E-03   10000.    
    11 'norm      '    .37033       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10476E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    63.856       1.0000         .10000E-03   10000.    
    14 'norm      '    .10045E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10062E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .52132       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    10.185       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .82972       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.3948       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5310E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7351.072     FROM MIGRAD    STATUS=CONVERGED    481 CALLS     2392 TOTAL
                     EDM=   .58E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     48.257        81.201       -.56300E-05   -.40360E-04
   2  norm          .10000E-03    7.8461       -.21723E-07** at limit **
   3  Prefactor     .10000E-03    31.315       -.13481E-06** at limit **
   4  Prefactor     .10000E-03    23.997       -.27318E-05** at limit **
   5  Prefactor     5.1847        18.179       -.12728E-06   -.21386E-05
   6  Prefactor     .10000E-03    11.569       -.28998E-06** at limit **
   7  norm          3.8043        5.2177        .42254E-07   -.25438E-05
   8  Prefactor     5.8608        8.5275        .36323E-07   -.65498E-04
   9  Prefactor     3.6418        18.983       -.11648E-05   -.13051E-04
  10  Prefactor     5.3392        16.633       -.10322E-05   -.38325E-05
  11  norm          .38909        5.4898        .12660E-06    .45850E-04
  12  Prefactor     .10000E-03    14.543        .68441E-07** at limit **
  13  Prefactor     63.869        52.428       -.91869E-06    .20131E-05
  14  norm          .10000E-03    1.7454       -.71301E-07** at limit **
  15  Prefactor     .10000E-03    4.9058       -.19240E-06** at limit **
  16  Prefactor     .10000E-03    31.590       -.33190E-06** at limit **
  17  norm          .52131        .24306       -.92129E-08   -.73934E-04
  18  Prefactor     .10000E-03    2.0992       -.73381E-07** at limit **
  19  Prefactor     .10000E-03    4.9950       -.14073E-07** at limit **
  20  Prefactor     10.185        11.378       -.15096E-06   -.93651E-05
  21  Normalizat    .82929        .25243        .46525E-05    .21919E-04
  22  Prefactor     1.3952        .15508       -.17048E-05    .20340E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 48.2569
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.18471
  Prefactor  = 0.0001
  norm       = 3.80433
  Prefactor  = 5.86077
  Prefactor  = 3.64182
  Prefactor  = 5.3392
  norm       = 0.389086
  Prefactor  = 0.0001
  Prefactor  = 63.8687
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.521311
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.1847
  Normalizat = 0.829293
  Prefactor  = 1.39516
 **********
 **   18 **HESSE 
 **********

 FCN=   7351.072     FROM HESSE     STATUS=OK           344 CALLS     2736 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     48.257        83.128        .28789E-03   -1.4318    
   2  norm          .10000E-03    7.8494        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    31.716        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    23.879        .31876E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     5.1847        18.166        .17650E-03   -1.5253    
   6  Prefactor     .10000E-03    11.624        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          3.8043        5.2103        .20693E-03   -1.5318    
   8  Prefactor     5.8608        8.5396        .82937E-03   -1.5224    
   9  Prefactor     3.6418        18.841        .21179E-03   -1.5326    
  10  Prefactor     5.3392        16.547        .17386E-03   -1.5246    
  11  norm          .38909        22.732        .38523E-02   -1.5583    
  12  Prefactor     .10000E-03    14.563        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     63.869        52.097        .50219E-04   -1.4108    
  14  norm          .10000E-03    1.7613        .11052E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    5.0199        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    32.640        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .52131        .24491        .28067E-04   -1.5564    
  18  Prefactor     .10000E-03    2.1028        .12134E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    4.9999        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     10.185        11.372        .62777E-03   -1.5070    
  21  Normalizat    .82929        .25812        .36845E-03   -.98991    
  22  Prefactor     1.3952        .16114        .18903E-03   -.80520    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.94721e-10
Minuit parameter uncertainties:
  1  83.3282
  2  1.06266e-05
  3  2.01738e-05
  4  3.90058e-05
  5  18.1852
  6  2.45441e-05
  7  5.21094
  8  8.54142
  9  16.575
  10  16.5614
  11  5.94966
  12  5.27329e-06
  13  52.1341
  14  5.65517e-06
  15  8.92723e-06
  16  6.79033e-05
  17  0.244907
  18  3.03955e-06
  19  4.22008e-06
  20  11.374
  21  0.258507
  22  0.161195
Done.

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

Extracting fit parameters...

4FGL J2134.5-2130
   Spectrum: PowerLaw
275    Prefactor:  5.861e+00  8.541e+00  1.000e-04  1.000e+04 ( 1.000e-13)
276        Index:  1.996e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
277        Scale:  2.061e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
528    Prefactor:  1.395e+00  1.612e-01  0.000e+00  1.000e+01 ( 1.000e+00)
529        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
530        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
527   Normalization:  8.293e-01  2.585e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.56
Ra Dec: 323.641 -21.503
Photon Flux Upper Limit: 1.05e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.85e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/601019/likelihoodResults_602208001_602467201_4FGL_J2134.5-2130_daily_bin1400.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) = 7350.26476671
delta logL = 0.807392255167

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7350.24800842
delta logL = 0.824150544762

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.1138       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9580       1.0000          .0000       10.000    
     3 'Normalizat'    .76705       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4131       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5310E+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=   7350.248     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      283 TOTAL
                     EDM=   .96E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.1134        27.135        .89075E-04   -.25895E-02
   2  Index         2.9584        2.8266        .46590E-02   -.54505E-03
   3  Normalizat    .76718        .27467        .38158E-03   -.46868E-03
   4  Prefactor     1.4131        .17185        .18787E-03   -.95363E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.11338
  Index      = 2.95837
  Normalizat = 0.767182
  Prefactor  = 1.41309
 **********
 **   18 **HESSE 
 **********

 FCN=   7350.248     FROM HESSE     STATUS=OK            25 CALLS      308 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.1134        4.2158        .35630E-05   -1.5417    
   2  Index         2.9584        .84174        .18636E-03   -.42062    
   3  Normalizat    .76718        .25080        .15263E-04   -1.0130    
   4  Prefactor     1.4131        .15953        .37574E-04   -.80004    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.34743e-09
Minuit parameter uncertainties:
  1  4.21642
  2  0.846588
  3  0.251178
  4  0.159581
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/601019': 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) = 7350.24800767
delta logL = 0.82415130017

Extracting fit parameters...

4FGL J2134.5-2130
   Spectrum: PowerLaw
275    Prefactor:  2.113e+00  4.216e+00  1.000e-04  1.000e+04 ( 1.000e-13)
276        Index:  2.958e+00  8.466e-01  0.000e+00  1.000e+01 (-1.000e+00)
277        Scale:  2.061e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
528    Prefactor:  1.413e+00  1.596e-01  0.000e+00  1.000e+01 ( 1.000e+00)
529        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
530        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
527   Normalization:  7.672e-01  2.512e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.27
Ra Dec: 323.641 -21.503
Photon Index (Free Index): 2.96 +/- 0.85
Photon Flux (Free Index): 8.35e-08 +/- 6.80e-08
Energy Flux (Free Index): 1.70e-05 +/- 1.33e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/601019/cmap_HighResolution_602208001_602467201_4FGL_J2134.5-2130_daily_bin1400.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.85e-03', comment='SUCCESS', energy_flux2='1.70e-05', dlogl='8.24e-01', photon_flux2='8.35e-08', job_status='DONE', time_completed='2021-09-26 19:53:44.075849', photon_index_error2='0.85', photon_index2='2.96', ts='0.56', fit_tolerance='1e-08', GAL='1.40', photon_index_error='0.00', photon_flux_upper_limit='1.05e-07', energy_flux_error2='1.33e-05', EG='0.83', time_epoch_completed='1632711224.08', return_code='0', job_id='601019', GAL2='1.41', EG2='0.77', return_code2='0', photon_flux_error2='6.80e-08', ts2='2.27', photon_index='2.00' WHERE bin_id='1400' AND source_name='4FGL J2134.5-2130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 19:53:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0121>
Subject: Job 601019: <4FGL_J2134.5-2130_daily_bin1400> in cluster <slac> Done

Job <4FGL_J2134.5-2130_daily_bin1400> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Sep 26 19:40:14 2021
Job was executed on host(s) <bullet0121>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 19:40:21 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 26 19:40:21 2021
Terminated at Sun Sep 26 19:53:44 2021
Results reported at Sun Sep 26 19:53:44 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2134.5-2130_daily_bin1400 323.641 -21.5029 602208001 602467201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2134.5-2130 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   684.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             266.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   803 sec.
    Turnaround time :                            810 sec.

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

