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


Performing analysis on: 4FGL_J2330.5+1102_daily_bin1763
RA = 352.629, Dec = 11.0479
tmin = 696297601, tmax = 696556801
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='297891', job_status='RUN', time_executed='2023-01-28 01:54:32.819258', time_epoch_executed='1674899672.82' WHERE source_name='4FGL J2330.5+1102' and cadence='daily' and bin_id='1763'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/297891

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/297891/ft1_4FGL_J2330.5+1102_daily_bin1763.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/297891/ft2_4FGL_J2330.5+1102_daily_bin1763.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/297891/ft1_4FGL_J2330.5+1102_daily_bin1763.fits outfile=/scratch/kocevski/297891/ft1_filteredMKT_4FGL_J2330.5+1102_daily_bin1763.fits ra=352.629 dec=11.0479 rad=12.0 tmin=696297601.0 tmax=696556801.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.66
user 3.41
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/297891/ft2_4FGL_J2330.5+1102_daily_bin1763.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/297891/ft1_filteredMKT_4FGL_J2330.5+1102_daily_bin1763.fits evtable="EVENTS" outfile="/scratch/kocevski/297891/ft1_filtered_4FGL_J2330.5+1102_daily_bin1763.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.34
sys 0.16

Number of photons that the gtmktime cut: 641

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/297891/ft1_filtered_4FGL_J2330.5+1102_daily_bin1763.fits" evtable="EVENTS" scfile=/scratch/kocevski/297891/ft2_4FGL_J2330.5+1102_daily_bin1763.fits sctable="SC_DATA" outfile=/scratch/kocevski/297891/ltcube_696297601_696556801_4FGL_J2330.5+1102_daily_bin1763.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/297891/ft2_4FGL_J2330.5+1102_daily_bin1763.fits
.....................!
real 13.96
user 13.39
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/297891/ft1_filtered_4FGL_J2330.5+1102_daily_bin1763.fits evtable="EVENTS" scfile=/scratch/kocevski/297891/ft2_4FGL_J2330.5+1102_daily_bin1763.fits sctable="SC_DATA" expcube=/scratch/kocevski/297891/ltcube_696297601_696556801_4FGL_J2330.5+1102_daily_bin1763.fits outfile=/scratch/kocevski/297891/expmap_696297601_696556801_4FGL_J2330.5+1102_daily_bin1763.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/297891/ltcube_696297601_696556801_4FGL_J2330.5+1102_daily_bin1763.fits
.....................!
real 193.29
user 187.13
sys 5.38

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/297891/ft1_filtered_4FGL_J2330.5+1102_daily_bin1763.fits scfile=/scratch/kocevski/297891/ft2_4FGL_J2330.5+1102_daily_bin1763.fits outfile=/scratch/kocevski/297891/cmap_696297601_696556801_4FGL_J2330.5+1102_daily_bin1763.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.56
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/297891/ft1_filtered_4FGL_J2330.5+1102_daily_bin1763.fits scfile=/scratch/kocevski/297891/ft2_4FGL_J2330.5+1102_daily_bin1763.fits outfile=/scratch/kocevski/297891/cmap_HighResolution_696297601_696556801_4FGL_J2330.5+1102_daily_bin1763.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.57
user 0.41
sys 0.14

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/297891/ft1_filtered_4FGL_J2330.5+1102_daily_bin1763.fits', '/scratch/kocevski/297891/ft2_4FGL_J2330.5+1102_daily_bin1763.fits', expMap='/scratch/kocevski/297891/expmap_696297601_696556801_4FGL_J2330.5+1102_daily_bin1763.fits', expCube='/scratch/kocevski/297891/ltcube_696297601_696556801_4FGL_J2330.5+1102_daily_bin1763.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/297891/Model_4FGL_J2330.5+1102_daily_bin1763.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/297891/ft1_filtered_4FGL_J2330.5+1102_daily_bin1763.fits
Spacecraft file(s): /scratch/kocevski/297891/ft2_4FGL_J2330.5+1102_daily_bin1763.fits
Exposure map: /scratch/kocevski/297891/expmap_696297601_696556801_4FGL_J2330.5+1102_daily_bin1763.fits
Exposure cube: /scratch/kocevski/297891/ltcube_696297601_696556801_4FGL_J2330.5+1102_daily_bin1763.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/297891/Model_4FGL_J2330.5+1102_daily_bin1763.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) = 6811.55671595

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .55511E-10   1.0000          .0000       .10000E+07
     2 'Prefactor '    1.2637       1.0000         .10000E-03   10000.    
     3 'Prefactor '    40.251       1.0000          .0000       .10000E+07
     4 'Prefactor '    11.439       1.0000          .0000       .10000E+07
     5 'Prefactor '    .21094E-08   1.0000          .0000       .10000E+07
     6 'Prefactor '    .12381E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    .74091E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    8.2026       1.0000          .0000       .10000E+07
     9 'Prefactor '    34.475       1.0000          .0000       .10000E+07
    10 'norm      '    .15532E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    .32918E-07   1.0000          .0000       .10000E+07
    12 'Prefactor '    .13372E-03   1.0000          .0000       .10000E+07
    13 'norm      '    11.137       1.0000          .0000       .10000E+07
    14 'Prefactor '    28.634       1.0000          .0000       .10000E+07
    15 'Prefactor '    7.5829       1.0000          .0000       .10000E+07
    16 'Prefactor '    7.8106       1.0000          .0000       .10000E+07
    17 'Normalizat'    .84427       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0329       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=   6811.557     FROM MIGRAD    STATUS=CONVERGED    100 CALLS     1588 TOTAL
                     EDM=   .70E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .32196E-08    14.805       -.19205E-06** at limit **
   2  Prefactor     1.2638        .21340       -.43922E-07    .30888E-03
   3  Prefactor     40.262        1.3402       -.26584E-08    .33477E-01
   4  Prefactor     11.440        6.7514       -.70099E-07    .31319E-03
   5  Prefactor     .88818E-09    12.636       -.39974E-06** at limit **
   6  Prefactor      .0000        9.8297        .11696E-06** at limit **
   7  Prefactor     .55511E-10    6.5580        .81710E-06** at limit **
   8  Prefactor     8.2179        2.9071        .76105E-07    .26329E-02
   9  Prefactor     34.486        1.0739       -.15422E-08    .16316E-01
  10  norm           .0000        2.7807       -.31858E-06** at limit **
  11  Prefactor      .0000        2.3992       -.10089E-06** at limit **
  12  Prefactor     .12768E-08    34.983        .33985E-06** at limit **
  13  norm          11.139        1.0487       -.10793E-07    .84127E-02
  14  Prefactor     28.639        1.5134       -.43999E-08    .43051E-01
  15  Prefactor     7.5660        1.6210       -.59744E-08   -.11761E-01
  16  Prefactor     7.8118        7.0166        .19214E-06   -.19126E-03
  17  Normalizat    .84407        .22738       -.48490E-06   -.23898E-04
  18  Prefactor     1.0328        .14561        .26188E-06   -.38109E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.21965e-09
  Prefactor  = 1.26381
  Prefactor  = 40.2619
  Prefactor  = 11.4402
  Prefactor  = 8.88178e-10
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 8.21785
  Prefactor  = 34.4862
  norm       = 0
  Prefactor  = 0
  Prefactor  = 1.27676e-09
  norm       = 11.139
  Prefactor  = 28.6395
  Prefactor  = 7.56596
  Prefactor  = 7.81182
  Normalizat = 0.844073
  Prefactor  = 1.03284
 **********
 **   18 **HESSE 
 **********

 FCN=   6811.557     FROM HESSE     STATUS=OK           282 CALLS     1870 TOTAL
                     EDM=   .17E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .32196E-08    14.875        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.2638        .21397        .33897E-02   -1.5483    
   3  Prefactor     40.262        33.485        .15764E-03   -1.5581    
   4  Prefactor     11.440        6.7597        .29596E-03   -1.5640    
   5  Prefactor     .88818E-09    12.904        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        9.8337        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .55511E-10    6.5472        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     8.2179        16.472        .34981E-03   -1.5651    
   9  Prefactor     34.486        50.779        .17033E-03   -1.5591    
  10  norm           .0000        2.7838        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        2.4018        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .12768E-08    34.907        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          11.139        12.153        .29995E-03   -1.5641    
  14  Prefactor     28.639        40.176        .18691E-03   -1.5601    
  15  Prefactor     7.5660        21.692        .36394E-03   -1.5653    
  16  Prefactor     7.8118        7.0426        .35855E-03   -1.5652    
  17  Normalizat    .84407        .20658        .75197E-01   -.98454    
  18  Prefactor     1.0328        .12671        .41039E-01   -.91643    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.7159e-07
Minuit parameter uncertainties:
  1  0.000438786
  2  0.213971
  3  33.4856
  4  6.75975
  5  0.000214924
  6  1.38183e-05
  7  2.72386e-05
  8  16.472
  9  50.7796
  10  6.36228e-06
  11  2.99916e-06
  12  0.000418735
  13  12.1526
  14  40.1759
  15  21.692
  16  7.04258
  17  0.206771
  18  0.126752
Done.

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

Extracting fit parameters...

4FGL J2330.5+1102
   Spectrum: PowerLaw
427    Prefactor:  0.000e+00  2.999e-06  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.033e+00  1.268e-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:  8.441e-01  2.068e-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: 7.24e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.73e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/297891/likelihoodResults_696297601_696556801_4FGL_J2330.5+1102_daily_bin1763.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) = 6811.55725771
delta logL = -0.000588255801631

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6811.55667449
delta logL = -5.04267973156e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6811.557     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      269 TOTAL
                     EDM=   .16E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .25958        .42118E-03** at limit **
   2  Index         4.9092        1.9426        .11342E-04     .0000    
   3  Normalizat    .84407        1.1815        .15179E-05   -.14196E-04
   4  Prefactor     1.0328        1.2133        .29834E-06   -.41378E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 4.90919
  Normalizat = 0.844073
  Prefactor  = 1.03284
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6811.557     FROM HESSE     STATUS=FAILED         9 CALLS      278 TOTAL
                     EDM=   .16E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .25958        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4803        2.4361        .11342E-04   -.18164E-01
   3  Normalizat    .84407        1.1815        .15179E-05   -.98454    
   4  Prefactor     1.0328        1.2133        .29834E-06   -.91643    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.59009e-12
Minuit parameter uncertainties:
  1  5.62389e-07
  2  1.99512
  3  1.2208
  4  1.24798
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/297891': 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) = 6811.55666945
delta logL = 0.0

Extracting fit parameters...

4FGL J2330.5+1102
   Spectrum: PowerLaw
427    Prefactor:  0.000e+00  5.624e-07  0.000e+00  1.000e+06 ( 1.000e-12)
428        Index:  4.909e+00  1.995e+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.033e+00  1.248e+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:  8.441e-01  1.221e+00  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/297891/cmap_HighResolution_696297601_696556801_4FGL_J2330.5+1102_daily_bin1763.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.73e-03', job_status='DONE', photon_flux_upper_limit='7.24e-08', time_completed='2023-01-28 02:04:17.209166', job_id='297891', GAL2='1.03', fit_tolerance='1e-08', EG2='0.84', EG='0.84', time_epoch_completed='1674900257.21', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.79' WHERE bin_id='1763' AND source_name='4FGL J2330.5+1102' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jan 28 02:04:17 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0212>
Subject: Job 297891: <4FGL_J2330.5+1102_daily_bin1763> in cluster <slac> Done

Job <4FGL_J2330.5+1102_daily_bin1763> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sat Jan 28 01:50:22 2023
Job was executed on host(s) <bullet0212>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jan 28 01:51:33 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jan 28 01:51:33 2023
Terminated at Sat Jan 28 02:04:18 2023
Results reported at Sat Jan 28 02:04:18 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2330.5+1102_daily_bin1763 352.629 11.0479 696297601 696556801 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 :                                   585.35 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             296.65 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   764 sec.
    Turnaround time :                            836 sec.

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

