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 87 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

number of points = 7471
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2131.0-2746_daily_bin1686
RA = 322.753, Dec = -27.7727
tmin = 676339201, tmax = 676598401
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='520525', job_status='RUN', time_executed='2022-06-11 00:44:36.428056', time_epoch_executed='1654933476.43' WHERE source_name='4FGL J2131.0-2746' and cadence='daily' and bin_id='1686'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/520525

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/520525/ft1_4FGL_J2131.0-2746_daily_bin1686.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/520525/ft2_4FGL_J2131.0-2746_daily_bin1686.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/520525/ft1_4FGL_J2131.0-2746_daily_bin1686.fits outfile=/scratch/kocevski/520525/ft1_filteredMKT_4FGL_J2131.0-2746_daily_bin1686.fits ra=322.753 dec=-27.7727 rad=12.0 tmin=676339201.0 tmax=676598401.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 2.87
user 2.62
sys 0.21

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

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

Number of photons that the gtmktime cut: 607

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/520525/ft1_filtered_4FGL_J2131.0-2746_daily_bin1686.fits" evtable="EVENTS" scfile=/scratch/kocevski/520525/ft2_4FGL_J2131.0-2746_daily_bin1686.fits sctable="SC_DATA" outfile=/scratch/kocevski/520525/ltcube_676339201_676598401_4FGL_J2131.0-2746_daily_bin1686.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/520525/ft2_4FGL_J2131.0-2746_daily_bin1686.fits
.....................!
real 16.73
user 16.22
sys 0.40

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/520525/ft1_filtered_4FGL_J2131.0-2746_daily_bin1686.fits evtable="EVENTS" scfile=/scratch/kocevski/520525/ft2_4FGL_J2131.0-2746_daily_bin1686.fits sctable="SC_DATA" expcube=/scratch/kocevski/520525/ltcube_676339201_676598401_4FGL_J2131.0-2746_daily_bin1686.fits outfile=/scratch/kocevski/520525/expmap_676339201_676598401_4FGL_J2131.0-2746_daily_bin1686.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/520525/ltcube_676339201_676598401_4FGL_J2131.0-2746_daily_bin1686.fits
.....................!
real 195.95
user 189.29
sys 6.09

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/520525/ft1_filtered_4FGL_J2131.0-2746_daily_bin1686.fits scfile=/scratch/kocevski/520525/ft2_4FGL_J2131.0-2746_daily_bin1686.fits outfile=/scratch/kocevski/520525/cmap_676339201_676598401_4FGL_J2131.0-2746_daily_bin1686.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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/520525/ft1_filtered_4FGL_J2131.0-2746_daily_bin1686.fits scfile=/scratch/kocevski/520525/ft2_4FGL_J2131.0-2746_daily_bin1686.fits outfile=/scratch/kocevski/520525/cmap_HighResolution_676339201_676598401_4FGL_J2131.0-2746_daily_bin1686.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.57
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/520525/ft1_filtered_4FGL_J2131.0-2746_daily_bin1686.fits evtable="EVENTS" scfile=/scratch/kocevski/520525/ft2_4FGL_J2131.0-2746_daily_bin1686.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/520525/Model_4FGL_J2131.0-2746_daily_bin1686.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/520525/ft1_filtered_4FGL_J2131.0-2746_daily_bin1686.fits.....................!
real 58.08
user 56.54
sys 1.33

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/520525/ft1_filtered_4FGL_J2131.0-2746_daily_bin1686.fits', '/scratch/kocevski/520525/ft2_4FGL_J2131.0-2746_daily_bin1686.fits', expMap='/scratch/kocevski/520525/expmap_676339201_676598401_4FGL_J2131.0-2746_daily_bin1686.fits', expCube='/scratch/kocevski/520525/ltcube_676339201_676598401_4FGL_J2131.0-2746_daily_bin1686.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/520525/Model_4FGL_J2131.0-2746_daily_bin1686.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  1.000e-04  1.000e+04 ( 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  0.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/520525/ft1_filtered_4FGL_J2131.0-2746_daily_bin1686.fits
Spacecraft file(s): /scratch/kocevski/520525/ft2_4FGL_J2131.0-2746_daily_bin1686.fits
Exposure map: /scratch/kocevski/520525/expmap_676339201_676598401_4FGL_J2131.0-2746_daily_bin1686.fits
Exposure cube: /scratch/kocevski/520525/ltcube_676339201_676598401_4FGL_J2131.0-2746_daily_bin1686.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/520525/Model_4FGL_J2131.0-2746_daily_bin1686.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) = 6692.84438356

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.753       1.0000         .10000E-03   10000.    
     2 'Prefactor '    158.63       1.0000         .10000E-03   10000.    
     3 'norm      '    .10117E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10549E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    19.416       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    7.5235       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.1816       1.0000         .10000E-03   10000.    
    10 'Prefactor '    15.463       1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.5761       1.0000         .10000E-03   10000.    
    12 'norm      '    .64185E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .46864       1.0000         .10000E-03   10000.    
    16 'norm      '    .78414       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .99629       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .92456       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.

 FCN=   6692.838     FROM MIGRAD    STATUS=CONVERGED    414 CALLS     2042 TOTAL
                     EDM=   .47E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.747        16.257        .24636E-06    .60938E-05
   2  Prefactor     158.60        111.80        .18045E-06   -.31185E-04
   3  norm          .10000E-03    49.996       -.83575E-06** at limit **
   4  Prefactor     .10000E-03    64.231        .29538E-06** at limit **
   5  Prefactor     19.375        34.950       -.51341E-06   -.83579E-04
   6  Prefactor     .10000E-03    3.8771        .88610E-07** at limit **
   7  norm          7.5236        5.5797       -.42860E-07   -.75041E-05
   8  Prefactor     .10000E-03    2.3515        .15445E-06** at limit **
   9  Prefactor     1.1771        20.245        .60602E-05    .14580E-03
  10  Prefactor     15.463        11.315        .46120E-07   -.21902E-04
  11  Prefactor     3.5854        10.818       -.24787E-05   -.13393E-03
  12  norm          .10029E-03    9.1160       -.21309E-05** at limit **
  13  Prefactor     .10000E-03    5.8223        .75334E-07** at limit **
  14  Prefactor     .10000E-03    28.862        .23720E-06** at limit **
  15  norm          .47057        2.1537        .41420E-06    .82490E-04
  16  norm          .78416        .30047       -.24561E-07   -.15161E-03
  17  Prefactor     .10000E-03    2.5768        .14997E-06** at limit **
  18  Prefactor     .10000E-03    4.2062        .12985E-06** at limit **
  19  Normalizat    .99646        .19505       -.21572E-05    .11089E-03
  20  Prefactor     .92447        .11615        .54499E-06   -.11464E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.7473
  Prefactor  = 158.601
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 19.3748
  Prefactor  = 0.0001
  norm       = 7.52356
  Prefactor  = 0.0001
  Prefactor  = 1.17706
  Prefactor  = 15.4629
  Prefactor  = 3.58536
  norm       = 0.000100293
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.470571
  norm       = 0.784157
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.996465
  Prefactor  = 0.924473
 **********
 **   18 **HESSE 
 **********

 FCN=   6692.838     FROM HESSE     STATUS=OK           299 CALLS     2341 TOTAL
                     EDM=   .56E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.747        16.252        .11217E-03   -1.4994    
   2  Prefactor     158.60        111.66        .16007E-03   -1.3183    
   3  norm          .10000E-03    50.175        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    65.683        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     19.375        34.903        .90896E-04   -1.4827    
   6  Prefactor     .10000E-03    3.9165        .15730E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          7.5236        5.5809        .14621E-03   -1.5159    
   8  Prefactor     .10000E-03    2.3638        .12253E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.1771        21.060        .42041E-03   -1.5491    
  10  Prefactor     15.463        11.316        .10185E-03   -1.4921    
  11  Prefactor     3.5854        10.975        .21370E-03   -1.5329    
  12  norm          .10029E-03    52.940        .40930E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    5.8294        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    28.909        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .47057        6.5161        .21080E-02   -1.5571    
  16  norm          .78416        .30036        .26128E-04   -1.5531    
  17  Prefactor     .10000E-03    2.5940        .12827E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    4.2145        .16388E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .99646        .21533        .28384E-03   -.93149    
  20  Prefactor     .92447        .13246        .18686E-03   -.95291    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.57936e-09
Minuit parameter uncertainties:
  1  16.2579
  2  111.808
  3  7.18454e-08
  4  0.000214684
  5  34.9401
  6  6.11375e-06
  7  5.58127
  8  3.21729e-06
  9  9.96142
  10  11.3176
  11  10.9816
  12  0.00788371
  13  3.59695e-06
  14  2.89091e-05
  15  3.50225
  16  0.300365
  17  3.71013e-06
  18  4.4935e-06
  19  0.215519
  20  0.132507
Done.

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

Extracting fit parameters...

4FGL J2131.0-2746
   Spectrum: LogParabola
257         norm:  7.524e+00  5.581e+00  1.000e-04  1.000e+04 ( 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  0.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.245e-01  1.325e-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.965e-01  2.155e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.56
Ra Dec: 322.753 -27.773
Photon Index (Fixed Index): 1.62 +/- 0.00
Photon Flux (Fixed Index): 1.29e-08 +/- 9.57e-09
Energy Flux (Fixed Index): 2.59e-05 +/- 1.92e-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) = 6692.75263167
delta logL = 0.0856643370544

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6692.74958898
delta logL = 0.0887070268564

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.9641       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.3712       1.0000          .0000       5.0000    
     3 'Normalizat'    .99778       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92470       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=   6692.750     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      199 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.9668        242.56        .35520E-02   -.10137E-03
   2  alpha         1.3712        3.7834        .46643        .31581E-05
   3  Normalizat    .99776        .18988        .46139E-01    .48625E-04
   4  Prefactor     .92469        .84618E-01    .45319E-01    .22781E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 7.96684
  alpha      = 1.37119
  Normalizat = 0.997757
  Prefactor  = 0.924687
 **********
 **   18 **HESSE 
 **********

 FCN=   6692.750     FROM HESSE     STATUS=OK            33 CALLS      232 TOTAL
                     EDM=   .32E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.9668        5.9351        .14208E-03   -1.5143    
   2  alpha         1.3712        .57078        .17504E-01   -.46847    
   3  Normalizat    .99776        .20240        .28369E-03   -.93106    
   4  Prefactor     .92469        .12959        .18684E-03   -.95284    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.16443e-12
Minuit parameter uncertainties:
  1  5.93553
  2  0.577197
  3  0.202552
  4  0.129638
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/520525': 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) = 6692.74958879
delta logL = 0.0887072133119

Extracting fit parameters...

4FGL J2131.0-2746
   Spectrum: LogParabola
257         norm:  7.967e+00  5.936e+00  1.000e-04  1.000e+04 ( 1.000e-13)
258        alpha:  1.371e+00  5.772e-01  0.000e+00  5.000e+00 ( 1.000e+00)
259         beta:  1.212e-01  0.000e+00  0.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.247e-01  1.296e-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.978e-01  2.026e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.73
Ra Dec: 322.753 -27.773
Photon Index (Free Index): 1.37 +/- 0.58
Photon Flux (Free Index): 1.04e-08 +/- 9.02e-09
Energy Flux (Free Index): 3.87e-05 +/- 4.74e-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/520525/cmap_HighResolution_676339201_676598401_4FGL_J2131.0-2746_daily_bin1686.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.29e-08', energy_flux2='3.87e-05', photon_flux_error='9.57e-09', dlogl='8.87e-02', energy_flux='2.59e-05', photon_flux2='1.04e-08', job_status='DONE', time_completed='2022-06-11 00:53:43.109728', photon_index_error2='0.58', photon_index2='1.37', ts='8.56', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', energy_flux_error2='4.74e-05', EG='1.00', time_epoch_completed='1654934023.11', return_code='0', job_id='520525', GAL2='0.92', EG2='1.00', return_code2='0', energy_flux_error='1.92e-05', photon_flux_error2='9.02e-09', ts2='8.73', photon_index='1.62' WHERE bin_id='1686' AND source_name='4FGL J2131.0-2746' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jun 11 00:53:43 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0258>
Subject: Job 520525: <4FGL_J2131.0-2746_daily_bin1686> in cluster <slac> Done

Job <4FGL_J2131.0-2746_daily_bin1686> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Jun 11 00:40:29 2022
Job was executed on host(s) <bullet0258>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jun 11 00:43:00 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jun 11 00:43:00 2022
Terminated at Sat Jun 11 00:53:43 2022
Results reported at Sat Jun 11 00:53:43 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2131.0-2746_daily_bin1686 322.753 -27.7727 676339201 676598401 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 :                                   548.12 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             288.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   643 sec.
    Turnaround time :                            794 sec.

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

