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


Performing analysis on: 4FGL_J2330.5+1102_daily_bin1728
RA = 352.629, Dec = 11.0479
tmin = 687225601, tmax = 687484801
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='305584', job_status='RUN', time_executed='2022-10-15 00:42:56.528810', time_epoch_executed='1665819776.53' WHERE source_name='4FGL J2330.5+1102' and cadence='daily' and bin_id='1728'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/305584

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/305584/ft1_4FGL_J2330.5+1102_daily_bin1728.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/305584/ft2_4FGL_J2330.5+1102_daily_bin1728.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/305584/ft1_4FGL_J2330.5+1102_daily_bin1728.fits outfile=/scratch/kocevski/305584/ft1_filteredMKT_4FGL_J2330.5+1102_daily_bin1728.fits ra=352.629 dec=11.0479 rad=12.0 tmin=687225601.0 tmax=687484801.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 2.70
user 2.49
sys 0.18

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

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

Number of photons that the gtmktime cut: 107

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/305584/ft1_filtered_4FGL_J2330.5+1102_daily_bin1728.fits evtable="EVENTS" scfile=/scratch/kocevski/305584/ft2_4FGL_J2330.5+1102_daily_bin1728.fits sctable="SC_DATA" expcube=/scratch/kocevski/305584/ltcube_687225601_687484801_4FGL_J2330.5+1102_daily_bin1728.fits outfile=/scratch/kocevski/305584/expmap_687225601_687484801_4FGL_J2330.5+1102_daily_bin1728.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/305584/ltcube_687225601_687484801_4FGL_J2330.5+1102_daily_bin1728.fits
.....................!
real 190.76
user 185.27
sys 4.44

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/305584/ft1_filtered_4FGL_J2330.5+1102_daily_bin1728.fits scfile=/scratch/kocevski/305584/ft2_4FGL_J2330.5+1102_daily_bin1728.fits outfile=/scratch/kocevski/305584/cmap_687225601_687484801_4FGL_J2330.5+1102_daily_bin1728.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.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.2282       1.0000          .0000       .10000E+07
     2 'Prefactor '    4.0089       1.0000         .10000E-03   10000.    
     3 'Prefactor '    94.318       1.0000          .0000       .10000E+07
     4 'Prefactor '    12.106       1.0000          .0000       .10000E+07
     5 'Prefactor '    74.985       1.0000          .0000       .10000E+07
     6 'Prefactor '    .89248E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .74124E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .46770E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    .16801       1.0000          .0000       .10000E+07
    10 'norm      '    85.740       1.0000          .0000       .10000E+07
    11 'Prefactor '    .81339E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    160.41       1.0000          .0000       .10000E+07
    13 'norm      '    47.129       1.0000          .0000       .10000E+07
    14 'Prefactor '    .60990E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    .54220E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    38.192       1.0000          .0000       .10000E+07
    17 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    18 'Prefactor '    .86190       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=   1199.123     FROM MIGRAD    STATUS=CONVERGED    170 CALLS     1351 TOTAL
                     EDM=   .70E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.0642        333.13        .65396E-05    .73707E-02
   2  Prefactor     4.0020        .68681       -.23871E-06   -.23959E-03
   3  Prefactor     92.554        55.572        .39003E-07   -.21797E-01
   4  Prefactor     12.249        18.903        .46874E-06   -.12612E-03
   5  Prefactor     73.661        42.554       -.58588E-06   -.76772E-01
   6  Prefactor     .55511E-10    67.883        .69506E-06** at limit **
   7  Prefactor     .17986E-07    47.864       -.58872E-06** at limit **
   8  Prefactor     .55511E-10    209.37       -.28714E-06** at limit **
   9  Prefactor      .0000        77.683       -.98010E-06** at limit **
  10  norm          86.078        41.909        .13508E-06    .25400    
  11  Prefactor     .45519E-08    67.724        .33162E-05** at limit **
  12  Prefactor     154.95        153.14       -.75677E-06    .97935E-01
  13  norm          45.429        55.982       -.39427E-06    .11682    
  14  Prefactor     .59180E-06    74.726       -.84005E-07** at limit **
  15  Prefactor     .42522E-07    51.683        .15168E-05** at limit **
  16  Prefactor     35.398        83.331        .13209E-06   -.48141E-01
  17  Normalizat    .10000E-01    .22720       -.46276E-04** at limit **
  18  Prefactor     .86637        .21510        .44664E-05    .16676E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.06418
  Prefactor  = 4.002
  Prefactor  = 92.5536
  Prefactor  = 12.2487
  Prefactor  = 73.6607
  Prefactor  = 5.55112e-11
  Prefactor  = 1.79856e-08
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  norm       = 86.0783
  Prefactor  = 4.55191e-09
  Prefactor  = 154.948
  norm       = 45.4287
  Prefactor  = 5.91804e-07
  Prefactor  = 4.25215e-08
  Prefactor  = 35.398
  Normalizat = 0.01
  Prefactor  = 0.866374
 **********
 **   18 **HESSE 
 **********

 FCN=   1199.123     FROM HESSE     STATUS=OK           272 CALLS     1623 TOTAL
                     EDM=   .54E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.0642        374.46        .68848E-03   -1.5668    
   2  Prefactor     4.0020        .68787        .25015E-02   -1.5308    
   3  Prefactor     92.554        98.665        .10297E-03   -1.5516    
   4  Prefactor     12.249        18.907        .28765E-03   -1.5638    
   5  Prefactor     73.661        66.749        .11549E-03   -1.5536    
   6  Prefactor     .55511E-10    67.484        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .17986E-07    48.106        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .55511E-10    207.14        .15672E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        78.126        .12375E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          86.078        57.503        .10800E-03   -1.5522    
  11  Prefactor     .45519E-08    67.223        .14460E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     154.95        160.54        .78963E-04   -1.5459    
  13  norm          45.429        72.138        .14568E-03   -1.5573    
  14  Prefactor     .59180E-06    74.983        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .42522E-07    51.783        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     35.398        107.47        .16183E-03   -1.5589    
  17  Normalizat    .10000E-01    .21613        .23129       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .86637        .22618        .44518E-01   -.97326    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.37474e-06
Minuit parameter uncertainties:
  1  78.027
  2  0.687876
  3  98.6663
  4  18.9072
  5  66.7495
  6  8.98457e-05
  7  0.00186007
  8  0.000250066
  9  5.80251e-05
  10  57.5036
  11  0.00110514
  12  160.548
  13  72.1398
  14  0.0133231
  15  0.00296838
  16  107.475
  17  1.39714e-06
  18  0.226424
Done.

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

Extracting fit parameters...

4FGL J2330.5+1102
   Spectrum: PowerLaw
427    Prefactor:  4.552e-09  1.105e-03  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:  8.664e-01  2.264e-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  1.397e-06  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/305584/likelihoodResults_687225601_687484801_4FGL_J2330.5+1102_daily_bin1728.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) = 1199.13049636
delta logL = -0.00729404325853

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1199.12320272
delta logL = -4.05363834943e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .36007E-05   1.0000          .0000       .10000E+07
     2 'Index     '    1.4261       1.0000          .0000       10.000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86652       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=   1199.123     FROM MIGRAD    STATUS=CONVERGED     74 CALLS      245 TOTAL
                     EDM=   .29E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .99920E-09    5.2281        .42118E-03** at limit **
   2  Index         2.1306        5.7839        .50000       -.45475E-10
   3  Normalizat    .10000E-01    .37763E-04    .23129    ** at limit **
   4  Prefactor     .86638        .26270E-02    .44577E-01    .21326E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.99201e-10
  Index      = 2.1306
  Normalizat = 0.01
  Prefactor  = 0.866376
 **********
 **   18 **HESSE 
 **********

 FCN=   1199.123     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      276 TOTAL
                     EDM=   .14E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .99920E-09    26.214        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1306        5.8670        .50000       -.61124    
   3  Normalizat    .10000E-01    .22927E-03    .93081E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .86638        .58810E-02    .22354E-03   -.97326    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.43293e-11
Minuit parameter uncertainties:
  1  0.000319375
  2  63751.8
  3  2.48803e-08
  4  0.00588101
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/305584': 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) = 1199.12320232
delta logL = -7.50333128963e-11

Extracting fit parameters...

4FGL J2330.5+1102
   Spectrum: PowerLaw
427    Prefactor:  9.992e-10  3.194e-04  0.000e+00  1.000e+06 ( 1.000e-12)
428        Index:  2.131e+00  6.375e+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:  8.664e-01  5.881e-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  2.488e-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/305584/cmap_HighResolution_687225601_687484801_4FGL_J2330.5+1102_daily_bin1728.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.51e-02', job_status='DONE', photon_flux_upper_limit='6.96e-07', time_completed='2022-10-15 00:48:48.258121', job_id='305584', GAL2='0.87', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1665820128.26', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.87', dlogl='-7.50e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.79' WHERE bin_id='1728' AND source_name='4FGL J2330.5+1102' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Oct 15 00:48:48 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0206>
Subject: Job 305584: <4FGL_J2330.5+1102_daily_bin1728> in cluster <slac> Done

Job <4FGL_J2330.5+1102_daily_bin1728> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Oct 15 00:40:16 2022
Job was executed on host(s) <bullet0206>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Oct 15 00:40:17 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Oct 15 00:40:17 2022
Terminated at Sat Oct 15 00:48:49 2022
Results reported at Sat Oct 15 00:48:49 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2330.5+1102_daily_bin1728 352.629 11.0479 687225601 687484801 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 :                                   354.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             307.72 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   512 sec.
    Turnaround time :                            513 sec.

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

