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


Performing analysis on: 4FGL_J2132.0-5418_daily_bin1598
RA = 323.023, Dec = -54.3125
tmin = 653529601, tmax = 653788801
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='561056', job_status='RUN', time_executed='2021-09-26 17:28:43.498774', time_epoch_executed='1632702523.5' WHERE source_name='4FGL J2132.0-5418' and cadence='daily' and bin_id='1598'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/561056

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/561056/ft1_4FGL_J2132.0-5418_daily_bin1598.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/561056/ft2_4FGL_J2132.0-5418_daily_bin1598.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/561056/ft1_4FGL_J2132.0-5418_daily_bin1598.fits outfile=/scratch/kocevski/561056/ft1_filteredMKT_4FGL_J2132.0-5418_daily_bin1598.fits ra=323.023 dec=-54.3125 rad=12.0 tmin=653529601.0 tmax=653788801.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 4.20
user 3.96
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/561056/ft2_4FGL_J2132.0-5418_daily_bin1598.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/561056/ft2_4FGL_J2132.0-5418_daily_bin1598.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/561056/ft1_filteredMKT_4FGL_J2132.0-5418_daily_bin1598.fits evtable="EVENTS" outfile="/scratch/kocevski/561056/ft1_filtered_4FGL_J2132.0-5418_daily_bin1598.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.43
user 0.27
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/561056/ft1_filtered_4FGL_J2132.0-5418_daily_bin1598.fits" evtable="EVENTS" scfile=/scratch/kocevski/561056/ft2_4FGL_J2132.0-5418_daily_bin1598.fits sctable="SC_DATA" outfile=/scratch/kocevski/561056/ltcube_653529601_653788801_4FGL_J2132.0-5418_daily_bin1598.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/561056/ft2_4FGL_J2132.0-5418_daily_bin1598.fits
.....................!
real 9.25
user 8.93
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/561056/ft1_filtered_4FGL_J2132.0-5418_daily_bin1598.fits evtable="EVENTS" scfile=/scratch/kocevski/561056/ft2_4FGL_J2132.0-5418_daily_bin1598.fits sctable="SC_DATA" expcube=/scratch/kocevski/561056/ltcube_653529601_653788801_4FGL_J2132.0-5418_daily_bin1598.fits outfile=/scratch/kocevski/561056/expmap_653529601_653788801_4FGL_J2132.0-5418_daily_bin1598.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/561056/ltcube_653529601_653788801_4FGL_J2132.0-5418_daily_bin1598.fits
.....................!
real 151.37
user 146.78
sys 4.30

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 171 point sources and 0 extended sources

Setting source of interest to:
4FGL J2132.0-5418 @ 323.023 -54.3125

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/561056/ft1_filtered_4FGL_J2132.0-5418_daily_bin1598.fits scfile=/scratch/kocevski/561056/ft2_4FGL_J2132.0-5418_daily_bin1598.fits outfile=/scratch/kocevski/561056/cmap_653529601_653788801_4FGL_J2132.0-5418_daily_bin1598.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.023 yref=-54.3125 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.46
user 0.30
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/561056/ft1_filtered_4FGL_J2132.0-5418_daily_bin1598.fits scfile=/scratch/kocevski/561056/ft2_4FGL_J2132.0-5418_daily_bin1598.fits outfile=/scratch/kocevski/561056/cmap_HighResolution_653529601_653788801_4FGL_J2132.0-5418_daily_bin1598.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.023 yref=-54.3125 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.46
user 0.30
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/561056/ft1_filtered_4FGL_J2132.0-5418_daily_bin1598.fits evtable="EVENTS" scfile=/scratch/kocevski/561056/ft2_4FGL_J2132.0-5418_daily_bin1598.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/561056/Model_4FGL_J2132.0-5418_daily_bin1598.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/561056/ft1_filtered_4FGL_J2132.0-5418_daily_bin1598.fits.....................!
real 49.98
user 48.80
sys 1.04

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/561056/ft1_filtered_4FGL_J2132.0-5418_daily_bin1598.fits', '/scratch/kocevski/561056/ft2_4FGL_J2132.0-5418_daily_bin1598.fits', expMap='/scratch/kocevski/561056/expmap_653529601_653788801_4FGL_J2132.0-5418_daily_bin1598.fits', expCube='/scratch/kocevski/561056/ltcube_653529601_653788801_4FGL_J2132.0-5418_daily_bin1598.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/561056/Model_4FGL_J2132.0-5418_daily_bin1598.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2132.0-5418'

4FGL J2132.0-5418
   Spectrum: PowerLaw
293    Prefactor:  6.328e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
294        Index:  2.416e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
295        Scale:  9.216e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/561056/ft1_filtered_4FGL_J2132.0-5418_daily_bin1598.fits
Spacecraft file(s): /scratch/kocevski/561056/ft2_4FGL_J2132.0-5418_daily_bin1598.fits
Exposure map: /scratch/kocevski/561056/expmap_653529601_653788801_4FGL_J2132.0-5418_daily_bin1598.fits
Exposure cube: /scratch/kocevski/561056/ltcube_653529601_653788801_4FGL_J2132.0-5418_daily_bin1598.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/561056/Model_4FGL_J2132.0-5418_daily_bin1598.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) = 8663.08325979

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .49936       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    2.6802       1.0000         .10000E-03   10000.    
     4 'norm      '    3.4791       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .98077E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    21.070       1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.8403       1.0000         .10000E-03   10000.    
    11 'norm      '    1.4829       1.0000         .10000E-03   10000.    
    12 'norm      '    2.4697       1.0000         .10000E-03   10000.    
    13 'Prefactor '    16.369       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10273E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.1488       1.0000         .10000E-03   10000.    
    16 'Prefactor '    160.55       1.0000         .10000E-03   10000.    
    17 'norm      '    7.7160       1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.9423       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .73718       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0517       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5660E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8663.067     FROM MIGRAD    STATUS=CONVERGED    502 CALLS     2548 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .50036        1.6849        .13241E-05   -.83443E-04
   2  Prefactor     .10000E-03    12.593       -.80805E-06** at limit **
   3  norm          2.6802        1.5439        .61645E-07    .34618E-04
   4  norm          3.4795        2.5205        .10965E-06   -.48343E-04
   5  Prefactor     .10000E-03    19.504        .75845E-06** at limit **
   6  Prefactor     .10000E-03    22.191        .26137E-06** at limit **
   7  Prefactor     .10011E-03    2.4136       -.39807E-06** at limit **
   8  Prefactor     .10000E-03    5.2350       -.12693E-07** at limit **
   9  Prefactor     21.069        17.271       -.89362E-07   -.33005E-04
  10  Prefactor     1.8400        1.9140        .47331E-07    .39295E-04
  11  norm          1.4826        2.5185        .31500E-06    .15964E-04
  12  norm          2.4697        1.0198        .13144E-07   -.33333E-04
  13  Prefactor     16.356        25.895       -.15667E-05   -.14415E-03
  14  Prefactor     .10000E-03    3.1714       -.43185E-06** at limit **
  15  Prefactor     2.1484        2.9268        .34330E-06   -.70546E-05
  16  Prefactor     160.54        89.205       -.11370E-05   -.90816E-04
  17  norm          7.7163        6.3326        .50434E-07   -.13095E-04
  18  Prefactor     5.9419        5.9607        .21043E-06   -.10652E-04
  19  Prefactor     .10000E-03    11.271        .43321E-06** at limit **
  20  Prefactor     .10000E-03    2.7313        .11865E-07** at limit **
  21  Prefactor     .10000E-03    23.623       -.52470E-06** at limit **
  22  Normalizat    .73735        .16819        .67373E-06   -.63032E-04
  23  Prefactor     1.0516        .10794       -.80647E-06    .55831E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.500362
  Prefactor  = 0.0001
  norm       = 2.68019
  norm       = 3.47947
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100108
  Prefactor  = 0.0001
  Prefactor  = 21.0694
  Prefactor  = 1.83997
  norm       = 1.48256
  norm       = 2.46972
  Prefactor  = 16.3563
  Prefactor  = 0.0001
  Prefactor  = 2.14843
  Prefactor  = 160.536
  norm       = 7.71632
  Prefactor  = 5.9419
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.737346
  Prefactor  = 1.0516
 **********
 **   18 **HESSE 
 **********

 FCN=   8663.067     FROM HESSE     STATUS=OK           374 CALLS     2922 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .50036        1.7178        .21491E-03   -1.5567    
   2  Prefactor     .10000E-03    12.879        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.6802        1.5399        .83262E-04   -1.5381    
   4  norm          3.4795        2.5182        .12129E-03   -1.5335    
   5  Prefactor     .10000E-03    19.639        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    22.207        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10011E-03    33.398        .27178E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    5.2383        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     21.069        17.277        .87258E-04   -1.4790    
  10  Prefactor     1.8400        1.9013        .12721E-03   -1.5437    
  11  norm          1.4826        2.4907        .18780E-03   -1.5464    
  12  norm          2.4697        1.0200        .26019E-04   -1.5394    
  13  Prefactor     16.356        26.547        .98995E-04   -1.4899    
  14  Prefactor     .10000E-03    3.1680        .16121E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     2.1484        2.9293        .17656E-03   -1.5415    
  16  Prefactor     160.54        89.751        .15913E-03   -1.3167    
  17  norm          7.7163        6.3289        .14436E-03   -1.5152    
  18  Prefactor     5.9419        5.9821        .16473E-03   -1.5220    
  19  Prefactor     .10000E-03    11.346        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    2.7385        .15021E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    23.683        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .73735        .19086        .31245E-03   -1.0244    
  23  Prefactor     1.0516        .12302        .17856E-03   -.91029    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.22819e-09
Minuit parameter uncertainties:
  1  1.71802
  2  0.000110649
  3  1.5399
  4  2.51827
  5  0.000114328
  6  3.8408e-05
  7  0.00379746
  8  1.00471e-06
  9  17.281
  10  1.90133
  11  2.49091
  12  1.02005
  13  26.5665
  14  1.03396e-05
  15  2.92946
  16  89.827
  17  6.32947
  18  5.98268
  19  5.11657e-05
  20  5.95088e-07
  21  9.25492e-05
  22  0.191033
  23  0.123055
Done.

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

Extracting fit parameters...

4FGL J2132.0-5418
   Spectrum: PowerLaw
293    Prefactor:  2.107e+01  1.728e+01  1.000e-04  1.000e+04 ( 1.000e-13)
294        Index:  2.416e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
295        Scale:  9.216e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
563    Prefactor:  1.052e+00  1.231e-01  0.000e+00  1.000e+01 ( 1.000e+00)
564        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
565        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
562   Normalization:  7.373e-01  1.910e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.53
Ra Dec: 323.023 -54.312
Photon Index (Fixed Index): 2.42 +/- 0.00
Photon Flux (Fixed Index): 3.19e-08 +/- 2.61e-08
Energy Flux (Fixed Index): 1.02e-05 +/- 8.38e-06

TS (Fixed Index): 2.53
Ra Dec: 323.023 -54.312
Photon Flux Upper Limit: 9.15e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.08e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/561056/likelihoodResults_653529601_653788801_4FGL_J2132.0-5418_daily_bin1598.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) = 8662.92205944
delta logL = 0.144523966708

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8662.91618625
delta logL = 0.150397150173

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    26.641       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0766       1.0000          .0000       10.000    
     3 'Normalizat'    .74745       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0473       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5660E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8662.916     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      262 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     26.641        618.16        .19404E-02   -.28451E-03
   2  Index         2.0766        5.9440        .25366       -.48255E-05
   3  Normalizat    .74743        .88523E-01    .70160E-01    .34640E-04
   4  Prefactor     1.0473        .42825E-01    .40069E-01   -.71190E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 26.6407
  Index      = 2.07662
  Normalizat = 0.74743
  Prefactor  = 1.04734
 **********
 **   18 **HESSE 
 **********

 FCN=   8662.916     FROM HESSE     STATUS=OK            31 CALLS      293 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     26.641        22.301        .77615E-04   -1.4675    
   2  Index         2.0766        .57856        .90694E-02   -.62448    
   3  Normalizat    .74743        .17771        .31048E-03   -1.0205    
   4  Prefactor     1.0473        .11984        .17886E-03   -.91168    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.44742e-10
Minuit parameter uncertainties:
  1  22.3078
  2  0.580541
  3  0.177852
  4  0.11987
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/561056': 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) = 8662.91618625
delta logL = 0.150397156978

Extracting fit parameters...

4FGL J2132.0-5418
   Spectrum: PowerLaw
293    Prefactor:  2.664e+01  2.231e+01  1.000e-04  1.000e+04 ( 1.000e-13)
294        Index:  2.077e+00  5.805e-01  0.000e+00  1.000e+01 (-1.000e+00)
295        Scale:  9.216e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
563    Prefactor:  1.047e+00  1.199e-01  0.000e+00  1.000e+01 ( 1.000e+00)
564        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
565        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
562   Normalization:  7.474e-01  1.779e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.83
Ra Dec: 323.023 -54.312
Photon Index (Free Index): 2.08 +/- 0.58
Photon Flux (Free Index): 2.49e-08 +/- 2.41e-08
Energy Flux (Free Index): 1.44e-05 +/- 1.60e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/561056/cmap_HighResolution_653529601_653788801_4FGL_J2132.0-5418_daily_bin1598.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.08e-03', comment='SUCCESS', photon_flux='3.19e-08', energy_flux2='1.44e-05', photon_flux_error='2.61e-08', dlogl='1.50e-01', energy_flux='1.02e-05', photon_flux2='2.49e-08', job_status='DONE', time_completed='2021-09-26 17:39:39.891426', photon_index_error2='0.58', photon_index2='2.08', ts='2.53', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', photon_flux_upper_limit='9.15e-08', energy_flux_error2='1.60e-05', EG='0.74', time_epoch_completed='1632703179.89', return_code='0', job_id='561056', GAL2='1.05', EG2='0.75', return_code2='0', energy_flux_error='8.38e-06', photon_flux_error2='2.41e-08', ts2='2.83', photon_index='2.42' WHERE bin_id='1598' AND source_name='4FGL J2132.0-5418' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 17:39:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0189>
Subject: Job 561056: <4FGL_J2132.0-5418_daily_bin1598> in cluster <slac> Done

Job <4FGL_J2132.0-5418_daily_bin1598> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Sep 26 17:25:35 2021
Job was executed on host(s) <bullet0189>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 17:27:49 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 26 17:27:49 2021
Terminated at Sun Sep 26 17:39:40 2021
Results reported at Sun Sep 26 17:39:40 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2132.0-5418_daily_bin1598 323.023 -54.3125 653529601 653788801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2132.0-5418 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   638.33 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             324.23 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   711 sec.
    Turnaround time :                            845 sec.

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

