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


Performing analysis on: 4FGL_J2331.0-2147_daily_bin1753
RA = 352.763, Dec = -21.7953
tmin = 693705601, tmax = 693964801
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='469121', job_status='RUN', time_executed='2022-12-29 01:48:12.069287', time_epoch_executed='1672307292.07' WHERE source_name='4FGL J2331.0-2147' and cadence='daily' and bin_id='1753'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/469121

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/469121/ft1_4FGL_J2331.0-2147_daily_bin1753.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/469121/ft2_4FGL_J2331.0-2147_daily_bin1753.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/469121/ft1_4FGL_J2331.0-2147_daily_bin1753.fits outfile=/scratch/kocevski/469121/ft1_filteredMKT_4FGL_J2331.0-2147_daily_bin1753.fits ra=352.763 dec=-21.7953 rad=12.0 tmin=693705601.0 tmax=693964801.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 4.63
user 4.41
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/469121/ft2_4FGL_J2331.0-2147_daily_bin1753.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/469121/ft2_4FGL_J2331.0-2147_daily_bin1753.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/469121/ft1_filteredMKT_4FGL_J2331.0-2147_daily_bin1753.fits evtable="EVENTS" outfile="/scratch/kocevski/469121/ft1_filtered_4FGL_J2331.0-2147_daily_bin1753.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.35
sys 0.15

Number of photons that the gtmktime cut: 603

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/469121/ft1_filtered_4FGL_J2331.0-2147_daily_bin1753.fits" evtable="EVENTS" scfile=/scratch/kocevski/469121/ft2_4FGL_J2331.0-2147_daily_bin1753.fits sctable="SC_DATA" outfile=/scratch/kocevski/469121/ltcube_693705601_693964801_4FGL_J2331.0-2147_daily_bin1753.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/469121/ft2_4FGL_J2331.0-2147_daily_bin1753.fits
.....................!
real 14.51
user 14.16
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/469121/ft1_filtered_4FGL_J2331.0-2147_daily_bin1753.fits evtable="EVENTS" scfile=/scratch/kocevski/469121/ft2_4FGL_J2331.0-2147_daily_bin1753.fits sctable="SC_DATA" expcube=/scratch/kocevski/469121/ltcube_693705601_693964801_4FGL_J2331.0-2147_daily_bin1753.fits outfile=/scratch/kocevski/469121/expmap_693705601_693964801_4FGL_J2331.0-2147_daily_bin1753.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/469121/ltcube_693705601_693964801_4FGL_J2331.0-2147_daily_bin1753.fits
.....................!
real 191.73
user 186.43
sys 4.85

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

Setting source of interest to:
4FGL J2331.0-2147 @ 352.763 -21.7953

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/469121/ft1_filtered_4FGL_J2331.0-2147_daily_bin1753.fits scfile=/scratch/kocevski/469121/ft2_4FGL_J2331.0-2147_daily_bin1753.fits outfile=/scratch/kocevski/469121/cmap_693705601_693964801_4FGL_J2331.0-2147_daily_bin1753.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=352.763 yref=-21.7953 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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/469121/ft1_filtered_4FGL_J2331.0-2147_daily_bin1753.fits scfile=/scratch/kocevski/469121/ft2_4FGL_J2331.0-2147_daily_bin1753.fits outfile=/scratch/kocevski/469121/cmap_HighResolution_693705601_693964801_4FGL_J2331.0-2147_daily_bin1753.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=352.763 yref=-21.7953 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/469121/ft1_filtered_4FGL_J2331.0-2147_daily_bin1753.fits evtable="EVENTS" scfile=/scratch/kocevski/469121/ft2_4FGL_J2331.0-2147_daily_bin1753.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/469121/Model_4FGL_J2331.0-2147_daily_bin1753.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/469121/ft1_filtered_4FGL_J2331.0-2147_daily_bin1753.fits.....................!
real 51.59
user 50.24
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/469121/ft1_filtered_4FGL_J2331.0-2147_daily_bin1753.fits', '/scratch/kocevski/469121/ft2_4FGL_J2331.0-2147_daily_bin1753.fits', expMap='/scratch/kocevski/469121/expmap_693705601_693964801_4FGL_J2331.0-2147_daily_bin1753.fits', expCube='/scratch/kocevski/469121/ltcube_693705601_693964801_4FGL_J2331.0-2147_daily_bin1753.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/469121/Model_4FGL_J2331.0-2147_daily_bin1753.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2331.0-2147'

4FGL J2331.0-2147
   Spectrum: LogParabola
418         norm:  2.017e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
419        alpha:  2.433e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
420         beta:  1.305e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
421           Eb:  9.116e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/469121/ft1_filtered_4FGL_J2331.0-2147_daily_bin1753.fits
Spacecraft file(s): /scratch/kocevski/469121/ft2_4FGL_J2331.0-2147_daily_bin1753.fits
Exposure map: /scratch/kocevski/469121/expmap_693705601_693964801_4FGL_J2331.0-2147_daily_bin1753.fits
Exposure cube: /scratch/kocevski/469121/ltcube_693705601_693964801_4FGL_J2331.0-2147_daily_bin1753.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/469121/Model_4FGL_J2331.0-2147_daily_bin1753.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) = 6571.05249574

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .82874E-05   1.0000          .0000       .10000E+07
     2 'norm      '    5.1237       1.0000          .0000       .10000E+07
     3 'Prefactor '    .32169E-06   1.0000          .0000       .10000E+07
     4 'norm      '    3.7590       1.0000          .0000       .10000E+07
     5 'Prefactor '    .45328E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    4.7847       1.0000          .0000       .10000E+07
     7 'norm      '    2.0627       1.0000          .0000       .10000E+07
     8 'Prefactor '    8.9478       1.0000          .0000       .10000E+07
     9 'Prefactor '    .38409E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .86031E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .60658E-03   1.0000          .0000       .10000E+07
    12 'norm      '    .41644E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    4.7503       1.0000          .0000       .10000E+07
    14 'norm      '    .14154       1.0000          .0000       .10000E+07
    15 'norm      '    6.1485       1.0000          .0000       .10000E+07
    16 'Prefactor '    .69693E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    28.287       1.0000          .0000       .10000E+07
    18 'Normalizat'    .93984       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .68235       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5370E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6571.042     FROM MIGRAD    STATUS=CONVERGED    131 CALLS     1127 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .49230E-05    4.5769       -.59044E-06** at limit **
   2  norm          5.1231        2.2263        .99823E-07   -.32906E-03
   3  Prefactor     .63594E-06    14.434       -.49562E-06** at limit **
   4  norm          3.7572        3.5826       -.72566E-08   -.68955E-02
   5  Prefactor      .0000        4.5870       -.86094E-06** at limit **
   6  Prefactor     4.8017        1.6807        .83888E-08    .53424E-01
   7  norm          2.0622        .63802        .84478E-07   -.16603E-01
   8  Prefactor     8.9350        8.4700       -.23988E-07   -.56444E-02
   9  Prefactor     .13323E-08    3.3874       -.53250E-06** at limit **
  10  Prefactor     .28111E-06    8.4963       -.48468E-06** at limit **
  11  Prefactor     .14616E-06    4.0821       -.58995E-06** at limit **
  12  norm          .26645E-08    4.8887       -.46371E-06** at limit **
  13  Prefactor     4.7724        1.2866        .99298E-08    .23764E-02
  14  norm          .13927        .52050       -.91126E-07** at limit **
  15  norm          6.1827        4.7091        .67251E-08   -.16445E-02
  16  Prefactor     .25976E-05    3.6507       -.57326E-06** at limit **
  17  Prefactor     29.327        30.796        .16938E-06   -.25796E-01
  18  Normalizat    .93904        .15782       -.30545E-06   -.18645E-04
  19  Prefactor     .68277        .15910       -.31103E-05    .56411E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 4.92301e-06
  norm       = 5.12312
  Prefactor  = 6.35936e-07
  norm       = 3.75718
  Prefactor  = 0
  Prefactor  = 4.80175
  norm       = 2.06218
  Prefactor  = 8.93496
  Prefactor  = 1.33227e-09
  Prefactor  = 2.81108e-07
  Prefactor  = 1.46161e-07
  norm       = 2.66454e-09
  Prefactor  = 4.77237
  norm       = 0.139272
  norm       = 6.18272
  Prefactor  = 2.59759e-06
  Prefactor  = 29.3267
  Normalizat = 0.939039
  Prefactor  = 0.682766
 **********
 **   18 **HESSE 
 **********

 FCN=   6571.042     FROM HESSE     STATUS=OK           306 CALLS     1433 TOTAL
                     EDM=   .85E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .49230E-05    11.810        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          5.1231        2.2289        .44392E-03   -1.5663    
   3  Prefactor     .63594E-06    15.235        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          3.7572        3.7462        .52049E-03   -1.5669    
   5  Prefactor      .0000        4.5792        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.8017        8.9517        .45971E-03   -1.5664    
   7  norm          2.0622        .76663        .71919E-03   -1.5679    
   8  Prefactor     8.9350        8.4730        .33483E-03   -1.5648    
   9  Prefactor     .13323E-08    3.3997        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .28111E-06    8.8946        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .14616E-06    10.769        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .26645E-08    4.7275        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.7724        14.257        .46141E-03   -1.5664    
  14  norm          .13927        .57363        .12925E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          6.1827        5.3321        .40464E-03   -1.5658    
  16  Prefactor     .25976E-05    10.190        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     29.327        31.094        .18805E-03   -1.5600    
  18  Normalizat    .93904        .13736        .45409E-01   -.95102    
  19  Prefactor     .68277        .13646        .42166E-01   -1.0421    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.45131e-07
Minuit parameter uncertainties:
  1  0.0152498
  2  2.22888
  3  0.00622531
  4  3.74621
  5  1.19478e-05
  6  8.95168
  7  0.76663
  8  8.47302
  9  0.000133478
  10  0.00316257
  11  0.00250922
  12  0.000224886
  13  14.2568
  14  0.565301
  15  5.33213
  16  0.0102896
  17  31.0938
  18  0.137416
  19  0.136529
Done.

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

Extracting fit parameters...

4FGL J2331.0-2147
   Spectrum: LogParabola
418         norm:  2.665e-09  2.249e-04  0.000e+00  1.000e+06 ( 1.000e-12)
419        alpha:  2.433e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
420         beta:  1.305e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
421           Eb:  9.116e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
534    Prefactor:  6.828e-01  1.365e-01  0.000e+00  1.000e+01 ( 1.000e+00)
535        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
536        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
533   Normalization:  9.390e-01  1.374e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 352.763 -21.795
Photon Flux Upper Limit: 5.49e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.82e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/469121/likelihoodResults_693705601_693964801_4FGL_J2331.0-2147_daily_bin1753.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) = 6571.04467709
delta logL = -0.00218248549663

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6571.04249499
delta logL = -3.88172338717e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .18491E-06   1.0000          .0000       .10000E+07
     2 'alpha     '    1.5724       1.0000          .0000       5.0000    
     3 'Normalizat'    .93899       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .68287       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5370E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6571.042     FROM MIGRAD    STATUS=CONVERGED     31 CALLS      235 TOTAL
                     EDM=   .27E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        4.3490       -.27149E-06** at limit **
   2  alpha         2.6089        1.5203        .23310E-04     .0000    
   3  Normalizat    .93904        .15332       -.12767E-05    .22090E-04
   4  Prefactor     .68277        .15554        .69187E-06    .48435E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 2.6089
  Normalizat = 0.939039
  Prefactor  = 0.682766
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6571.042     FROM HESSE     STATUS=FAILED        13 CALLS      248 TOTAL
                     EDM=   .27E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .94622        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.3758        1.2221        .23310E-04    .43572E-01
   3  Normalizat    .93904        1.2724       -.12767E-05   -.95102    
   4  Prefactor     .68277        1.0324        .69187E-06   -1.0421    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.73992e-12
Minuit parameter uncertainties:
  1  3.38708e-06
  2  1.13573
  3  1.31716
  4  1.06368
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/469121': 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) = 6571.0424946
delta logL = 2.68300937023e-10

Extracting fit parameters...

4FGL J2331.0-2147
   Spectrum: LogParabola
418         norm:  0.000e+00  3.387e-06  0.000e+00  1.000e+06 ( 1.000e-12)
419        alpha:  2.609e+00  1.136e+00  0.000e+00  5.000e+00 ( 1.000e+00)
420         beta:  1.305e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
421           Eb:  9.116e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
534    Prefactor:  6.828e-01  1.064e+00  0.000e+00  1.000e+01 ( 1.000e+00)
535        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
536        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
533   Normalization:  9.390e-01  1.317e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 352.763 -21.795

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/469121/cmap_HighResolution_693705601_693964801_4FGL_J2331.0-2147_daily_bin1753.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.82e-05', job_status='DONE', photon_flux_upper_limit='5.49e-08', time_completed='2022-12-29 01:56:50.703962', job_id='469121', GAL2='0.68', fit_tolerance='1e-08', EG2='0.94', EG='0.94', time_epoch_completed='1672307810.7', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.68', dlogl='2.68e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1753' AND source_name='4FGL J2331.0-2147' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Dec 29 01:56:50 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0237>
Subject: Job 469121: <4FGL_J2331.0-2147_daily_bin1753> in cluster <slac> Done

Job <4FGL_J2331.0-2147_daily_bin1753> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Dec 29 01:45:22 2022
Job was executed on host(s) <bullet0237>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Dec 29 01:46:40 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Dec 29 01:46:40 2022
Terminated at Thu Dec 29 01:56:51 2022
Results reported at Thu Dec 29 01:56:51 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2331.0-2147_daily_bin1753 352.763 -21.7953 693705601 693964801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2331.0-2147 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   520.41 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             320.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   610 sec.
    Turnaround time :                            689 sec.

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

