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


Performing analysis on: 4FGL_J2134.5-2130_daily_bin1215
RA = 323.641, Dec = -21.5029
tmin = 554256001, tmax = 554515201
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='599587', job_status='RUN', time_executed='2021-09-26 19:35:34.984345', time_epoch_executed='1632710134.98' WHERE source_name='4FGL J2134.5-2130' and cadence='daily' and bin_id='1215'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/599587

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/599587/ft1_4FGL_J2134.5-2130_daily_bin1215.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/599587/ft2_4FGL_J2134.5-2130_daily_bin1215.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/599587/ft1_4FGL_J2134.5-2130_daily_bin1215.fits outfile=/scratch/kocevski/599587/ft1_filteredMKT_4FGL_J2134.5-2130_daily_bin1215.fits ra=323.641 dec=-21.5029 rad=12.0 tmin=554256001.0 tmax=554515201.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.13
user 3.84
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/599587/ft2_4FGL_J2134.5-2130_daily_bin1215.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/599587/ft1_filteredMKT_4FGL_J2134.5-2130_daily_bin1215.fits evtable="EVENTS" outfile="/scratch/kocevski/599587/ft1_filtered_4FGL_J2134.5-2130_daily_bin1215.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.51
user 0.35
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/599587/ft1_filtered_4FGL_J2134.5-2130_daily_bin1215.fits" evtable="EVENTS" scfile=/scratch/kocevski/599587/ft2_4FGL_J2134.5-2130_daily_bin1215.fits sctable="SC_DATA" outfile=/scratch/kocevski/599587/ltcube_554256001_554515201_4FGL_J2134.5-2130_daily_bin1215.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/599587/ft2_4FGL_J2134.5-2130_daily_bin1215.fits
.....................!
real 14.31
user 13.93
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/599587/ft1_filtered_4FGL_J2134.5-2130_daily_bin1215.fits evtable="EVENTS" scfile=/scratch/kocevski/599587/ft2_4FGL_J2134.5-2130_daily_bin1215.fits sctable="SC_DATA" expcube=/scratch/kocevski/599587/ltcube_554256001_554515201_4FGL_J2134.5-2130_daily_bin1215.fits outfile=/scratch/kocevski/599587/expmap_554256001_554515201_4FGL_J2134.5-2130_daily_bin1215.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/599587/ltcube_554256001_554515201_4FGL_J2134.5-2130_daily_bin1215.fits
.....................!
real 191.54
user 186.12
sys 4.94

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/599587/ft1_filtered_4FGL_J2134.5-2130_daily_bin1215.fits scfile=/scratch/kocevski/599587/ft2_4FGL_J2134.5-2130_daily_bin1215.fits outfile=/scratch/kocevski/599587/cmap_554256001_554515201_4FGL_J2134.5-2130_daily_bin1215.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.57
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/599587/ft1_filtered_4FGL_J2134.5-2130_daily_bin1215.fits scfile=/scratch/kocevski/599587/ft2_4FGL_J2134.5-2130_daily_bin1215.fits outfile=/scratch/kocevski/599587/cmap_HighResolution_554256001_554515201_4FGL_J2134.5-2130_daily_bin1215.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.59
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/599587/ft1_filtered_4FGL_J2134.5-2130_daily_bin1215.fits evtable="EVENTS" scfile=/scratch/kocevski/599587/ft2_4FGL_J2134.5-2130_daily_bin1215.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/599587/Model_4FGL_J2134.5-2130_daily_bin1215.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/599587/ft1_filtered_4FGL_J2134.5-2130_daily_bin1215.fits.....................!
real 76.52
user 74.92
sys 1.41

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/599587/ft1_filtered_4FGL_J2134.5-2130_daily_bin1215.fits', '/scratch/kocevski/599587/ft2_4FGL_J2134.5-2130_daily_bin1215.fits', expMap='/scratch/kocevski/599587/expmap_554256001_554515201_4FGL_J2134.5-2130_daily_bin1215.fits', expCube='/scratch/kocevski/599587/ltcube_554256001_554515201_4FGL_J2134.5-2130_daily_bin1215.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/599587/Model_4FGL_J2134.5-2130_daily_bin1215.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/599587/ft1_filtered_4FGL_J2134.5-2130_daily_bin1215.fits
Spacecraft file(s): /scratch/kocevski/599587/ft2_4FGL_J2134.5-2130_daily_bin1215.fits
Exposure map: /scratch/kocevski/599587/expmap_554256001_554515201_4FGL_J2134.5-2130_daily_bin1215.fits
Exposure cube: /scratch/kocevski/599587/ltcube_554256001_554515201_4FGL_J2134.5-2130_daily_bin1215.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/599587/Model_4FGL_J2134.5-2130_daily_bin1215.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) = 9211.90695208

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.5411       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    16.693       1.0000         .10000E-03   10000.    
     6 'Prefactor '    18.937       1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    17.794       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    5.7345       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .51095E-02   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10076E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .66626       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    12.020       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2519       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .94002       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=   9211.860     FROM MIGRAD    STATUS=CONVERGED    458 CALLS     2002 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    15.302        .10175E-04** at limit **
   2  norm          .10000E-03    20.513        .16495E-04** at limit **
   3  Prefactor     5.5374        12.721       -.18217E-05   -.13241E-03
   4  Prefactor     .10000E-03    2.4761       -.23826E-07** at limit **
   5  Prefactor     16.693        16.676        .20999E-06    .22946E-04
   6  Prefactor     18.936        13.816       -.46926E-06    .98337E-05
   7  norm          .10000E-03    1.4522       -.24646E-07** at limit **
   8  Prefactor     .10000E-03    1.6425       -.31475E-07** at limit **
   9  Prefactor     17.795        12.281        .68301E-07    .93548E-05
  10  Prefactor     .10000E-03    3.7374        .67676E-07** at limit **
  11  norm          5.7355        5.5740        .96095E-07    .20800E-03
  12  Prefactor     .10000E-03    7.0076        .28337E-05** at limit **
  13  Prefactor     .10000E-03    23.578       -.55232E-05** at limit **
  14  norm          .10000E-03    1.9205       -.46376E-07** at limit **
  15  Prefactor     .10072E-03    4.0512       -.26821E-05** at limit **
  16  Prefactor     .10000E-03    12.553       -.12317E-04** at limit **
  17  norm          .66633        .25743       -.63948E-08    .10109E-03
  18  Prefactor     .10000E-03    6.2207       -.28738E-05** at limit **
  19  Prefactor     12.020        19.599        .79249E-06    .15856E-03
  20  Prefactor     .10000E-03    7.3039        .17155E-05** at limit **
  21  Normalizat    1.2519        .17858        .32287E-06    .33416E-03
  22  Prefactor     .94010        .10525        .15712E-06    .35910E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 5.53743
  Prefactor  = 0.0001
  Prefactor  = 16.6931
  Prefactor  = 18.936
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.7953
  Prefactor  = 0.0001
  norm       = 5.73554
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100716
  Prefactor  = 0.000100001
  norm       = 0.666335
  Prefactor  = 0.0001
  Prefactor  = 12.0199
  Prefactor  = 0.0001
  Normalizat = 1.25189
  Prefactor  = 0.940105
 **********
 **   18 **HESSE 
 **********

 FCN=   9211.860     FROM HESSE     STATUS=OK           336 CALLS     2338 TOTAL
                     EDM=   .25E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    15.343        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    20.773        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     5.5374        12.747        .17068E-03   -1.5237    
   4  Prefactor     .10000E-03    2.5234        .14742E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     16.693        16.664        .98029E-04   -1.4891    
   6  Prefactor     18.936        13.810        .92039E-04   -1.4837    
   7  norm          .10000E-03    1.4527        .11295E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    1.6466        .12012E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     17.795        12.291        .94948E-04   -1.4864    
  10  Prefactor     .10000E-03    3.7403        .18120E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          5.7355        5.5740        .16773E-03   -1.5229    
  12  Prefactor     .10000E-03    7.0320        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    23.641        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    1.9637        .25933E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10072E-03    28.187        .35716E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    12.667        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .66633        .25805        .29359E-04   -1.5545    
  18  Prefactor     .10000E-03    6.3169        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     12.020        19.583        .11555E-03   -1.5014    
  20  Prefactor     .10000E-03    7.3178        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.2519        .21380        .29298E-03   -.85014    
  22  Prefactor     .94010        .12629        .19686E-03   -.94753    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.50056e-08
Minuit parameter uncertainties:
  1  0.000193034
  2  0.000159453
  3  12.7534
  4  1.33859e-06
  5  16.6686
  6  13.8123
  7  3.27169e-07
  8  6.57346e-07
  9  12.2929
  10  3.17272e-06
  11  5.57448
  12  3.48118e-05
  13  0.000140231
  14  1.80497e-06
  15  0.00899113
  16  0.000178079
  17  0.258049
  18  3.0009e-05
  19  19.5934
  20  2.09252e-05
  21  0.213953
  22  0.126328
Done.

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

Extracting fit parameters...

4FGL J2134.5-2130
   Spectrum: PowerLaw
275    Prefactor:  1.000e-04  6.573e-07  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:  9.401e-01  1.263e-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:  1.252e+00  2.140e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 323.641 -21.503
Photon Flux Upper Limit: 3.62e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.71e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/599587/likelihoodResults_554256001_554515201_4FGL_J2134.5-2130_daily_bin1215.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) = 9211.863196
delta logL = -0.00287518030564

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9211.86032046
delta logL = 3.6123492464e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.9764       1.0000          .0000       10.000    
     3 'Normalizat'    1.2519       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94009       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=   9211.860     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      246 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10347E-03    .95375        .12200E-01** at limit **
   2  Index         1.8396        7.6306        .50000        .62616E-04
   3  Normalizat    1.2519        .33205E-02    .29298E-03   -.71709E-04
   4  Prefactor     .94010        .19769E-02    .19686E-03   -.20129E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000103469
  Index      = 1.83961
  Normalizat = 1.25189
  Prefactor  = 0.940104
 **********
 **   18 **HESSE 
 **********

 FCN=   9211.860     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      275 TOTAL
                     EDM=   .13E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10347E-03    48.582        .12682E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8396        8.6138        .50000       -.68423    
   3  Normalizat    1.2519        .24351E-01    .11719E-04   -.85014    
   4  Prefactor     .94010        .14495E-01    .39373E-04   -.94753    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.32241e-07
Minuit parameter uncertainties:
  1  0.025984
  2  427.056
  3  0.0243515
  4  0.0144953
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/599587': 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) = 9211.86031862
delta logL = 2.19817047764e-06

Extracting fit parameters...

4FGL J2134.5-2130
   Spectrum: PowerLaw
275    Prefactor:  1.035e-04  2.598e-02  1.000e-04  1.000e+04 ( 1.000e-13)
276        Index:  1.840e+00  4.271e+02  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:  9.401e-01  1.450e-02  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:  1.252e+00  2.435e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 323.641 -21.503

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/599587/cmap_HighResolution_554256001_554515201_4FGL_J2134.5-2130_daily_bin1215.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.71e-03', job_status='DONE', photon_flux_upper_limit='3.62e-08', time_completed='2021-09-26 19:47:41.665730', job_id='599587', GAL2='0.94', fit_tolerance='1e-08', EG2='1.25', EG='1.25', time_epoch_completed='1632710861.67', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='2.20e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='1215' AND source_name='4FGL J2134.5-2130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 19:47:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0042>
Subject: Job 599587: <4FGL_J2134.5-2130_daily_bin1215> in cluster <slac> Done

Job <4FGL_J2134.5-2130_daily_bin1215> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Sep 26 19:35:17 2021
Job was executed on host(s) <bullet0042>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 19:35:22 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:35:22 2021
Terminated at Sun Sep 26 19:47:42 2021
Results reported at Sun Sep 26 19:47:42 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2134.5-2130_daily_bin1215 323.641 -21.5029 554256001 554515201 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 :                                   723.12 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             321.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   739 sec.
    Turnaround time :                            745 sec.

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

