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


Performing analysis on: 4FGL_J2134.5-2130_daily_bin1640
RA = 323.641, Dec = -21.5029
tmin = 664416001, tmax = 664675201
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='284789', job_status='RUN', time_executed='2022-01-24 00:41:22.787060', time_epoch_executed='1643013682.79' WHERE source_name='4FGL J2134.5-2130' and cadence='daily' and bin_id='1640'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/284789

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/284789/ft1_4FGL_J2134.5-2130_daily_bin1640.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/284789/ft2_4FGL_J2134.5-2130_daily_bin1640.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/284789/ft1_4FGL_J2134.5-2130_daily_bin1640.fits outfile=/scratch/kocevski/284789/ft1_filteredMKT_4FGL_J2134.5-2130_daily_bin1640.fits ra=323.641 dec=-21.5029 rad=12.0 tmin=664416001.0 tmax=664675201.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.60
user 3.38
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/284789/ft1_filtered_4FGL_J2134.5-2130_daily_bin1640.fits" evtable="EVENTS" scfile=/scratch/kocevski/284789/ft2_4FGL_J2134.5-2130_daily_bin1640.fits sctable="SC_DATA" outfile=/scratch/kocevski/284789/ltcube_664416001_664675201_4FGL_J2134.5-2130_daily_bin1640.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/284789/ft2_4FGL_J2134.5-2130_daily_bin1640.fits
.....................!
real 12.45
user 12.09
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/284789/ft1_filtered_4FGL_J2134.5-2130_daily_bin1640.fits evtable="EVENTS" scfile=/scratch/kocevski/284789/ft2_4FGL_J2134.5-2130_daily_bin1640.fits sctable="SC_DATA" expcube=/scratch/kocevski/284789/ltcube_664416001_664675201_4FGL_J2134.5-2130_daily_bin1640.fits outfile=/scratch/kocevski/284789/expmap_664416001_664675201_4FGL_J2134.5-2130_daily_bin1640.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/284789/ltcube_664416001_664675201_4FGL_J2134.5-2130_daily_bin1640.fits
.....................!
real 190.63
user 184.71
sys 5.61

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/284789/ft1_filtered_4FGL_J2134.5-2130_daily_bin1640.fits scfile=/scratch/kocevski/284789/ft2_4FGL_J2134.5-2130_daily_bin1640.fits outfile=/scratch/kocevski/284789/cmap_664416001_664675201_4FGL_J2134.5-2130_daily_bin1640.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.53
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/284789/ft1_filtered_4FGL_J2134.5-2130_daily_bin1640.fits scfile=/scratch/kocevski/284789/ft2_4FGL_J2134.5-2130_daily_bin1640.fits outfile=/scratch/kocevski/284789/cmap_HighResolution_664416001_664675201_4FGL_J2134.5-2130_daily_bin1640.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.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/284789/ft1_filtered_4FGL_J2134.5-2130_daily_bin1640.fits evtable="EVENTS" scfile=/scratch/kocevski/284789/ft2_4FGL_J2134.5-2130_daily_bin1640.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/284789/Model_4FGL_J2134.5-2130_daily_bin1640.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/284789/ft1_filtered_4FGL_J2134.5-2130_daily_bin1640.fits.....................!
real 54.11
user 52.88
sys 1.14

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    6.2775       1.0000         .10000E-03   10000.    
     3 'Prefactor '    13.664       1.0000         .10000E-03   10000.    
     4 'Prefactor '    7.5666       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10244E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10359E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .43339E-02   1.0000         .10000E-03   10000.    
    14 'norm      '    .11361E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .11781E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    35.044       1.0000         .10000E-03   10000.    
    17 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    6.7334       1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.0497       1.0000         .10000E-03   10000.    
    20 'Prefactor '    34.659       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.4011       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1313       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=   5758.121     FROM MIGRAD    STATUS=CONVERGED    479 CALLS     2384 TOTAL
                     EDM=   .57E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    35.785       -.21174E-07** at limit **
   2  norm          6.2735        29.079        .33839E-05   -.16771E-04
   3  Prefactor     13.673        33.450       -.15839E-05   -.22194E-03
   4  Prefactor     7.5690        8.0763        .19848E-07   -.66477E-04
   5  Prefactor     .10000E-03    10.199        .10529E-05** at limit **
   6  Prefactor     .10000E-03    5.4634        .13301E-06** at limit **
   7  norm          .10000E-03    3.2347        .42944E-07** at limit **
   8  Prefactor     .10000E-03    10.446        .23749E-05** at limit **
   9  Prefactor     .10000E-03    18.986        .68284E-05** at limit **
  10  Prefactor     .10000E-03    10.007       -.19440E-05** at limit **
  11  norm          .10000E-03    3.2389        .66425E-07** at limit **
  12  Prefactor     .10000E-03    11.599       -.18396E-05** at limit **
  13  Prefactor     .10000E-03    261.99       -.11303E-04** at limit **
  14  norm          .10000E-03    5.9555        .14833E-06** at limit **
  15  Prefactor     .10005E-03    5.9201       -.23088E-05** at limit **
  16  Prefactor     35.050        23.096       -.30549E-05    .88851E-04
  17  norm          .10000E-03    .11481        .94778E-08** at limit **
  18  Prefactor     6.7280        11.994       -.12710E-05   -.72354E-04
  19  Prefactor     3.0396        33.328        .21732E-04   -.51578E-05
  20  Prefactor     34.658        27.489        .36224E-06    .38326E-06
  21  Normalizat    1.4003        .27023       -.79483E-06    .10158E-03
  22  Prefactor     1.1315        .15701        .18640E-06    .56155E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 6.27354
  Prefactor  = 13.6727
  Prefactor  = 7.56897
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.00010005
  Prefactor  = 35.0497
  norm       = 0.0001
  Prefactor  = 6.72797
  Prefactor  = 3.03958
  Prefactor  = 34.6583
  Normalizat = 1.40028
  Prefactor  = 1.13149
 **********
 **   18 **HESSE 
 **********

 FCN=   5758.121     FROM HESSE     STATUS=OK           338 CALLS     2722 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    35.790        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          6.2735        29.149        .16021E-03   -1.5207    
   3  Prefactor     13.673        33.693        .54179E-03   -1.4968    
   4  Prefactor     7.5690        8.0709        .14579E-03   -1.5158    
   5  Prefactor     .10000E-03    10.222        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    5.4737        .17322E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    3.2360        .13329E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    10.574        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    19.134        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    10.024        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    3.2446        .13338E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    11.609        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    264.09        .19393E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    6.1147        .36120E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10005E-03    19.606        .34659E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     35.050        23.030        .67695E-04   -1.4523    
  17  norm          .10000E-03    .12225        .50166E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     6.7280        12.014        .15463E-03   -1.5189    
  19  Prefactor     3.0396        32.312        .23232E-03   -1.5359    
  20  Prefactor     34.658        27.639        .68069E-04   -1.4530    
  21  Normalizat    1.4003        .31753        .32416E-03   -.80621    
  22  Prefactor     1.1315        .18547        .20964E-03   -.88466    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.0068e-09
Minuit parameter uncertainties:
  1  3.72816e-06
  2  27.0672
  3  33.74
  4  8.07203
  5  1.49404e-06
  6  1.13345e-06
  7  1.83022e-07
  8  8.91674e-07
  9  4.79567e-06
  10  1.36457e-05
  11  2.51445e-06
  12  6.32152e-06
  13  0.000453426
  14  1.23655e-05
  15  0.00198781
  16  23.0357
  17  1.70311e-07
  18  12.0185
  19  19.8341
  20  27.6494
  21  0.317975
  22  0.185571
Done.

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

Extracting fit parameters...

4FGL J2134.5-2130
   Spectrum: PowerLaw
275    Prefactor:  1.000e-04  8.917e-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:  1.131e+00  1.856e-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.400e+00  3.180e-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: 9.89e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.41e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/284789/likelihoodResults_664416001_664675201_4FGL_J2134.5-2130_daily_bin1640.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) = 5758.12147396
delta logL = -0.000450669205748

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5758.12102227
delta logL = 1.01581463241e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11188E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.0818       1.0000          .0000       10.000    
     3 'Normalizat'    1.4003       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1315       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=   5757.751     FROM MIGRAD    STATUS=CONVERGED    102 CALLS      264 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .30339        .80538        .90712E-02   -.35701E-03
   2  Index         3.6163        .80194        .94565E-01    .12107E-03
   3  Normalizat    1.3314        .27709        .74801E-01    .15331E-03
   4  Prefactor     1.1512        .15597        .36498E-01    .19619E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.30339
  Index      = 3.61629
  Normalizat = 1.33136
  Prefactor  = 1.15116
 **********
 **   18 **HESSE 
 **********

 FCN=   5757.751     FROM HESSE     STATUS=OK            33 CALLS      297 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .30339        1.6870        .51774E-03   -1.5818    
   2  Index         3.6163        1.7401        .56761E-02   -.28040    
   3  Normalizat    1.3314        .31429        .33103E-03   -.82635    
   4  Prefactor     1.1512        .18235        .20802E-03   -.87848    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.43928e-10
Minuit parameter uncertainties:
  1  1.43067
  2  1.78056
  3  0.314743
  4  0.182449
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/284789': 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) = 5757.75078619
delta logL = 0.370237100095

Extracting fit parameters...

4FGL J2134.5-2130
   Spectrum: PowerLaw
275    Prefactor:  3.034e-01  1.431e+00  1.000e-04  1.000e+04 ( 1.000e-13)
276        Index:  3.616e+00  1.781e+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:  1.151e+00  1.824e-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.331e+00  3.147e-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/284789/cmap_HighResolution_664416001_664675201_4FGL_J2134.5-2130_daily_bin1640.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.41e-03', job_status='DONE', photon_flux_upper_limit='9.89e-08', time_completed='2022-01-24 00:51:07.884997', job_id='284789', GAL2='1.15', fit_tolerance='1e-08', EG2='1.33', EG='1.40', time_epoch_completed='1643014267.89', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.13', dlogl='3.70e-01', ts2='0.77', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='1640' AND source_name='4FGL J2134.5-2130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jan 24 00:51:07 PST 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0179>
Subject: Job 284789: <4FGL_J2134.5-2130_daily_bin1640> in cluster <slac> Done

Job <4FGL_J2134.5-2130_daily_bin1640> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Mon Jan 24 00:40:12 2022
Job was executed on host(s) <bullet0179>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Jan 24 00:40:14 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Jan 24 00:40:14 2022
Terminated at Mon Jan 24 00:51:08 2022
Results reported at Mon Jan 24 00:51:08 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2134.5-2130_daily_bin1640 323.641 -21.5029 664416001 664675201 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 :                                   587.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             330.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   654 sec.
    Turnaround time :                            656 sec.

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

