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


Performing analysis on: 4FGL_J2330.5+1102_daily_bin1751
RA = 352.629, Dec = 11.0479
tmin = 693187201, tmax = 693446401
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='90116', job_status='RUN', time_executed='2022-12-23 01:31:24.839129', time_epoch_executed='1671787884.84' WHERE source_name='4FGL J2330.5+1102' and cadence='daily' and bin_id='1751'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/90116

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/90116/ft1_4FGL_J2330.5+1102_daily_bin1751.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/90116/ft2_4FGL_J2330.5+1102_daily_bin1751.fits


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

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/90116/ft2_4FGL_J2330.5+1102_daily_bin1751.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/90116/ft1_filteredMKT_4FGL_J2330.5+1102_daily_bin1751.fits evtable="EVENTS" outfile="/scratch/kocevski/90116/ft1_filtered_4FGL_J2330.5+1102_daily_bin1751.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.49
user 0.33
sys 0.14

Number of photons that the gtmktime cut: 762

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/90116/ft1_filtered_4FGL_J2330.5+1102_daily_bin1751.fits" evtable="EVENTS" scfile=/scratch/kocevski/90116/ft2_4FGL_J2330.5+1102_daily_bin1751.fits sctable="SC_DATA" outfile=/scratch/kocevski/90116/ltcube_693187201_693446401_4FGL_J2330.5+1102_daily_bin1751.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/90116/ft2_4FGL_J2330.5+1102_daily_bin1751.fits
.....................!
real 12.14
user 11.77
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/90116/ft1_filtered_4FGL_J2330.5+1102_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/90116/ft2_4FGL_J2330.5+1102_daily_bin1751.fits sctable="SC_DATA" expcube=/scratch/kocevski/90116/ltcube_693187201_693446401_4FGL_J2330.5+1102_daily_bin1751.fits outfile=/scratch/kocevski/90116/expmap_693187201_693446401_4FGL_J2330.5+1102_daily_bin1751.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/90116/ltcube_693187201_693446401_4FGL_J2330.5+1102_daily_bin1751.fits
.....................!
real 189.98
user 185.41
sys 4.22

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/90116/ft1_filtered_4FGL_J2330.5+1102_daily_bin1751.fits scfile=/scratch/kocevski/90116/ft2_4FGL_J2330.5+1102_daily_bin1751.fits outfile=/scratch/kocevski/90116/cmap_693187201_693446401_4FGL_J2330.5+1102_daily_bin1751.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.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/90116/ft1_filtered_4FGL_J2330.5+1102_daily_bin1751.fits scfile=/scratch/kocevski/90116/ft2_4FGL_J2330.5+1102_daily_bin1751.fits outfile=/scratch/kocevski/90116/cmap_HighResolution_693187201_693446401_4FGL_J2330.5+1102_daily_bin1751.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.54
user 0.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.510       1.0000          .0000       .10000E+07
     2 'Prefactor '    2.0282       1.0000         .10000E-03   10000.    
     3 'Prefactor '    15.067       1.0000          .0000       .10000E+07
     4 'Prefactor '    14.241       1.0000          .0000       .10000E+07
     5 'Prefactor '    22.804       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.2025       1.0000          .0000       .10000E+07
     7 'Prefactor '    .24110E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    1.3894       1.0000          .0000       .10000E+07
     9 'Prefactor '    .54085E-06   1.0000          .0000       .10000E+07
    10 'norm      '    30.065       1.0000          .0000       .10000E+07
    11 'Prefactor '    9.3674       1.0000          .0000       .10000E+07
    12 'Prefactor '    13.284       1.0000          .0000       .10000E+07
    13 'norm      '    10.097       1.0000          .0000       .10000E+07
    14 'Prefactor '    .20556E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    2.6798       1.0000          .0000       .10000E+07
    16 'Prefactor '    .55511E-10   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.1168       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .97367       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=   8391.244     FROM MIGRAD    STATUS=CONVERGED     82 CALLS     1516 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.512        1.0043       -.15008E-07    .13444E-02
   2  Prefactor     2.0282        .27421        .80546E-08    .72615E-02
   3  Prefactor     15.081        1.0044        .59642E-08   -.29561E-02
   4  Prefactor     14.242        8.7728        .78298E-06    .56132E-01
   5  Prefactor     22.802        1.2026        .10448E-06   -.20319E-01
   6  Prefactor     1.2017        5.9250        .54913E-07    .11001E-02
   7  Prefactor     .45686E-07    10.216       -.12393E-06** at limit **
   8  Prefactor     1.3906        5.6544       -.33606E-05    .11528E-01
   9  Prefactor     .66613E-09    21.617        .36793E-06** at limit **
  10  norm          30.070        5.7297       -.41448E-06    .16878    
  11  Prefactor     9.3651        9.5609        .21356E-05    .35419E-01
  12  Prefactor     13.275        1.9644        .25738E-06   -.22703E-01
  13  norm          10.095        1.4779        .18486E-06   -.33624E-02
  14  Prefactor     .31419E-07    8.5351        .99579E-07** at limit **
  15  Prefactor     2.6784        1.1022        .18843E-06   -.34940E-02
  16  Prefactor      .0000        3.3577       -.11681E-07** at limit **
  17  Normalizat    1.1166        .23850       -.55481E-05   -.60259E-04
  18  Prefactor     .97374        .14422       -.21767E-05    .81456E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.512
  Prefactor  = 2.02818
  Prefactor  = 15.081
  Prefactor  = 14.2423
  Prefactor  = 22.8017
  Prefactor  = 1.20166
  Prefactor  = 4.56857e-08
  Prefactor  = 1.39062
  Prefactor  = 6.66134e-10
  norm       = 30.0696
  Prefactor  = 9.36512
  Prefactor  = 13.2753
  norm       = 10.0949
  Prefactor  = 3.14193e-08
  Prefactor  = 2.67841
  Prefactor  = 0
  Normalizat = 1.11664
  Prefactor  = 0.973743
 **********
 **   18 **HESSE 
 **********

 FCN=   8391.244     FROM HESSE     STATUS=OK           288 CALLS     1804 TOTAL
                     EDM=   .34E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.512        30.460        .25405E-03   -1.5629    
   2  Prefactor     2.0282        .27685        .37884E-02   -1.5423    
   3  Prefactor     15.081        50.968        .25777E-03   -1.5630    
   4  Prefactor     14.242        9.1306        .26516E-03   -1.5632    
   5  Prefactor     22.802        21.300        .20946E-03   -1.5612    
   6  Prefactor     1.2017        6.4856        .10341E-02   -1.5686    
   7  Prefactor     .45686E-07    10.802        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.3906        39.757        .92174E-03   -1.5684    
   9  Prefactor     .66613E-09    21.691        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          30.070        16.120        .18240E-03   -1.5598    
  11  Prefactor     9.3651        10.867        .32720E-03   -1.5647    
  12  Prefactor     13.275        27.463        .27456E-03   -1.5635    
  13  norm          10.095        18.795        .31510E-03   -1.5644    
  14  Prefactor     .31419E-07    8.9848        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     2.6784        23.681        .62221E-03   -1.5675    
  16  Prefactor      .0000        3.3546        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.1166        .21399        .77864E-01   -.89219    
  18  Prefactor     .97374        .12576        .45937E-01   -.93610    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.38712e-07
Minuit parameter uncertainties:
  1  30.4601
  2  0.276853
  3  50.9699
  4  9.13064
  5  21.3003
  6  5.58336
  7  0.00140474
  8  14.8712
  9  0.00024115
  10  16.1203
  11  10.8674
  12  27.4634
  13  18.7951
  14  0.00106217
  15  15.9282
  16  1.85874e-06
  17  0.214152
  18  0.125801
Done.

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

Extracting fit parameters...

4FGL J2330.5+1102
   Spectrum: PowerLaw
427    Prefactor:  9.365e+00  1.087e+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:  9.737e-01  1.258e-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:  1.117e+00  2.142e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.33
Ra Dec: 352.629 11.048
Photon Index (Fixed Index): 2.79 +/- 0.00
Photon Flux (Fixed Index): 6.57e-08 +/- 7.61e-08
Energy Flux (Fixed Index): 1.48e-05 +/- 1.72e-05

TS (Fixed Index): 1.33
Ra Dec: 352.629 11.048
Photon Flux Upper Limit: 2.01e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.59e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/90116/likelihoodResults_693187201_693446401_4FGL_J2330.5+1102_daily_bin1751.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): 0
logL (Free Index) = 8391.1768764
delta logL = 0.0674681400378

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8391.1727744
delta logL = 0.0715701388253

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.717       1.0000          .0000       .10000E+07
     2 'Index     '    2.4586       1.0000          .0000       10.000    
     3 'Normalizat'    1.1294       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96720       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=   8391.173     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      302 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.718        12.235        .11696E-04   -.14191E-03
   2  Index         2.4586        .82357        .12092E-01   -.24149E-04
   3  Normalizat    1.1293        .23951        .34300E-03   -.27457E-03
   4  Prefactor     .96726        .14437        .22306E-03   -.72272E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.7176
  Index      = 2.45862
  Normalizat = 1.12927
  Prefactor  = 0.967256
 **********
 **   18 **HESSE 
 **********

 FCN=   8391.173     FROM HESSE     STATUS=OK            25 CALLS      327 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.718        11.993        .46785E-06   -1.5640    
   2  Index         2.4586        .80654        .48369E-03   -.53318    
   3  Normalizat    1.1293        .23964        .13720E-04   -.88817    
   4  Prefactor     .96726        .14440        .89223E-05   -.93829    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.22604e-10
Minuit parameter uncertainties:
  1  11.9928
  2  0.811331
  3  0.239873
  4  0.144462
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/90116': 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) = 8391.17277432
delta logL = 0.0715702153338

Extracting fit parameters...

4FGL J2330.5+1102
   Spectrum: PowerLaw
427    Prefactor:  1.172e+01  1.199e+01  0.000e+00  1.000e+06 ( 1.000e-12)
428        Index:  2.459e+00  8.113e-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.673e-01  1.445e-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:  1.129e+00  2.399e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.48
Ra Dec: 352.629 11.048
Photon Index (Free Index): 2.46 +/- 0.81
Photon Flux (Free Index): 5.70e-08 +/- 6.42e-08
Energy Flux (Free Index): 1.73e-05 +/- 1.84e-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/90116/cmap_HighResolution_693187201_693446401_4FGL_J2330.5+1102_daily_bin1751.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.59e-02', comment='SUCCESS', photon_flux='6.57e-08', energy_flux2='1.73e-05', photon_flux_error='7.61e-08', dlogl='7.16e-02', energy_flux='1.48e-05', photon_flux2='5.70e-08', job_status='DONE', time_completed='2022-12-23 01:41:53.249729', photon_index_error2='0.81', photon_index2='2.46', ts='1.33', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', photon_flux_upper_limit='2.01e-07', energy_flux_error2='1.84e-05', EG='1.12', time_epoch_completed='1671788513.25', return_code='0', job_id='90116', GAL2='0.97', EG2='1.13', return_code2='0', energy_flux_error='1.72e-05', photon_flux_error2='6.42e-08', ts2='1.48', photon_index='2.79' WHERE bin_id='1751' AND source_name='4FGL J2330.5+1102' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec 23 01:41:53 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0208>
Subject: Job 90116: <4FGL_J2330.5+1102_daily_bin1751> in cluster <slac> Done

Job <4FGL_J2330.5+1102_daily_bin1751> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Dec 23 01:30:24 2022
Job was executed on host(s) <bullet0208>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec 23 01:30:25 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec 23 01:30:25 2022
Terminated at Fri Dec 23 01:41:54 2022
Results reported at Fri Dec 23 01:41:54 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2330.5+1102_daily_bin1751 352.629 11.0479 693187201 693446401 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 :                                   630.33 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             332.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   688 sec.
    Turnaround time :                            690 sec.

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

