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


Performing analysis on: 4FGL_J2134.5-2130_daily_bin1574
RA = 323.641, Dec = -21.5029
tmin = 647308801, tmax = 647568001
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='601272', job_status='RUN', time_executed='2021-09-26 19:44:46.978997', time_epoch_executed='1632710686.98' WHERE source_name='4FGL J2134.5-2130' and cadence='daily' and bin_id='1574'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/601272

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/601272/ft1_4FGL_J2134.5-2130_daily_bin1574.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/601272/ft2_4FGL_J2134.5-2130_daily_bin1574.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/601272/ft1_4FGL_J2134.5-2130_daily_bin1574.fits outfile=/scratch/kocevski/601272/ft1_filteredMKT_4FGL_J2134.5-2130_daily_bin1574.fits ra=323.641 dec=-21.5029 rad=12.0 tmin=647308801.0 tmax=647568001.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.96
user 3.26
sys 0.30

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/601272/ft2_4FGL_J2134.5-2130_daily_bin1574.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/601272/ft1_filteredMKT_4FGL_J2134.5-2130_daily_bin1574.fits evtable="EVENTS" outfile="/scratch/kocevski/601272/ft1_filtered_4FGL_J2134.5-2130_daily_bin1574.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.55
user 0.32
sys 0.18

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/601272/ft1_filtered_4FGL_J2134.5-2130_daily_bin1574.fits" evtable="EVENTS" scfile=/scratch/kocevski/601272/ft2_4FGL_J2134.5-2130_daily_bin1574.fits sctable="SC_DATA" outfile=/scratch/kocevski/601272/ltcube_647308801_647568001_4FGL_J2134.5-2130_daily_bin1574.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/601272/ft2_4FGL_J2134.5-2130_daily_bin1574.fits
.....................!
real 15.15
user 14.58
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/601272/ft1_filtered_4FGL_J2134.5-2130_daily_bin1574.fits evtable="EVENTS" scfile=/scratch/kocevski/601272/ft2_4FGL_J2134.5-2130_daily_bin1574.fits sctable="SC_DATA" expcube=/scratch/kocevski/601272/ltcube_647308801_647568001_4FGL_J2134.5-2130_daily_bin1574.fits outfile=/scratch/kocevski/601272/expmap_647308801_647568001_4FGL_J2134.5-2130_daily_bin1574.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/601272/ltcube_647308801_647568001_4FGL_J2134.5-2130_daily_bin1574.fits
.....................!
real 194.86
user 187.31
sys 5.31

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/601272/ft1_filtered_4FGL_J2134.5-2130_daily_bin1574.fits scfile=/scratch/kocevski/601272/ft2_4FGL_J2134.5-2130_daily_bin1574.fits outfile=/scratch/kocevski/601272/cmap_647308801_647568001_4FGL_J2134.5-2130_daily_bin1574.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.55
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/601272/ft1_filtered_4FGL_J2134.5-2130_daily_bin1574.fits scfile=/scratch/kocevski/601272/ft2_4FGL_J2134.5-2130_daily_bin1574.fits outfile=/scratch/kocevski/601272/cmap_HighResolution_647308801_647568001_4FGL_J2134.5-2130_daily_bin1574.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.58
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/601272/ft1_filtered_4FGL_J2134.5-2130_daily_bin1574.fits evtable="EVENTS" scfile=/scratch/kocevski/601272/ft2_4FGL_J2134.5-2130_daily_bin1574.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/601272/Model_4FGL_J2134.5-2130_daily_bin1574.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/601272/ft1_filtered_4FGL_J2134.5-2130_daily_bin1574.fits.....................!
real 56.71
user 54.10
sys 1.34

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    44.872       1.0000         .10000E-03   10000.    
     2 'norm      '    .10040E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .12429E-02   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .85943E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.8137       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .12556E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    10.388       1.0000         .10000E-03   10000.    
    11 'norm      '    5.0254       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .13417E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    118.28       1.0000         .10000E-03   10000.    
    14 'norm      '    2.2389       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10343E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.2867       1.0000         .10000E-03   10000.    
    17 'norm      '    1.2290       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .13171E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    24.289       1.0000         .10000E-03   10000.    
    20 'Prefactor '    4.8525       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .43334       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.2723       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=   6307.918     FROM MIGRAD    STATUS=CONVERGED    452 CALLS     2374 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     44.979        63.022        .14325E-03    .21056E-04
   2  norm          .10000E-03    7.4888       -.26712E-05** at limit **
   3  Prefactor     .10000E-03    12.380       -.72806E-05** at limit **
   4  Prefactor     .10000E-03    4.5369       -.47780E-06** at limit **
   5  Prefactor     .10001E-03    53.036        .17442E-04** at limit **
   6  Prefactor     .10000E-03    5.1083        .53360E-06** at limit **
   7  norm          .10000E-03    4.4473        .49604E-06** at limit **
   8  Prefactor     1.8133        5.7138        .51215E-06   -.58781E-03
   9  Prefactor     .10000E-03    9.2901        .28907E-05** at limit **
  10  Prefactor     10.386        19.292        .27756E-06   -.54867E-04
  11  norm          5.0258        5.3031        .24417E-06    .10311E-03
  12  Prefactor     .10000E-03    7.6799        .67867E-07** at limit **
  13  Prefactor     118.33        65.981        .43680E-04    .17416E-04
  14  norm          2.2325        4.4081       -.34944E-05   -.10128E-02
  15  Prefactor     .10000E-03    7.4359        .24304E-06** at limit **
  16  Prefactor     5.2946        26.523        .17080E-04    .17953E-04
  17  norm          1.2291        .41253       -.87484E-07   -.16827E-03
  18  Prefactor     .10000E-03    13.389        .37905E-05** at limit **
  19  Prefactor     24.292        20.910        .16931E-05   -.55802E-04
  20  Prefactor     4.8643        16.915        .60321E-05   -.47015E-04
  21  Normalizat    .43368        .24735       -.26178E-04   -.36216E-03
  22  Prefactor     1.2721        .14436        .99100E-06   -.13504E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 44.9787
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100005
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 1.81327
  Prefactor  = 0.000100001
  Prefactor  = 10.3862
  norm       = 5.02581
  Prefactor  = 0.000100002
  Prefactor  = 118.327
  norm       = 2.23255
  Prefactor  = 0.0001
  Prefactor  = 5.29459
  norm       = 1.22912
  Prefactor  = 0.0001
  Prefactor  = 24.2916
  Prefactor  = 4.86425
  Normalizat = 0.433679
  Prefactor  = 1.27205
 **********
 **   18 **HESSE 
 **********

 FCN=   6307.918     FROM HESSE     STATUS=OK           346 CALLS     2720 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     44.979        62.909        .29926E-03   -1.4366    
   2  norm          .10000E-03    7.4915        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    12.427        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    4.5750        .16513E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10001E-03    55.124        .41225E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    5.1175        .17530E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    17.582        .32654E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.8133        5.6760        .31018E-03   -1.5439    
   9  Prefactor     .10000E-03    9.3248        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     10.386        19.095        .12431E-03   -1.5063    
  11  norm          5.0258        5.3046        .17938E-03   -1.5260    
  12  Prefactor     .10000E-03    7.6806        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     118.33        65.871        .18500E-03   -1.3528    
  14  norm          2.2325        4.3579        .21341E-03   -1.5409    
  15  Prefactor     .10000E-03    7.6213        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     5.2946        25.752        .17481E-03   -1.5248    
  17  norm          1.2291        .41358        .28003E-04   -1.5486    
  18  Prefactor     .10000E-03    13.625        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     24.292        20.780        .81279E-04   -1.4722    
  20  Prefactor     4.8643        16.849        .18261E-03   -1.5267    
  21  Normalizat    .43368        .25499        .43825E-03   -1.1560    
  22  Prefactor     1.2721        .15176        .16878E-03   -.84142    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.41528e-09
Minuit parameter uncertainties:
  1  63.0017
  2  0.000107368
  3  5.31495e-06
  4  7.57101e-05
  5  0.00108254
  6  4.44932e-05
  7  0.0001313
  8  5.67769
  9  0.000197865
  10  19.1061
  11  5.30506
  12  0.000240283
  13  65.9123
  14  4.35851
  15  9.49486e-05
  16  23.3695
  17  0.413584
  18  0.000164431
  19  20.7858
  20  16.8657
  21  0.255673
  22  0.151816
Done.

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

Extracting fit parameters...

4FGL J2134.5-2130
   Spectrum: PowerLaw
275    Prefactor:  1.813e+00  5.678e+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.272e+00  1.518e-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:  4.337e-01  2.557e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/601272/likelihoodResults_647308801_647568001_4FGL_J2134.5-2130_daily_bin1574.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) = 6307.89327462
delta logL = 0.0244594716341

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6307.89189374
delta logL = 0.0258403558455

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.5588       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2801       1.0000          .0000       10.000    
     3 'Normalizat'    .43027       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2724       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6307.892     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      269 TOTAL
                     EDM=   .35E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.5621        4.9442        .25233E-03    .36494E-05
   2  Index         2.2809        1.2502        .97571E-03    .58259E-06
   3  Normalizat    .43016        .23153        .44002E-03    .19119E-05
   4  Prefactor     1.2725        .14791        .16875E-03    .26949E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.56206
  Index      = 2.28089
  Normalizat = 0.43016
  Prefactor  = 1.27249
 **********
 **   18 **HESSE 
 **********

 FCN=   6307.892     FROM HESSE     STATUS=OK            25 CALLS      294 TOTAL
                     EDM=   .36E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.5621        4.8692        .10093E-04   -1.5458    
   2  Index         2.2809        1.2318        .39028E-04   -.57498    
   3  Normalizat    .43016        .23159        .88004E-04   -1.1577    
   4  Prefactor     1.2725        .14795        .67498E-05   -.84129    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.57847e-14
Minuit parameter uncertainties:
  1  4.87041
  2  1.25025
  3  0.232106
  4  0.147994
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/601272': 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) = 6307.89189266
delta logL = 0.0258414331747

Extracting fit parameters...

4FGL J2134.5-2130
   Spectrum: PowerLaw
275    Prefactor:  1.562e+00  4.870e+00  1.000e-04  1.000e+04 ( 1.000e-13)
276        Index:  2.281e+00  1.250e+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.272e+00  1.480e-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:  4.302e-01  2.321e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.13
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/601272/cmap_HighResolution_647308801_647568001_4FGL_J2134.5-2130_daily_bin1574.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.88e-03', job_status='DONE', photon_flux_upper_limit='7.84e-08', time_completed='2021-09-26 19:55:14.241622', job_id='601272', GAL2='1.27', fit_tolerance='1e-08', EG2='0.43', EG='0.43', time_epoch_completed='1632711314.24', return_code2='0', ts='0.13', comment='SUCCESS', return_code='0', GAL='1.27', dlogl='2.58e-02', ts2='0.18', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='1574' AND source_name='4FGL J2134.5-2130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 19:55:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0052>
Subject: Job 601272: <4FGL_J2134.5-2130_daily_bin1574> in cluster <slac> Done

Job <4FGL_J2134.5-2130_daily_bin1574> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Sep 26 19:40:33 2021
Job was executed on host(s) <bullet0052>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 19:41:27 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:41:27 2021
Terminated at Sun Sep 26 19:55:15 2021
Results reported at Sun Sep 26 19:55:15 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2134.5-2130_daily_bin1574 323.641 -21.5029 647308801 647568001 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 :                                   616.32 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             273.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   827 sec.
    Turnaround time :                            882 sec.

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

