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


Performing analysis on: 4FGL_J2131.0-2746_daily_bin1767
RA = 322.753, Dec = -27.7727
tmin = 697334401, tmax = 697593601
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='88769', job_status='RUN', time_executed='2023-02-09 01:53:16.102351', time_epoch_executed='1675936396.1' WHERE source_name='4FGL J2131.0-2746' and cadence='daily' and bin_id='1767'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/88769

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/88769/ft1_4FGL_J2131.0-2746_daily_bin1767.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/88769/ft2_4FGL_J2131.0-2746_daily_bin1767.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/88769/ft1_4FGL_J2131.0-2746_daily_bin1767.fits outfile=/scratch/kocevski/88769/ft1_filteredMKT_4FGL_J2131.0-2746_daily_bin1767.fits ra=322.753 dec=-27.7727 rad=12.0 tmin=697334401.0 tmax=697593601.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.64
user 3.39
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/88769/ft2_4FGL_J2131.0-2746_daily_bin1767.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/88769/ft1_filteredMKT_4FGL_J2131.0-2746_daily_bin1767.fits evtable="EVENTS" outfile="/scratch/kocevski/88769/ft1_filtered_4FGL_J2131.0-2746_daily_bin1767.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.51
user 0.34
sys 0.16

Number of photons that the gtmktime cut: 535

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/88769/ft1_filtered_4FGL_J2131.0-2746_daily_bin1767.fits" evtable="EVENTS" scfile=/scratch/kocevski/88769/ft2_4FGL_J2131.0-2746_daily_bin1767.fits sctable="SC_DATA" outfile=/scratch/kocevski/88769/ltcube_697334401_697593601_4FGL_J2131.0-2746_daily_bin1767.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/88769/ft2_4FGL_J2131.0-2746_daily_bin1767.fits
.....................!
real 14.99
user 14.45
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/88769/ft1_filtered_4FGL_J2131.0-2746_daily_bin1767.fits evtable="EVENTS" scfile=/scratch/kocevski/88769/ft2_4FGL_J2131.0-2746_daily_bin1767.fits sctable="SC_DATA" expcube=/scratch/kocevski/88769/ltcube_697334401_697593601_4FGL_J2131.0-2746_daily_bin1767.fits outfile=/scratch/kocevski/88769/expmap_697334401_697593601_4FGL_J2131.0-2746_daily_bin1767.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/88769/ltcube_697334401_697593601_4FGL_J2131.0-2746_daily_bin1767.fits
.....................!
real 193.46
user 186.53
sys 5.55

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/88769/ft1_filtered_4FGL_J2131.0-2746_daily_bin1767.fits scfile=/scratch/kocevski/88769/ft2_4FGL_J2131.0-2746_daily_bin1767.fits outfile=/scratch/kocevski/88769/cmap_697334401_697593601_4FGL_J2131.0-2746_daily_bin1767.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.55
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/88769/ft1_filtered_4FGL_J2131.0-2746_daily_bin1767.fits scfile=/scratch/kocevski/88769/ft2_4FGL_J2131.0-2746_daily_bin1767.fits outfile=/scratch/kocevski/88769/cmap_HighResolution_697334401_697593601_4FGL_J2131.0-2746_daily_bin1767.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.55
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/88769/ft1_filtered_4FGL_J2131.0-2746_daily_bin1767.fits evtable="EVENTS" scfile=/scratch/kocevski/88769/ft2_4FGL_J2131.0-2746_daily_bin1767.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/88769/Model_4FGL_J2131.0-2746_daily_bin1767.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/88769/ft1_filtered_4FGL_J2131.0-2746_daily_bin1767.fits.....................!
real 55.32
user 53.96
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/88769/ft1_filtered_4FGL_J2131.0-2746_daily_bin1767.fits', '/scratch/kocevski/88769/ft2_4FGL_J2131.0-2746_daily_bin1767.fits', expMap='/scratch/kocevski/88769/expmap_697334401_697593601_4FGL_J2131.0-2746_daily_bin1767.fits', expCube='/scratch/kocevski/88769/ltcube_697334401_697593601_4FGL_J2131.0-2746_daily_bin1767.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/88769/Model_4FGL_J2131.0-2746_daily_bin1767.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/88769/ft1_filtered_4FGL_J2131.0-2746_daily_bin1767.fits
Spacecraft file(s): /scratch/kocevski/88769/ft2_4FGL_J2131.0-2746_daily_bin1767.fits
Exposure map: /scratch/kocevski/88769/expmap_697334401_697593601_4FGL_J2131.0-2746_daily_bin1767.fits
Exposure cube: /scratch/kocevski/88769/ltcube_697334401_697593601_4FGL_J2131.0-2746_daily_bin1767.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/88769/Model_4FGL_J2131.0-2746_daily_bin1767.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) = 6031.39556908

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .83267E-09   1.0000          .0000       .10000E+07
     2 'norm      '    10.901       1.0000          .0000       .10000E+07
     3 'Prefactor '     .0000       1.0000          .0000       .10000E+07
     4 'Prefactor '    53.887       1.0000          .0000       .10000E+07
     5 'Prefactor '    6.8183       1.0000          .0000       .10000E+07
     6 'norm      '    11.101       1.0000          .0000       .10000E+07
     7 'Prefactor '    9.8197       1.0000          .0000       .10000E+07
     8 'Prefactor '    5.6466       1.0000          .0000       .10000E+07
     9 'Prefactor '    18.971       1.0000          .0000       .10000E+07
    10 'Prefactor '    .22843E-05   1.0000          .0000       .10000E+07
    11 'norm      '    11.354       1.0000          .0000       .10000E+07
    12 'Prefactor '    .37303E-07   1.0000          .0000       .10000E+07
    13 'Prefactor '    .54684E-06   1.0000          .0000       .10000E+07
    14 'norm      '    10.507       1.0000          .0000       .10000E+07
    15 'norm      '    .96414       1.0000          .0000       .10000E+07
    16 'Prefactor '    14.895       1.0000          .0000       .10000E+07
    17 'Prefactor '    .10991E-07   1.0000          .0000       .10000E+07
    18 'Normalizat'    .82796       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.1308       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=   6031.371     FROM MIGRAD    STATUS=CONVERGED    105 CALLS     1610 TOTAL
                     EDM=   .11E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .77716E-09    6.7548       -.15821E-06** at limit **
   2  norm          10.899        1.1325        .13646E-08   -.41928E-02
   3  Prefactor     .33307E-09    5.8994        .10122E-06** at limit **
   4  Prefactor     53.888        1.9073       -.40909E-08    .35340E-01
   5  Prefactor     6.8193        2.1467       -.48585E-07   -.88902E-02
   6  norm          11.100        3.1970       -.28973E-07   -.39640E-01
   7  Prefactor     9.8203        8.2694       -.25721E-07    .47008E-02
   8  Prefactor     5.6394        8.7277        .32261E-06   -.14946E-02
   9  Prefactor     18.970        1.3184       -.99643E-08    .12010E-02
  10  Prefactor     .22204E-09    14.503        .10243E-06** at limit **
  11  norm          11.354        8.4779       -.54186E-07    .95091E-02
  12  Prefactor     .39968E-08    10.804       -.22058E-06** at limit **
  13  Prefactor     .55511E-10    36.399        .20524E-06** at limit **
  14  norm          10.506        6.7865        .78383E-09   -.11823E-02
  15  norm          .96413        .42634       -.17194E-07    .21113E-02
  16  Prefactor     14.896        1.2825       -.48833E-08    .48723E-02
  17  Prefactor     .21649E-08    9.6079       -.17498E-06** at limit **
  18  Normalizat    .82787        .27170        .19763E-05   -.42526E-05
  19  Prefactor     1.1308        .15634       -.97814E-06    .87155E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.77156e-10
  norm       = 10.8993
  Prefactor  = 3.33067e-10
  Prefactor  = 53.8883
  Prefactor  = 6.81934
  norm       = 11.0996
  Prefactor  = 9.82026
  Prefactor  = 5.63941
  Prefactor  = 18.9697
  Prefactor  = 2.22045e-10
  norm       = 11.3543
  Prefactor  = 3.9968e-09
  Prefactor  = 5.55112e-11
  norm       = 10.5057
  norm       = 0.96413
  Prefactor  = 14.8962
  Prefactor  = 2.16493e-09
  Normalizat = 0.827873
  Prefactor  = 1.13084
 **********
 **   18 **HESSE 
 **********

 FCN=   6031.371     FROM HESSE     STATUS=OK           310 CALLS     1920 TOTAL
                     EDM=   .79E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .77716E-09    6.7942        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          10.899        32.451        .30320E-03   -1.5642    
   3  Prefactor     .33307E-09    5.9224        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     53.888        38.483        .13624E-03   -1.5561    
   5  Prefactor     6.8193        11.463        .38401E-03   -1.5656    
   6  norm          11.100        9.5955        .30045E-03   -1.5641    
   7  Prefactor     9.8203        8.3178        .31953E-03   -1.5645    
   8  Prefactor     5.6394        8.8585        .42251E-03   -1.5660    
   9  Prefactor     18.970        17.267        .22968E-03   -1.5621    
  10  Prefactor     .22204E-09    14.522        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          11.354        8.6577        .29707E-03   -1.5641    
  12  Prefactor     .39968E-08    11.208        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .55511E-10    36.429        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          10.506        6.7896        .30886E-03   -1.5643    
  15  norm          .96413        .42601        .42492E-03   -1.5688    
  16  Prefactor     14.896        12.711        .25925E-03   -1.5631    
  17  Prefactor     .21649E-08    9.8492        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .82787        .25203        .83290E-01   -.99043    
  19  Prefactor     1.1308        .14051        .36518E-01   -.88487    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.87317e-08
Minuit parameter uncertainties:
  1  0.000146928
  2  32.452
  3  9.06922e-05
  4  38.4835
  5  11.4626
  6  9.59549
  7  8.31783
  8  8.85851
  9  17.267
  10  0.000115327
  11  8.6577
  12  0.000422892
  13  0.000109155
  14  6.78958
  15  0.426013
  16  12.7107
  17  0.000292006
  18  0.252383
  19  0.140556
Done.

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

Extracting fit parameters...

4FGL J2131.0-2746
   Spectrum: LogParabola
257         norm:  1.110e+01  9.595e+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:  1.131e+00  1.406e-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:  8.279e-01  2.524e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.95
Ra Dec: 322.753 -27.773
Photon Index (Fixed Index): 1.62 +/- 0.00
Photon Flux (Fixed Index): 1.90e-08 +/- 1.65e-08
Energy Flux (Fixed Index): 3.83e-05 +/- 3.31e-05

TS (Fixed Index): 3.95
Ra Dec: 322.753 -27.773
Photon Flux Upper Limit: 6.38e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.28e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/88769/likelihoodResults_697334401_697593601_4FGL_J2131.0-2746_daily_bin1767.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) = 6030.32886063
delta logL = 1.04200202975

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6030.2993728
delta logL = 1.07148985788

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.2869       1.0000          .0000       .10000E+07
     2 'alpha     '    3.5199       1.0000          .0000       5.0000    
     3 'Normalizat'    .68439       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1736       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.

 FCN=   6030.299     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      252 TOTAL
                     EDM=   .97E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.2870        9.0838        .97659E-03   -.23576E-02
   2  alpha         3.5200        1.7807        .16120        .94157E-04
   3  Normalizat    .68445        .79461E-01    .90575E-01    .14616E-04
   4  Prefactor     1.1736        .43583E-01    .35287E-01   -.20995E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.28696
  alpha      = 3.51997
  Normalizat = 0.68445
  Prefactor  = 1.17356
 **********
 **   18 **HESSE 
 **********

 FCN=   6030.299     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      285 TOTAL
                     EDM=   .35E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.2870        16.123        .44039E-05   -1.5685    
   2  alpha         3.5200        4.0138        .65215E-02    .42025    
   3  Normalizat    .68445        .33443        .40127E-03   -1.0451    
   4  Prefactor     1.1736        .17234        .18623E-03   -.87149    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.53919e-07
Minuit parameter uncertainties:
  1  9.11035
  2  3.0874
  3  0.335427
  4  0.172427
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/88769': 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) = 6030.29937275
delta logL = 1.07148990675

Extracting fit parameters...

4FGL J2131.0-2746
   Spectrum: LogParabola
257         norm:  1.287e+00  9.110e+00  0.000e+00  1.000e+06 ( 1.000e-13)
258        alpha:  3.520e+00  3.087e+00  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:  1.174e+00  1.724e-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:  6.844e-01  3.354e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.25
Ra Dec: 322.753 -27.773
Photon Index (Free Index): 3.52 +/- 3.09
Photon Flux (Free Index): 1.54e-07 +/- 2.07e-07
Energy Flux (Free Index): 2.98e-05 +/- 1.57e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/88769/cmap_HighResolution_697334401_697593601_4FGL_J2131.0-2746_daily_bin1767.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.28e-04', comment='SUCCESS', photon_flux='1.90e-08', energy_flux2='2.98e-05', photon_flux_error='1.65e-08', dlogl='1.07e+00', energy_flux='3.83e-05', photon_flux2='1.54e-07', job_status='DONE', time_completed='2023-02-09 02:02:14.816787', photon_index_error2='3.09', photon_index2='3.52', ts='3.95', fit_tolerance='1e-08', GAL='1.13', photon_index_error='0.00', photon_flux_upper_limit='6.38e-08', energy_flux_error2='1.57e-05', EG='0.83', time_epoch_completed='1675936934.82', return_code='0', job_id='88769', GAL2='1.17', EG2='0.68', return_code2='102', energy_flux_error='3.31e-05', photon_flux_error2='2.07e-07', ts2='6.25', photon_index='1.62' WHERE bin_id='1767' AND source_name='4FGL J2131.0-2746' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Feb  9 02:02:14 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0212>
Subject: Job 88769: <4FGL_J2131.0-2746_daily_bin1767> in cluster <slac> Done

Job <4FGL_J2131.0-2746_daily_bin1767> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Feb  9 01:50:31 2023
Job was executed on host(s) <bullet0212>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Feb  9 01:51:41 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Feb  9 01:51:41 2023
Terminated at Thu Feb  9 02:02:15 2023
Results reported at Thu Feb  9 02:02:15 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2131.0-2746_daily_bin1767 322.753 -27.7727 697334401 697593601 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 :                                   540.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             328.23 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   635 sec.
    Turnaround time :                            704 sec.

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

