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


Performing analysis on: 4FGL_J2131.0-2746_daily_bin1717
RA = 322.753, Dec = -27.7727
tmin = 684374401, tmax = 684633601
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='233187', job_status='RUN', time_executed='2022-09-16 23:17:35.223366', time_epoch_executed='1663395455.22' WHERE source_name='4FGL J2131.0-2746' and cadence='daily' and bin_id='1717'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/233187

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/233187/ft1_4FGL_J2131.0-2746_daily_bin1717.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/233187/ft2_4FGL_J2131.0-2746_daily_bin1717.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/233187/ft1_4FGL_J2131.0-2746_daily_bin1717.fits outfile=/scratch/kocevski/233187/ft1_filteredMKT_4FGL_J2131.0-2746_daily_bin1717.fits ra=322.753 dec=-27.7727 rad=12.0 tmin=684374401.0 tmax=684633601.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 5.11
user 4.81
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/233187/ft2_4FGL_J2131.0-2746_daily_bin1717.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/233187/ft1_filteredMKT_4FGL_J2131.0-2746_daily_bin1717.fits evtable="EVENTS" outfile="/scratch/kocevski/233187/ft1_filtered_4FGL_J2131.0-2746_daily_bin1717.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.34
sys 0.18

Number of photons that the gtmktime cut: 634

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/233187/ft1_filtered_4FGL_J2131.0-2746_daily_bin1717.fits" evtable="EVENTS" scfile=/scratch/kocevski/233187/ft2_4FGL_J2131.0-2746_daily_bin1717.fits sctable="SC_DATA" outfile=/scratch/kocevski/233187/ltcube_684374401_684633601_4FGL_J2131.0-2746_daily_bin1717.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/233187/ft2_4FGL_J2131.0-2746_daily_bin1717.fits
.....................!
real 16.99
user 16.53
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/233187/ft1_filtered_4FGL_J2131.0-2746_daily_bin1717.fits evtable="EVENTS" scfile=/scratch/kocevski/233187/ft2_4FGL_J2131.0-2746_daily_bin1717.fits sctable="SC_DATA" expcube=/scratch/kocevski/233187/ltcube_684374401_684633601_4FGL_J2131.0-2746_daily_bin1717.fits outfile=/scratch/kocevski/233187/expmap_684374401_684633601_4FGL_J2131.0-2746_daily_bin1717.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/233187/ltcube_684374401_684633601_4FGL_J2131.0-2746_daily_bin1717.fits
.....................!
real 192.77
user 186.32
sys 5.63

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/233187/ft1_filtered_4FGL_J2131.0-2746_daily_bin1717.fits scfile=/scratch/kocevski/233187/ft2_4FGL_J2131.0-2746_daily_bin1717.fits outfile=/scratch/kocevski/233187/cmap_684374401_684633601_4FGL_J2131.0-2746_daily_bin1717.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.56
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/233187/ft1_filtered_4FGL_J2131.0-2746_daily_bin1717.fits scfile=/scratch/kocevski/233187/ft2_4FGL_J2131.0-2746_daily_bin1717.fits outfile=/scratch/kocevski/233187/cmap_HighResolution_684374401_684633601_4FGL_J2131.0-2746_daily_bin1717.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.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/233187/ft1_filtered_4FGL_J2131.0-2746_daily_bin1717.fits evtable="EVENTS" scfile=/scratch/kocevski/233187/ft2_4FGL_J2131.0-2746_daily_bin1717.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/233187/Model_4FGL_J2131.0-2746_daily_bin1717.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/233187/ft1_filtered_4FGL_J2131.0-2746_daily_bin1717.fits.....................!
real 58.41
user 56.89
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13815E-03   1.0000          .0000       .10000E+07
     2 'norm      '    .19261E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .12011E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    3.7941       1.0000          .0000       .10000E+07
     5 'Prefactor '    2.3427       1.0000          .0000       .10000E+07
     6 'norm      '    .10421E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .13618E-01   1.0000          .0000       .10000E+07
     8 'Prefactor '    1.1775       1.0000          .0000       .10000E+07
     9 'Prefactor '    .84972E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .90799E-04   1.0000          .0000       .10000E+07
    11 'norm      '    .88945       1.0000          .0000       .10000E+07
    12 'Prefactor '    24.350       1.0000          .0000       .10000E+07
    13 'Prefactor '    32.282       1.0000          .0000       .10000E+07
    14 'norm      '    4.9215       1.0000          .0000       .10000E+07
    15 'norm      '    .74796       1.0000          .0000       .10000E+07
    16 'Prefactor '    5.9604       1.0000          .0000       .10000E+07
    17 'Prefactor '    .10154E-02   1.0000          .0000       .10000E+07
    18 'Normalizat'    .94611       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .94701       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=   6846.371     FROM MIGRAD    STATUS=CONVERGED    177 CALLS     1854 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    3.0390        .10059E-05** at limit **
   2  norm           .0000        9.6565        .41457E-06** at limit **
   3  Prefactor     .55511E-10    7.4210        .11952E-05** at limit **
   4  Prefactor     3.8089        11.332       -.23654E-07   -.10011E-02
   5  Prefactor     2.2425        7.8583        .14572E-05   -.62974E-03
   6  norm          .55511E-10    2.9434       -.23162E-05** at limit **
   7  Prefactor     .88818E-09    27.934       -.65150E-05** at limit **
   8  Prefactor     1.1665        7.8579        .40647E-05   -.20471E-02
   9  Prefactor     .83267E-09    12.653        .16582E-05** at limit **
  10  Prefactor     .55511E-10    107.71       -.35929E-05** at limit **
  11  norm          .90144        5.9684        .79267E-07    .25142E-03
  12  Prefactor     25.121        26.274        .25197E-05    .14557    
  13  Prefactor     29.070        97.064       -.86811E-05    .44153E-01
  14  norm          4.9655        5.1854        .52022E-06   -.75341E-03
  15  norm          .74786        .31270       -.26000E-06    .44057E-01
  16  Prefactor     5.9345        9.0430       -.57343E-06   -.52432E-03
  17  Prefactor     .28866E-08    16.153       -.39436E-05** at limit **
  18  Normalizat    .94833        .23015        .28493E-05    .14028E-04
  19  Prefactor     .94634        .13164       -.31073E-04    .11370E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  norm       = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 3.80889
  Prefactor  = 2.24251
  norm       = 5.55112e-11
  Prefactor  = 8.88178e-10
  Prefactor  = 1.1665
  Prefactor  = 8.32667e-10
  Prefactor  = 5.55112e-11
  norm       = 0.901437
  Prefactor  = 25.1214
  Prefactor  = 29.0697
  norm       = 4.96547
  norm       = 0.747856
  Prefactor  = 5.9345
  Prefactor  = 2.88658e-09
  Normalizat = 0.948335
  Prefactor  = 0.94634
 **********
 **   18 **HESSE 
 **********

 FCN=   6846.371     FROM HESSE     STATUS=OK           310 CALLS     2164 TOTAL
                     EDM=   .37E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    3.0240        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        9.6718        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .55511E-10    7.3722        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.8089        11.395        .51799E-03   -1.5669    
   5  Prefactor     2.2425        7.9148        .66956E-03   -1.5678    
   6  norm          .55511E-10    2.9426        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .88818E-09    27.275        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.1665        7.9891        .10543E-02   -1.5686    
   9  Prefactor     .83267E-09    12.740        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .55511E-10    104.84        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .90144        6.0312        .46492E-03   -1.5689    
  12  Prefactor     25.121        32.783        .20270E-03   -1.5608    
  13  Prefactor     29.070        99.358        .17603E-03   -1.5600    
  14  norm          4.9655        5.4559        .45314E-03   -1.5663    
  15  norm          .74786        .31150        .56897E-03   -1.5691    
  16  Prefactor     5.9345        9.0492        .41106E-03   -1.5659    
  17  Prefactor     .28866E-08    16.154        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .94833        .19360        .66069E-01   -.94782    
  19  Prefactor     .94634        .10983        .45601E-01   -.94540    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.69848e-06
Minuit parameter uncertainties:
  1  2.83639e-05
  2  3.15095e-05
  3  3.72728e-05
  4  11.3947
  5  7.9148
  6  2.25004e-05
  7  0.000314695
  8  6.10552
  9  0.000207771
  10  0.000131818
  11  4.66339
  12  32.7836
  13  99.3639
  14  5.45594
  15  0.311501
  16  9.04917
  17  0.000430056
  18  0.193741
  19  0.10986
Done.

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

Extracting fit parameters...

4FGL J2131.0-2746
   Spectrum: LogParabola
257         norm:  5.551e-11  2.250e-05  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.463e-01  1.099e-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:  9.483e-01  1.937e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 322.753 -27.773
Photon Flux Upper Limit: 2.30e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.63e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/233187/likelihoodResults_684374401_684633601_4FGL_J2131.0-2746_daily_bin1717.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) = 6846.37120436
delta logL = -3.91888388549e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6846.37116559
delta logL = -4.22061020799e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .62117E-07   1.0000          .0000       .10000E+07
     2 'alpha     '    .53767       1.0000          .0000       5.0000    
     3 'Normalizat'    .94816       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94645       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=   6846.371     FROM MIGRAD    STATUS=CONVERGED     29 CALLS      220 TOTAL
                     EDM=   .12E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        2.1067       -.10062E-05** at limit **
   2  alpha         2.3521        2.0069        .14820E-03     .0000    
   3  Normalizat    .94833        .20456       -.41197E-05   -.80227E-04
   4  Prefactor     .94634        .12622        .83496E-05   -.30533E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 2.35209
  Normalizat = 0.948334
  Prefactor  = 0.94634
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6846.371     FROM HESSE     STATUS=FAILED         9 CALLS      229 TOTAL
                     EDM=   .12E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        2.0921        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.1526        1.3819        .14820E-03   -.59200E-01
   3  Normalizat    .94833        1.2811       -.41197E-05   -.94782    
   4  Prefactor     .94634        1.2888        .83496E-05   -.94540    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.15011e-11
Minuit parameter uncertainties:
  1  6.05958e-07
  2  1.46457
  3  1.32644
  4  1.33459
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/233187': 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): 101
logL (Free Index) = 6846.37116517
delta logL = 7.27595761418e-12

Extracting fit parameters...

4FGL J2131.0-2746
   Spectrum: LogParabola
257         norm:  0.000e+00  6.060e-07  0.000e+00  1.000e+06 ( 1.000e-13)
258        alpha:  2.352e+00  1.465e+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:  9.463e-01  1.335e+00  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:  9.483e-01  1.326e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 322.753 -27.773

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/233187/cmap_HighResolution_684374401_684633601_4FGL_J2131.0-2746_daily_bin1717.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.63e-05', job_status='DONE', photon_flux_upper_limit='2.30e-08', time_completed='2022-09-16 23:27:33.472416', job_id='233187', GAL2='0.95', fit_tolerance='1e-08', EG2='0.95', EG='0.95', time_epoch_completed='1663396053.47', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='7.28e-12', ts2='0.00', photon_index_error='0.00', photon_index='1.62' WHERE bin_id='1717' AND source_name='4FGL J2131.0-2746' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 23:27:33 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0280>
Subject: Job 233187: <4FGL_J2131.0-2746_daily_bin1717> in cluster <slac> Done

Job <4FGL_J2131.0-2746_daily_bin1717> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 16 23:15:21 2022
Job was executed on host(s) <bullet0280>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 23:16:44 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 23:16:44 2022
Terminated at Fri Sep 16 23:27:34 2022
Results reported at Fri Sep 16 23:27:34 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2131.0-2746_daily_bin1717 322.753 -27.7727 684374401 684633601 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 :                                   598.31 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             311.29 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   651 sec.
    Turnaround time :                            733 sec.

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

