aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 69 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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


Performing analysis on: 4FGL_J2131.0-2746_weekly_bin749
RA = 322.753, Dec = -27.7727
tmin = 691977601, tmax = 692582401
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='541881', job_status='RUN', time_executed='2022-12-13 01:51:41.789380', time_epoch_executed='1670925101.79' WHERE source_name='4FGL J2131.0-2746' and cadence='weekly' and bin_id='749'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/541881

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/541881/ft1_4FGL_J2131.0-2746_weekly_bin749.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/541881/ft2_4FGL_J2131.0-2746_weekly_bin749.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/541881/ft1_4FGL_J2131.0-2746_weekly_bin749.fits outfile=/scratch/kocevski/541881/ft1_filteredMKT_4FGL_J2131.0-2746_weekly_bin749.fits ra=322.753 dec=-27.7727 rad=12.0 tmin=691977601.0 tmax=692582401.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 9.28
user 8.94
sys 0.30

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/541881/ft2_4FGL_J2131.0-2746_weekly_bin749.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/541881/ft2_4FGL_J2131.0-2746_weekly_bin749.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/541881/ft1_filteredMKT_4FGL_J2131.0-2746_weekly_bin749.fits evtable="EVENTS" outfile="/scratch/kocevski/541881/ft1_filtered_4FGL_J2131.0-2746_weekly_bin749.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.56
user 0.37
sys 0.17

Number of photons that the gtmktime cut: 1027

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/541881/ft1_filtered_4FGL_J2131.0-2746_weekly_bin749.fits" evtable="EVENTS" scfile=/scratch/kocevski/541881/ft2_4FGL_J2131.0-2746_weekly_bin749.fits sctable="SC_DATA" outfile=/scratch/kocevski/541881/ltcube_691977601_692582401_4FGL_J2131.0-2746_weekly_bin749.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/541881/ft2_4FGL_J2131.0-2746_weekly_bin749.fits
.....................!
real 27.84
user 27.41
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/541881/ft1_filtered_4FGL_J2131.0-2746_weekly_bin749.fits evtable="EVENTS" scfile=/scratch/kocevski/541881/ft2_4FGL_J2131.0-2746_weekly_bin749.fits sctable="SC_DATA" expcube=/scratch/kocevski/541881/ltcube_691977601_692582401_4FGL_J2131.0-2746_weekly_bin749.fits outfile=/scratch/kocevski/541881/expmap_691977601_692582401_4FGL_J2131.0-2746_weekly_bin749.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/541881/ltcube_691977601_692582401_4FGL_J2131.0-2746_weekly_bin749.fits
.....................!
real 194.32
user 187.92
sys 5.84

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

Setting source of interest to:
4FGL J2131.0-2746 @ 322.753 -27.7727

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/541881/ft1_filtered_4FGL_J2131.0-2746_weekly_bin749.fits scfile=/scratch/kocevski/541881/ft2_4FGL_J2131.0-2746_weekly_bin749.fits outfile=/scratch/kocevski/541881/cmap_691977601_692582401_4FGL_J2131.0-2746_weekly_bin749.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=322.753 yref=-27.7727 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.59
user 0.41
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/541881/ft1_filtered_4FGL_J2131.0-2746_weekly_bin749.fits scfile=/scratch/kocevski/541881/ft2_4FGL_J2131.0-2746_weekly_bin749.fits outfile=/scratch/kocevski/541881/cmap_HighResolution_691977601_692582401_4FGL_J2131.0-2746_weekly_bin749.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=322.753 yref=-27.7727 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.59
user 0.42
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/541881/ft1_filtered_4FGL_J2131.0-2746_weekly_bin749.fits evtable="EVENTS" scfile=/scratch/kocevski/541881/ft2_4FGL_J2131.0-2746_weekly_bin749.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/541881/Model_4FGL_J2131.0-2746_weekly_bin749.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/541881/ft1_filtered_4FGL_J2131.0-2746_weekly_bin749.fits.....................!
real 93.59
user 92.11
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/541881/ft1_filtered_4FGL_J2131.0-2746_weekly_bin749.fits', '/scratch/kocevski/541881/ft2_4FGL_J2131.0-2746_weekly_bin749.fits', expMap='/scratch/kocevski/541881/expmap_691977601_692582401_4FGL_J2131.0-2746_weekly_bin749.fits', expCube='/scratch/kocevski/541881/ltcube_691977601_692582401_4FGL_J2131.0-2746_weekly_bin749.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/541881/Model_4FGL_J2131.0-2746_weekly_bin749.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2131.0-2746'

4FGL J2131.0-2746
   Spectrum: LogParabola
257         norm:  1.458e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
258        alpha:  1.622e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
259         beta:  1.212e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
260           Eb:  2.442e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/541881/ft1_filtered_4FGL_J2131.0-2746_weekly_bin749.fits
Spacecraft file(s): /scratch/kocevski/541881/ft2_4FGL_J2131.0-2746_weekly_bin749.fits
Exposure map: /scratch/kocevski/541881/expmap_691977601_692582401_4FGL_J2131.0-2746_weekly_bin749.fits
Exposure cube: /scratch/kocevski/541881/ltcube_691977601_692582401_4FGL_J2131.0-2746_weekly_bin749.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/541881/Model_4FGL_J2131.0-2746_weekly_bin749.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) = 11725.457247

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .22132E-03   1.0000          .0000       .10000E+07
     2 'norm      '    .52755E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    21.273       1.0000          .0000       .10000E+07
     4 'Prefactor '    10.100       1.0000          .0000       .10000E+07
     5 'Prefactor '    4.3986       1.0000          .0000       .10000E+07
     6 'norm      '    3.5404       1.0000          .0000       .10000E+07
     7 'Prefactor '    6.1589       1.0000          .0000       .10000E+07
     8 'Prefactor '    .67754E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    10.132       1.0000          .0000       .10000E+07
    10 'Prefactor '    .45682E-03   1.0000          .0000       .10000E+07
    11 'norm      '    .60643E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    .41387E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    148.01       1.0000          .0000       .10000E+07
    14 'norm      '    .43059E-04   1.0000          .0000       .10000E+07
    15 'norm      '    1.0617       1.0000          .0000       .10000E+07
    16 'Prefactor '    .32149E-05   1.0000          .0000       .10000E+07
    17 'Prefactor '    .24721E-02   1.0000          .0000       .10000E+07
    18 'Normalizat'    1.2365       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .96129       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11725.33     FROM MIGRAD    STATUS=CONVERGED    176 CALLS     1474 TOTAL
                     EDM=   .27E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.8472       -.30845E-06** at limit **
   2  norm          .16653E-09    7.4457       -.77404E-06** at limit **
   3  Prefactor     21.656        18.863        .29269E-06   -.49987E-03
   4  Prefactor     10.081        4.1731        .64800E-06   -.10473E-01
   5  Prefactor     4.3527        5.8082        .75212E-06   -.10386E-02
   6  norm          3.5381        3.5368       -.12225E-06    .12057E-02
   7  Prefactor     6.2004        6.2420        .55994E-06   -.30240E-02
   8  Prefactor     .89373E-08    443.03        .11709E-05** at limit **
   9  Prefactor     9.8675        11.365       -.17576E-05   -.38007E-02
  10  Prefactor      .0000        3.5063       -.74323E-07** at limit **
  11  norm           .0000        1.5552        .74799E-07** at limit **
  12  Prefactor     .16098E-08    15.352       -.11806E-05** at limit **
  13  Prefactor     154.65        63.137        .18226E-06    .41867E-03
  14  norm          .38858E-09    3.8759        .77487E-06** at limit **
  15  norm          1.0575        .31786       -.13988E-07   -.12836E-01
  16  Prefactor      .0000        2.1602       -.81523E-07** at limit **
  17  Prefactor     .11102E-09    8.7015        .52997E-06** at limit **
  18  Normalizat    1.2317        .20101        .27595E-04    .34940E-04
  19  Prefactor     .96258        .11200       -.10137E-04    .70321E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 1.66533e-10
  Prefactor  = 21.6555
  Prefactor  = 10.0808
  Prefactor  = 4.35267
  norm       = 3.53813
  Prefactor  = 6.20043
  Prefactor  = 8.9373e-09
  Prefactor  = 9.86749
  Prefactor  = 0
  norm       = 0
  Prefactor  = 1.60982e-09
  Prefactor  = 154.653
  norm       = 3.88578e-10
  norm       = 1.05755
  Prefactor  = 0
  Prefactor  = 1.11022e-10
  Normalizat = 1.2317
  Prefactor  = 0.962577
 **********
 **   18 **HESSE 
 **********

 FCN=   11725.33     FROM HESSE     STATUS=OK           312 CALLS     1786 TOTAL
                     EDM=   .13E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.8514        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .16653E-09    7.4521        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     21.656        19.031        .21688E-03   -1.5615    
   4  Prefactor     10.081        12.753        .31504E-03   -1.5644    
   5  Prefactor     4.3527        5.8316        .47996E-03   -1.5666    
   6  norm          3.5381        3.5354        .53696E-03   -1.5670    
   7  Prefactor     6.2004        6.2445        .40429E-03   -1.5658    
   8  Prefactor     .89373E-08    6.7047        .61770E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     9.8675        12.007        .31455E-03   -1.5645    
  10  Prefactor      .0000        3.5368        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        1.5606        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .16098E-08    15.343        .15902E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     154.65        63.355        .82204E-04   -1.5459    
  14  norm          .38858E-09    3.8152        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.0575        .31916        .72701E-03   -1.5687    
  16  Prefactor      .0000        2.1700        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .11102E-09    8.6962        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.2317        .17327        .71702E-01   -.85629    
  19  Prefactor     .96258        .94773E-01    .45781E-01   -.93988    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.2934e-07
Minuit parameter uncertainties:
  1  1.29058e-05
  2  6.43562e-05
  3  19.0315
  4  12.7532
  5  5.83163
  6  3.53543
  7  6.24455
  8  0.000490183
  9  12.0066
  10  7.75481e-06
  11  1.88914e-06
  12  0.00031606
  13  63.3549
  14  7.69497e-05
  15  0.319163
  16  1.31736e-06
  17  5.57189e-05
  18  0.173351
  19  0.0947893
Done.

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

Extracting fit parameters...

4FGL J2131.0-2746
   Spectrum: LogParabola
257         norm:  3.538e+00  3.535e+00  0.000e+00  1.000e+06 ( 1.000e-13)
258        alpha:  1.622e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
259         beta:  1.212e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
260           Eb:  2.442e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
512    Prefactor:  9.626e-01  9.479e-02  0.000e+00  1.000e+01 ( 1.000e+00)
513        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
514        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
511   Normalization:  1.232e+00  1.734e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.47
Ra Dec: 322.753 -27.773
Photon Index (Fixed Index): 1.62 +/- 0.00
Photon Flux (Fixed Index): 6.07e-09 +/- 6.06e-09
Energy Flux (Fixed Index): 1.22e-05 +/- 1.22e-05

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) = 11725.3318116
delta logL = 2.38811298914e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11725.3318115
delta logL = 2.46701711148e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.5381       1.0000          .0000       .10000E+07
     2 'alpha     '    1.6240       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2317       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96260       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5150E+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=   11725.33     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      239 TOTAL
                     EDM=   .56E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.5381        3.5467        .19854E-04    .70202E-02
   2  alpha         1.6240        .84493        .28819E-01    .55349E-04
   3  Normalizat    1.2317        .19269        .31728E-03    .27232E-05
   4  Prefactor     .96257        .11005        .20075E-03    .13931E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.53813
  alpha      = 1.62402
  Normalizat = 1.23169
  Prefactor  = 0.962572
 **********
 **   18 **HESSE 
 **********

 FCN=   11725.33     FROM HESSE     STATUS=OK            23 CALLS      262 TOTAL
                     EDM=   .56E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.5381        3.5417        .79417E-06   -1.5670    
   2  alpha         1.6240        .84457        .11528E-02   -.35799    
   3  Normalizat    1.2317        .19286        .12691E-04   -.85629    
   4  Prefactor     .96257        .11015        .80300E-05   -.93988    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.56471e-10
Minuit parameter uncertainties:
  1  3.54171
  2  0.864044
  3  0.19297
  4  0.11018
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/541881': 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) = 11725.3318115
delta logL = 2.50198718277e-06

Extracting fit parameters...

4FGL J2131.0-2746
   Spectrum: LogParabola
257         norm:  3.538e+00  3.542e+00  0.000e+00  1.000e+06 ( 1.000e-13)
258        alpha:  1.624e+00  8.640e-01  0.000e+00  5.000e+00 ( 1.000e+00)
259         beta:  1.212e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
260           Eb:  2.442e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
512    Prefactor:  9.626e-01  1.102e-01  0.000e+00  1.000e+01 ( 1.000e+00)
513        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
514        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
511   Normalization:  1.232e+00  1.930e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.47
Ra Dec: 322.753 -27.773
Photon Index (Free Index): 1.62 +/- 0.86
Photon Flux (Free Index): 6.08e-09 +/- 9.26e-09
Energy Flux (Free Index): 1.22e-05 +/- 1.67e-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/541881/cmap_HighResolution_691977601_692582401_4FGL_J2131.0-2746_weekly_bin749.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.07e-09', energy_flux2='1.22e-05', photon_flux_error='6.06e-09', dlogl='2.50e-06', energy_flux='1.22e-05', photon_flux2='6.08e-09', job_status='DONE', time_completed='2022-12-13 02:03:20.508814', photon_index_error2='0.86', photon_index2='1.62', ts='5.47', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', energy_flux_error2='1.67e-05', EG='1.23', time_epoch_completed='1670925800.51', return_code='0', job_id='541881', GAL2='0.96', EG2='1.23', return_code2='0', energy_flux_error='1.22e-05', photon_flux_error2='9.26e-09', ts2='5.47', photon_index='1.62' WHERE bin_id='749' AND source_name='4FGL J2131.0-2746' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Dec 13 02:03:20 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0082>
Subject: Job 541881: <4FGL_J2131.0-2746_weekly_bin749> in cluster <slac> Done

Job <4FGL_J2131.0-2746_weekly_bin749> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Dec 13 01:50:19 2022
Job was executed on host(s) <bullet0082>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec 13 01:50:20 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec 13 01:50:20 2022
Terminated at Tue Dec 13 02:03:21 2022
Results reported at Tue Dec 13 02:03:21 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2131.0-2746_weekly_bin749 322.753 -27.7727 691977601 692582401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2131.0-2746 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   699.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             345.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   780 sec.
    Turnaround time :                            782 sec.

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

