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


Performing analysis on: 4FGL_J2134.5-2130_daily_bin1258
RA = 323.641, Dec = -21.5029
tmin = 565401601, tmax = 565660801
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='599656', job_status='RUN', time_executed='2021-09-26 19:36:03.110703', time_epoch_executed='1632710163.11' WHERE source_name='4FGL J2134.5-2130' and cadence='daily' and bin_id='1258'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/599656

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/599656/ft1_4FGL_J2134.5-2130_daily_bin1258.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/599656/ft2_4FGL_J2134.5-2130_daily_bin1258.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/599656/ft1_4FGL_J2134.5-2130_daily_bin1258.fits outfile=/scratch/kocevski/599656/ft1_filteredMKT_4FGL_J2134.5-2130_daily_bin1258.fits ra=323.641 dec=-21.5029 rad=12.0 tmin=565401601.0 tmax=565660801.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.63
user 3.38
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/599656/ft1_filtered_4FGL_J2134.5-2130_daily_bin1258.fits" evtable="EVENTS" scfile=/scratch/kocevski/599656/ft2_4FGL_J2134.5-2130_daily_bin1258.fits sctable="SC_DATA" outfile=/scratch/kocevski/599656/ltcube_565401601_565660801_4FGL_J2134.5-2130_daily_bin1258.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/599656/ft2_4FGL_J2134.5-2130_daily_bin1258.fits
.....................!
real 14.58
user 14.22
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/599656/ft1_filtered_4FGL_J2134.5-2130_daily_bin1258.fits evtable="EVENTS" scfile=/scratch/kocevski/599656/ft2_4FGL_J2134.5-2130_daily_bin1258.fits sctable="SC_DATA" expcube=/scratch/kocevski/599656/ltcube_565401601_565660801_4FGL_J2134.5-2130_daily_bin1258.fits outfile=/scratch/kocevski/599656/expmap_565401601_565660801_4FGL_J2134.5-2130_daily_bin1258.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/599656/ltcube_565401601_565660801_4FGL_J2134.5-2130_daily_bin1258.fits
.....................!
real 191.41
user 185.98
sys 4.72

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/599656/ft1_filtered_4FGL_J2134.5-2130_daily_bin1258.fits scfile=/scratch/kocevski/599656/ft2_4FGL_J2134.5-2130_daily_bin1258.fits outfile=/scratch/kocevski/599656/cmap_565401601_565660801_4FGL_J2134.5-2130_daily_bin1258.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.54
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/599656/ft1_filtered_4FGL_J2134.5-2130_daily_bin1258.fits scfile=/scratch/kocevski/599656/ft2_4FGL_J2134.5-2130_daily_bin1258.fits outfile=/scratch/kocevski/599656/cmap_HighResolution_565401601_565660801_4FGL_J2134.5-2130_daily_bin1258.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.55
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/599656/ft1_filtered_4FGL_J2134.5-2130_daily_bin1258.fits evtable="EVENTS" scfile=/scratch/kocevski/599656/ft2_4FGL_J2134.5-2130_daily_bin1258.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/599656/Model_4FGL_J2134.5-2130_daily_bin1258.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/599656/ft1_filtered_4FGL_J2134.5-2130_daily_bin1258.fits.....................!
real 60.01
user 58.62
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    60.253       1.0000         .10000E-03   10000.    
     2 'norm      '    29.136       1.0000         .10000E-03   10000.    
     3 'Prefactor '    45.198       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.8098       1.0000         .10000E-03   10000.    
     7 'norm      '    4.6835       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    26.093       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    3.1839       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .11787E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    31.314       1.0000         .10000E-03   10000.    
    14 'norm      '    .74330       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .14951       1.0000         .10000E-03   10000.    
    16 'Prefactor '    20.651       1.0000         .10000E-03   10000.    
    17 'norm      '    2.7921       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10084E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10157E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2424       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .78011       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=   6569.706     FROM MIGRAD    STATUS=CONVERGED    469 CALLS     2356 TOTAL
                     EDM=   .22E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     60.260        59.409       -.76010E-06    .12364E-05
   2  norm          29.127        29.459        .11454E-05   -.79159E-06
   3  Prefactor     45.201        26.053       -.26099E-06    .86886E-05
   4  Prefactor     .10000E-03    2.4895       -.15341E-07** at limit **
   5  Prefactor     .10000E-03    10.833        .71214E-06** at limit **
   6  Prefactor     1.8116        25.512        .10785E-04    .31378E-04
   7  norm          4.6829        7.1310        .13480E-06    .58880E-05
   8  Prefactor     .10000E-03    7.3928        .17476E-06** at limit **
   9  Prefactor     26.098        18.482       -.87392E-06    .24982E-04
  10  Prefactor     .10000E-03    8.3894       -.78306E-06** at limit **
  11  norm          3.1833        4.1217       -.10035E-06    .32886E-04
  12  Prefactor     .10000E-03    6.4555        .13583E-06** at limit **
  13  Prefactor     31.266        37.563        .67735E-05    .20169E-04
  14  norm          .75626        6.2704       -.73210E-06   -.14648E-03
  15  Prefactor     .18557        5.6397       -.13585E-05    .36718E-03
  16  Prefactor     20.650        13.210        .38571E-06    .76904E-04
  17  norm          2.7914        .58302        .18133E-07    .95711E-03
  18  Prefactor     .10000E-03    5.0706       -.78321E-07** at limit **
  19  Prefactor     .10000E-03    6.0108       -.57823E-06** at limit **
  20  Prefactor     .10000E-03    18.270       -.21155E-06** at limit **
  21  Normalizat    1.2415        .21140        .45748E-06    .15342E-03
  22  Prefactor     .78057        .12496       -.84705E-06    .17999E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 60.2597
  norm       = 29.1271
  Prefactor  = 45.201
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.81156
  norm       = 4.68289
  Prefactor  = 0.0001
  Prefactor  = 26.098
  Prefactor  = 0.0001
  norm       = 3.18326
  Prefactor  = 0.0001
  Prefactor  = 31.2658
  norm       = 0.756263
  Prefactor  = 0.185573
  Prefactor  = 20.6497
  norm       = 2.79141
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.2415
  Prefactor  = 0.780573
 **********
 **   18 **HESSE 
 **********

 FCN=   6569.706     FROM HESSE     STATUS=OK           348 CALLS     2704 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     60.260        59.412        .25844E-03   -1.4154    
   2  norm          29.127        29.512        .74223E-04   -1.4628    
   3  Prefactor     45.201        26.073        .59636E-04   -1.4362    
   4  Prefactor     .10000E-03    2.5142        .12487E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    10.867        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.8116        25.754        .15529E-02   -1.5439    
   7  norm          4.6829        7.1271        .18595E-03   -1.5275    
   8  Prefactor     .10000E-03    7.6348        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     26.098        18.518        .78423E-04   -1.4686    
  10  Prefactor     .10000E-03    8.4302        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          3.1833        4.1166        .18260E-03   -1.5351    
  12  Prefactor     .10000E-03    6.4424        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     31.266        37.610        .35801E-03   -1.4589    
  14  norm          .75626        6.2894        .36016E-03   -1.5534    
  15  Prefactor     .18557        45.918        .35557E-02   -1.5622    
  16  Prefactor     20.650        13.215        .88138E-04   -1.4799    
  17  norm          2.7914        .57532        .25693E-04   -1.5374    
  18  Prefactor     .10000E-03    5.0994        .17822E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    6.0305        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    18.480        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.2415        .25523        .28150E-03   -.85330    
  22  Prefactor     .78057        .15024        .20773E-03   -1.0045    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.38777e-09
Minuit parameter uncertainties:
  1  59.4702
  2  29.5267
  3  26.08
  4  8.09232e-08
  5  9.93886e-06
  6  13.6677
  7  7.12838
  8  9.57967e-06
  9  18.5224
  10  7.69807e-07
  11  4.11692
  12  4.76404e-05
  13  37.6385
  14  4.36219
  15  5.84112
  16  13.2172
  17  0.575317
  18  1.04057e-05
  19  6.59794e-07
  20  3.40047e-05
  21  0.255491
  22  0.150316
Done.

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

Extracting fit parameters...

4FGL J2134.5-2130
   Spectrum: PowerLaw
275    Prefactor:  1.000e-04  9.580e-06  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:  7.806e-01  1.503e-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.241e+00  2.555e-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: 6.26e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.70e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/599656/likelihoodResults_565401601_565660801_4FGL_J2134.5-2130_daily_bin1258.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) = 6569.70624579
delta logL = -0.000625162053439

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6569.70562558
delta logL = -4.94512096338e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13232E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.0303       1.0000          .0000       10.000    
     3 'Normalizat'    1.2409       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78093       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.

 FCN=   6569.706     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      213 TOTAL
                     EDM=   .63E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    36.712        .90712E-02** at limit **
   2  Index         2.0638        5.5704        .50000       -.34770E-04
   3  Normalizat    1.2415        .11249E-01    .63639E-01   -.47614E-03
   4  Prefactor     .78058        .67827E-02    .43469E-01   -.20967E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.06377
  Normalizat = 1.24149
  Prefactor  = 0.780576
 **********
 **   18 **HESSE 
 **********

 FCN=   6569.706     FROM HESSE     STATUS=OK            29 CALLS      242 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    17.516        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0638        5.7182        .50000       -.62765    
   3  Normalizat    1.2415        .24120        .28150E-03   -.85330    
   4  Prefactor     .78058        .14556        .20773E-03   -1.0045    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.98081e-09
Minuit parameter uncertainties:
  1  5.14919e-05
  2  5.86619
  3  0.24142
  4  0.145632
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/599656': 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) = 6569.70562006
delta logL = 5.73189026909e-07

Extracting fit parameters...

4FGL J2134.5-2130
   Spectrum: PowerLaw
275    Prefactor:  1.000e-04  5.149e-05  1.000e-04  1.000e+04 ( 1.000e-13)
276        Index:  2.064e+00  5.866e+00  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:  7.806e-01  1.456e-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.241e+00  2.414e-01  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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/599656/cmap_HighResolution_565401601_565660801_4FGL_J2134.5-2130_daily_bin1258.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.70e-03', job_status='DONE', photon_flux_upper_limit='6.26e-08', time_completed='2021-09-26 19:46:43.866744', job_id='599656', GAL2='0.78', fit_tolerance='1e-08', EG2='1.24', EG='1.24', time_epoch_completed='1632710803.87', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.78', dlogl='5.73e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='1258' AND source_name='4FGL J2134.5-2130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 19:46:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0124>
Subject: Job 599656: <4FGL_J2134.5-2130_daily_bin1258> in cluster <slac> Done

Job <4FGL_J2134.5-2130_daily_bin1258> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Sep 26 19:35:21 2021
Job was executed on host(s) <bullet0124>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 19:35:31 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:31 2021
Terminated at Sun Sep 26 19:46:44 2021
Results reported at Sun Sep 26 19:46:44 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2134.5-2130_daily_bin1258 323.641 -21.5029 565401601 565660801 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 :                                   635.29 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             375.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   673 sec.
    Turnaround time :                            683 sec.

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

