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


Performing analysis on: 4FGL_J2330.5+1102_daily_bin1738
RA = 352.629, Dec = 11.0479
tmin = 689817601, tmax = 690076801
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='412065', job_status='RUN', time_executed='2022-11-14 00:51:32.975278', time_epoch_executed='1668415892.98' WHERE source_name='4FGL J2330.5+1102' and cadence='daily' and bin_id='1738'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/412065

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/412065/ft1_4FGL_J2330.5+1102_daily_bin1738.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/412065/ft2_4FGL_J2330.5+1102_daily_bin1738.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/412065/ft1_4FGL_J2330.5+1102_daily_bin1738.fits outfile=/scratch/kocevski/412065/ft1_filteredMKT_4FGL_J2330.5+1102_daily_bin1738.fits ra=352.629 dec=11.0479 rad=12.0 tmin=689817601.0 tmax=690076801.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 4.29
user 3.87
sys 0.23

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

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

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

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

Number of photons that the gtmktime cut: 783

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/412065/ft1_filtered_4FGL_J2330.5+1102_daily_bin1738.fits" evtable="EVENTS" scfile=/scratch/kocevski/412065/ft2_4FGL_J2330.5+1102_daily_bin1738.fits sctable="SC_DATA" outfile=/scratch/kocevski/412065/ltcube_689817601_690076801_4FGL_J2330.5+1102_daily_bin1738.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/412065/ft2_4FGL_J2330.5+1102_daily_bin1738.fits
.....................!
real 14.27
user 13.36
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/412065/ft1_filtered_4FGL_J2330.5+1102_daily_bin1738.fits evtable="EVENTS" scfile=/scratch/kocevski/412065/ft2_4FGL_J2330.5+1102_daily_bin1738.fits sctable="SC_DATA" expcube=/scratch/kocevski/412065/ltcube_689817601_690076801_4FGL_J2330.5+1102_daily_bin1738.fits outfile=/scratch/kocevski/412065/expmap_689817601_690076801_4FGL_J2330.5+1102_daily_bin1738.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/412065/ltcube_689817601_690076801_4FGL_J2330.5+1102_daily_bin1738.fits
.....................!
real 192.02
user 185.83
sys 5.22

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/412065/ft1_filtered_4FGL_J2330.5+1102_daily_bin1738.fits scfile=/scratch/kocevski/412065/ft2_4FGL_J2330.5+1102_daily_bin1738.fits outfile=/scratch/kocevski/412065/cmap_689817601_690076801_4FGL_J2330.5+1102_daily_bin1738.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.56
user 0.37
sys 0.16

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10482E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    3.9995       1.0000         .10000E-03   10000.    
     3 'Prefactor '    35.115       1.0000          .0000       .10000E+07
     4 'Prefactor '    .29117E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    1.9310       1.0000          .0000       .10000E+07
     6 'Prefactor '    16.667       1.0000          .0000       .10000E+07
     7 'Prefactor '    8.6410       1.0000          .0000       .10000E+07
     8 'Prefactor '    .20372       1.0000          .0000       .10000E+07
     9 'Prefactor '    38.190       1.0000          .0000       .10000E+07
    10 'norm      '    14.001       1.0000          .0000       .10000E+07
    11 'Prefactor '    .26390E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .29614E-02   1.0000          .0000       .10000E+07
    13 'norm      '    .66025E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    56.988       1.0000          .0000       .10000E+07
    15 'Prefactor '    16.248       1.0000          .0000       .10000E+07
    16 'Prefactor '    .18700E-05   1.0000          .0000       .10000E+07
    17 'Normalizat'    .71164       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0296       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=   8453.951     FROM MIGRAD    STATUS=CONVERGED    133 CALLS     1331 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .29626E-06    10.775       -.18190E-06** at limit **
   2  Prefactor     3.9999        .34998        .35477E-06    .17611E-02
   3  Prefactor     35.388        4.7112        .36210E-07    .29007E-01
   4  Prefactor     .26056E-05    35.146        .11319E-05** at limit **
   5  Prefactor     1.8911        10.757       -.73942E-06   -.74226E-03
   6  Prefactor     16.621        10.774        .20979E-06    .82188E-02
   7  Prefactor     8.7902        13.611        .69353E-06    .96751E-01
   8  Prefactor     .32936        155.86        .39343E-05   -.17833E-01
   9  Prefactor     40.270        35.255        .39573E-06   -.36732E-01
  10  norm          13.939        11.106       -.30526E-07   -.84518E-01
  11  Prefactor     .66058E-08    4.8844        .20453E-06** at limit **
  12  Prefactor     .22560E-06    10.335        .46874E-06** at limit **
  13  norm          .31641E-08    4.8196       -.34647E-06** at limit **
  14  Prefactor     58.941        30.932       -.27174E-06    .81564E-01
  15  Prefactor     15.014        20.056        .11631E-06   -.99756E-01
  16  Prefactor      .0000        2.0308        .96101E-07** at limit **
  17  Normalizat    .70901        .23784       -.89781E-05    .65748E-04
  18  Prefactor     1.0307        .13944        .91579E-05    .16216E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.96263e-07
  Prefactor  = 3.99992
  Prefactor  = 35.3879
  Prefactor  = 2.60558e-06
  Prefactor  = 1.89113
  Prefactor  = 16.6209
  Prefactor  = 8.79018
  Prefactor  = 0.329356
  Prefactor  = 40.27
  norm       = 13.939
  Prefactor  = 6.60583e-09
  Prefactor  = 2.25597e-07
  norm       = 3.16414e-09
  Prefactor  = 58.9411
  Prefactor  = 15.0141
  Prefactor  = 0
  Normalizat = 0.709008
  Prefactor  = 1.03066
 **********
 **   18 **HESSE 
 **********

 FCN=   8453.951     FROM HESSE     STATUS=OK           290 CALLS     1621 TOTAL
                     EDM=   .15E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .29626E-06    10.910        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.9999        .34996        .34904E-02   -1.5308    
   3  Prefactor     35.388        29.476        .16877E-03   -1.5589    
   4  Prefactor     .26056E-05    35.674        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.8911        10.847        .74713E-03   -1.5680    
   6  Prefactor     16.621        13.239        .24506E-03   -1.5626    
   7  Prefactor     8.7902        14.887        .34076E-03   -1.5649    
   8  Prefactor     .32936        33.119        .13262E-01   -1.5696    
   9  Prefactor     40.270        45.076        .16183E-03   -1.5581    
  10  norm          13.939        11.891        .26743E-03   -1.5633    
  11  Prefactor     .66058E-08    4.8960        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .22560E-06    10.438        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .31641E-08    4.8279        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     58.941        40.394        .13248E-03   -1.5554    
  15  Prefactor     15.014        23.327        .24820E-03   -1.5630    
  16  Prefactor      .0000        2.0376        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .70901        .21607        .90896E-01   -1.0354    
  18  Prefactor     1.0307        .12364        .41290E-01   -.91714    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.51607e-06
Minuit parameter uncertainties:
  1  0.00359568
  2  0.349959
  3  29.4765
  4  0.0192823
  5  9.0583
  6  13.2388
  7  14.8871
  8  6.60548
  9  45.0767
  10  11.8913
  11  0.000359038
  12  0.00306919
  13  0.000246482
  14  40.3943
  15  23.3268
  16  7.66236e-06
  17  0.21633
  18  0.123669
Done.

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

Extracting fit parameters...

4FGL J2330.5+1102
   Spectrum: PowerLaw
427    Prefactor:  6.606e-09  3.590e-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:  1.031e+00  1.237e-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:  7.090e-01  2.163e-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.04e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.19e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/412065/likelihoodResults_689817601_690076801_4FGL_J2330.5+1102_daily_bin1738.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) = 8453.95150624
delta logL = -0.000995839016468

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8453.95051047
delta logL = -6.63421815261e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .29976E-08   1.0000          .0000       .10000E+07
     2 'Index     '    1.0596       1.0000          .0000       10.000    
     3 'Normalizat'    .70895       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0307       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=   8453.951     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      287 TOTAL
                     EDM=   .17E-17    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    .19885E-04    .31415E-02** at limit **
   2  Index         4.6853        5.9694        .39377        .57742E-10
   3  Normalizat    .70901        .39400E-04    .90896E-01   -.45057E-04
   4  Prefactor     1.0307        .24342E-04    .41206E-01   -.68817E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 4.68528
  Normalizat = 0.709007
  Prefactor  = 1.03066
 **********
 **   18 **HESSE 
 **********

 FCN=   8453.951     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      320 TOTAL
                     EDM=   .25E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    .27848E-01    .10382E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.6853        5.4149        .50000       -.62985E-01
   3  Normalizat    .70901        .58843E-03    .40274E-03   -1.0354    
   4  Prefactor     1.0307        .36459E-03    .20855E-03   -.91714    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.52949e-13
Minuit parameter uncertainties:
  1  2.80724e-06
  2  18201
  3  0.000588433
  4  0.000364593
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/412065': 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) = 8453.9505104
delta logL = 6.42103259452e-10

Extracting fit parameters...

4FGL J2330.5+1102
   Spectrum: PowerLaw
427    Prefactor:  5.551e-11  2.807e-06  0.000e+00  1.000e+06 ( 1.000e-12)
428        Index:  4.685e+00  1.820e+04  0.000e+00  1.000e+01 (-1.000e+00)
429        Scale:  5.658e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  1.031e+00  3.646e-04  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:  7.090e-01  5.884e-04  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/412065/cmap_HighResolution_689817601_690076801_4FGL_J2330.5+1102_daily_bin1738.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.19e-03', job_status='DONE', photon_flux_upper_limit='1.04e-07', time_completed='2022-11-14 01:02:04.865251', job_id='412065', GAL2='1.03', fit_tolerance='1e-08', EG2='0.71', EG='0.71', time_epoch_completed='1668416524.87', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='6.42e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.79' WHERE bin_id='1738' AND source_name='4FGL J2330.5+1102' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Nov 14 01:02:04 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0222>
Subject: Job 412065: <4FGL_J2330.5+1102_daily_bin1738> in cluster <slac> Done

Job <4FGL_J2330.5+1102_daily_bin1738> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Nov 14 00:50:23 2022
Job was executed on host(s) <bullet0222>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Nov 14 00:51:20 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Nov 14 00:51:20 2022
Terminated at Mon Nov 14 01:02:05 2022
Results reported at Mon Nov 14 01:02:05 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2330.5+1102_daily_bin1738 352.629 11.0479 689817601 690076801 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 :                                   631.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             397.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   645 sec.
    Turnaround time :                            702 sec.

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

