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


Performing analysis on: 4FGL_J2331.0-2147_daily_bin1698
RA = 352.763, Dec = -21.7953
tmin = 679449601, tmax = 679708801
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='925822', job_status='RUN', time_executed='2022-07-17 00:36:34.549990', time_epoch_executed='1658043394.55' WHERE source_name='4FGL J2331.0-2147' and cadence='daily' and bin_id='1698'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/925822

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/925822/ft1_4FGL_J2331.0-2147_daily_bin1698.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/925822/ft2_4FGL_J2331.0-2147_daily_bin1698.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/925822/ft1_4FGL_J2331.0-2147_daily_bin1698.fits outfile=/scratch/kocevski/925822/ft1_filteredMKT_4FGL_J2331.0-2147_daily_bin1698.fits ra=352.763 dec=-21.7953 rad=12.0 tmin=679449601.0 tmax=679708801.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.50
user 3.22
sys 0.21

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

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

Number of photons that the gtmktime cut: 510

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/925822/ft1_filtered_4FGL_J2331.0-2147_daily_bin1698.fits" evtable="EVENTS" scfile=/scratch/kocevski/925822/ft2_4FGL_J2331.0-2147_daily_bin1698.fits sctable="SC_DATA" outfile=/scratch/kocevski/925822/ltcube_679449601_679708801_4FGL_J2331.0-2147_daily_bin1698.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/925822/ft2_4FGL_J2331.0-2147_daily_bin1698.fits
.....................!
real 11.82
user 11.48
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/925822/ft1_filtered_4FGL_J2331.0-2147_daily_bin1698.fits evtable="EVENTS" scfile=/scratch/kocevski/925822/ft2_4FGL_J2331.0-2147_daily_bin1698.fits sctable="SC_DATA" expcube=/scratch/kocevski/925822/ltcube_679449601_679708801_4FGL_J2331.0-2147_daily_bin1698.fits outfile=/scratch/kocevski/925822/expmap_679449601_679708801_4FGL_J2331.0-2147_daily_bin1698.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/925822/ltcube_679449601_679708801_4FGL_J2331.0-2147_daily_bin1698.fits
.....................!
real 191.31
user 185.99
sys 4.99

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/925822/ft1_filtered_4FGL_J2331.0-2147_daily_bin1698.fits scfile=/scratch/kocevski/925822/ft2_4FGL_J2331.0-2147_daily_bin1698.fits outfile=/scratch/kocevski/925822/cmap_679449601_679708801_4FGL_J2331.0-2147_daily_bin1698.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.53
user 0.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/925822/ft1_filtered_4FGL_J2331.0-2147_daily_bin1698.fits scfile=/scratch/kocevski/925822/ft2_4FGL_J2331.0-2147_daily_bin1698.fits outfile=/scratch/kocevski/925822/cmap_HighResolution_679449601_679708801_4FGL_J2331.0-2147_daily_bin1698.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.54
user 0.36
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/925822/ft1_filtered_4FGL_J2331.0-2147_daily_bin1698.fits evtable="EVENTS" scfile=/scratch/kocevski/925822/ft2_4FGL_J2331.0-2147_daily_bin1698.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/925822/Model_4FGL_J2331.0-2147_daily_bin1698.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/925822/ft1_filtered_4FGL_J2331.0-2147_daily_bin1698.fits.....................!
real 46.85
user 45.54
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/925822/ft1_filtered_4FGL_J2331.0-2147_daily_bin1698.fits', '/scratch/kocevski/925822/ft2_4FGL_J2331.0-2147_daily_bin1698.fits', expMap='/scratch/kocevski/925822/expmap_679449601_679708801_4FGL_J2331.0-2147_daily_bin1698.fits', expCube='/scratch/kocevski/925822/ltcube_679449601_679708801_4FGL_J2331.0-2147_daily_bin1698.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/925822/Model_4FGL_J2331.0-2147_daily_bin1698.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  1.000e-04  1.000e+04 ( 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  0.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/925822/ft1_filtered_4FGL_J2331.0-2147_daily_bin1698.fits
Spacecraft file(s): /scratch/kocevski/925822/ft2_4FGL_J2331.0-2147_daily_bin1698.fits
Exposure map: /scratch/kocevski/925822/expmap_679449601_679708801_4FGL_J2331.0-2147_daily_bin1698.fits
Exposure cube: /scratch/kocevski/925822/ltcube_679449601_679708801_4FGL_J2331.0-2147_daily_bin1698.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/925822/Model_4FGL_J2331.0-2147_daily_bin1698.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) = 5615.54503891

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    2.2187       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    1.9238       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .80319E-02   1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.7309       1.0000         .10000E-03   10000.    
     7 'norm      '    .29453       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    6.6122       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10079E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10044E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    15.585       1.0000         .10000E-03   10000.    
    14 'Prefactor '    12.253       1.0000         .10000E-03   10000.    
    15 'Prefactor '    15.256       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10041E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    11.803       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10063E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    41.675       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2138       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .55756       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5370E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5615.542     FROM MIGRAD    STATUS=CONVERGED    493 CALLS     2380 TOTAL
                     EDM=   .42E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    5.1632        .37395E-08** at limit **
   2  norm          2.2186        1.8876        .72798E-07   -.18091E-03
   3  Prefactor     .10000E-03    60.200        .95254E-06** at limit **
   4  norm          1.9234        2.3800       -.10816E-06    .18345E-04
   5  Prefactor     .10059E-03    8.1721        .23649E-05** at limit **
   6  Prefactor     5.7200        8.7146       -.38318E-05    .14516E-03
   7  norm          .29434        .50677        .35485E-06    .73618E-03
   8  Prefactor     .10000E-03    3.9129        .55153E-08** at limit **
   9  Prefactor     6.6114        9.0838       -.36436E-06   -.10001E-03
  10  Prefactor     .10000E-03    11.103       -.46464E-06** at limit **
  11  Prefactor     .10000E-03    11.050        .79176E-08** at limit **
  12  norm          .10000E-03    1.6400       -.19446E-06** at limit **
  13  Prefactor     15.515        58.894       -.11577E-05   -.61357E-04
  14  Prefactor     12.262        13.579       -.16580E-06    .89434E-04
  15  Prefactor     15.260        27.703       -.21671E-06    .23904E-04
  16  Prefactor     .10000E-03    34.057        .37978E-07** at limit **
  17  norm          .10000E-03    .21303       -.13124E-06** at limit **
  18  norm          11.803        4.5029        .10059E-06    .33792E-03
  19  Prefactor     .10000E-03    34.261        .35493E-07** at limit **
  20  Prefactor     41.679        38.228       -.14945E-06    .20624E-04
  21  Normalizat    1.2136        .17190        .14640E-05   -.11038E-03
  22  Prefactor     .55776        .15777       -.18200E-05    .15094E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 2.21861
  Prefactor  = 0.0001
  norm       = 1.92336
  Prefactor  = 0.000100585
  Prefactor  = 5.72003
  norm       = 0.294337
  Prefactor  = 0.0001
  Prefactor  = 6.61137
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 15.5153
  Prefactor  = 12.2618
  Prefactor  = 15.2602
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 11.8025
  Prefactor  = 0.0001
  Prefactor  = 41.6788
  Normalizat = 1.21362
  Prefactor  = 0.557762
 **********
 **   18 **HESSE 
 **********

 FCN=   5615.542     FROM HESSE     STATUS=OK           354 CALLS     2734 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    5.1633        .16631E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.2186        1.8785        .92258E-04   -1.5410    
   3  Prefactor     .10000E-03    60.419        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.9234        2.3658        .12295E-03   -1.5431    
   5  Prefactor     .10059E-03    13.884        .69267E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     5.7200        9.9742        .16778E-03   -1.5230    
   7  norm          .29434        .44188        .57099E-03   -1.5599    
   8  Prefactor     .10000E-03    3.9226        .14476E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     6.6114        8.9308        .15606E-03   -1.5194    
  10  Prefactor     .10000E-03    11.113        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    11.052        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    1.6772        .18679E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     15.515        58.440        .10146E-03   -1.4920    
  14  Prefactor     12.262        13.509        .11444E-03   -1.5007    
  15  Prefactor     15.260        27.767        .10254E-03   -1.4926    
  16  Prefactor     .10000E-03    34.068        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    .33892        .63593E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          11.803        4.2977        .89275E-04   -1.5021    
  19  Prefactor     .10000E-03    34.365        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     41.679        38.293        .62096E-04   -1.4416    
  21  Normalizat    1.2136        .19741        .20003E-03   -.86183    
  22  Prefactor     .55776        .17962        .27596E-03   -1.0940    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.08356e-09
Minuit parameter uncertainties:
  1  2.98503e-08
  2  1.87854
  3  0.000254217
  4  2.36595
  5  0.0057024
  6  9.97705
  7  0.441881
  8  1.03241e-06
  9  8.93256
  10  6.05013e-05
  11  1.59657e-05
  12  9.10382e-06
  13  58.6566
  14  13.5127
  15  27.7902
  16  3.59623e-05
  17  7.2744e-06
  18  4.29783
  19  8.54753e-05
  20  38.3155
  21  0.197529
  22  0.179807
Done.

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

Extracting fit parameters...

4FGL J2331.0-2147
   Spectrum: LogParabola
418         norm:  1.000e-04  9.104e-06  1.000e-04  1.000e+04 ( 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  0.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:  5.578e-01  1.798e-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:  1.214e+00  1.975e-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.90e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.96e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/925822/likelihoodResults_679449601_679708801_4FGL_J2331.0-2147_daily_bin1698.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) = 5615.54465462
delta logL = -0.00283626836517

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5615.54181847
delta logL = -1.25036422105e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10041E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4459       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2137       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .55774       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5370E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5615.542     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      204 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.9378        .90712E-02** at limit **
   2  alpha         2.4592        3.5936        .41164       -.40283E-04
   3  Normalizat    1.2136        .15848        .34563E-01    .82336E-04
   4  Prefactor     .55776        .15414        .62370E-01    .19159E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.45916
  Normalizat = 1.21363
  Prefactor  = 0.557759
 **********
 **   18 **HESSE 
 **********

 FCN=   5615.542     FROM HESSE     STATUS=OK            31 CALLS      235 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.7003        .18790E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.4592        3.5424        .50000       -.16335E-01
   3  Normalizat    1.2136        .18084        .20002E-03   -.86183    
   4  Prefactor     .55776        .17562        .27596E-03   -1.0940    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.64972e-09
Minuit parameter uncertainties:
  1  4.20902e-06
  2  2.50001
  3  0.180937
  4  0.175794
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/925822': 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) = 5615.54181793
delta logL = 4.18218405684e-07

Extracting fit parameters...

4FGL J2331.0-2147
   Spectrum: LogParabola
418         norm:  1.000e-04  4.209e-06  1.000e-04  1.000e+04 ( 1.000e-12)
419        alpha:  2.459e+00  2.500e+00  0.000e+00  5.000e+00 ( 1.000e+00)
420         beta:  1.305e-01  0.000e+00  0.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:  5.578e-01  1.758e-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:  1.214e+00  1.809e-01  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/925822/cmap_HighResolution_679449601_679708801_4FGL_J2331.0-2147_daily_bin1698.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.96e-05', job_status='DONE', photon_flux_upper_limit='5.90e-08', time_completed='2022-07-17 00:46:07.131048', job_id='925822', GAL2='0.56', fit_tolerance='1e-08', EG2='1.21', EG='1.21', time_epoch_completed='1658043967.13', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.56', dlogl='4.18e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1698' AND source_name='4FGL J2331.0-2147' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 17 00:46:07 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0249>
Subject: Job 925822: <4FGL_J2331.0-2147_daily_bin1698> in cluster <slac> Done

Job <4FGL_J2331.0-2147_daily_bin1698> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Jul 17 00:35:33 2022
Job was executed on host(s) <bullet0249>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jul 17 00:35:34 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jul 17 00:35:34 2022
Terminated at Sun Jul 17 00:46:07 2022
Results reported at Sun Jul 17 00:46:07 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2331.0-2147_daily_bin1698 352.763 -21.7953 679449601 679708801 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 :                                   575.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             354.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   633 sec.
    Turnaround time :                            634 sec.

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

