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


Performing analysis on: 4FGL_J2330.5+1102_weekly_bin734
RA = 352.629, Dec = 11.0479
tmin = 682905601, tmax = 683510401
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='346917', job_status='RUN', time_executed='2022-09-17 05:43:59.129193', time_epoch_executed='1663418639.13' WHERE source_name='4FGL J2330.5+1102' and cadence='weekly' and bin_id='734'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/346917

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

Retrieving the FT1 file...

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

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

Retrieving 106 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/346917/ft1_4FGL_J2330.5+1102_weekly_bin734.fits


Retrieving the FT1 file...

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

Retrieving 106 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/346917/ft2_4FGL_J2330.5+1102_weekly_bin734.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/346917/ft1_4FGL_J2330.5+1102_weekly_bin734.fits outfile=/scratch/kocevski/346917/ft1_filteredMKT_4FGL_J2330.5+1102_weekly_bin734.fits ra=352.629 dec=11.0479 rad=12.0 tmin=682905601.0 tmax=683510401.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 9.75
user 9.35
sys 0.32

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

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

Number of photons that the gtmktime cut: 1452

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/346917/ft1_filtered_4FGL_J2330.5+1102_weekly_bin734.fits" evtable="EVENTS" scfile=/scratch/kocevski/346917/ft2_4FGL_J2330.5+1102_weekly_bin734.fits sctable="SC_DATA" outfile=/scratch/kocevski/346917/ltcube_682905601_683510401_4FGL_J2330.5+1102_weekly_bin734.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/346917/ft2_4FGL_J2330.5+1102_weekly_bin734.fits
.....................!
real 28.90
user 28.33
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/346917/ft1_filtered_4FGL_J2330.5+1102_weekly_bin734.fits evtable="EVENTS" scfile=/scratch/kocevski/346917/ft2_4FGL_J2330.5+1102_weekly_bin734.fits sctable="SC_DATA" expcube=/scratch/kocevski/346917/ltcube_682905601_683510401_4FGL_J2330.5+1102_weekly_bin734.fits outfile=/scratch/kocevski/346917/expmap_682905601_683510401_4FGL_J2330.5+1102_weekly_bin734.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/346917/ltcube_682905601_683510401_4FGL_J2330.5+1102_weekly_bin734.fits
.....................!
real 191.83
user 185.80
sys 5.19

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/346917/ft1_filtered_4FGL_J2330.5+1102_weekly_bin734.fits scfile=/scratch/kocevski/346917/ft2_4FGL_J2330.5+1102_weekly_bin734.fits outfile=/scratch/kocevski/346917/cmap_682905601_683510401_4FGL_J2330.5+1102_weekly_bin734.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.59
user 0.41
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/346917/ft1_filtered_4FGL_J2330.5+1102_weekly_bin734.fits scfile=/scratch/kocevski/346917/ft2_4FGL_J2330.5+1102_weekly_bin734.fits outfile=/scratch/kocevski/346917/cmap_HighResolution_682905601_683510401_4FGL_J2330.5+1102_weekly_bin734.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.62
user 0.43
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.380       1.0000          .0000       .10000E+07
     2 'Prefactor '    1.5305       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .86068E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    3.4366       1.0000          .0000       .10000E+07
     5 'Prefactor '    .41474E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    4.9332       1.0000          .0000       .10000E+07
     7 'Prefactor '    13.568       1.0000          .0000       .10000E+07
     8 'Prefactor '    16.841       1.0000          .0000       .10000E+07
     9 'Prefactor '    35.067       1.0000          .0000       .10000E+07
    10 'norm      '    .14158E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    8.4440       1.0000          .0000       .10000E+07
    12 'Prefactor '    23.092       1.0000          .0000       .10000E+07
    13 'norm      '    9.5386       1.0000          .0000       .10000E+07
    14 'Prefactor '    .37183E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    11.349       1.0000          .0000       .10000E+07
    16 'Prefactor '    1.3311       1.0000          .0000       .10000E+07
    17 'Normalizat'    .89964       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .98478       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=   15344.58     FROM MIGRAD    STATUS=CONVERGED    107 CALLS     1034 TOTAL
                     EDM=   .49E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.200        5.4908        .89672E-08   -.48279E-01
   2  Prefactor     1.5308        .15092       -.37678E-07   -.36730E-02
   3  Prefactor     .58842E-08    35.590        .35124E-07** at limit **
   4  Prefactor     3.4683        5.3283       -.11573E-06   -.29757E-02
   5  Prefactor     .44409E-09    4.9593        .22504E-06** at limit **
   6  Prefactor     4.8685        4.2761        .35559E-07   -.70258E-03
   7  Prefactor     13.576        7.8231        .25579E-07    .18729E-02
   8  Prefactor     16.840        1.1670       -.21069E-09    .84765E-02
   9  Prefactor     35.067        1.0196       -.24692E-09    .13399E-01
  10  norm           .0000        1.8700        .38053E-08** at limit **
  11  Prefactor     8.4517        4.6900       -.40031E-07   -.21836E-02
  12  Prefactor     23.518        16.485       -.61725E-08   -.19610E-01
  13  norm          9.4334        6.0113       -.21604E-07   -.55789E-03
  14  Prefactor     .55511E-09    6.8273       -.50723E-08** at limit **
  15  Prefactor     11.370        1.2070        .11218E-07   -.84652E-01
  16  Prefactor     1.3322        2.0955       -.61923E-07   -.21591E-02
  17  Normalizat    .89932        .15347        .92039E-06   -.29048E-04
  18  Prefactor     .98484        .96036E-01   -.46013E-06   -.96805E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.2
  Prefactor  = 1.53078
  Prefactor  = 5.88418e-09
  Prefactor  = 3.46825
  Prefactor  = 4.44089e-10
  Prefactor  = 4.86848
  Prefactor  = 13.5759
  Prefactor  = 16.8399
  Prefactor  = 35.0669
  norm       = 0
  Prefactor  = 8.45169
  Prefactor  = 23.5178
  norm       = 9.43339
  Prefactor  = 5.55112e-10
  Prefactor  = 11.3703
  Prefactor  = 1.33222
  Normalizat = 0.899322
  Prefactor  = 0.984841
 **********
 **   18 **HESSE 
 **********

 FCN=   15344.58     FROM HESSE     STATUS=OK           288 CALLS     1322 TOTAL
                     EDM=   .53E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.200        18.421        .27358E-03   -1.5635    
   2  Prefactor     1.5308        .15234        .32554E-02   -1.5461    
   3  Prefactor     .58842E-08    35.355        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.4683        5.3535        .54536E-03   -1.5671    
   5  Prefactor     .44409E-09    4.9622        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.8685        4.4863        .45259E-03   -1.5664    
   7  Prefactor     13.576        7.8718        .27167E-03   -1.5634    
   8  Prefactor     16.840        10.912        .24379E-03   -1.5626    
   9  Prefactor     35.067        27.879        .16889E-03   -1.5590    
  10  norm           .0000        1.8678        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     8.4517        4.7033        .34474E-03   -1.5650    
  12  Prefactor     23.518        17.332        .20815E-03   -1.5611    
  13  norm          9.4334        6.0128        .32423E-03   -1.5647    
  14  Prefactor     .55511E-09    6.8251        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     11.370        15.225        .29712E-03   -1.5641    
  16  Prefactor     1.3322        2.1372        .95137E-03   -1.5685    
  17  Normalizat    .89932        .13545        .73836E-01   -.96484    
  18  Prefactor     .98484        .83060E-01    .46077E-01   -.93237    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.25096e-07
Minuit parameter uncertainties:
  1  18.4212
  2  0.152341
  3  0.000912271
  4  5.35349
  5  9.1795e-05
  6  4.4863
  7  7.87179
  8  10.9116
  9  27.8796
  10  1.67605e-06
  11  4.70335
  12  17.3318
  13  6.01278
  14  0.000121168
  15  15.2253
  16  2.13722
  17  0.135498
  18  0.0830705
Done.

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

Extracting fit parameters...

4FGL J2330.5+1102
   Spectrum: PowerLaw
427    Prefactor:  8.452e+00  4.703e+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

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  9.848e-01  8.307e-02  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.993e-01  1.355e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.65
Ra Dec: 352.629 11.048
Photon Index (Fixed Index): 2.79 +/- 0.00
Photon Flux (Fixed Index): 5.93e-08 +/- 3.29e-08
Energy Flux (Fixed Index): 1.34e-05 +/- 7.45e-06

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) = 15343.585427
delta logL = 0.990553247042

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 15343.5081639
delta logL = 1.06781632182

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.804       1.0000          .0000       .10000E+07
     2 'Index     '    2.0919       1.0000          .0000       10.000    
     3 'Normalizat'    .92940       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97211       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15343.51     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      215 TOTAL
                     EDM=   .78E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.804        5.1193       -.82064E-07    .14759E-01
   2  Index         2.0919        .28491        .32170E-05    .45005E-03
   3  Normalizat    .92942        .12980       -.16303E-06    .46353E-03
   4  Prefactor     .97210        .82548E-01    .10027E-06    .73670E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.804
  Index      = 2.09193
  Normalizat = 0.92942
  Prefactor  = 0.972103
 **********
 **   18 **HESSE 
 **********

 FCN=   15343.51     FROM HESSE     STATUS=OK            31 CALLS      246 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.804        6.4908        .12182E-04   -1.5642    
   2  Index         2.0919        .43814        .94362E-02   -.62071    
   3  Normalizat    .92942        .15114        .32200E-03   -.95434    
   4  Prefactor     .97210        .95782E-01    .20050E-03   -.93665    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.65698e-09
Minuit parameter uncertainties:
  1  6.49085
  2  0.438993
  3  0.151211
  4  0.0957982
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/346917': 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) = 15343.5081639
delta logL = 1.06781633344

Extracting fit parameters...

4FGL J2330.5+1102
   Spectrum: PowerLaw
427    Prefactor:  1.080e+01  6.491e+00  0.000e+00  1.000e+06 ( 1.000e-12)
428        Index:  2.092e+00  4.390e-01  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:  9.721e-01  9.580e-02  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:  9.294e-01  1.512e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.75
Ra Dec: 352.629 11.048
Photon Index (Free Index): 2.09 +/- 0.44
Photon Flux (Free Index): 3.71e-08 +/- 2.88e-08
Energy Flux (Free Index): 2.07e-05 +/- 1.52e-05

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/346917/cmap_HighResolution_682905601_683510401_4FGL_J2330.5+1102_weekly_bin734.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.93e-08', energy_flux2='2.07e-05', photon_flux_error='3.29e-08', dlogl='1.07e+00', energy_flux='1.34e-05', photon_flux2='3.71e-08', job_status='DONE', time_completed='2022-09-17 05:57:13.476967', photon_index_error2='0.44', photon_index2='2.09', ts='6.65', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='1.52e-05', EG='0.90', time_epoch_completed='1663419433.48', return_code='0', job_id='346917', GAL2='0.97', EG2='0.93', return_code2='0', energy_flux_error='7.45e-06', photon_flux_error2='2.88e-08', ts2='8.75', photon_index='2.79' WHERE bin_id='734' AND source_name='4FGL J2330.5+1102' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Sat Sep 17 05:57:13 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0125>
Subject: Job 346917: <4FGL_J2330.5+1102_weekly_bin734> in cluster <slac> Done

Job <4FGL_J2330.5+1102_weekly_bin734> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sat Sep 17 05:40:36 2022
Job was executed on host(s) <bullet0125>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 17 05:41:48 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 17 05:41:48 2022
Terminated at Sat Sep 17 05:57:14 2022
Results reported at Sat Sep 17 05:57:14 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2330.5+1102_weekly_bin734 352.629 11.0479 682905601 683510401 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 :                                   791.00 sec.
    Max Memory :                                 1035 MB
    Average Memory :                             312.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   925 sec.
    Turnaround time :                            998 sec.

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

