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


Performing analysis on: 4FGL_J2330.5+1102_daily_bin1772
RA = 352.629, Dec = 11.0479
tmin = 698630401, tmax = 698889601
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='654792', job_status='RUN', time_executed='2023-02-24 03:06:28.864080', time_epoch_executed='1677236788.86' WHERE source_name='4FGL J2330.5+1102' and cadence='daily' and bin_id='1772'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/654792

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/654792/ft1_4FGL_J2330.5+1102_daily_bin1772.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/654792/ft2_4FGL_J2330.5+1102_daily_bin1772.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/654792/ft1_4FGL_J2330.5+1102_daily_bin1772.fits outfile=/scratch/kocevski/654792/ft1_filteredMKT_4FGL_J2330.5+1102_daily_bin1772.fits ra=352.629 dec=11.0479 rad=12.0 tmin=698630401.0 tmax=698889601.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.17
user 2.84
sys 0.19

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

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

Number of photons that the gtmktime cut: 672

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/654792/ft1_filtered_4FGL_J2330.5+1102_daily_bin1772.fits evtable="EVENTS" scfile=/scratch/kocevski/654792/ft2_4FGL_J2330.5+1102_daily_bin1772.fits sctable="SC_DATA" expcube=/scratch/kocevski/654792/ltcube_698630401_698889601_4FGL_J2330.5+1102_daily_bin1772.fits outfile=/scratch/kocevski/654792/expmap_698630401_698889601_4FGL_J2330.5+1102_daily_bin1772.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/654792/ltcube_698630401_698889601_4FGL_J2330.5+1102_daily_bin1772.fits
.....................!
real 189.68
user 185.03
sys 4.31

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/654792/ft1_filtered_4FGL_J2330.5+1102_daily_bin1772.fits scfile=/scratch/kocevski/654792/ft2_4FGL_J2330.5+1102_daily_bin1772.fits outfile=/scratch/kocevski/654792/cmap_698630401_698889601_4FGL_J2330.5+1102_daily_bin1772.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/654792/ft1_filtered_4FGL_J2330.5+1102_daily_bin1772.fits scfile=/scratch/kocevski/654792/ft2_4FGL_J2330.5+1102_daily_bin1772.fits outfile=/scratch/kocevski/654792/cmap_HighResolution_698630401_698889601_4FGL_J2330.5+1102_daily_bin1772.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.40
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .36357E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    2.3303       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .42313E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    4.4786       1.0000          .0000       .10000E+07
     5 'Prefactor '    17.674       1.0000          .0000       .10000E+07
     6 'Prefactor '    .10334E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .85164E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    18.637       1.0000          .0000       .10000E+07
     9 'Prefactor '    .14921       1.0000          .0000       .10000E+07
    10 'norm      '    2.9101       1.0000          .0000       .10000E+07
    11 'Prefactor '    5.2625       1.0000          .0000       .10000E+07
    12 'Prefactor '    .67160E-02   1.0000          .0000       .10000E+07
    13 'norm      '    .12449E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    59.897       1.0000          .0000       .10000E+07
    15 'Prefactor '    .31104E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .57279       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.3071       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .85360       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=   7465.682     FROM MIGRAD    STATUS=CONVERGED    136 CALLS     1301 TOTAL
                     EDM=   .73E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    14.377        .27196E-05** at limit **
   2  Prefactor     2.3305        .28402       -.25808E-07    .12913E-01
   3  Prefactor     .70499E-07    18.266       -.21809E-05** at limit **
   4  Prefactor     4.4774        4.7221       -.77258E-07   -.64321E-03
   5  Prefactor     17.688        1.3496       -.50948E-07   -.24939E-03
   6  Prefactor     .22038E-06    15.349        .89723E-06** at limit **
   7  Prefactor     .61062E-09    4.1250        .25489E-06** at limit **
   8  Prefactor     18.813        17.591       -.11891E-05    .18312E-01
   9  Prefactor     .27756E-09    41.191       -.29226E-06** at limit **
  10  norm          2.8919        7.2192        .72518E-07   -.71968E-03
  11  Prefactor     5.2849        9.1204       -.56538E-06   -.58042E-05
  12  Prefactor     .27756E-09    12.772       -.12283E-05** at limit **
  13  norm           .0000        6.1470       -.42717E-06** at limit **
  14  Prefactor     60.584        54.849        .16117E-05   -.23237E-02
  15  Prefactor     .61062E-09    6.9862        .73441E-06** at limit **
  16  Prefactor     .58293        17.553       -.76645E-05    .95791E-03
  17  Normalizat    1.3062        .26841        .77557E-05    .32668E-03
  18  Prefactor     .85368        .14991        .35508E-05    .59905E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Prefactor  = 2.33052
  Prefactor  = 7.04992e-08
  Prefactor  = 4.47736
  Prefactor  = 17.6877
  Prefactor  = 2.20379e-07
  Prefactor  = 6.10623e-10
  Prefactor  = 18.8132
  Prefactor  = 2.77556e-10
  norm       = 2.89188
  Prefactor  = 5.28494
  Prefactor  = 2.77556e-10
  norm       = 0
  Prefactor  = 60.5845
  Prefactor  = 6.10623e-10
  Prefactor  = 0.582929
  Normalizat = 1.30618
  Prefactor  = 0.853683
 **********
 **   18 **HESSE 
 **********

 FCN=   7465.682     FROM HESSE     STATUS=OK           280 CALLS     1581 TOTAL
                     EDM=   .13E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    14.379        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.3305        .28386        .34687E-02   -1.5403    
   3  Prefactor     .70499E-07    20.566        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.4774        4.7225        .47554E-03   -1.5666    
   5  Prefactor     17.688        19.266        .23796E-03   -1.5624    
   6  Prefactor     .22038E-06    25.326        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .61062E-09    4.1269        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     18.813        24.117        .23173E-03   -1.5621    
   9  Prefactor     .27756E-09    41.138        .12760E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.8919        7.3184        .59534E-03   -1.5674    
  11  Prefactor     5.2849        9.1964        .43792E-03   -1.5662    
  12  Prefactor     .27756E-09    12.864        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm           .0000        6.1579        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     60.584        54.766        .12922E-03   -1.5552    
  15  Prefactor     .61062E-09    6.9893        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .58293        17.383        .71702E-03   -1.5693    
  17  Normalizat    1.3062        .23034        .73271E-01   -.83382    
  18  Prefactor     .85368        .12772        .44411E-01   -.97779    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.27526e-07
Minuit parameter uncertainties:
  1  5.8722e-05
  2  0.283858
  3  0.00240793
  4  4.72251
  5  19.2665
  6  0.00472487
  7  0.000101028
  8  24.1172
  9  0.000206278
  10  7.31846
  11  9.19644
  12  0.000121253
  13  6.97414e-06
  14  54.7661
  15  0.000131551
  16  6.3665
  17  0.230522
  18  0.127763
Done.

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

Extracting fit parameters...

4FGL J2330.5+1102
   Spectrum: PowerLaw
427    Prefactor:  5.285e+00  9.196e+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

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  8.537e-01  1.278e-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.306e+00  2.305e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/654792/likelihoodResults_698630401_698889601_4FGL_J2330.5+1102_daily_bin1772.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) = 7465.65719124
delta logL = 0.0244986817524

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7465.65153358
delta logL = 0.0301563460616

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.1145       1.0000          .0000       .10000E+07
     2 'Index     '    2.3395       1.0000          .0000       10.000    
     3 'Normalizat'    1.3221       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84663       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7465.652     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      253 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.1135        9.9415        .16231E-04    .35161E-02
   2  Index         2.3396        1.4691        .98171E-02    .14394E-03
   3  Normalizat    1.3222        .26132        .32253E-03   -.43618E-03
   4  Prefactor     .84654        .15074        .22925E-03   -.63828E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.11345
  Index      = 2.33956
  Normalizat = 1.32223
  Prefactor  = 0.84654
 **********
 **   18 **HESSE 
 **********

 FCN=   7465.652     FROM HESSE     STATUS=OK            23 CALLS      276 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.1135        9.9829        .64924E-06   -1.5659    
   2  Index         2.3396        1.4743        .39268E-03   -.56107    
   3  Normalizat    1.3222        .26154        .64506E-04   -.82905    
   4  Prefactor     .84654        .15080        .45850E-04   -.98035    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.75333e-09
Minuit parameter uncertainties:
  1  9.98289
  2  1.50588
  3  0.261801
  4  0.150876
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/654792': 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): 0
logL (Free Index) = 7465.65153339
delta logL = 0.0301565340751

Extracting fit parameters...

4FGL J2330.5+1102
   Spectrum: PowerLaw
427    Prefactor:  6.113e+00  9.983e+00  0.000e+00  1.000e+06 ( 1.000e-12)
428        Index:  2.340e+00  1.506e+00  0.000e+00  1.000e+01 (-1.000e+00)
429        Scale:  5.658e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  8.465e-01  1.509e-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.322e+00  2.618e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.45
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/654792/cmap_HighResolution_698630401_698889601_4FGL_J2330.5+1102_daily_bin1772.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.34e-02', job_status='DONE', photon_flux_upper_limit='1.70e-07', time_completed='2023-02-24 03:15:58.492119', job_id='654792', GAL2='0.85', fit_tolerance='1e-08', EG2='1.32', EG='1.31', time_epoch_completed='1677237358.49', return_code2='0', ts='0.45', comment='SUCCESS', return_code='0', GAL='0.85', dlogl='3.02e-02', ts2='0.50', photon_index_error='0.00', photon_index='2.79' WHERE bin_id='1772' AND source_name='4FGL J2330.5+1102' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb 24 03:15:58 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0034>
Subject: Job 654792: <4FGL_J2330.5+1102_daily_bin1772> in cluster <slac> Done

Job <4FGL_J2330.5+1102_daily_bin1772> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Feb 24 03:05:17 2023
Job was executed on host(s) <bullet0034>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb 24 03:05:19 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb 24 03:05:19 2023
Terminated at Fri Feb 24 03:15:59 2023
Results reported at Fri Feb 24 03:15:59 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2330.5+1102_daily_bin1772 352.629 11.0479 698630401 698889601 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 :                                   572.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             331.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   639 sec.
    Turnaround time :                            642 sec.

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

