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


Performing analysis on: 4FGL_J2330.5+1102_daily_bin1750
RA = 352.629, Dec = 11.0479
tmin = 692928001, tmax = 693187201
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='29697', job_status='RUN', time_executed='2022-12-20 02:01:35.922342', time_epoch_executed='1671530495.92' WHERE source_name='4FGL J2330.5+1102' and cadence='daily' and bin_id='1750'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/29697

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/29697/ft1_4FGL_J2330.5+1102_daily_bin1750.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/29697/ft2_4FGL_J2330.5+1102_daily_bin1750.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/29697/ft1_4FGL_J2330.5+1102_daily_bin1750.fits outfile=/scratch/kocevski/29697/ft1_filteredMKT_4FGL_J2330.5+1102_daily_bin1750.fits ra=352.629 dec=11.0479 rad=12.0 tmin=692928001.0 tmax=693187201.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.56
user 3.33
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/29697/ft1_filtered_4FGL_J2330.5+1102_daily_bin1750.fits" evtable="EVENTS" scfile=/scratch/kocevski/29697/ft2_4FGL_J2330.5+1102_daily_bin1750.fits sctable="SC_DATA" outfile=/scratch/kocevski/29697/ltcube_692928001_693187201_4FGL_J2330.5+1102_daily_bin1750.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/29697/ft2_4FGL_J2330.5+1102_daily_bin1750.fits
.....................!
real 11.84
user 11.49
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/29697/ft1_filtered_4FGL_J2330.5+1102_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/29697/ft2_4FGL_J2330.5+1102_daily_bin1750.fits sctable="SC_DATA" expcube=/scratch/kocevski/29697/ltcube_692928001_693187201_4FGL_J2330.5+1102_daily_bin1750.fits outfile=/scratch/kocevski/29697/expmap_692928001_693187201_4FGL_J2330.5+1102_daily_bin1750.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/29697/ltcube_692928001_693187201_4FGL_J2330.5+1102_daily_bin1750.fits
.....................!
real 190.24
user 185.19
sys 4.46

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/29697/ft1_filtered_4FGL_J2330.5+1102_daily_bin1750.fits scfile=/scratch/kocevski/29697/ft2_4FGL_J2330.5+1102_daily_bin1750.fits outfile=/scratch/kocevski/29697/cmap_692928001_693187201_4FGL_J2330.5+1102_daily_bin1750.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/29697/ft1_filtered_4FGL_J2330.5+1102_daily_bin1750.fits scfile=/scratch/kocevski/29697/ft2_4FGL_J2330.5+1102_daily_bin1750.fits outfile=/scratch/kocevski/29697/cmap_HighResolution_692928001_693187201_4FGL_J2330.5+1102_daily_bin1750.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/29697/ft1_filtered_4FGL_J2330.5+1102_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/29697/ft2_4FGL_J2330.5+1102_daily_bin1750.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/29697/Model_4FGL_J2330.5+1102_daily_bin1750.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/29697/ft1_filtered_4FGL_J2330.5+1102_daily_bin1750.fits.....................!
real 89.19
user 87.58
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    52.891       1.0000          .0000       .10000E+07
     2 'Prefactor '    2.8510       1.0000         .10000E-03   10000.    
     3 'Prefactor '    28.400       1.0000          .0000       .10000E+07
     4 'Prefactor '    .23379E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .11678E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    11.502       1.0000          .0000       .10000E+07
     7 'Prefactor '    .11400E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    .89077E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    101.60       1.0000          .0000       .10000E+07
    10 'norm      '    17.787       1.0000          .0000       .10000E+07
    11 'Prefactor '    .52680E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .29600E-02   1.0000          .0000       .10000E+07
    13 'norm      '    6.0770       1.0000          .0000       .10000E+07
    14 'Prefactor '    77.361       1.0000          .0000       .10000E+07
    15 'Prefactor '    7.4548       1.0000          .0000       .10000E+07
    16 'Prefactor '    8.0967       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.1259       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .91451       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=   7947.119     FROM MIGRAD    STATUS=CONVERGED    156 CALLS     1328 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     52.333        11.742       -.30430E-06   -.37338E-01
   2  Prefactor     2.8533        .30500        .25174E-06    .33866E-03
   3  Prefactor     31.896        39.494        .26467E-06    .15437E-01
   4  Prefactor      .0000        3.1416        .69053E-06** at limit **
   5  Prefactor     .15488E-07    26.874       -.61709E-06** at limit **
   6  Prefactor     11.573        8.0941        .49428E-06   -.38925E-03
   7  Prefactor     .55511E-10    6.8312        .41816E-06** at limit **
   8  Prefactor     .21094E-08    16.751       -.44182E-06** at limit **
   9  Prefactor     104.26        70.785        .23280E-05   -.93880E-02
  10  norm          17.514        10.771       -.17326E-05   -.61548E-02
  11  Prefactor     .11225E-04    30.572        .10077E-05** at limit **
  12  Prefactor     .12956E-06    49.214        .17676E-05** at limit **
  13  norm          6.0827        7.3303        .77070E-07   -.43724E-03
  14  Prefactor     80.601        53.214       -.17298E-05    .63051E-02
  15  Prefactor     7.6471        22.141       -.17423E-05    .18640E-03
  16  Prefactor     8.0772        6.1041        .81200E-07   -.36108E-03
  17  Normalizat    1.1195        .27028        .11063E-04    .14121E-03
  18  Prefactor     .91519        .15467       -.20510E-04    .20460E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 52.3328
  Prefactor  = 2.85325
  Prefactor  = 31.8964
  Prefactor  = 0
  Prefactor  = 1.54876e-08
  Prefactor  = 11.5735
  Prefactor  = 5.55112e-11
  Prefactor  = 2.10942e-09
  Prefactor  = 104.255
  norm       = 17.5138
  Prefactor  = 1.1225e-05
  Prefactor  = 1.29563e-07
  norm       = 6.0827
  Prefactor  = 80.6011
  Prefactor  = 7.64714
  Prefactor  = 8.07724
  Normalizat = 1.11952
  Prefactor  = 0.915185
 **********
 **   18 **HESSE 
 **********

 FCN=   7947.119     FROM HESSE     STATUS=OK           290 CALLS     1618 TOTAL
                     EDM=   .83E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     52.333        40.974        .13751E-03   -1.5563    
   2  Prefactor     2.8533        .30711        .34889E-02   -1.5370    
   3  Prefactor     31.896        45.861        .18768E-03   -1.5595    
   4  Prefactor      .0000        3.1238        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .15488E-07    26.857        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     11.573        8.0680        .29513E-03   -1.5640    
   7  Prefactor     .55511E-10    6.8230        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .21094E-08    16.768        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     104.26        71.785        .99214E-04   -1.5504    
  10  norm          17.514        12.051        .23721E-03   -1.5624    
  11  Prefactor     .11225E-04    8.0864        .59640E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .12956E-06    50.032        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          6.0827        7.3348        .40705E-03   -1.5659    
  14  Prefactor     80.601        53.716        .11370E-03   -1.5528    
  15  Prefactor     7.6471        22.166        .36709E-03   -1.5653    
  16  Prefactor     8.0772        6.0973        .35211E-03   -1.5651    
  17  Normalizat    1.1195        .23003        .78226E-01   -.89127    
  18  Prefactor     .91519        .13125        .45190E-01   -.95612    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.34625e-08
Minuit parameter uncertainties:
  1  40.9746
  2  0.307114
  3  45.8615
  4  1.64526e-05
  5  0.00129063
  6  8.068
  7  4.17449e-05
  8  0.000374471
  9  71.7852
  10  12.0508
  11  0.0190546
  12  0.00509222
  13  7.33482
  14  53.7165
  15  22.1663
  16  6.09729
  17  0.230235
  18  0.131297
Done.

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

Extracting fit parameters...

4FGL J2330.5+1102
   Spectrum: PowerLaw
427    Prefactor:  1.122e-05  1.905e-02  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.152e-01  1.313e-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.120e+00  2.302e-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.18e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.32e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/29697/likelihoodResults_692928001_693187201_4FGL_J2330.5+1102_daily_bin1750.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) = 7947.13309663
delta logL = -0.0138428730024

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7947.11925822
delta logL = -4.46221110906e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .17128E-04   1.0000          .0000       .10000E+07
     2 'Index     '    2.3619       1.0000          .0000       10.000    
     3 'Normalizat'    1.1201       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91500       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=   7947.119     FROM MIGRAD    STATUS=CONVERGED     78 CALLS      243 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16265E-07    121.42        .42118E-03** at limit **
   2  Index         1.8102        9.0947        .50000       -.72760E-09
   3  Normalizat    1.1195        .10375E-01    .78227E-01   -.27194E-03
   4  Prefactor     .91519        .62741E-02    .45196E-01   -.23898E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.62648e-08
  Index      = 1.8102
  Normalizat = 1.11952
  Prefactor  = 0.915186
 **********
 **   18 **HESSE 
 **********

 FCN=   7947.119     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      274 TOTAL
                     EDM=   .36E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16265E-07    3327.6        .16847E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8102        8.9662        .50000       -.69185    
   3  Normalizat    1.1195        .59785E-01    .34627E-03   -.89128    
   4  Prefactor     .91519        .36205E-01    .22796E-03   -.95612    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.55842e-08
Minuit parameter uncertainties:
  1  0.0147255
  2  65043.6
  3  0.0597882
  4  0.0362062
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/29697': 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) = 7947.11925371
delta logL = 4.88125806442e-08

Extracting fit parameters...

4FGL J2330.5+1102
   Spectrum: PowerLaw
427    Prefactor:  1.626e-08  1.473e-02  0.000e+00  1.000e+06 ( 1.000e-12)
428        Index:  1.810e+00  6.504e+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:  9.152e-01  3.621e-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.120e+00  5.979e-02  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/29697/cmap_HighResolution_692928001_693187201_4FGL_J2330.5+1102_daily_bin1750.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.32e-03', job_status='DONE', photon_flux_upper_limit='1.18e-07', time_completed='2022-12-20 02:11:34.495778', job_id='29697', GAL2='0.92', fit_tolerance='1e-08', EG2='1.12', EG='1.12', time_epoch_completed='1671531094.5', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='4.88e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.79' WHERE bin_id='1750' AND source_name='4FGL J2330.5+1102' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec 20 02:11:34 PST 2022


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

Job <4FGL_J2330.5+1102_daily_bin1750> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Dec 20 02:00:20 2022
Job was executed on host(s) <bullet0208>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec 20 02:00:21 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec 20 02:00:21 2022
Terminated at Tue Dec 20 02:11:35 2022
Results reported at Tue Dec 20 02:11:35 2022

Your job looked like:

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

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

