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


Performing analysis on: 4FGL_J2330.5+1102_daily_bin1757
RA = 352.629, Dec = 11.0479
tmin = 694742401, tmax = 695001601
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='230946', job_status='RUN', time_executed='2023-01-10 02:53:54.795300', time_epoch_executed='1673348034.8' WHERE source_name='4FGL J2330.5+1102' and cadence='daily' and bin_id='1757'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/230946

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/230946/ft1_4FGL_J2330.5+1102_daily_bin1757.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/230946/ft2_4FGL_J2330.5+1102_daily_bin1757.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/230946/ft1_4FGL_J2330.5+1102_daily_bin1757.fits outfile=/scratch/kocevski/230946/ft1_filteredMKT_4FGL_J2330.5+1102_daily_bin1757.fits ra=352.629 dec=11.0479 rad=12.0 tmin=694742401.0 tmax=695001601.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 2.99
user 2.72
sys 0.19

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

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

Number of photons that the gtmktime cut: 1126

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/230946/ft1_filtered_4FGL_J2330.5+1102_daily_bin1757.fits" evtable="EVENTS" scfile=/scratch/kocevski/230946/ft2_4FGL_J2330.5+1102_daily_bin1757.fits sctable="SC_DATA" outfile=/scratch/kocevski/230946/ltcube_694742401_695001601_4FGL_J2330.5+1102_daily_bin1757.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/230946/ft2_4FGL_J2330.5+1102_daily_bin1757.fits
.....................!
real 15.78
user 15.11
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/230946/ft1_filtered_4FGL_J2330.5+1102_daily_bin1757.fits evtable="EVENTS" scfile=/scratch/kocevski/230946/ft2_4FGL_J2330.5+1102_daily_bin1757.fits sctable="SC_DATA" expcube=/scratch/kocevski/230946/ltcube_694742401_695001601_4FGL_J2330.5+1102_daily_bin1757.fits outfile=/scratch/kocevski/230946/expmap_694742401_695001601_4FGL_J2330.5+1102_daily_bin1757.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/230946/ltcube_694742401_695001601_4FGL_J2330.5+1102_daily_bin1757.fits
.....................!
real 193.80
user 185.73
sys 5.63

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/230946/ft1_filtered_4FGL_J2330.5+1102_daily_bin1757.fits scfile=/scratch/kocevski/230946/ft2_4FGL_J2330.5+1102_daily_bin1757.fits outfile=/scratch/kocevski/230946/cmap_694742401_695001601_4FGL_J2330.5+1102_daily_bin1757.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.55
user 0.36
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/230946/ft1_filtered_4FGL_J2330.5+1102_daily_bin1757.fits scfile=/scratch/kocevski/230946/ft2_4FGL_J2330.5+1102_daily_bin1757.fits outfile=/scratch/kocevski/230946/cmap_HighResolution_694742401_695001601_4FGL_J2330.5+1102_daily_bin1757.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.37
sys 0.18

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .85931E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    3.2506       1.0000         .10000E-03   10000.    
     3 'Prefactor '    34.846       1.0000          .0000       .10000E+07
     4 'Prefactor '    .72279E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .85552E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .31619E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    2.5008       1.0000          .0000       .10000E+07
     8 'Prefactor '    .17634E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .10841E-02   1.0000          .0000       .10000E+07
    10 'norm      '    .41899E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    9.7933       1.0000          .0000       .10000E+07
    12 'Prefactor '    10.809       1.0000          .0000       .10000E+07
    13 'norm      '    .33929E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .57788E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    6.4333       1.0000          .0000       .10000E+07
    16 'Prefactor '    .10120E-02   1.0000          .0000       .10000E+07
    17 'Normalizat'    .99377       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .98042       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=   11564.43     FROM MIGRAD    STATUS=CONVERGED    115 CALLS     1297 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .44659E-05    6.8462       -.10572E-05** at limit **
   2  Prefactor     3.2505        .25458       -.72317E-08    .73285E-03
   3  Prefactor     34.985        1.0645       -.23730E-08    .40779E-01
   4  Prefactor      .0000        2.1818       -.34282E-06** at limit **
   5  Prefactor     .22204E-09    3.3336        .33048E-06** at limit **
   6  Prefactor      .0000        1.3599        .16174E-07** at limit **
   7  Prefactor     2.4870        6.9566        .20349E-06   -.14388E-02
   8  Prefactor     .43435E-05    8.2000       -.63827E-06** at limit **
   9  Prefactor     .75495E-07    10.868       -.24473E-05** at limit **
  10  norm           .0000        2.7292        .41539E-06** at limit **
  11  Prefactor     9.7775        5.9785        .15232E-06   -.39276E-03
  12  Prefactor     10.800        1.1288       -.11402E-07    .17123E-01
  13  norm          .11102E-09    3.5463       -.61644E-06** at limit **
  14  Prefactor     .22315E-07    46.608        .15615E-05** at limit **
  15  Prefactor     6.4274        1.3436       -.31476E-07    .65629E-02
  16  Prefactor     .46074E-08    7.3900       -.22852E-06** at limit **
  17  Normalizat    .99380        .19402       -.12862E-04   -.40123E-04
  18  Prefactor     .98040        .12101        .87711E-05   -.11666E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.46587e-06
  Prefactor  = 3.25051
  Prefactor  = 34.9846
  Prefactor  = 0
  Prefactor  = 2.22045e-10
  Prefactor  = 0
  Prefactor  = 2.48697
  Prefactor  = 4.34353e-06
  Prefactor  = 7.54952e-08
  norm       = 0
  Prefactor  = 9.77752
  Prefactor  = 10.7996
  norm       = 1.11022e-10
  Prefactor  = 2.23155e-08
  Prefactor  = 6.42736
  Prefactor  = 4.60743e-09
  Normalizat = 0.993803
  Prefactor  = 0.980402
 **********
 **   18 **HESSE 
 **********

 FCN=   11564.43     FROM HESSE     STATUS=OK           276 CALLS     1573 TOTAL
                     EDM=   .91E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .44659E-05    14.180        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.2505        .25494        .33052E-02   -1.5347    
   3  Prefactor     34.985        30.978        .16942E-03   -1.5590    
   4  Prefactor      .0000        2.1829        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .22204E-09    3.3374        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        1.3635        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.4870        7.0824        .64597E-03   -1.5676    
   8  Prefactor     .43435E-05    15.365        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .75495E-07    11.011        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        2.7364        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     9.7775        5.9979        .31997E-03   -1.5645    
  12  Prefactor     10.800        17.028        .30449E-03   -1.5642    
  13  norm          .11102E-09    3.5521        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .22315E-07    46.689        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     6.4274        18.590        .39547E-03   -1.5657    
  16  Prefactor     .46074E-08    7.3394        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .99380        .16934        .75692E-01   -.93238    
  18  Prefactor     .98040        .10275        .46022E-01   -.93386    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.06964e-07
Minuit parameter uncertainties:
  1  0.0159158
  2  0.254944
  3  30.9782
  4  9.9959e-06
  5  5.54452e-05
  6  4.96132e-06
  7  7.08244
  8  0.0163385
  9  0.00182365
  10  1.4376e-05
  11  5.99788
  12  17.0285
  13  3.73964e-05
  14  0.00204182
  15  18.5906
  16  0.000367337
  17  0.169427
  18  0.102773
Done.

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

Extracting fit parameters...

4FGL J2330.5+1102
   Spectrum: PowerLaw
427    Prefactor:  9.778e+00  5.998e+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:  9.804e-01  1.028e-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:  9.938e-01  1.694e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.97
Ra Dec: 352.629 11.048
Photon Index (Fixed Index): 2.79 +/- 0.00
Photon Flux (Fixed Index): 6.86e-08 +/- 4.20e-08
Energy Flux (Fixed Index): 1.55e-05 +/- 9.50e-06

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

Saving results to:
/scratch/kocevski/230946/likelihoodResults_694742401_695001601_4FGL_J2330.5+1102_daily_bin1757.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) = 11564.423599
delta logL = 0.00394584597598

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11564.4199564
delta logL = 0.00758848980877

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.406       1.0000          .0000       .10000E+07
     2 'Index     '    2.6805       1.0000          .0000       10.000    
     3 'Normalizat'    1.0011       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97699       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=   11564.42     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      240 TOTAL
                     EDM=   .90E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.407        8.3990        .12414E-04   -.47675E-02
   2  Index         2.6804        .89489        .10095E-01   -.10757E-03
   3  Normalizat    1.0011        .20280        .33387E-03    .53058E-03
   4  Prefactor     .97698        .12400        .21228E-03    .11169E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.4072
  Index      = 2.68043
  Normalizat = 1.00108
  Prefactor  = 0.976978
 **********
 **   18 **HESSE 
 **********

 FCN=   11564.42     FROM HESSE     STATUS=OK            25 CALLS      265 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.407        7.8738        .49658E-06   -1.5643    
   2  Index         2.6804        .83721        .40380E-03   -.48241    
   3  Normalizat    1.0011        .20194        .13355E-04   -.92994    
   4  Prefactor     .97698        .12362        .42456E-04   -.93501    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.95518e-10
Minuit parameter uncertainties:
  1  7.87378
  2  0.842276
  3  0.202096
  4  0.123657
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/230946': 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) = 11564.4199564
delta logL = 0.00758850703278

Extracting fit parameters...

4FGL J2330.5+1102
   Spectrum: PowerLaw
427    Prefactor:  1.041e+01  7.874e+00  0.000e+00  1.000e+06 ( 1.000e-12)
428        Index:  2.680e+00  8.423e-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:  9.770e-01  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:  1.001e+00  2.021e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.92
Ra Dec: 352.629 11.048
Photon Index (Free Index): 2.68 +/- 0.84
Photon Flux (Free Index): 6.45e-08 +/- 5.20e-08
Energy Flux (Free Index): 1.58e-05 +/- 1.01e-05

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/230946/cmap_HighResolution_694742401_695001601_4FGL_J2330.5+1102_daily_bin1757.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.18e-02', comment='SUCCESS', photon_flux='6.86e-08', energy_flux2='1.58e-05', photon_flux_error='4.20e-08', dlogl='7.59e-03', energy_flux='1.55e-05', photon_flux2='6.45e-08', job_status='DONE', time_completed='2023-01-10 03:06:31.436801', photon_index_error2='0.84', photon_index2='2.68', ts='3.97', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', photon_flux_upper_limit='1.49e-07', energy_flux_error2='1.01e-05', EG='0.99', time_epoch_completed='1673348791.44', return_code='0', job_id='230946', GAL2='0.98', EG2='1.00', return_code2='0', energy_flux_error='9.50e-06', photon_flux_error2='5.20e-08', ts2='3.92', photon_index='2.79' WHERE bin_id='1757' AND source_name='4FGL J2330.5+1102' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jan 10 03:06:31 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0210>
Subject: Job 230946: <4FGL_J2330.5+1102_daily_bin1757> in cluster <slac> Done

Job <4FGL_J2330.5+1102_daily_bin1757> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Jan 10 02:50:20 2023
Job was executed on host(s) <bullet0210>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan 10 02:51:16 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan 10 02:51:16 2023
Terminated at Tue Jan 10 03:06:32 2023
Results reported at Tue Jan 10 03:06:32 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2330.5+1102_daily_bin1757 352.629 11.0479 694742401 695001601 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 :                                   751.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             304.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   915 sec.
    Turnaround time :                            972 sec.

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

