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


Performing analysis on: 4FGL_J2330.5+1102_daily_bin1737
RA = 352.629, Dec = 11.0479
tmin = 689558401, tmax = 689817601
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='164326', job_status='RUN', time_executed='2022-11-11 01:03:27.463182', time_epoch_executed='1668157407.46' WHERE source_name='4FGL J2330.5+1102' and cadence='daily' and bin_id='1737'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/164326

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/164326/ft1_4FGL_J2330.5+1102_daily_bin1737.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/164326/ft2_4FGL_J2330.5+1102_daily_bin1737.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/164326/ft1_4FGL_J2330.5+1102_daily_bin1737.fits outfile=/scratch/kocevski/164326/ft1_filteredMKT_4FGL_J2330.5+1102_daily_bin1737.fits ra=352.629 dec=11.0479 rad=12.0 tmin=689558401.0 tmax=689817601.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.66
user 3.43
sys 0.22

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

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

Number of photons that the gtmktime cut: 814

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/164326/ft1_filtered_4FGL_J2330.5+1102_daily_bin1737.fits" evtable="EVENTS" scfile=/scratch/kocevski/164326/ft2_4FGL_J2330.5+1102_daily_bin1737.fits sctable="SC_DATA" outfile=/scratch/kocevski/164326/ltcube_689558401_689817601_4FGL_J2330.5+1102_daily_bin1737.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/164326/ft2_4FGL_J2330.5+1102_daily_bin1737.fits
.....................!
real 12.95
user 12.48
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/164326/ft1_filtered_4FGL_J2330.5+1102_daily_bin1737.fits evtable="EVENTS" scfile=/scratch/kocevski/164326/ft2_4FGL_J2330.5+1102_daily_bin1737.fits sctable="SC_DATA" expcube=/scratch/kocevski/164326/ltcube_689558401_689817601_4FGL_J2330.5+1102_daily_bin1737.fits outfile=/scratch/kocevski/164326/expmap_689558401_689817601_4FGL_J2330.5+1102_daily_bin1737.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/164326/ltcube_689558401_689817601_4FGL_J2330.5+1102_daily_bin1737.fits
.....................!
real 191.76
user 184.81
sys 6.37

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 158 point sources and 0 extended sources

Setting source of interest to:
4FGL J2330.5+1102 @ 352.629 11.0479

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/164326/ft1_filtered_4FGL_J2330.5+1102_daily_bin1737.fits scfile=/scratch/kocevski/164326/ft2_4FGL_J2330.5+1102_daily_bin1737.fits outfile=/scratch/kocevski/164326/cmap_689558401_689817601_4FGL_J2330.5+1102_daily_bin1737.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.60
user 0.39
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/164326/ft1_filtered_4FGL_J2330.5+1102_daily_bin1737.fits scfile=/scratch/kocevski/164326/ft2_4FGL_J2330.5+1102_daily_bin1737.fits outfile=/scratch/kocevski/164326/cmap_HighResolution_689558401_689817601_4FGL_J2330.5+1102_daily_bin1737.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.56
user 0.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .31532E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    3.1938       1.0000         .10000E-03   10000.    
     3 'Prefactor '    18.559       1.0000          .0000       .10000E+07
     4 'Prefactor '    .25635E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .63822E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .23015E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    25.556       1.0000          .0000       .10000E+07
     8 'Prefactor '    80.001       1.0000          .0000       .10000E+07
     9 'Prefactor '    .29205E-04   1.0000          .0000       .10000E+07
    10 'norm      '    .14073E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .21400E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    .40145       1.0000          .0000       .10000E+07
    13 'norm      '    12.111       1.0000          .0000       .10000E+07
    14 'Prefactor '    13.045       1.0000          .0000       .10000E+07
    15 'Prefactor '    .68116E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .52034E-04   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.3573       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .67270       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=   8712.028     FROM MIGRAD    STATUS=CONVERGED     94 CALLS     1234 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .50404E-07    44.484        .14374E-05** at limit **
   2  Prefactor     3.1936        .30927       -.10164E-06   -.20120E-02
   3  Prefactor     19.153        2.7722       -.45128E-07   -.14156E-01
   4  Prefactor     .94369E-09    3.6514       -.14888E-06** at limit **
   5  Prefactor     .11813E-06    22.456        .79437E-06** at limit **
   6  Prefactor     .56199E-06    4.0036        .45970E-07** at limit **
   7  Prefactor     25.611        8.3769       -.17085E-07    .14972    
   8  Prefactor     79.508        2.0979        .27693E-07   -.54873E-01
   9  Prefactor     .72164E-09    18.255        .15098E-06** at limit **
  10  norm          .66613E-09    4.7881        .29631E-06** at limit **
  11  Prefactor     .19096E-07    .75087        .22466E-07** at limit **
  12  Prefactor     .36820E-05    4.9138        .32033E-06** at limit **
  13  norm          12.122        1.7367       -.28304E-08   -.18226E-01
  14  Prefactor     12.944        1.4636        .32485E-07   -.10699E-01
  15  Prefactor     .28871E-06    5.0626       -.14352E-08** at limit **
  16  Prefactor     .60507E-08    4.4288        .77617E-07** at limit **
  17  Normalizat    1.3578        .21896        .52768E-05    .42783E-04
  18  Prefactor     .67275        .12924       -.40253E-05   -.42102E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.04041e-08
  Prefactor  = 3.19357
  Prefactor  = 19.1531
  Prefactor  = 9.4369e-10
  Prefactor  = 1.18128e-07
  Prefactor  = 5.61995e-07
  Prefactor  = 25.6114
  Prefactor  = 79.5082
  Prefactor  = 7.21645e-10
  norm       = 6.66134e-10
  Prefactor  = 1.90958e-08
  Prefactor  = 3.682e-06
  norm       = 12.1216
  Prefactor  = 12.9442
  Prefactor  = 2.88713e-07
  Prefactor  = 6.05072e-09
  Normalizat = 1.35785
  Prefactor  = 0.672754
 **********
 **   18 **HESSE 
 **********

 FCN=   8712.028     FROM HESSE     STATUS=OK           286 CALLS     1520 TOTAL
                     EDM=   .33E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .50404E-07    44.713        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.1936        .30916        .35118E-02   -1.5351    
   3  Prefactor     19.153        22.510        .23221E-03   -1.5620    
   4  Prefactor     .94369E-09    3.6651        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .11813E-06    23.728        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .56199E-06    6.3845        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     25.611        11.050        .19785E-03   -1.5607    
   8  Prefactor     79.508        28.693        .11181E-03   -1.5530    
   9  Prefactor     .72164E-09    18.540        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .66613E-09    4.7810        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .19096E-07    2.6458        .11649E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .36820E-05    91.180        .89319E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          12.122        11.652        .28760E-03   -1.5638    
  14  Prefactor     12.944        24.906        .27707E-03   -1.5636    
  15  Prefactor     .28871E-06    6.3330        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .60507E-08    4.4309        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.3578        .19497        .67332E-01   -.81856    
  18  Prefactor     .67275        .11127        .42037E-01   -1.0460    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.2612e-07
Minuit parameter uncertainties:
  1  0.00300306
  2  0.309156
  3  22.5097
  4  0.000117866
  5  0.00334848
  6  0.00378839
  7  11.0503
  8  28.6933
  9  0.000230487
  10  0.000114883
  11  0.000449537
  12  0.0366462
  13  11.6519
  14  24.9064
  15  0.00270439
  16  0.000328156
  17  0.195077
  18  0.111305
Done.

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

Extracting fit parameters...

4FGL J2330.5+1102
   Spectrum: PowerLaw
427    Prefactor:  1.910e-08  4.495e-04  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:  6.728e-01  1.113e-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.358e+00  1.951e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/164326/likelihoodResults_689558401_689817601_4FGL_J2330.5+1102_daily_bin1737.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) = 8712.03767736
delta logL = -0.0101383926885

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8712.01422899
delta logL = 0.0133099705581

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .38450       1.0000          .0000       .10000E+07
     2 'Index     '    3.7480       1.0000          .0000       10.000    
     3 'Normalizat'    1.3480       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .67577       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=   8712.014     FROM MIGRAD    STATUS=CONVERGED     61 CALLS      233 TOTAL
                     EDM=   .30E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .38572        5.8973        .51700E-02    .32271E-02
   2  Index         3.7506        1.7257        .50000        .47300E-04
   3  Normalizat    1.3478        .11920E-01    .67542E-01    .33995E-04
   4  Prefactor     .67575        .70694E-02    .42078E-01    .38937E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.38572
  Index      = 3.7506
  Normalizat = 1.34781
  Prefactor  = 0.675753
 **********
 **   18 **HESSE 
 **********

 FCN=   8712.014     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      268 TOTAL
                     EDM=   .39E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .38572        664.27        .18619E-03   -1.5696    
   2  Index         3.7506        7.3004        .13972E-01   -.25256    
   3  Normalizat    1.3478        .15880        .29879E-03   -.82150    
   4  Prefactor     .67575        .81148E-01    .24017E-03   -1.0449    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.93648e-07
Minuit parameter uncertainties:
  1  32.0175
  2  47.9626
  3  0.158853
  4  0.081162
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/164326': 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) = 8712.01422762
delta logL = 0.0133113434476

Extracting fit parameters...

4FGL J2330.5+1102
   Spectrum: PowerLaw
427    Prefactor:  3.857e-01  3.202e+01  0.000e+00  1.000e+06 ( 1.000e-12)
428        Index:  3.751e+00  4.796e+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:  6.758e-01  8.116e-02  0.000e+00  1.000e+01 ( 1.000e+00)
515        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
516        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  1.348e+00  1.589e-01  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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/164326/cmap_HighResolution_689558401_689817601_4FGL_J2330.5+1102_daily_bin1737.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.26e-03', job_status='DONE', photon_flux_upper_limit='1.17e-07', time_completed='2022-11-11 01:13:51.640359', job_id='164326', GAL2='0.68', fit_tolerance='1e-08', EG2='1.35', EG='1.36', time_epoch_completed='1668158031.64', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.67', dlogl='1.33e-02', ts2='0.03', photon_index_error='0.00', photon_index='2.79' WHERE bin_id='1737' AND source_name='4FGL J2330.5+1102' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Nov 11 01:13:51 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0268>
Subject: Job 164326: <4FGL_J2330.5+1102_daily_bin1737> in cluster <slac> Done

Job <4FGL_J2330.5+1102_daily_bin1737> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Nov 11 01:00:25 2022
Job was executed on host(s) <bullet0268>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Nov 11 01:01:06 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Nov 11 01:01:06 2022
Terminated at Fri Nov 11 01:13:52 2022
Results reported at Fri Nov 11 01:13:52 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2330.5+1102_daily_bin1737 352.629 11.0479 689558401 689817601 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 :                                   625.04 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             330.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   766 sec.
    Turnaround time :                            807 sec.

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

