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


Performing analysis on: 4FGL_J2330.5+1102_weekly_bin741
RA = 352.629, Dec = 11.0479
tmin = 687139201, tmax = 687744001
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='397945', job_status='RUN', time_executed='2022-10-18 01:48:36.117393', time_epoch_executed='1666082916.12' WHERE source_name='4FGL J2330.5+1102' and cadence='weekly' and bin_id='741'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/397945

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/397945/ft1_4FGL_J2330.5+1102_weekly_bin741.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/397945/ft2_4FGL_J2330.5+1102_weekly_bin741.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/397945/ft1_4FGL_J2330.5+1102_weekly_bin741.fits outfile=/scratch/kocevski/397945/ft1_filteredMKT_4FGL_J2330.5+1102_weekly_bin741.fits ra=352.629 dec=11.0479 rad=12.0 tmin=687139201.0 tmax=687744001.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 6.58
user 6.30
sys 0.25

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

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

Number of photons that the gtmktime cut: 614

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/397945/ft1_filtered_4FGL_J2330.5+1102_weekly_bin741.fits evtable="EVENTS" scfile=/scratch/kocevski/397945/ft2_4FGL_J2330.5+1102_weekly_bin741.fits sctable="SC_DATA" expcube=/scratch/kocevski/397945/ltcube_687139201_687744001_4FGL_J2330.5+1102_weekly_bin741.fits outfile=/scratch/kocevski/397945/expmap_687139201_687744001_4FGL_J2330.5+1102_weekly_bin741.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/397945/ltcube_687139201_687744001_4FGL_J2330.5+1102_weekly_bin741.fits
.....................!
real 192.39
user 185.83
sys 5.61

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/397945/ft1_filtered_4FGL_J2330.5+1102_weekly_bin741.fits scfile=/scratch/kocevski/397945/ft2_4FGL_J2330.5+1102_weekly_bin741.fits outfile=/scratch/kocevski/397945/cmap_687139201_687744001_4FGL_J2330.5+1102_weekly_bin741.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.71
user 0.40
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/397945/ft1_filtered_4FGL_J2330.5+1102_weekly_bin741.fits scfile=/scratch/kocevski/397945/ft2_4FGL_J2330.5+1102_weekly_bin741.fits outfile=/scratch/kocevski/397945/cmap_HighResolution_687139201_687744001_4FGL_J2330.5+1102_weekly_bin741.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.41
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .26850E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    5.6021       1.0000         .10000E-03   10000.    
     3 'Prefactor '    41.527       1.0000          .0000       .10000E+07
     4 'Prefactor '    2.0324       1.0000          .0000       .10000E+07
     5 'Prefactor '    .65638       1.0000          .0000       .10000E+07
     6 'Prefactor '    12.748       1.0000          .0000       .10000E+07
     7 'Prefactor '    3.3830       1.0000          .0000       .10000E+07
     8 'Prefactor '    .91090E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    3.7248       1.0000          .0000       .10000E+07
    10 'norm      '    .93092E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    17.753       1.0000          .0000       .10000E+07
    12 'Prefactor '    .15417E-04   1.0000          .0000       .10000E+07
    13 'norm      '    .61134E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    18.725       1.0000          .0000       .10000E+07
    15 'Prefactor '    21.745       1.0000          .0000       .10000E+07
    16 'Prefactor '    12.750       1.0000          .0000       .10000E+07
    17 'Normalizat'    .32449       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.1608       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=   6265.010     FROM MIGRAD    STATUS=CONVERGED    152 CALLS     1332 TOTAL
                     EDM=   .94E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .86597E-08    14.068        .11768E-05** at limit **
   2  Prefactor     5.6029        .40298       -.20257E-06   -.13959E-02
   3  Prefactor     41.110        28.004       -.31052E-06    .10949    
   4  Prefactor     1.8642        11.524       -.20930E-06   -.68559E-03
   5  Prefactor     .13067        535.45        .13727E-04** at limit **
   6  Prefactor     12.694        9.2287        .28540E-06   -.10710E-02
   7  Prefactor     3.3921        6.7698        .39329E-07   -.66988E-03
   8  Prefactor     .94369E-09    12.553       -.23549E-06** at limit **
   9  Prefactor     3.0249        190.23        .72259E-05   -.35065E-02
  10  norm           .0000        8.7180       -.12403E-06** at limit **
  11  Prefactor     17.748        10.464        .31267E-06   -.24495E-02
  12  Prefactor     .88818E-08    15.785       -.46828E-06** at limit **
  13  norm          .38858E-09    26.780       -.58829E-07** at limit **
  14  Prefactor     20.361        39.954       -.28980E-05    .13423E-01
  15  Prefactor     21.460        17.353        .14637E-06   -.13770    
  16  Prefactor     12.783        12.445       -.87145E-06   -.21831E-01
  17  Normalizat    .32571        .30040       -.42270E-04   -.17722E-03
  18  Prefactor     1.1610        .17925        .78103E-05   -.33459E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.65974e-09
  Prefactor  = 5.60293
  Prefactor  = 41.1101
  Prefactor  = 1.86419
  Prefactor  = 0.130669
  Prefactor  = 12.694
  Prefactor  = 3.39208
  Prefactor  = 9.4369e-10
  Prefactor  = 3.0249
  norm       = 0
  Prefactor  = 17.7482
  Prefactor  = 8.88178e-09
  norm       = 3.88578e-10
  Prefactor  = 20.3613
  Prefactor  = 21.4601
  Prefactor  = 12.7827
  Normalizat = 0.325712
  Prefactor  = 1.16097
 **********
 **   18 **HESSE 
 **********

 FCN=   6265.010     FROM HESSE     STATUS=OK           292 CALLS     1624 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .86597E-08    14.097        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     5.6029        .40478        .29046E-02   -1.5235    
   3  Prefactor     41.110        34.222        .15519E-03   -1.5580    
   4  Prefactor     1.8642        11.588        .72530E-03   -1.5681    
   5  Prefactor     .13067        37.382        .98212E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     12.694        9.3396        .28030E-03   -1.5637    
   7  Prefactor     3.3921        6.7971        .54987E-03   -1.5671    
   8  Prefactor     .94369E-09    12.548        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.0249        478.47        .52297E-03   -1.5673    
  10  norm           .0000        8.6946        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     17.748        10.647        .23743E-03   -1.5624    
  12  Prefactor     .88818E-08    15.799        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .38858E-09    26.229        .15122E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     20.361        40.891        .23118E-03   -1.5618    
  15  Prefactor     21.460        26.728        .21451E-03   -1.5615    
  16  Prefactor     12.783        12.678        .28027E-03   -1.5636    
  17  Normalizat    .32571        .35195        .13831       -1.2134    
  18  Prefactor     1.1610        .19750        .35630E-01   -.87541    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.28304e-06
Minuit parameter uncertainties:
  1  0.000697897
  2  0.404778
  3  34.2223
  4  9.29549
  5  4.42031
  6  9.3396
  7  6.79715
  8  0.000219274
  9  76.094
  10  1.05581e-05
  11  10.647
  12  0.000748827
  13  0.000199495
  14  40.8921
  15  26.7279
  16  12.6782
  17  0.354369
  18  0.197629
Done.

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

Extracting fit parameters...

4FGL J2330.5+1102
   Spectrum: PowerLaw
427    Prefactor:  1.775e+01  1.065e+01  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.161e+00  1.976e-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:  3.257e-01  3.544e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.79
Ra Dec: 352.629 11.048
Photon Index (Fixed Index): 2.79 +/- 0.00
Photon Flux (Fixed Index): 1.24e-07 +/- 7.46e-08
Energy Flux (Fixed Index): 2.81e-05 +/- 1.69e-05

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) = 6264.91478516
delta logL = 0.0956201479949

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6264.90879771
delta logL = 0.10160759821

Fit tolerance = 1e-08

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

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

 FCN=   6264.909     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      261 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     22.115        298.14        .21283E-03    .47432E-02
   2  Index         2.5237        6.2424        .18260        .51772E-04
   3  Normalizat    .34250        .12677        .13495        .69621E-04
   4  Prefactor     1.1511        .90796E-01    .35904E-01    .75118E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 22.1148
  Index      = 2.52369
  Normalizat = 0.342503
  Prefactor  = 1.15105
 **********
 **   18 **HESSE 
 **********

 FCN=   6264.909     FROM HESSE     STATUS=OK            33 CALLS      294 TOTAL
                     EDM=   .84E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     22.115        15.252        .42567E-04   -1.5614    
   2  Index         2.5237        .55473        .69688E-02   -.51814    
   3  Normalizat    .34250        .28033        .59843E-03   -1.2039    
   4  Prefactor     1.1511        .17739        .21358E-03   -.87851    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.40668e-10
Minuit parameter uncertainties:
  1  15.2521
  2  0.556248
  3  0.28149
  4  0.177484
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/397945': 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) = 6264.9087888
delta logL = 0.101616514249

Extracting fit parameters...

4FGL J2330.5+1102
   Spectrum: PowerLaw
427    Prefactor:  2.211e+01  1.525e+01  0.000e+00  1.000e+06 ( 1.000e-12)
428        Index:  2.524e+00  5.562e-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.151e+00  1.775e-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:  3.425e-01  2.815e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.84
Ra Dec: 352.629 11.048
Photon Index (Free Index): 2.52 +/- 0.56
Photon Flux (Free Index): 1.15e-07 +/- 7.15e-08
Energy Flux (Free Index): 3.26e-05 +/- 2.23e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/397945/cmap_HighResolution_687139201_687744001_4FGL_J2330.5+1102_weekly_bin741.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.24e-07', energy_flux2='3.26e-05', photon_flux_error='7.46e-08', dlogl='1.02e-01', energy_flux='2.81e-05', photon_flux2='1.15e-07', job_status='DONE', time_completed='2022-10-18 01:57:52.767913', photon_index_error2='0.56', photon_index2='2.52', ts='4.79', fit_tolerance='1e-08', GAL='1.16', photon_index_error='0.00', energy_flux_error2='2.23e-05', EG='0.33', time_epoch_completed='1666083472.77', return_code='0', job_id='397945', GAL2='1.15', EG2='0.34', return_code2='0', energy_flux_error='1.69e-05', photon_flux_error2='7.15e-08', ts2='4.84', photon_index='2.79' WHERE bin_id='741' AND source_name='4FGL J2330.5+1102' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Oct 18 01:57:52 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0069>
Subject: Job 397945: <4FGL_J2330.5+1102_weekly_bin741> in cluster <slac> Done

Job <4FGL_J2330.5+1102_weekly_bin741> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Oct 18 01:45:21 2022
Job was executed on host(s) <bullet0069>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Oct 18 01:45:22 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Oct 18 01:45:22 2022
Terminated at Tue Oct 18 01:57:53 2022
Results reported at Tue Oct 18 01:57:53 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2330.5+1102_weekly_bin741 352.629 11.0479 687139201 687744001 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 :                                   556.05 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             248.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   751 sec.
    Turnaround time :                            752 sec.

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

