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


Performing analysis on: 4FGL_J2330.5+1102_daily_bin1726
RA = 352.629, Dec = 11.0479
tmin = 686707201, tmax = 686966401
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='89605', job_status='RUN', time_executed='2022-10-09 00:44:06.427664', time_epoch_executed='1665301446.43' WHERE source_name='4FGL J2330.5+1102' and cadence='daily' and bin_id='1726'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/89605

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/89605/ft1_4FGL_J2330.5+1102_daily_bin1726.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/89605/ft2_4FGL_J2330.5+1102_daily_bin1726.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/89605/ft1_4FGL_J2330.5+1102_daily_bin1726.fits outfile=/scratch/kocevski/89605/ft1_filteredMKT_4FGL_J2330.5+1102_daily_bin1726.fits ra=352.629 dec=11.0479 rad=12.0 tmin=686707201.0 tmax=686966401.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.07
user 2.84
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/89605/ft2_4FGL_J2330.5+1102_daily_bin1726.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/89605/ft1_filteredMKT_4FGL_J2330.5+1102_daily_bin1726.fits evtable="EVENTS" outfile="/scratch/kocevski/89605/ft1_filtered_4FGL_J2330.5+1102_daily_bin1726.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.50
user 0.34
sys 0.15

Number of photons that the gtmktime cut: 136

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/89605/ft1_filtered_4FGL_J2330.5+1102_daily_bin1726.fits evtable="EVENTS" scfile=/scratch/kocevski/89605/ft2_4FGL_J2330.5+1102_daily_bin1726.fits sctable="SC_DATA" expcube=/scratch/kocevski/89605/ltcube_686707201_686966401_4FGL_J2330.5+1102_daily_bin1726.fits outfile=/scratch/kocevski/89605/expmap_686707201_686966401_4FGL_J2330.5+1102_daily_bin1726.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/89605/ltcube_686707201_686966401_4FGL_J2330.5+1102_daily_bin1726.fits
.....................!
real 191.16
user 185.87
sys 4.79

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/89605/ft1_filtered_4FGL_J2330.5+1102_daily_bin1726.fits scfile=/scratch/kocevski/89605/ft2_4FGL_J2330.5+1102_daily_bin1726.fits outfile=/scratch/kocevski/89605/cmap_686707201_686966401_4FGL_J2330.5+1102_daily_bin1726.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/89605/ft1_filtered_4FGL_J2330.5+1102_daily_bin1726.fits scfile=/scratch/kocevski/89605/ft2_4FGL_J2330.5+1102_daily_bin1726.fits outfile=/scratch/kocevski/89605/cmap_HighResolution_686707201_686966401_4FGL_J2330.5+1102_daily_bin1726.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.55
user 0.37
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14028E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    6.1278       1.0000         .10000E-03   10000.    
     3 'Prefactor '    14.150       1.0000          .0000       .10000E+07
     4 'Prefactor '    .18735E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    68.769       1.0000          .0000       .10000E+07
     6 'Prefactor '    .22649E-07   1.0000          .0000       .10000E+07
     7 'Prefactor '    .25686E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    7.7978       1.0000          .0000       .10000E+07
     9 'Prefactor '    101.02       1.0000          .0000       .10000E+07
    10 'norm      '    74.924       1.0000          .0000       .10000E+07
    11 'Prefactor '    .36057E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    269.48       1.0000          .0000       .10000E+07
    13 'norm      '    .28949E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    .11162E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    .64026E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .32263E-04   1.0000          .0000       .10000E+07
    17 'Normalizat'    .10001E-01   1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.2300       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=   1500.815     FROM MIGRAD    STATUS=CONVERGED     83 CALLS     1965 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .12491E-04    145.40       -.63724E-06** at limit **
   2  Prefactor     6.1285        .85832       -.38267E-06    .20534E-03
   3  Prefactor     14.138        1.1188        .62541E-08    .38978E-02
   4  Prefactor     .33307E-09    20.223        .31735E-06** at limit **
   5  Prefactor     68.747        1.4680        .64470E-08    .87141E-02
   6  Prefactor     .16653E-09    18.113        .10393E-05** at limit **
   7  Prefactor     .30359E-02    103.49        .91771E-06** at limit **
   8  Prefactor     7.7176        1.9730        .29787E-07    .57571E-02
   9  Prefactor     101.00        1.0292        .60300E-09    .30197E-03
  10  norm          74.951        10.915       -.63615E-07    .93768E-01
  11  Prefactor      .0000        14.965        .11759E-06** at limit **
  12  Prefactor     269.39        1.6321       -.26006E-08   -.30835E-01
  13  norm          .22567E-05    20.953       -.99634E-06** at limit **
  14  Prefactor     .43232E-03    86.282        .76905E-06** at limit **
  15  Prefactor     .53896E-03    84.701        .75349E-06** at limit **
  16  Prefactor     .25482E-05    20.921       -.97172E-06** at limit **
  17  Normalizat    .10000E-01    .30555        .94866E-04** at limit **
  18  Prefactor     1.2296        .21535       -.10206E-04    .31269E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.24911e-05
  Prefactor  = 6.12847
  Prefactor  = 14.138
  Prefactor  = 3.33067e-10
  Prefactor  = 68.7474
  Prefactor  = 1.66533e-10
  Prefactor  = 0.0030359
  Prefactor  = 7.7176
  Prefactor  = 101
  norm       = 74.9505
  Prefactor  = 0
  Prefactor  = 269.391
  norm       = 2.25669e-06
  Prefactor  = 0.000432318
  Prefactor  = 0.000538956
  Prefactor  = 2.54818e-06
  Normalizat = 0.01
  Prefactor  = 1.22957
 **********
 **   18 **HESSE 
 **********

 FCN=   1500.815     FROM HESSE     STATUS=OK           276 CALLS     2241 TOTAL
                     EDM=   .14E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .12491E-04    150.12        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     6.1285        .86016        .28930E-02   -1.5213    
   3  Prefactor     14.138        186.74        .26601E-03   -1.5633    
   4  Prefactor     .33307E-09    20.274        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     68.747        85.797        .12060E-03   -1.5542    
   6  Prefactor     .16653E-09    18.130        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .30359E-02    326.79        .42118E-03   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     7.7176        194.06        .35885E-03   -1.5652    
   9  Prefactor     101.00        256.78        .99499E-04   -1.5507    
  10  norm          74.951        61.115        .11554E-03   -1.5535    
  11  Prefactor      .0000        14.986        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     269.39        234.73        .60925E-04   -1.5380    
  13  norm          .22567E-05    41.800        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .43232E-03    251.84        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .53896E-03    249.29        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .25482E-05    41.768        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .10000E-01    .27186        .30024       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     1.2296        .27235        .54858E-01   -.85426    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.41447e-05
Minuit parameter uncertainties:
  1  0.0866071
  2  0.860166
  3  102.769
  4  0.000168635
  5  85.7981
  6  0.000114534
  7  1.99219
  8  77.4032
  9  256.803
  10  61.1159
  11  1.35265e-05
  12  234.735
  13  0.0194248
  14  0.659952
  15  0.733128
  16  0.0206335
  17  2.72809e-07
  18  0.272666
Done.

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

Extracting fit parameters...

4FGL J2330.5+1102
   Spectrum: PowerLaw
427    Prefactor:  0.000e+00  1.353e-05  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.230e+00  2.727e-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.000e-02  2.728e-07  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/89605/likelihoodResults_686707201_686966401_4FGL_J2330.5+1102_daily_bin1726.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1500.81911576
delta logL = -0.0038405648645

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1500.8152752
delta logL = -5.47947820451e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .26701E-07   1.0000          .0000       .10000E+07
     2 'Index     '    3.3113       1.0000          .0000       10.000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2296       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=   1500.815     FROM MIGRAD    STATUS=CONVERGED     33 CALLS      228 TOTAL
                     EDM=   .27E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    16.040       -.19179E-05** at limit **
   2  Index         1.6319        5.2232       -.13653E-03   -.51662E-11
   3  Normalizat    .10000E-01    .30650       -.27199E-04** at limit **
   4  Prefactor     1.2296        .21024       -.23600E-05    .14563E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 1.63185
  Normalizat = 0.01
  Prefactor  = 1.22957
 **********
 **   18 **HESSE 
 **********

 FCN=   1500.815     FROM HESSE     STATUS=NOT POSDEF    39 CALLS      267 TOTAL
                     EDM=   .42E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    1.1604        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.6319        6.6791        .50000       -.73911    
   3  Normalizat    .10000E-01    .31650E-04    .30024       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.2296        .25305E-02    .54858E-01   -.85426    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.18089e-13
Minuit parameter uncertainties:
  1  1.71307e-05
  2  70616.5
  3  4.18885e-08
  4  0.00253054
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/89605': 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): 102
logL (Free Index) = 1500.8152752
delta logL = -2.04636307899e-12

Extracting fit parameters...

4FGL J2330.5+1102
   Spectrum: PowerLaw
427    Prefactor:  5.551e-11  1.713e-05  0.000e+00  1.000e+06 ( 1.000e-12)
428        Index:  1.632e+00  7.062e+04  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.230e+00  2.531e-03  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.000e-02  4.189e-08  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 352.629 11.048

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

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.73e-02', job_status='DONE', photon_flux_upper_limit='5.99e-07', time_completed='2022-10-09 00:50:21.677544', job_id='89605', GAL2='1.23', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1665301821.68', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.23', dlogl='-2.05e-12', ts2='-0.00', photon_index_error='0.00', photon_index='2.79' WHERE bin_id='1726' AND source_name='4FGL J2330.5+1102' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Oct  9 00:50:21 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0269>
Subject: Job 89605: <4FGL_J2330.5+1102_daily_bin1726> in cluster <slac> Done

Job <4FGL_J2330.5+1102_daily_bin1726> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Oct  9 00:40:19 2022
Job was executed on host(s) <bullet0269>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Oct  9 00:40:20 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Oct  9 00:40:20 2022
Terminated at Sun Oct  9 00:50:22 2022
Results reported at Sun Oct  9 00:50:22 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2330.5+1102_daily_bin1726 352.629 11.0479 686707201 686966401 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 :                                   377.42 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             258.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   601 sec.
    Turnaround time :                            603 sec.

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

