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


Performing analysis on: 4FGL_J2330.5+1102_daily_bin1735
RA = 352.629, Dec = 11.0479
tmin = 689040001, tmax = 689299201
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='866751', job_status='RUN', time_executed='2022-11-05 00:38:01.474816', time_epoch_executed='1667633881.47' WHERE source_name='4FGL J2330.5+1102' and cadence='daily' and bin_id='1735'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/866751

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/866751/ft1_4FGL_J2330.5+1102_daily_bin1735.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/866751/ft2_4FGL_J2330.5+1102_daily_bin1735.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/866751/ft1_4FGL_J2330.5+1102_daily_bin1735.fits outfile=/scratch/kocevski/866751/ft1_filteredMKT_4FGL_J2330.5+1102_daily_bin1735.fits ra=352.629 dec=11.0479 rad=12.0 tmin=689040001.0 tmax=689299201.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.89
user 2.65
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/866751/ft2_4FGL_J2330.5+1102_daily_bin1735.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/866751/ft2_4FGL_J2330.5+1102_daily_bin1735.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/866751/ft1_filteredMKT_4FGL_J2330.5+1102_daily_bin1735.fits evtable="EVENTS" outfile="/scratch/kocevski/866751/ft1_filtered_4FGL_J2330.5+1102_daily_bin1735.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.41
user 0.25
sys 0.15

Number of photons that the gtmktime cut: 749

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/866751/ft1_filtered_4FGL_J2330.5+1102_daily_bin1735.fits" evtable="EVENTS" scfile=/scratch/kocevski/866751/ft2_4FGL_J2330.5+1102_daily_bin1735.fits sctable="SC_DATA" outfile=/scratch/kocevski/866751/ltcube_689040001_689299201_4FGL_J2330.5+1102_daily_bin1735.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/866751/ft2_4FGL_J2330.5+1102_daily_bin1735.fits
.....................!
real 9.44
user 9.11
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/866751/ft1_filtered_4FGL_J2330.5+1102_daily_bin1735.fits evtable="EVENTS" scfile=/scratch/kocevski/866751/ft2_4FGL_J2330.5+1102_daily_bin1735.fits sctable="SC_DATA" expcube=/scratch/kocevski/866751/ltcube_689040001_689299201_4FGL_J2330.5+1102_daily_bin1735.fits outfile=/scratch/kocevski/866751/expmap_689040001_689299201_4FGL_J2330.5+1102_daily_bin1735.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/866751/ltcube_689040001_689299201_4FGL_J2330.5+1102_daily_bin1735.fits
.....................!
real 145.95
user 141.59
sys 4.14

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

Setting source of interest to:
4FGL J2330.5+1102 @ 352.629 11.0479

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/866751/ft1_filtered_4FGL_J2330.5+1102_daily_bin1735.fits scfile=/scratch/kocevski/866751/ft2_4FGL_J2330.5+1102_daily_bin1735.fits outfile=/scratch/kocevski/866751/cmap_689040001_689299201_4FGL_J2330.5+1102_daily_bin1735.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.629 yref=11.0479 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.45
user 0.30
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/866751/ft1_filtered_4FGL_J2330.5+1102_daily_bin1735.fits scfile=/scratch/kocevski/866751/ft2_4FGL_J2330.5+1102_daily_bin1735.fits outfile=/scratch/kocevski/866751/cmap_HighResolution_689040001_689299201_4FGL_J2330.5+1102_daily_bin1735.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.629 yref=11.0479 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.45
user 0.30
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/866751/ft1_filtered_4FGL_J2330.5+1102_daily_bin1735.fits evtable="EVENTS" scfile=/scratch/kocevski/866751/ft2_4FGL_J2330.5+1102_daily_bin1735.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/866751/Model_4FGL_J2330.5+1102_daily_bin1735.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/866751/ft1_filtered_4FGL_J2330.5+1102_daily_bin1735.fits.....................!
real 70.29
user 69.20
sys 0.97

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/866751/ft1_filtered_4FGL_J2330.5+1102_daily_bin1735.fits', '/scratch/kocevski/866751/ft2_4FGL_J2330.5+1102_daily_bin1735.fits', expMap='/scratch/kocevski/866751/expmap_689040001_689299201_4FGL_J2330.5+1102_daily_bin1735.fits', expCube='/scratch/kocevski/866751/ltcube_689040001_689299201_4FGL_J2330.5+1102_daily_bin1735.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/866751/Model_4FGL_J2330.5+1102_daily_bin1735.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2330.5+1102'

4FGL J2330.5+1102
   Spectrum: PowerLaw
427    Prefactor:  2.056e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
428        Index:  2.787e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
429        Scale:  5.658e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/866751/ft1_filtered_4FGL_J2330.5+1102_daily_bin1735.fits
Spacecraft file(s): /scratch/kocevski/866751/ft2_4FGL_J2330.5+1102_daily_bin1735.fits
Exposure map: /scratch/kocevski/866751/expmap_689040001_689299201_4FGL_J2330.5+1102_daily_bin1735.fits
Exposure cube: /scratch/kocevski/866751/ltcube_689040001_689299201_4FGL_J2330.5+1102_daily_bin1735.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/866751/Model_4FGL_J2330.5+1102_daily_bin1735.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) = 8242.91209674

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    27.783       1.0000          .0000       .10000E+07
     2 'Prefactor '    2.7969       1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.9483       1.0000          .0000       .10000E+07
     4 'Prefactor '    .10010E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .28674E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    .79182E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    3.5515       1.0000          .0000       .10000E+07
     8 'Prefactor '    9.7965       1.0000          .0000       .10000E+07
     9 'Prefactor '    .30902       1.0000          .0000       .10000E+07
    10 'norm      '    28.242       1.0000          .0000       .10000E+07
    11 'Prefactor '    .83239E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    23.601       1.0000          .0000       .10000E+07
    13 'norm      '    24.550       1.0000          .0000       .10000E+07
    14 'Prefactor '    24.177       1.0000          .0000       .10000E+07
    15 'Prefactor '    37.668       1.0000          .0000       .10000E+07
    16 'Prefactor '    5.5541       1.0000          .0000       .10000E+07
    17 'Normalizat'    .62763       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0093       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8242.770     FROM MIGRAD    STATUS=CONVERGED    101 CALLS     1268 TOTAL
                     EDM=   .91E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     27.337        13.220       -.57367E-07   -.19269E-01
   2  Prefactor     2.7975        .29018        .85469E-07    .20086E-02
   3  Prefactor     5.8184        11.184       -.28275E-06    .72087E-02
   4  Prefactor     .20317E-07    6.4627        .82364E-07** at limit **
   5  Prefactor     .34528E-07    5.6077       -.26849E-06** at limit **
   6  Prefactor     .27756E-09    2.7198       -.56443E-07** at limit **
   7  Prefactor     3.6764        9.2084        .19809E-07   -.27246E-01
   8  Prefactor     9.3760        8.3438        .15770E-07    .64646E-01
   9  Prefactor     .67502E-07    115.30        .10916E-05** at limit **
  10  norm          27.616        8.2918        .10578E-06    .10650    
  11  Prefactor     .44409E-09    5.2627        .13266E-06** at limit **
  12  Prefactor     24.421        25.509        .17344E-06   -.27491E-01
  13  norm          24.432        4.7742       -.64853E-07    .99054E-02
  14  Prefactor     24.608        7.4179       -.97352E-08    .26678E-01
  15  Prefactor     37.977        7.9603       -.10093E-06    .11790    
  16  Prefactor     5.5475        5.5852       -.50955E-07   -.29396E-03
  17  Normalizat    .62821        .21543        .29889E-05   -.39787E-04
  18  Prefactor     1.0094        .13296       -.26973E-05   -.17633E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 27.337
  Prefactor  = 2.79753
  Prefactor  = 5.81836
  Prefactor  = 2.03171e-08
  Prefactor  = 3.45279e-08
  Prefactor  = 2.77556e-10
  Prefactor  = 3.67642
  Prefactor  = 9.376
  Prefactor  = 6.75016e-08
  norm       = 27.6163
  Prefactor  = 4.44089e-10
  Prefactor  = 24.4208
  norm       = 24.432
  Prefactor  = 24.6078
  Prefactor  = 37.9771
  Prefactor  = 5.54748
  Normalizat = 0.628207
  Prefactor  = 1.00937
 **********
 **   18 **HESSE 
 **********

 FCN=   8242.770     FROM HESSE     STATUS=OK           286 CALLS     1554 TOTAL
                     EDM=   .76E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     27.337        28.823        .18975E-03   -1.5603    
   2  Prefactor     2.7975        .29154        .34188E-02   -1.5373    
   3  Prefactor     5.8184        15.353        .41149E-03   -1.5660    
   4  Prefactor     .20317E-07    6.5111        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .34528E-07    5.7261        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .27756E-09    2.7170        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.6764        11.483        .53608E-03   -1.5670    
   8  Prefactor     9.3760        20.249        .31992E-03   -1.5647    
   9  Prefactor     .67502E-07    134.44        .10089E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          27.616        11.900        .18820E-03   -1.5603    
  11  Prefactor     .44409E-09    5.2521        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     24.421        30.935        .20589E-03   -1.5609    
  13  norm          24.432        15.265        .20187E-03   -1.5609    
  14  Prefactor     24.608        28.262        .20342E-03   -1.5609    
  15  Prefactor     37.977        29.537        .16295E-03   -1.5585    
  16  Prefactor     5.5475        5.5939        .42607E-03   -1.5661    
  17  Normalizat    .62821        .20014        .89429E-01   -1.0680    
  18  Prefactor     1.0094        .11818        .43425E-01   -.92418    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.56927e-07
Minuit parameter uncertainties:
  1  28.8235
  2  0.291543
  3  15.3535
  4  0.000727065
  5  0.000888944
  6  5.4738e-05
  7  11.4832
  8  20.2492
  9  0.00602464
  10  11.9001
  11  9.65279e-05
  12  30.935
  13  15.2646
  14  28.2624
  15  29.5374
  16  5.59392
  17  0.200371
  18  0.118215
Done.

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

Extracting fit parameters...

4FGL J2330.5+1102
   Spectrum: PowerLaw
427    Prefactor:  4.441e-10  9.653e-05  0.000e+00  1.000e+06 ( 1.000e-12)
428        Index:  2.787e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
429        Scale:  5.658e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  1.009e+00  1.182e-01  0.000e+00  1.000e+01 ( 1.000e+00)
515        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
516        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  6.282e-01  2.004e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 352.629 11.048
Photon Flux Upper Limit: 9.95e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.87e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/866751/likelihoodResults_689040001_689299201_4FGL_J2330.5+1102_daily_bin1735.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) = 8242.77082907
delta logL = -0.000680277606079

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8242.77014925
delta logL = -4.60540832137e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15107E-05   1.0000          .0000       .10000E+07
     2 'Index     '    1.9297       1.0000          .0000       10.000    
     3 'Normalizat'    .62809       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0094       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8242.770     FROM MIGRAD    STATUS=CONVERGED     39 CALLS      240 TOTAL
                     EDM=   .20E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        9.3084       -.10496E-05** at limit **
   2  Index         3.7760        3.6585        .89294E-04     .0000    
   3  Normalizat    .62821        .21028       -.17485E-04    .38629E-04
   4  Prefactor     1.0094        .13222        .92522E-05    .57505E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.77597
  Normalizat = 0.628206
  Prefactor  = 1.00937
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8242.770     FROM HESSE     STATUS=FAILED        13 CALLS      253 TOTAL
                     EDM=   .20E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.5763        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.5651        2.2527        .89294E-04   -.24732    
   3  Normalizat    .62821        .96656       -.17485E-04   -1.0680    
   4  Prefactor     1.0094        1.2670        .92522E-05   -.92418    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.03446e-12
Minuit parameter uncertainties:
  1  5.62715e-06
  2  1.27061
  3  0.99463
  4  1.30766
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/866751': 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) = 8242.77014879
delta logL = 5.27506927028e-11

Extracting fit parameters...

4FGL J2330.5+1102
   Spectrum: PowerLaw
427    Prefactor:  0.000e+00  5.627e-06  0.000e+00  1.000e+06 ( 1.000e-12)
428        Index:  3.776e+00  1.271e+00  0.000e+00  1.000e+01 (-1.000e+00)
429        Scale:  5.658e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  1.009e+00  1.308e+00  0.000e+00  1.000e+01 ( 1.000e+00)
515        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
516        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  6.282e-01  9.946e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 352.629 11.048

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/866751/cmap_HighResolution_689040001_689299201_4FGL_J2330.5+1102_daily_bin1735.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.87e-03', job_status='DONE', photon_flux_upper_limit='9.95e-08', time_completed='2022-11-05 00:45:33.420506', job_id='866751', GAL2='1.01', fit_tolerance='1e-08', EG2='0.63', EG='0.63', time_epoch_completed='1667634333.42', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='5.28e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.79' WHERE bin_id='1735' AND source_name='4FGL J2330.5+1102' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Nov  5 00:45:33 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0086>
Subject: Job 866751: <4FGL_J2330.5+1102_daily_bin1735> in cluster <slac> Done

Job <4FGL_J2330.5+1102_daily_bin1735> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Nov  5 00:35:32 2022
Job was executed on host(s) <bullet0086>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Nov  5 00:35:33 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Nov  5 00:35:33 2022
Terminated at Sat Nov  5 00:45:34 2022
Results reported at Sat Nov  5 00:45:34 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2330.5+1102_daily_bin1735 352.629 11.0479 689040001 689299201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2330.5+1102 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   453.03 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             256.24 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   600 sec.
    Turnaround time :                            602 sec.

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

