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


Performing analysis on: 4FGL_J2134.5-2130_daily_bin1291
RA = 323.641, Dec = -21.5029
tmin = 573955201, tmax = 574214401
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='599704', job_status='RUN', time_executed='2021-09-26 19:36:50.450950', time_epoch_executed='1632710210.45' WHERE source_name='4FGL J2134.5-2130' and cadence='daily' and bin_id='1291'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/599704

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/599704/ft1_4FGL_J2134.5-2130_daily_bin1291.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/599704/ft2_4FGL_J2134.5-2130_daily_bin1291.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/599704/ft1_4FGL_J2134.5-2130_daily_bin1291.fits outfile=/scratch/kocevski/599704/ft1_filteredMKT_4FGL_J2134.5-2130_daily_bin1291.fits ra=323.641 dec=-21.5029 rad=12.0 tmin=573955201.0 tmax=574214401.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.37
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/599704/ft1_filtered_4FGL_J2134.5-2130_daily_bin1291.fits" evtable="EVENTS" scfile=/scratch/kocevski/599704/ft2_4FGL_J2134.5-2130_daily_bin1291.fits sctable="SC_DATA" outfile=/scratch/kocevski/599704/ltcube_573955201_574214401_4FGL_J2134.5-2130_daily_bin1291.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/599704/ft2_4FGL_J2134.5-2130_daily_bin1291.fits
.....................!
real 14.66
user 14.25
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/599704/ft1_filtered_4FGL_J2134.5-2130_daily_bin1291.fits evtable="EVENTS" scfile=/scratch/kocevski/599704/ft2_4FGL_J2134.5-2130_daily_bin1291.fits sctable="SC_DATA" expcube=/scratch/kocevski/599704/ltcube_573955201_574214401_4FGL_J2134.5-2130_daily_bin1291.fits outfile=/scratch/kocevski/599704/expmap_573955201_574214401_4FGL_J2134.5-2130_daily_bin1291.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/599704/ltcube_573955201_574214401_4FGL_J2134.5-2130_daily_bin1291.fits
.....................!
real 193.01
user 186.93
sys 5.46

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/599704/ft1_filtered_4FGL_J2134.5-2130_daily_bin1291.fits scfile=/scratch/kocevski/599704/ft2_4FGL_J2134.5-2130_daily_bin1291.fits outfile=/scratch/kocevski/599704/cmap_573955201_574214401_4FGL_J2134.5-2130_daily_bin1291.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/599704/ft1_filtered_4FGL_J2134.5-2130_daily_bin1291.fits scfile=/scratch/kocevski/599704/ft2_4FGL_J2134.5-2130_daily_bin1291.fits outfile=/scratch/kocevski/599704/cmap_HighResolution_573955201_574214401_4FGL_J2134.5-2130_daily_bin1291.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/599704/ft1_filtered_4FGL_J2134.5-2130_daily_bin1291.fits evtable="EVENTS" scfile=/scratch/kocevski/599704/ft2_4FGL_J2134.5-2130_daily_bin1291.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/599704/Model_4FGL_J2134.5-2130_daily_bin1291.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/599704/ft1_filtered_4FGL_J2134.5-2130_daily_bin1291.fits.....................!
real 56.77
user 55.35
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10065E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    19.455       1.0000         .10000E-03   10000.    
     3 'Prefactor '    85.923       1.0000         .10000E-03   10000.    
     4 'Prefactor '    9.8720       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    31.248       1.0000         .10000E-03   10000.    
     7 'norm      '    .59090       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    18.327       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    4.0964       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    15.588       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10421E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .78060       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2648       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .95910       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=   6082.205     FROM MIGRAD    STATUS=CONVERGED    469 CALLS     2351 TOTAL
                     EDM=   .64E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    55.542        .77449E-06** at limit **
   2  norm          19.448        31.586       -.67600E-05    .11286E-03
   3  Prefactor     85.920        39.287       -.23512E-05    .12951E-03
   4  Prefactor     9.8705        10.999        .99853E-07   -.35160E-04
   5  Prefactor     .10000E-03    9.2056       -.24034E-05** at limit **
   6  Prefactor     31.246        19.064       -.57225E-06    .54195E-04
   7  norm          .58118        6.9500       -.14787E-05   -.13815E-03
   8  Prefactor     .10000E-03    2.4895        .43925E-08** at limit **
   9  Prefactor     18.327        15.227       -.25332E-07    .31225E-04
  10  Prefactor     .10000E-03    10.908       -.41041E-06** at limit **
  11  norm          4.0966        4.5773       -.17141E-06    .12728E-03
  12  Prefactor     .10000E-03    7.3294       -.64813E-08** at limit **
  13  Prefactor     .10000E-03    28.020        .64798E-06** at limit **
  14  norm          15.586        6.5909       -.64473E-06   -.17866E-02
  15  Prefactor     .10000E-03    13.599        .46090E-07** at limit **
  16  Prefactor     .10000E-03    11.287        .13214E-05** at limit **
  17  norm          .78059        .34993        .29739E-07    .29327E-03
  18  Prefactor     .10000E-03    3.9373       -.12744E-07** at limit **
  19  Prefactor     .10000E-03    14.281       -.72219E-06** at limit **
  20  Prefactor     .10000E-03    8.7311        .18612E-05** at limit **
  21  Normalizat    1.2650        .24392        .62917E-06    .42838E-04
  22  Prefactor     .95902        .14357        .59145E-06    .68350E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 19.4477
  Prefactor  = 85.9196
  Prefactor  = 9.87045
  Prefactor  = 0.0001
  Prefactor  = 31.2459
  norm       = 0.581183
  Prefactor  = 0.0001
  Prefactor  = 18.3267
  Prefactor  = 0.0001
  norm       = 4.09662
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 15.5864
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.780586
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.26498
  Prefactor  = 0.959018
 **********
 **   18 **HESSE 
 **********

 FCN=   6082.205     FROM HESSE     STATUS=OK           338 CALLS     2689 TOTAL
                     EDM=   .37E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    55.581        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          19.448        30.826        .90806E-04   -1.4826    
   3  Prefactor     85.920        38.914        .43340E-04   -1.3851    
   4  Prefactor     9.8705        10.995        .12754E-03   -1.5080    
   5  Prefactor     .10000E-03    9.1145        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     31.246        19.078        .71678E-04   -1.4589    
   7  norm          .58118        22.871        .40246E-02   -1.5556    
   8  Prefactor     .10000E-03    2.4940        .12017E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     18.327        15.230        .93556E-04   -1.4852    
  10  Prefactor     .10000E-03    10.940        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          4.0966        4.5750        .17207E-03   -1.5303    
  12  Prefactor     .10000E-03    7.3331        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    28.038        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          15.586        7.2325        .50722E-03   -1.4918    
  15  Prefactor     .10000E-03    14.194        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    11.277        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .78059        .35422        .29756E-04   -1.5531    
  18  Prefactor     .10000E-03    3.9434        .15113E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    14.333        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    8.6764        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.2650        .29284        .31740E-03   -.84618    
  22  Prefactor     .95902        .17194        .21132E-03   -.94108    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.73504e-08
Minuit parameter uncertainties:
  1  5.6442e-05
  2  30.8512
  3  38.9255
  4  10.9973
  5  6.32095e-05
  6  19.0821
  7  7.29413
  8  1.47739e-06
  9  15.2334
  10  3.47901e-07
  11  4.5754
  12  4.35442e-06
  13  1.29546e-05
  14  7.23292
  15  4.12084e-05
  16  4.74534e-05
  17  0.354226
  18  1.7589e-06
  19  9.69612e-06
  20  4.89125e-05
  21  0.293224
  22  0.172036
Done.

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

Extracting fit parameters...

4FGL J2134.5-2130
   Spectrum: PowerLaw
275    Prefactor:  1.000e-04  1.477e-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:  9.590e-01  1.720e-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.265e+00  2.932e-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: 5.43e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.07e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/599704/likelihoodResults_573955201_574214401_4FGL_J2134.5-2130_daily_bin1291.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) = 6082.20697721
delta logL = -0.00188938511565

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6082.20508777
delta logL = 5.38166204933e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.9823       1.0000          .0000       10.000    
     3 'Normalizat'    1.2649       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95904       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=   6082.205     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      237 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    4.9835        .12111E-02** at limit **
   2  Index         1.9683        5.6969        .50000        .42389E-04
   3  Normalizat    1.2650        .28035        .31740E-03    .60389E-04
   4  Prefactor     .95902        .16634        .21132E-03    .98934E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100006
  Index      = 1.96833
  Normalizat = 1.26498
  Prefactor  = 0.959018
 **********
 **   18 **HESSE 
 **********

 FCN=   6082.205     FROM HESSE     STATUS=OK            29 CALLS      266 TOTAL
                     EDM=   .49E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    2.5998        .24222E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9683        5.9731        .50000       -.65144    
   3  Normalizat    1.2650        .28065        .12696E-04   -.84618    
   4  Prefactor     .95902        .16652        .84529E-05   -.94108    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.86794e-09
Minuit parameter uncertainties:
  1  0.000244894
  2  4.03015
  3  0.280991
  4  0.166609
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/599704': 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) = 6082.20508751
delta logL = 3.07396476273e-07

Extracting fit parameters...

4FGL J2134.5-2130
   Spectrum: PowerLaw
275    Prefactor:  1.000e-04  2.449e-04  1.000e-04  1.000e+04 ( 1.000e-13)
276        Index:  1.968e+00  4.030e+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:  9.590e-01  1.666e-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.265e+00  2.810e-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/599704/cmap_HighResolution_573955201_574214401_4FGL_J2134.5-2130_daily_bin1291.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.07e-03', job_status='DONE', photon_flux_upper_limit='5.43e-08', time_completed='2021-09-26 19:47:30.307078', job_id='599704', GAL2='0.96', fit_tolerance='1e-08', EG2='1.26', EG='1.26', time_epoch_completed='1632710850.31', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='3.07e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='1291' AND source_name='4FGL J2134.5-2130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 19:47:30 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0206>
Subject: Job 599704: <4FGL_J2134.5-2130_daily_bin1291> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2134.5-2130_daily_bin1291 323.641 -21.5029 573955201 574214401 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 :                                   610.27 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             318.21 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   712 sec.
    Turnaround time :                            726 sec.

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

