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


Performing analysis on: 4FGL_J2134.5-2130_daily_bin1628
RA = 323.641, Dec = -21.5029
tmin = 661305601, tmax = 661564801
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='338158', job_status='RUN', time_executed='2021-12-19 01:36:52.204673', time_epoch_executed='1639906612.2' WHERE source_name='4FGL J2134.5-2130' and cadence='daily' and bin_id='1628'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/338158

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/338158/ft1_4FGL_J2134.5-2130_daily_bin1628.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/338158/ft2_4FGL_J2134.5-2130_daily_bin1628.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/338158/ft1_4FGL_J2134.5-2130_daily_bin1628.fits outfile=/scratch/kocevski/338158/ft1_filteredMKT_4FGL_J2134.5-2130_daily_bin1628.fits ra=323.641 dec=-21.5029 rad=12.0 tmin=661305601.0 tmax=661564801.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.75
user 3.54
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/338158/ft2_4FGL_J2134.5-2130_daily_bin1628.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/338158/ft1_filteredMKT_4FGL_J2134.5-2130_daily_bin1628.fits evtable="EVENTS" outfile="/scratch/kocevski/338158/ft1_filtered_4FGL_J2134.5-2130_daily_bin1628.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.53
user 0.36
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/338158/ft1_filtered_4FGL_J2134.5-2130_daily_bin1628.fits" evtable="EVENTS" scfile=/scratch/kocevski/338158/ft2_4FGL_J2134.5-2130_daily_bin1628.fits sctable="SC_DATA" outfile=/scratch/kocevski/338158/ltcube_661305601_661564801_4FGL_J2134.5-2130_daily_bin1628.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/338158/ft2_4FGL_J2134.5-2130_daily_bin1628.fits
.....................!
real 14.94
user 14.57
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/338158/ft1_filtered_4FGL_J2134.5-2130_daily_bin1628.fits evtable="EVENTS" scfile=/scratch/kocevski/338158/ft2_4FGL_J2134.5-2130_daily_bin1628.fits sctable="SC_DATA" expcube=/scratch/kocevski/338158/ltcube_661305601_661564801_4FGL_J2134.5-2130_daily_bin1628.fits outfile=/scratch/kocevski/338158/expmap_661305601_661564801_4FGL_J2134.5-2130_daily_bin1628.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/338158/ltcube_661305601_661564801_4FGL_J2134.5-2130_daily_bin1628.fits
.....................!
real 191.18
user 185.57
sys 5.25

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/338158/ft1_filtered_4FGL_J2134.5-2130_daily_bin1628.fits scfile=/scratch/kocevski/338158/ft2_4FGL_J2134.5-2130_daily_bin1628.fits outfile=/scratch/kocevski/338158/cmap_661305601_661564801_4FGL_J2134.5-2130_daily_bin1628.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.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/338158/ft1_filtered_4FGL_J2134.5-2130_daily_bin1628.fits scfile=/scratch/kocevski/338158/ft2_4FGL_J2134.5-2130_daily_bin1628.fits outfile=/scratch/kocevski/338158/cmap_HighResolution_661305601_661564801_4FGL_J2134.5-2130_daily_bin1628.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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/338158/ft1_filtered_4FGL_J2134.5-2130_daily_bin1628.fits evtable="EVENTS" scfile=/scratch/kocevski/338158/ft2_4FGL_J2134.5-2130_daily_bin1628.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/338158/Model_4FGL_J2134.5-2130_daily_bin1628.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/338158/ft1_filtered_4FGL_J2134.5-2130_daily_bin1628.fits.....................!
real 60.43
user 58.87
sys 1.44

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    13.530       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.8968       1.0000         .10000E-03   10000.    
     7 'norm      '    5.5320       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .73856E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    8.1829       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    4.2735       1.0000         .10000E-03   10000.    
    15 'Prefactor '    7.3162       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    1.0059       1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.2618       1.0000         .10000E-03   10000.    
    19 'Prefactor '    27.274       1.0000         .10000E-03   10000.    
    20 'Prefactor '    10.929       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2995       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .86502       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=   6613.686     FROM MIGRAD    STATUS=CONVERGED    454 CALLS     2319 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    27.082       -.63904E-06** at limit **
   2  norm          .10001E-03    14.397       -.28869E-05** at limit **
   3  Prefactor     13.520        20.680       -.20714E-05   -.36266E-03
   4  Prefactor     .10000E-03    3.8935        .38516E-07** at limit **
   5  Prefactor     .10000E-03    7.3710        .21268E-06** at limit **
   6  Prefactor     5.8966        6.9884       -.32995E-08    .14274E-04
   7  norm          5.5317        8.4041        .16789E-06   -.27320E-04
   8  Prefactor     .10000E-03    3.6140        .39015E-07** at limit **
   9  Prefactor     .10001E-03    16.661        .29545E-05** at limit **
  10  Prefactor     .10020E-03    8.3077       -.25324E-05** at limit **
  11  norm          .10000E-03    2.3312       -.22143E-07** at limit **
  12  Prefactor     8.1835        10.885        .35788E-08   -.18228E-04
  13  Prefactor     .10000E-03    16.557        .89905E-06** at limit **
  14  norm          4.2740        5.3171        .35460E-06   -.79289E-04
  15  Prefactor     7.3179        7.4623        .26740E-05   -.26608E-03
  16  Prefactor     .10000E-03    5.6606       -.13226E-06** at limit **
  17  norm          1.0060        .38501       -.13749E-07   -.10349E-04
  18  Prefactor     4.2610        11.553        .42594E-06   -.28038E-04
  19  Prefactor     27.272        19.385       -.53778E-06   -.34082E-04
  20  Prefactor     10.931        12.719        .24754E-07    .24160E-05
  21  Normalizat    1.2994        .21652       -.25352E-06    .18439E-03
  22  Prefactor     .86512        .12505       -.11121E-06    .20127E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.000100006
  Prefactor  = 13.5198
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.89657
  norm       = 5.53171
  Prefactor  = 0.0001
  Prefactor  = 0.000100005
  Prefactor  = 0.0001002
  norm       = 0.0001
  Prefactor  = 8.18354
  Prefactor  = 0.000100001
  norm       = 4.27405
  Prefactor  = 7.31787
  Prefactor  = 0.0001
  norm       = 1.00596
  Prefactor  = 4.26095
  Prefactor  = 27.272
  Prefactor  = 10.9306
  Normalizat = 1.29944
  Prefactor  = 0.865121
 **********
 **   18 **HESSE 
 **********

 FCN=   6613.686     FROM HESSE     STATUS=OK           340 CALLS     2659 TOTAL
                     EDM=   .62E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    27.133        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10001E-03    15.213        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     13.520        21.453        .10889E-03   -1.4972    
   4  Prefactor     .10000E-03    3.9346        .15667E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    7.3865        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     5.8966        6.9877        .16537E-03   -1.5222    
   7  norm          5.5317        8.4032        .17082E-03   -1.5238    
   8  Prefactor     .10000E-03    3.6587        .15097E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10001E-03    17.510        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10020E-03    40.696        .41936E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    2.3332        .12127E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     8.1835        10.875        .14015E-03   -1.5136    
  13  Prefactor     .10000E-03    16.641        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          4.2740        5.3590        .18596E-03   -1.5294    
  15  Prefactor     7.3179        7.8347        .74143E-03   -1.5167    
  16  Prefactor     .10000E-03    5.6686        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.0060        .38582        .28777E-04   -1.5507    
  18  Prefactor     4.2610        11.584        .19517E-03   -1.5295    
  19  Prefactor     27.272        19.404        .76711E-04   -1.4663    
  20  Prefactor     10.931        12.725        .12119E-03   -1.5047    
  21  Normalizat    1.2994        .26124        .28256E-03   -.83583    
  22  Prefactor     .86512        .15113        .20339E-03   -.97371    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.18517e-09
Minuit parameter uncertainties:
  1  0.000172225
  2  0.000587198
  3  21.4649
  4  8.32048e-06
  5  2.77514e-05
  6  6.98869
  7  8.40497
  8  3.06274e-07
  9  0.000614571
  10  0.00570934
  11  1.48297e-06
  12  10.8776
  13  0.000194511
  14  5.35956
  15  7.83582
  16  1.38101e-05
  17  0.385821
  18  11.5897
  19  19.4083
  20  12.7283
  21  0.261508
  22  0.151203
Done.

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

Extracting fit parameters...

4FGL J2134.5-2130
   Spectrum: PowerLaw
275    Prefactor:  1.000e-04  3.063e-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:  8.651e-01  1.512e-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.299e+00  2.615e-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.37e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.03e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/338158/likelihoodResults_661305601_661564801_4FGL_J2134.5-2130_daily_bin1628.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) = 6613.68723792
delta logL = -0.00130139691646

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6613.68593654
delta logL = -1.5275873011e-08

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 'Index     '    1.9988       1.0000          .0000       10.000    
     3 'Normalizat'    1.2994       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86513       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=   6613.686     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      203 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.3028        .90712E-02** at limit **
   2  Index         2.0012        8.8512        .50000       -.52951E-05
   3  Normalizat    1.2994        .42536E-02    .63879E-01   -.16232E-04
   4  Prefactor     .86512        .25697E-02    .44559E-01   -.21149E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.00123
  Normalizat = 1.29944
  Prefactor  = 0.865121
 **********
 **   18 **HESSE 
 **********

 FCN=   6613.686     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      236 TOTAL
                     EDM=   .45E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    32.689        .15099E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0012        6.1809        .50000       -.64319    
   3  Normalizat    1.2994        .16048E-01    .28256E-03   -.83583    
   4  Prefactor     .86512        .96998E-02    .20339E-03   -.97371    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.5356e-08
Minuit parameter uncertainties:
  1  5.84943e-06
  2  160.316
  3  0.0160479
  4  0.00969977
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/338158': 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): 102
logL (Free Index) = 6613.68593652
delta logL = 6.86304701958e-09

Extracting fit parameters...

4FGL J2134.5-2130
   Spectrum: PowerLaw
275    Prefactor:  1.000e-04  5.849e-06  1.000e-04  1.000e+04 ( 1.000e-13)
276        Index:  2.001e+00  1.603e+02  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:  8.651e-01  9.700e-03  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.299e+00  1.605e-02  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/338158/cmap_HighResolution_661305601_661564801_4FGL_J2134.5-2130_daily_bin1628.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.03e-03', job_status='DONE', photon_flux_upper_limit='5.37e-08', time_completed='2021-12-19 01:47:28.458026', job_id='338158', GAL2='0.87', fit_tolerance='1e-08', EG2='1.30', EG='1.30', time_epoch_completed='1639907248.46', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.87', dlogl='6.86e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='1628' AND source_name='4FGL J2134.5-2130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Dec 19 01:47:28 PST 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0083>
Subject: Job 338158: <4FGL_J2134.5-2130_daily_bin1628> in cluster <slac> Done

Job <4FGL_J2134.5-2130_daily_bin1628> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Dec 19 01:35:23 2021
Job was executed on host(s) <bullet0083>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Dec 19 01:36:04 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Dec 19 01:36:04 2021
Terminated at Sun Dec 19 01:47:29 2021
Results reported at Sun Dec 19 01:47:29 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2134.5-2130_daily_bin1628 323.641 -21.5029 661305601 661564801 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 :                                   639.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             324.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   684 sec.
    Turnaround time :                            726 sec.

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

