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


Performing analysis on: 4FGL_J2330.5+1102_daily_bin1748
RA = 352.629, Dec = 11.0479
tmin = 692409601, tmax = 692668801
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='899434', job_status='RUN', time_executed='2022-12-14 01:26:41.495092', time_epoch_executed='1671010001.5' WHERE source_name='4FGL J2330.5+1102' and cadence='daily' and bin_id='1748'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/899434

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/899434/ft1_4FGL_J2330.5+1102_daily_bin1748.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/899434/ft2_4FGL_J2330.5+1102_daily_bin1748.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/899434/ft1_4FGL_J2330.5+1102_daily_bin1748.fits outfile=/scratch/kocevski/899434/ft1_filteredMKT_4FGL_J2330.5+1102_daily_bin1748.fits ra=352.629 dec=11.0479 rad=12.0 tmin=692409601.0 tmax=692668801.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.55
user 3.32
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/899434/ft2_4FGL_J2330.5+1102_daily_bin1748.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/899434/ft1_filteredMKT_4FGL_J2330.5+1102_daily_bin1748.fits evtable="EVENTS" outfile="/scratch/kocevski/899434/ft1_filtered_4FGL_J2330.5+1102_daily_bin1748.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 691

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/899434/ft1_filtered_4FGL_J2330.5+1102_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/899434/ft2_4FGL_J2330.5+1102_daily_bin1748.fits sctable="SC_DATA" expcube=/scratch/kocevski/899434/ltcube_692409601_692668801_4FGL_J2330.5+1102_daily_bin1748.fits outfile=/scratch/kocevski/899434/expmap_692409601_692668801_4FGL_J2330.5+1102_daily_bin1748.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/899434/ltcube_692409601_692668801_4FGL_J2330.5+1102_daily_bin1748.fits
.....................!
real 191.93
user 186.97
sys 4.66

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/899434/ft1_filtered_4FGL_J2330.5+1102_daily_bin1748.fits scfile=/scratch/kocevski/899434/ft2_4FGL_J2330.5+1102_daily_bin1748.fits outfile=/scratch/kocevski/899434/cmap_692409601_692668801_4FGL_J2330.5+1102_daily_bin1748.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/899434/ft1_filtered_4FGL_J2330.5+1102_daily_bin1748.fits scfile=/scratch/kocevski/899434/ft2_4FGL_J2330.5+1102_daily_bin1748.fits outfile=/scratch/kocevski/899434/cmap_HighResolution_692409601_692668801_4FGL_J2330.5+1102_daily_bin1748.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.53
user 0.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    32.831       1.0000          .0000       .10000E+07
     2 'Prefactor '    1.7425       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .16288E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    2.2566       1.0000          .0000       .10000E+07
     5 'Prefactor '    .12641E-01   1.0000          .0000       .10000E+07
     6 'Prefactor '    .15494       1.0000          .0000       .10000E+07
     7 'Prefactor '    13.516       1.0000          .0000       .10000E+07
     8 'Prefactor '    28.707       1.0000          .0000       .10000E+07
     9 'Prefactor '    .14177E-01   1.0000          .0000       .10000E+07
    10 'norm      '    .12160E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .82552E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    .28771E-01   1.0000          .0000       .10000E+07
    13 'norm      '    25.533       1.0000          .0000       .10000E+07
    14 'Prefactor '    109.21       1.0000          .0000       .10000E+07
    15 'Prefactor '    22.071       1.0000          .0000       .10000E+07
    16 'Prefactor '    .31711E-02   1.0000          .0000       .10000E+07
    17 'Normalizat'    .88896       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0523       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=   7299.948     FROM MIGRAD    STATUS=CONVERGED    180 CALLS     1429 TOTAL
                     EDM=   .52E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     32.784        3.1532        .51028E-07    .85053E-01
   2  Prefactor     1.7416        .23918       -.22711E-07   -.13003E-03
   3  Prefactor     .20373E-07    27.154       -.18983E-06** at limit **
   4  Prefactor     2.4800        8.0702       -.76562E-07   -.49964E-03
   5  Prefactor     .64837E-07    36.754        .39845E-06** at limit **
   6  Prefactor     .16359        56.625        .58706E-05** at limit **
   7  Prefactor     13.818        9.2929        .26417E-07   -.39043E-03
   8  Prefactor     28.574        21.333       -.78349E-06    .18283E-01
   9  Prefactor     .45569E-06    394.01        .11584E-05** at limit **
  10  norm           .0000        5.1521       -.14985E-08** at limit **
  11  Prefactor      .0000        8.3543       -.14811E-07** at limit **
  12  Prefactor      .0000        42.361       -.26250E-07** at limit **
  13  norm          25.538        15.900       -.21489E-07   -.58374E-02
  14  Prefactor     108.27        53.284       -.33480E-07   -.38516E-01
  15  Prefactor     22.111        7.1165       -.10786E-06   -.12273    
  16  Prefactor     .11102E-09    7.6620        .88767E-08** at limit **
  17  Normalizat    .88956        .25311        .96823E-06   -.30905E-04
  18  Prefactor     1.0515        .15618       -.92757E-06   -.51324E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 32.7839
  Prefactor  = 1.7416
  Prefactor  = 2.03726e-08
  Prefactor  = 2.47996
  Prefactor  = 6.4837e-08
  Prefactor  = 0.163587
  Prefactor  = 13.8177
  Prefactor  = 28.5741
  Prefactor  = 4.55691e-07
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 25.5377
  Prefactor  = 108.272
  Prefactor  = 22.1107
  Prefactor  = 1.11022e-10
  Normalizat = 0.889559
  Prefactor  = 1.05149
 **********
 **   18 **HESSE 
 **********

 FCN=   7299.948     FROM HESSE     STATUS=OK           294 CALLS     1723 TOTAL
                     EDM=   .95E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     32.784        32.133        .17455E-03   -1.5593    
   2  Prefactor     1.7416        .24204        .33280E-02   -1.5444    
   3  Prefactor     .20373E-07    27.155        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     2.4800        8.0870        .68363E-03   -1.5676    
   5  Prefactor     .64837E-07    36.876        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .16359        3.3897        .90867E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     13.818        9.3796        .27219E-03   -1.5634    
   8  Prefactor     28.574        21.297        .18667E-03   -1.5601    
   9  Prefactor     .45569E-06    387.15        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        5.1432        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        8.3368        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        14.520        .11741E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          25.538        15.939        .19794E-03   -1.5607    
  14  Prefactor     108.27        53.705        .95698E-04   -1.5500    
  15  Prefactor     22.111        25.494        .21292E-03   -1.5614    
  16  Prefactor     .11102E-09    7.6375        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .88956        .22123        .78817E-01   -.96828    
  18  Prefactor     1.0515        .13358        .39778E-01   -.91032    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.45008e-07
Minuit parameter uncertainties:
  1  32.133
  2  0.242044
  3  0.00148837
  4  8.08703
  5  0.00309212
  6  1.48932
  7  9.37956
  8  21.2967
  9  0.0265656
  10  1.98983e-05
  11  3.31227e-06
  12  5.93784e-07
  13  15.9391
  14  53.7052
  15  25.4943
  16  5.78885e-05
  17  0.221451
  18  0.133623
Done.

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

Extracting fit parameters...

4FGL J2330.5+1102
   Spectrum: PowerLaw
427    Prefactor:  0.000e+00  3.312e-06  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.051e+00  1.336e-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:  8.896e-01  2.215e-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: 9.40e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.44e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/899434/likelihoodResults_692409601_692668801_4FGL_J2330.5+1102_daily_bin1748.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) = 7299.94864213
delta logL = -0.000510204384227

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7299.92694685
delta logL = 0.0211850722662

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14107       1.0000          .0000       .10000E+07
     2 'Index     '    4.5413       1.0000          .0000       10.000    
     3 'Normalizat'    .87442       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0572       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=   7299.927     FROM MIGRAD    STATUS=CONVERGED     63 CALLS      298 TOTAL
                     EDM=   .39E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .14053        3.0193        .20960E-02** at limit **
   2  Index         4.5428        1.6930        .50000        .76568E-06
   3  Normalizat    .87449        .14373E-01    .79447E-01   -.47403E-05
   4  Prefactor     1.0572        .90893E-02    .39504E-01   -.19577E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.140534
  Index      = 4.54276
  Normalizat = 0.874489
  Prefactor  = 1.05721
 **********
 **   18 **HESSE 
 **********

 FCN=   7299.927     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      333 TOTAL
                     EDM=   .47E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .14053        154.53        .10756E-03   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.5428        7.2711        .10738E-01   -.91575E-01
   3  Normalizat    .87449        .16045        .35169E-03   -.97362    
   4  Prefactor     1.0572        .89524E-01    .20318E-03   -.90846    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.72224e-06
Minuit parameter uncertainties:
  1  9.32055
  2  38.5709
  3  0.16054
  4  0.0895369
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/899434': 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) = 7299.92694672
delta logL = 0.0211851995082

Extracting fit parameters...

4FGL J2330.5+1102
   Spectrum: PowerLaw
427    Prefactor:  1.405e-01  9.321e+00  0.000e+00  1.000e+06 ( 1.000e-12)
428        Index:  4.543e+00  3.857e+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:  1.057e+00  8.954e-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:  8.745e-01  1.605e-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/899434/cmap_HighResolution_692409601_692668801_4FGL_J2330.5+1102_daily_bin1748.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.44e-03', job_status='DONE', photon_flux_upper_limit='9.40e-08', time_completed='2022-12-14 01:36:30.377114', job_id='899434', GAL2='1.06', fit_tolerance='1e-08', EG2='0.87', EG='0.89', time_epoch_completed='1671010590.38', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='2.12e-02', ts2='0.05', photon_index_error='0.00', photon_index='2.79' WHERE bin_id='1748' AND source_name='4FGL J2330.5+1102' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec 14 01:36:30 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0049>
Subject: Job 899434: <4FGL_J2330.5+1102_daily_bin1748> in cluster <slac> Done

Job <4FGL_J2330.5+1102_daily_bin1748> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Wed Dec 14 01:25:24 2022
Job was executed on host(s) <bullet0049>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec 14 01:25:26 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec 14 01:25:26 2022
Terminated at Wed Dec 14 01:36:31 2022
Results reported at Wed Dec 14 01:36:31 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2330.5+1102_daily_bin1748 352.629 11.0479 692409601 692668801 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 :                                   591.01 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             341.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   664 sec.
    Turnaround time :                            667 sec.

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

