/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 94 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 = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2134.5-2130_daily_bin1144
RA = 323.641, Dec = -21.5029
tmin = 535852801, tmax = 536112001
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='598250', job_status='RUN', time_executed='2021-09-26 19:33:21.718275', time_epoch_executed='1632710001.72' WHERE source_name='4FGL J2134.5-2130' and cadence='daily' and bin_id='1144'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/598250

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/598250/ft1_4FGL_J2134.5-2130_daily_bin1144.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/598250/ft2_4FGL_J2134.5-2130_daily_bin1144.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/598250/ft1_4FGL_J2134.5-2130_daily_bin1144.fits outfile=/scratch/kocevski/598250/ft1_filteredMKT_4FGL_J2134.5-2130_daily_bin1144.fits ra=323.641 dec=-21.5029 rad=12.0 tmin=535852801.0 tmax=536112001.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.61
user 3.37
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/598250/ft1_filtered_4FGL_J2134.5-2130_daily_bin1144.fits" evtable="EVENTS" scfile=/scratch/kocevski/598250/ft2_4FGL_J2134.5-2130_daily_bin1144.fits sctable="SC_DATA" outfile=/scratch/kocevski/598250/ltcube_535852801_536112001_4FGL_J2134.5-2130_daily_bin1144.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/598250/ft2_4FGL_J2134.5-2130_daily_bin1144.fits
.....................!
real 13.82
user 13.50
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/598250/ft1_filtered_4FGL_J2134.5-2130_daily_bin1144.fits evtable="EVENTS" scfile=/scratch/kocevski/598250/ft2_4FGL_J2134.5-2130_daily_bin1144.fits sctable="SC_DATA" expcube=/scratch/kocevski/598250/ltcube_535852801_536112001_4FGL_J2134.5-2130_daily_bin1144.fits outfile=/scratch/kocevski/598250/expmap_535852801_536112001_4FGL_J2134.5-2130_daily_bin1144.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/598250/ltcube_535852801_536112001_4FGL_J2134.5-2130_daily_bin1144.fits
.....................!
real 191.74
user 186.31
sys 5.07

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/598250/ft1_filtered_4FGL_J2134.5-2130_daily_bin1144.fits scfile=/scratch/kocevski/598250/ft2_4FGL_J2134.5-2130_daily_bin1144.fits outfile=/scratch/kocevski/598250/cmap_535852801_536112001_4FGL_J2134.5-2130_daily_bin1144.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.38
sys 0.16

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/598250/ft1_filtered_4FGL_J2134.5-2130_daily_bin1144.fits evtable="EVENTS" scfile=/scratch/kocevski/598250/ft2_4FGL_J2134.5-2130_daily_bin1144.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/598250/Model_4FGL_J2134.5-2130_daily_bin1144.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/598250/ft1_filtered_4FGL_J2134.5-2130_daily_bin1144.fits.....................!
real 57.24
user 55.86
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    11.273       1.0000         .10000E-03   10000.    
     4 'Prefactor '    7.5775       1.0000         .10000E-03   10000.    
     5 'Prefactor '    27.881       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 '    5.9371       1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.7691       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .24936E-01   1.0000         .10000E-03   10000.    
    11 'norm      '    4.9783       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    9.7307       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    1.8966       1.0000         .10000E-03   10000.    
    18 'Prefactor '    19.444       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    32.056       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0683       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .97026       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=   6336.533     FROM MIGRAD    STATUS=CONVERGED    488 CALLS     2386 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    18.573        .11380E-04** at limit **
   2  norm          .10000E-03    7.4978       -.15159E-06** at limit **
   3  Prefactor     11.274        15.898        .92484E-07   -.54511E-05
   4  Prefactor     7.5779        6.9616        .29036E-06   -.13021E-02
   5  Prefactor     27.883        19.697       -.39804E-06   -.30822E-04
   6  Prefactor     .10000E-03    6.2693        .71283E-07** at limit **
   7  norm          .10000E-03    2.3451       -.11262E-07** at limit **
   8  Prefactor     5.9371        6.1286        .42342E-07    .25768E-05
   9  Prefactor     2.7701        8.3842        .25218E-05   -.10230E-02
  10  Prefactor     .10002E-03    15.675       -.16007E-06** at limit **
  11  norm          4.9775        5.1615        .16892E-06    .94383E-04
  12  Prefactor     .10000E-03    16.163       -.42494E-05** at limit **
  13  Prefactor     .10000E-03    50.221        .17528E-05** at limit **
  14  norm          9.7323        5.7401        .15457E-06   -.13083E-02
  15  Prefactor     .10000E-03    10.762        .32822E-06** at limit **
  16  Prefactor     .10000E-03    5.9745       -.77156E-08** at limit **
  17  norm          1.8967        .52580       -.12721E-07    .15797E-03
  18  Prefactor     19.446        14.127        .55994E-06    .74452E-04
  19  Prefactor     .10000E-03    20.965       -.79676E-05** at limit **
  20  Prefactor     32.058        25.987       -.54250E-06   -.16292E-04
  21  Normalizat    1.0682        .22824       -.26383E-07    .82033E-04
  22  Prefactor     .97029        .12929       -.14871E-06    .12265E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100004
  norm       = 0.0001
  Prefactor  = 11.2736
  Prefactor  = 7.57793
  Prefactor  = 27.8831
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 5.93708
  Prefactor  = 2.77013
  Prefactor  = 0.000100016
  norm       = 4.97746
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 9.73234
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.89666
  Prefactor  = 19.446
  Prefactor  = 0.000100002
  Prefactor  = 32.0578
  Normalizat = 1.06819
  Prefactor  = 0.970293
 **********
 **   18 **HESSE 
 **********

 FCN=   6336.533     FROM HESSE     STATUS=OK           346 CALLS     2732 TOTAL
                     EDM=   .79E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    18.973        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    7.5029        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     11.274        15.932        .11932E-03   -1.5036    
   4  Prefactor     7.5779        7.4734        .72843E-03   -1.5157    
   5  Prefactor     27.883        19.723        .75872E-04   -1.4651    
   6  Prefactor     .10000E-03    6.2827        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    2.3460        .11905E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     5.9371        6.1298        .16480E-03   -1.5221    
   9  Prefactor     2.7701        12.831        .12229E-02   -1.5375    
  10  Prefactor     .10002E-03    154.26        .58835E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          4.9775        5.1520        .17926E-03   -1.5262    
  12  Prefactor     .10000E-03    16.271        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    50.340        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          9.7323        5.9373        .64231E-03   -1.5084    
  15  Prefactor     .10000E-03    11.155        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    5.9790        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.8967        .52833        .28711E-04   -1.5433    
  18  Prefactor     19.446        14.149        .90830E-04   -1.4826    
  19  Prefactor     .10000E-03    21.263        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     32.058        26.089        .70771E-04   -1.4575    
  21  Normalizat    1.0682        .27065        .31593E-03   -.90780    
  22  Prefactor     .97029        .15511        .19569E-03   -.93726    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.8815e-09
Minuit parameter uncertainties:
  1  0.000559607
  2  5.27524e-06
  3  15.9376
  4  7.47427
  5  19.7278
  6  4.04436e-06
  7  2.8534e-07
  8  6.13041
  9  11.9276
  10  0.00311337
  11  5.15248
  12  0.000192128
  13  0.000140875
  14  5.93767
  15  1.13082e-05
  16  1.08576e-06
  17  0.528332
  18  14.1512
  19  0.000385537
  20  26.0983
  21  0.271001
  22  0.155181
Done.

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

Extracting fit parameters...

4FGL J2134.5-2130
   Spectrum: PowerLaw
275    Prefactor:  5.937e+00  6.130e+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:  9.703e-01  1.552e-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.068e+00  2.710e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.18
Ra Dec: 323.641 -21.503
Photon Index (Fixed Index): 2.00 +/- 0.00
Photon Flux (Fixed Index): 2.50e-08 +/- 2.58e-08
Energy Flux (Fixed Index): 1.75e-05 +/- 1.80e-05

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

Saving results to:
/scratch/kocevski/598250/likelihoodResults_535852801_536112001_4FGL_J2134.5-2130_daily_bin1144.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) = 6336.23755152
delta logL = 0.295401779936

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6336.23682661
delta logL = 0.296126687673

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.4306       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6035       1.0000          .0000       10.000    
     3 'Normalizat'    1.0327       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98057       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=   6336.237     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      302 TOTAL
                     EDM=   .41E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.4311        6.1298        .11568E-03    .42601E-03
   2  Index         2.6034        .93766        .59824E-02    .10476E-03
   3  Normalizat    1.0328        .26158        .32062E-03    .38806E-03
   4  Prefactor     .98046        .15276        .19474E-03    .72774E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.43107
  Index      = 2.6034
  Normalizat = 1.0328
  Prefactor  = 0.980459
 **********
 **   18 **HESSE 
 **********

 FCN=   6336.237     FROM HESSE     STATUS=OK            25 CALLS      327 TOTAL
                     EDM=   .35E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.4311        4.9666        .46274E-05   -1.5337    
   2  Index         2.6034        .76052        .23929E-03   -.49988    
   3  Normalizat    1.0328        .26021        .64125E-04   -.91940    
   4  Prefactor     .98046        .15247        .38947E-04   -.93384    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.50175e-10
Minuit parameter uncertainties:
  1  4.96721
  2  0.764379
  3  0.260531
  4  0.152536
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/598250': 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) = 6336.236826
delta logL = 0.296127300448

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
528    Prefactor:  9.805e-01  1.525e-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.033e+00  2.605e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.79
Ra Dec: 323.641 -21.503
Photon Index (Free Index): 2.60 +/- 0.76
Photon Flux (Free Index): 5.65e-08 +/- 5.90e-08
Energy Flux (Free Index): 1.48e-05 +/- 1.22e-05

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/598250/cmap_HighResolution_535852801_536112001_4FGL_J2134.5-2130_daily_bin1144.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.10e-03', comment='SUCCESS', photon_flux='2.50e-08', energy_flux2='1.48e-05', photon_flux_error='2.58e-08', dlogl='2.96e-01', energy_flux='1.75e-05', photon_flux2='5.65e-08', job_status='DONE', time_completed='2021-09-26 19:44:05.033983', photon_index_error2='0.76', photon_index2='2.60', ts='2.18', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', photon_flux_upper_limit='9.46e-08', energy_flux_error2='1.22e-05', EG='1.07', time_epoch_completed='1632710645.03', return_code='0', job_id='598250', GAL2='0.98', EG2='1.03', return_code2='0', energy_flux_error='1.80e-05', photon_flux_error2='5.90e-08', ts2='2.79', photon_index='2.00' WHERE bin_id='1144' AND source_name='4FGL J2134.5-2130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 19:44:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0227>
Subject: Job 598250: <4FGL_J2134.5-2130_daily_bin1144> in cluster <slac> Done

Job <4FGL_J2134.5-2130_daily_bin1144> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Sep 26 19:30:27 2021
Job was executed on host(s) <bullet0227>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 19:31:37 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:31:37 2021
Terminated at Sun Sep 26 19:44:05 2021
Results reported at Sun Sep 26 19:44:05 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2134.5-2130_daily_bin1144 323.641 -21.5029 535852801 536112001 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 :                                   632.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             338.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   748 sec.
    Turnaround time :                            818 sec.

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

