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


Performing analysis on: 4FGL_J2330.5+1102_weekly_bin732
RA = 352.629, Dec = 11.0479
tmin = 681696001, tmax = 682300801
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='346914', job_status='RUN', time_executed='2022-09-17 05:42:17.453995', time_epoch_executed='1663418537.45' WHERE source_name='4FGL J2330.5+1102' and cadence='weekly' and bin_id='732'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/346914

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/346914/ft1_4FGL_J2330.5+1102_weekly_bin732.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/346914/ft2_4FGL_J2330.5+1102_weekly_bin732.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/346914/ft1_4FGL_J2330.5+1102_weekly_bin732.fits outfile=/scratch/kocevski/346914/ft1_filteredMKT_4FGL_J2330.5+1102_weekly_bin732.fits ra=352.629 dec=11.0479 rad=12.0 tmin=681696001.0 tmax=682300801.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.52
user 9.17
sys 0.32

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

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

Number of photons that the gtmktime cut: 1485

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/346914/ft1_filtered_4FGL_J2330.5+1102_weekly_bin732.fits" evtable="EVENTS" scfile=/scratch/kocevski/346914/ft2_4FGL_J2330.5+1102_weekly_bin732.fits sctable="SC_DATA" outfile=/scratch/kocevski/346914/ltcube_681696001_682300801_4FGL_J2330.5+1102_weekly_bin732.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/346914/ft2_4FGL_J2330.5+1102_weekly_bin732.fits
.....................!
real 31.04
user 30.63
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/346914/ft1_filtered_4FGL_J2330.5+1102_weekly_bin732.fits evtable="EVENTS" scfile=/scratch/kocevski/346914/ft2_4FGL_J2330.5+1102_weekly_bin732.fits sctable="SC_DATA" expcube=/scratch/kocevski/346914/ltcube_681696001_682300801_4FGL_J2330.5+1102_weekly_bin732.fits outfile=/scratch/kocevski/346914/expmap_681696001_682300801_4FGL_J2330.5+1102_weekly_bin732.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/346914/ltcube_681696001_682300801_4FGL_J2330.5+1102_weekly_bin732.fits
.....................!
real 192.46
user 186.69
sys 5.37

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/346914/ft1_filtered_4FGL_J2330.5+1102_weekly_bin732.fits scfile=/scratch/kocevski/346914/ft2_4FGL_J2330.5+1102_weekly_bin732.fits outfile=/scratch/kocevski/346914/cmap_681696001_682300801_4FGL_J2330.5+1102_weekly_bin732.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.41
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/346914/ft1_filtered_4FGL_J2330.5+1102_weekly_bin732.fits scfile=/scratch/kocevski/346914/ft2_4FGL_J2330.5+1102_weekly_bin732.fits outfile=/scratch/kocevski/346914/cmap_HighResolution_681696001_682300801_4FGL_J2330.5+1102_weekly_bin732.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.59
user 0.42
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .59583E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    1.1259       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .76632E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    7.8018       1.0000          .0000       .10000E+07
     5 'Prefactor '    .19177E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    .11004E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    3.9751       1.0000          .0000       .10000E+07
     8 'Prefactor '    21.927       1.0000          .0000       .10000E+07
     9 'Prefactor '    .51074E-01   1.0000          .0000       .10000E+07
    10 'norm      '    .48713E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    12.778       1.0000          .0000       .10000E+07
    12 'Prefactor '    10.282       1.0000          .0000       .10000E+07
    13 'norm      '    .84660E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    9.2304       1.0000          .0000       .10000E+07
    15 'Prefactor '    10.312       1.0000          .0000       .10000E+07
    16 'Prefactor '    .70344       1.0000          .0000       .10000E+07
    17 'Normalizat'    .85667       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0339       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=   16132.31     FROM MIGRAD    STATUS=CONVERGED    110 CALLS     1047 TOTAL
                     EDM=   .27E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .88818E-09    2.7463        .41207E-06** at limit **
   2  Prefactor     1.1262        .13649        .23497E-07   -.11050E-01
   3  Prefactor     .38858E-09    8.7838        .70007E-06** at limit **
   4  Prefactor     7.7372        4.4901        .84868E-07   -.40662E-02
   5  Prefactor     .27756E-08    2.7305        .57106E-06** at limit **
   6  Prefactor     .11102E-09    4.9131       -.65795E-06** at limit **
   7  Prefactor     4.0059        5.5873       -.32092E-07   -.24669E-03
   8  Prefactor     21.724        7.5303        .67443E-06   -.77669E-02
   9  Prefactor     .66613E-09    16.598        .16122E-06** at limit **
  10  norm          .68279E-08    4.9131       -.23208E-05** at limit **
  11  Prefactor     12.803        5.2218        .26919E-07   -.57216E-02
  12  Prefactor     10.278        4.0763       -.31337E-06    .15378E-01
  13  norm          .11102E-09    4.0835        .58992E-06** at limit **
  14  Prefactor     9.1262        22.830       -.41211E-05    .95618E-03
  15  Prefactor     10.262        1.9614        .18912E-06   -.10294E-01
  16  Prefactor     .69970        3.3852        .48315E-07    .66892E-03
  17  Normalizat    .85711        .15445        .36010E-05   -.29898E-03
  18  Prefactor     1.0339        .95258E-01   -.11214E-05   -.45282E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.88178e-10
  Prefactor  = 1.12617
  Prefactor  = 3.88578e-10
  Prefactor  = 7.73719
  Prefactor  = 2.77556e-09
  Prefactor  = 1.11022e-10
  Prefactor  = 4.00586
  Prefactor  = 21.7238
  Prefactor  = 6.66134e-10
  norm       = 6.82787e-09
  Prefactor  = 12.8034
  Prefactor  = 10.2784
  norm       = 1.11022e-10
  Prefactor  = 9.12624
  Prefactor  = 10.2623
  Prefactor  = 0.699695
  Normalizat = 0.857108
  Prefactor  = 1.03388
 **********
 **   18 **HESSE 
 **********

 FCN=   16132.31     FROM HESSE     STATUS=OK           282 CALLS     1329 TOTAL
                     EDM=   .81E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .88818E-09    5.9407        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.1262        .13664        .35308E-02   -1.5496    
   3  Prefactor     .38858E-09    8.9907        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     7.7372        4.4945        .35876E-03   -1.5652    
   5  Prefactor     .27756E-08    5.9555        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .11102E-09    4.9121        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.0059        5.6693        .50564E-03   -1.5668    
   8  Prefactor     21.724        12.726        .21361E-03   -1.5615    
   9  Prefactor     .66613E-09    16.465        .15498E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .68279E-08    6.8678        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     12.803        5.2498        .27997E-03   -1.5636    
  12  Prefactor     10.278        14.854        .31224E-03   -1.5644    
  13  norm          .11102E-09    4.0997        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     9.1262        23.008        .32963E-03   -1.5648    
  15  Prefactor     10.262        14.821        .31178E-03   -1.5644    
  16  Prefactor     .69970        3.4007        .60429E-03   -1.5691    
  17  Normalizat    .85711        .13696        .75715E-01   -.97984    
  18  Prefactor     1.0339        .82330E-01    .40960E-01   -.91609    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.12805e-08
Minuit parameter uncertainties:
  1  0.000146666
  2  0.136636
  3  0.000121152
  4  4.49447
  5  0.000256668
  6  5.13547e-05
  7  5.66933
  8  12.7258
  9  0.000213602
  10  0.000433162
  11  5.24981
  12  14.8544
  13  4.32709e-05
  14  23.008
  15  14.821
  16  3.08509
  17  0.137014
  18  0.0823404
Done.

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

Extracting fit parameters...

4FGL J2330.5+1102
   Spectrum: PowerLaw
427    Prefactor:  1.280e+01  5.250e+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:  1.034e+00  8.234e-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.571e-01  1.370e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 12.29
Ra Dec: 352.629 11.048
Photon Index (Fixed Index): 2.79 +/- 0.00
Photon Flux (Fixed Index): 8.98e-08 +/- 3.68e-08
Energy Flux (Fixed Index): 2.03e-05 +/- 8.32e-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) = 16132.1184668
delta logL = 0.194148786462

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 16132.1008287
delta logL = 0.211786896221

Fit tolerance = 1e-08

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

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

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   16132.10     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      281 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.134        6.2265        .53234E-04   -.25563E-02
   2  Index         2.5030        .43949        .85949E-02   -.18468E-04
   3  Normalizat    .87913        .15479        .33137E-03   -.15796E-03
   4  Prefactor     1.0254        .95184E-01    .19461E-03    .84098E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.1343
  Index      = 2.50296
  Normalizat = 0.879132
  Prefactor  = 1.02543
 **********
 **   18 **HESSE 
 **********

 FCN=   16132.10     FROM HESSE     STATUS=OK            25 CALLS      306 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.134        6.1877        .21294E-05   -1.5633    
   2  Index         2.5030        .43617        .34379E-03   -.52292    
   3  Normalizat    .87913        .15491        .13255E-04   -.97197    
   4  Prefactor     1.0254        .95230E-01    .38922E-04   -.91887    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.22179e-10
Minuit parameter uncertainties:
  1  6.18769
  2  0.436909
  3  0.15499
  4  0.0952456
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/346914': 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) = 16132.1008277
delta logL = 0.211787885981

Extracting fit parameters...

4FGL J2330.5+1102
   Spectrum: PowerLaw
427    Prefactor:  1.413e+01  6.188e+00  0.000e+00  1.000e+06 ( 1.000e-12)
428        Index:  2.503e+00  4.369e-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:  1.025e+00  9.525e-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.791e-01  1.550e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 12.58
Ra Dec: 352.629 11.048
Photon Index (Free Index): 2.50 +/- 0.44
Photon Flux (Free Index): 7.20e-08 +/- 4.37e-08
Energy Flux (Free Index): 2.08e-05 +/- 9.16e-06

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/346914/cmap_HighResolution_681696001_682300801_4FGL_J2330.5+1102_weekly_bin732.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.98e-08', energy_flux2='2.08e-05', photon_flux_error='3.68e-08', dlogl='2.12e-01', energy_flux='2.03e-05', photon_flux2='7.20e-08', job_status='DONE', time_completed='2022-09-17 05:55:56.006203', photon_index_error2='0.44', photon_index2='2.50', ts='12.29', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', energy_flux_error2='9.16e-06', EG='0.86', time_epoch_completed='1663419356.01', return_code='0', job_id='346914', GAL2='1.03', EG2='0.88', return_code2='0', energy_flux_error='8.32e-06', photon_flux_error2='4.37e-08', ts2='12.58', photon_index='2.79' WHERE bin_id='732' AND source_name='4FGL J2330.5+1102' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Sat Sep 17 05:55:56 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0120>
Subject: Job 346914: <4FGL_J2330.5+1102_weekly_bin732> in cluster <slac> Done

Job <4FGL_J2330.5+1102_weekly_bin732> 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) <bullet0120>, 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:55:56 2022
Results reported at Sat Sep 17 05:55:56 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2330.5+1102_weekly_bin732 352.629 11.0479 681696001 682300801 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 :                                   812.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             372.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   848 sec.
    Turnaround time :                            920 sec.

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

