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


Performing analysis on: 4FGL_J2131.0-2746_daily_bin1718
RA = 322.753, Dec = -27.7727
tmin = 684633601, tmax = 684892801
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='233188', job_status='RUN', time_executed='2022-09-16 23:18:30.039002', time_epoch_executed='1663395510.04' WHERE source_name='4FGL J2131.0-2746' and cadence='daily' and bin_id='1718'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/233188

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/233188/ft1_4FGL_J2131.0-2746_daily_bin1718.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/233188/ft2_4FGL_J2131.0-2746_daily_bin1718.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/233188/ft1_4FGL_J2131.0-2746_daily_bin1718.fits outfile=/scratch/kocevski/233188/ft1_filteredMKT_4FGL_J2131.0-2746_daily_bin1718.fits ra=322.753 dec=-27.7727 rad=12.0 tmin=684633601.0 tmax=684892801.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.23
user 3.03
sys 0.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/233188/ft2_4FGL_J2131.0-2746_daily_bin1718.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/233188/ft1_filteredMKT_4FGL_J2131.0-2746_daily_bin1718.fits evtable="EVENTS" outfile="/scratch/kocevski/233188/ft1_filtered_4FGL_J2131.0-2746_daily_bin1718.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.50
user 0.34
sys 0.15

Number of photons that the gtmktime cut: 200

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/233188/ft1_filtered_4FGL_J2131.0-2746_daily_bin1718.fits" evtable="EVENTS" scfile=/scratch/kocevski/233188/ft2_4FGL_J2131.0-2746_daily_bin1718.fits sctable="SC_DATA" outfile=/scratch/kocevski/233188/ltcube_684633601_684892801_4FGL_J2131.0-2746_daily_bin1718.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/233188/ft2_4FGL_J2131.0-2746_daily_bin1718.fits
.....................!
real 14.97
user 14.49
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/233188/ft1_filtered_4FGL_J2131.0-2746_daily_bin1718.fits evtable="EVENTS" scfile=/scratch/kocevski/233188/ft2_4FGL_J2131.0-2746_daily_bin1718.fits sctable="SC_DATA" expcube=/scratch/kocevski/233188/ltcube_684633601_684892801_4FGL_J2131.0-2746_daily_bin1718.fits outfile=/scratch/kocevski/233188/expmap_684633601_684892801_4FGL_J2131.0-2746_daily_bin1718.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/233188/ltcube_684633601_684892801_4FGL_J2131.0-2746_daily_bin1718.fits
.....................!
real 193.67
user 187.39
sys 5.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 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/233188/ft1_filtered_4FGL_J2131.0-2746_daily_bin1718.fits scfile=/scratch/kocevski/233188/ft2_4FGL_J2131.0-2746_daily_bin1718.fits outfile=/scratch/kocevski/233188/cmap_684633601_684892801_4FGL_J2131.0-2746_daily_bin1718.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.36
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/233188/ft1_filtered_4FGL_J2131.0-2746_daily_bin1718.fits scfile=/scratch/kocevski/233188/ft2_4FGL_J2131.0-2746_daily_bin1718.fits outfile=/scratch/kocevski/233188/cmap_HighResolution_684633601_684892801_4FGL_J2131.0-2746_daily_bin1718.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.56
user 0.40
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.3464       1.0000          .0000       .10000E+07
     2 'norm      '    27.658       1.0000          .0000       .10000E+07
     3 'Prefactor '    4.3881       1.0000          .0000       .10000E+07
     4 'Prefactor '    44.930       1.0000          .0000       .10000E+07
     5 'Prefactor '    .29663E-05   1.0000          .0000       .10000E+07
     6 'norm      '    .94070E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    3.7702       1.0000          .0000       .10000E+07
     8 'Prefactor '    .22676E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    .46769E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .41347E-05   1.0000          .0000       .10000E+07
    11 'norm      '    28.323       1.0000          .0000       .10000E+07
    12 'Prefactor '    .22604E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .10568       1.0000          .0000       .10000E+07
    14 'norm      '    .55778E-06   1.0000          .0000       .10000E+07
    15 'norm      '    2.4793       1.0000          .0000       .10000E+07
    16 'Prefactor '    1.0289       1.0000          .0000       .10000E+07
    17 'Prefactor '    .75887E-01   1.0000          .0000       .10000E+07
    18 'Normalizat'    1.4064       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .80163       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=   2257.852     FROM MIGRAD    STATUS=CONVERGED    114 CALLS     1364 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.4170        12.786        .49495E-05    .21639E-01
   2  norm          28.215        10.338        .13436E-05    .73152E-02
   3  Prefactor     6.1780        58.140        .91378E-05    .28403E-01
   4  Prefactor     45.868        21.100        .30915E-05   -.16299    
   5  Prefactor     .71498E-07    8.5135        .48714E-05** at limit **
   6  norm          .13837E-05    18.198        .37557E-05** at limit **
   7  Prefactor     3.9048        2.5888        .52080E-06   -.17694E-02
   8  Prefactor     .20539E-08    16.477       -.17742E-06** at limit **
   9  Prefactor     .27023E-05    12.214        .32506E-06** at limit **
  10  Prefactor     .61062E-09    15.416        .18853E-05** at limit **
  11  norm          28.631        4.1350        .37589E-06   -.63594E-02
  12  Prefactor     .17786E-06    19.171       -.42221E-05** at limit **
  13  Prefactor     .11213E-07    69.027        .19893E-05** at limit **
  14  norm          .92981E-07    8.7206       -.51577E-05** at limit **
  15  norm          2.4801        1.2309        .72114E-08    .24445E-01
  16  Prefactor     2.4716        17.080       -.74464E-06    .10778E-01
  17  Prefactor     .95479E-08    39.188        .31762E-06** at limit **
  18  Normalizat    1.3984        .48967       -.11946E-04    .91603E-04
  19  Prefactor     .80086        .24506       -.17317E-04    .27502E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.41696
  norm       = 28.2153
  Prefactor  = 6.17805
  Prefactor  = 45.8684
  Prefactor  = 7.14984e-08
  norm       = 1.38373e-06
  Prefactor  = 3.90478
  Prefactor  = 2.05391e-09
  Prefactor  = 2.70228e-06
  Prefactor  = 6.10623e-10
  norm       = 28.6314
  Prefactor  = 1.77858e-07
  Prefactor  = 1.12133e-08
  norm       = 9.29812e-08
  norm       = 2.4801
  Prefactor  = 2.4716
  Prefactor  = 9.54792e-09
  Normalizat = 1.39842
  Prefactor  = 0.800865
 **********
 **   18 **HESSE 
 **********

 FCN=   2257.852     FROM HESSE     STATUS=OK           302 CALLS     1666 TOTAL
                     EDM=   .16E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.4170        13.015        .39820E-03   -1.5657    
   2  norm          28.215        40.098        .19018E-03   -1.5602    
   3  Prefactor     6.1780        80.233        .48055E-03   -1.5658    
   4  Prefactor     45.868        43.302        .14920E-03   -1.5573    
   5  Prefactor     .71498E-07    8.6197        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .13837E-05    30.192        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.9048        20.011        .51969E-03   -1.5668    
   8  Prefactor     .20539E-08    16.254        .16867E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .27023E-05    27.612        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .61062E-09    15.493        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          28.631        25.179        .18793E-03   -1.5601    
  12  Prefactor     .17786E-06    21.295        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .11213E-07    69.094        .13779E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .92981E-07    8.8625        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.4801        1.2299        .64902E-03   -1.5676    
  16  Prefactor     2.4716        136.29        .12544E-02   -1.5677    
  17  Prefactor     .95479E-08    39.155        .14629E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.3984        .42415        .70948E-01   -.80674    
  19  Prefactor     .80086        .20809        .43738E-01   -.99696    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.55953e-06
Minuit parameter uncertainties:
  1  13.0148
  2  40.0986
  3  44.5286
  4  43.3025
  5  0.00157021
  6  0.0129272
  7  17.6795
  8  0.000364875
  9  0.0172762
  10  0.000197727
  11  25.1791
  12  0.00389255
  13  0.00175842
  14  0.00181575
  15  1.22995
  16  36.7078
  17  0.00122353
  18  0.425226
  19  0.208298
Done.

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

Extracting fit parameters...

4FGL J2131.0-2746
   Spectrum: LogParabola
257         norm:  1.384e-06  1.293e-02  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:  8.009e-01  2.083e-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.398e+00  4.252e-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: 1.09e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.20e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/233188/likelihoodResults_684633601_684892801_4FGL_J2131.0-2746_daily_bin1718.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2257.86776566
delta logL = -0.016210224002

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2256.63917521
delta logL = 1.21238022716

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.2935       1.0000          .0000       .10000E+07
     2 'alpha     '    3.6904       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1629       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85031       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=   2256.639     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      225 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.2930        19.717        .83970E-03    .28548E-01
   2  alpha         3.6909        4.0271        .13383        .19466E-03
   3  Normalizat    1.1625        .14993        .76449E-01   -.75738E-04
   4  Prefactor     .85047        .71797E-01    .44369E-01   -.20577E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.29299
  alpha      = 3.69088
  Normalizat = 1.16254
  Prefactor  = 0.850469
 **********
 **   18 **HESSE 
 **********

 FCN=   2256.639     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      256 TOTAL
                     EDM=   .67E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.2930        30.367        .37550E-05   -1.5685    
   2  alpha         3.6909        4.3020        .56405E-02    .49650    
   3  Normalizat    1.1625        .61156        .33837E-03   -.87768    
   4  Prefactor     .85047        .28976        .19753E-03   -.97894    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.73988e-10
Minuit parameter uncertainties:
  1  12.5324
  2  3.96312
  3  0.615367
  4  0.290285
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/233188': 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) = 2256.63917466
delta logL = 1.21238077782

Extracting fit parameters...

4FGL J2131.0-2746
   Spectrum: LogParabola
257         norm:  1.293e+00  1.253e+01  0.000e+00  1.000e+06 ( 1.000e-13)
258        alpha:  3.691e+00  3.963e+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:  8.505e-01  2.903e-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.163e+00  6.154e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.58
Ra Dec: 322.753 -27.773
Photon Index (Free Index): 3.69 +/- 3.96
Photon Flux (Free Index): 2.45e-07 +/- 3.35e-07
Energy Flux (Free Index): 4.49e-05 +/- 3.44e-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/233188/cmap_HighResolution_684633601_684892801_4FGL_J2131.0-2746_daily_bin1718.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.20e-04', comment='SUCCESS', energy_flux2='4.49e-05', dlogl='1.21e+00', photon_flux2='2.45e-07', job_status='DONE', time_completed='2022-09-16 23:25:03.572393', photon_index_error2='3.96', photon_index2='3.69', ts='-0.00', fit_tolerance='1e-08', GAL='0.80', photon_index_error='0.00', photon_flux_upper_limit='1.09e-07', energy_flux_error2='3.44e-05', EG='1.40', time_epoch_completed='1663395903.57', return_code='0', job_id='233188', GAL2='0.85', EG2='1.16', return_code2='102', photon_flux_error2='3.35e-07', ts2='2.58', photon_index='1.62' WHERE bin_id='1718' AND source_name='4FGL J2131.0-2746' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 23:25:03 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0148>
Subject: Job 233188: <4FGL_J2131.0-2746_daily_bin1718> in cluster <slac> Done

Job <4FGL_J2131.0-2746_daily_bin1718> 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) <bullet0148>, 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:25:04 2022
Results reported at Fri Sep 16 23:25:04 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2131.0-2746_daily_bin1718 322.753 -27.7727 684633601 684892801 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 :                                   394.55 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             311.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   499 sec.
    Turnaround time :                            583 sec.

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

