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


Performing analysis on: 4FGL_J2330.5+1102_daily_bin1769
RA = 352.629, Dec = 11.0479
tmin = 697852801, tmax = 698112001
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='447691', job_status='RUN', time_executed='2023-02-15 01:42:07.864042', time_epoch_executed='1676454127.86' WHERE source_name='4FGL J2330.5+1102' and cadence='daily' and bin_id='1769'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/447691

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/447691/ft1_4FGL_J2330.5+1102_daily_bin1769.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/447691/ft2_4FGL_J2330.5+1102_daily_bin1769.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/447691/ft1_4FGL_J2330.5+1102_daily_bin1769.fits outfile=/scratch/kocevski/447691/ft1_filteredMKT_4FGL_J2330.5+1102_daily_bin1769.fits ra=352.629 dec=11.0479 rad=12.0 tmin=697852801.0 tmax=698112001.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.37
user 4.13
sys 0.22

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

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

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

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

Number of photons that the gtmktime cut: 741

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/447691/ft1_filtered_4FGL_J2330.5+1102_daily_bin1769.fits evtable="EVENTS" scfile=/scratch/kocevski/447691/ft2_4FGL_J2330.5+1102_daily_bin1769.fits sctable="SC_DATA" expcube=/scratch/kocevski/447691/ltcube_697852801_698112001_4FGL_J2330.5+1102_daily_bin1769.fits outfile=/scratch/kocevski/447691/expmap_697852801_698112001_4FGL_J2330.5+1102_daily_bin1769.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/447691/ltcube_697852801_698112001_4FGL_J2330.5+1102_daily_bin1769.fits
.....................!
real 189.82
user 185.39
sys 4.12

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/447691/ft1_filtered_4FGL_J2330.5+1102_daily_bin1769.fits scfile=/scratch/kocevski/447691/ft2_4FGL_J2330.5+1102_daily_bin1769.fits outfile=/scratch/kocevski/447691/cmap_697852801_698112001_4FGL_J2330.5+1102_daily_bin1769.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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/447691/ft1_filtered_4FGL_J2330.5+1102_daily_bin1769.fits scfile=/scratch/kocevski/447691/ft2_4FGL_J2330.5+1102_daily_bin1769.fits outfile=/scratch/kocevski/447691/cmap_HighResolution_697852801_698112001_4FGL_J2330.5+1102_daily_bin1769.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.54
user 0.37
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .17061E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    5.2973       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .22164E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .24688E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .16920E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .80870E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .58983E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    67.467       1.0000          .0000       .10000E+07
     9 'Prefactor '    .23487       1.0000          .0000       .10000E+07
    10 'norm      '    .54958E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .48065       1.0000          .0000       .10000E+07
    12 'Prefactor '    .73949E-02   1.0000          .0000       .10000E+07
    13 'norm      '    .70170E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    49.367       1.0000          .0000       .10000E+07
    15 'Prefactor '    28.867       1.0000          .0000       .10000E+07
    16 'Prefactor '    .98738E-04   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.1175       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .78951       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=   7968.359     FROM MIGRAD    STATUS=CONVERGED    108 CALLS     1282 TOTAL
                     EDM=   .60E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .61173E-07    7.2151       -.91812E-06** at limit **
   2  Prefactor     5.2972        .40907        .32920E-08   -.50569E-02
   3  Prefactor     .24591E-07    5.0147        .39717E-06** at limit **
   4  Prefactor     .13617E-06    6.2806       -.14215E-05** at limit **
   5  Prefactor     .55511E-09    5.2267        .40711E-06** at limit **
   6  Prefactor     .33307E-09    5.5190       -.79610E-06** at limit **
   7  Prefactor     .86819E-07    9.8658        .12673E-05** at limit **
   8  Prefactor     67.777        18.658        .21807E-06    .10795E-01
   9  Prefactor     .21760E-07    41.250        .69267E-05** at limit **
  10  norm          .42688E-07    8.7067        .10091E-05** at limit **
  11  Prefactor     .50372        11.622       -.79060E-07   -.20658E-02
  12  Prefactor     .80880E-07    9.1639        .31333E-06** at limit **
  13  norm          .22204E-09    7.8189       -.18589E-06** at limit **
  14  Prefactor     50.064        26.319        .48590E-06   -.11341E-01
  15  Prefactor     28.818        3.1326        .18843E-06   -.13803E-01
  16  Prefactor     .12212E-08    3.9443        .82043E-07** at limit **
  17  Normalizat    1.1166        .25179        .22346E-06    .14453E-03
  18  Prefactor     .78973        .14669       -.12057E-05    .49563E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.11733e-08
  Prefactor  = 5.29717
  Prefactor  = 2.45914e-08
  Prefactor  = 1.36169e-07
  Prefactor  = 5.55112e-10
  Prefactor  = 3.33067e-10
  Prefactor  = 8.68194e-08
  Prefactor  = 67.7774
  Prefactor  = 2.17604e-08
  norm       = 4.26881e-08
  Prefactor  = 0.503724
  Prefactor  = 8.08797e-08
  norm       = 2.22045e-10
  Prefactor  = 50.0638
  Prefactor  = 28.8179
  Prefactor  = 1.22125e-09
  Normalizat = 1.11662
  Prefactor  = 0.789732
 **********
 **   18 **HESSE 
 **********

 FCN=   7968.359     FROM HESSE     STATUS=OK           274 CALLS     1556 TOTAL
                     EDM=   .15E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .61173E-07    13.788        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     5.2972        .40906        .34581E-02   -1.5248    
   3  Prefactor     .24591E-07    12.467        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .13617E-06    16.043        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .55511E-09    5.2244        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .33307E-09    5.5277        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .86819E-07    19.545        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     67.777        30.934        .12175E-03   -1.5543    
   9  Prefactor     .21760E-07    41.875        .11185E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .42688E-07    12.303        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .50372        11.449        .80680E-03   -1.5694    
  12  Prefactor     .80880E-07    18.115        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .22204E-09    7.8490        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     50.064        32.097        .14234E-03   -1.5566    
  15  Prefactor     28.818        22.278        .18615E-03   -1.5601    
  16  Prefactor     .12212E-08    3.9393        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.1166        .21626        .77386E-01   -.89220    
  18  Prefactor     .78973        .12417        .43581E-01   -1.0011    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.47848e-06
Minuit parameter uncertainties:
  1  0.0018369
  2  0.409056
  3  0.00110718
  4  0.00295631
  5  0.000110264
  6  8.70893e-05
  7  0.00260492
  8  30.9337
  9  0.00190901
  10  0.0014498
  11  4.80292
  12  0.00242076
  13  7.88043e-05
  14  32.0974
  15  22.2777
  16  0.00013809
  17  0.216434
  18  0.124216
Done.

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

Extracting fit parameters...

4FGL J2330.5+1102
   Spectrum: PowerLaw
427    Prefactor:  5.037e-01  4.803e+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:  7.897e-01  1.242e-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.117e+00  2.164e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.01
Ra Dec: 352.629 11.048
Photon Flux Upper Limit: 1.11e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.81e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/447691/likelihoodResults_697852801_698112001_4FGL_J2330.5+1102_daily_bin1769.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) = 7968.03179993
delta logL = 0.327218316456

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7968.03165317
delta logL = 0.327365076952

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.9529       1.0000          .0000       .10000E+07
     2 'Index     '    1.6923       1.0000          .0000       10.000    
     3 'Normalizat'    1.1270       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .77978       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=   7968.032     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      245 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.9997        4.8405        .59073E-03    .31994E-02
   2  Index         1.6967        .56897        .27928       -.72017E-04
   3  Normalizat    1.1271        .20918        .77064E-01    .15230E-04
   4  Prefactor     .77968        .12429        .43453E-01    .12576E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.99972
  Index      = 1.69667
  Normalizat = 1.12711
  Prefactor  = 0.779677
 **********
 **   18 **HESSE 
 **********

 FCN=   7968.032     FROM HESSE     STATUS=OK            33 CALLS      278 TOTAL
                     EDM=   .78E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.9997        5.0124        .23629E-04   -1.5673    
   2  Index         1.6967        .80771        .12931E-01   -.72170    
   3  Normalizat    1.1271        .24657        .34110E-03   -.88886    
   4  Prefactor     .77968        .14668        .23757E-03   -1.0048    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.76652e-12
Minuit parameter uncertainties:
  1  5.01239
  2  0.814075
  3  0.246824
  4  0.146752
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/447691': 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) = 7968.03160946
delta logL = 0.327408788568

Extracting fit parameters...

4FGL J2330.5+1102
   Spectrum: PowerLaw
427    Prefactor:  3.000e+00  5.012e+00  0.000e+00  1.000e+06 ( 1.000e-12)
428        Index:  1.697e+00  8.141e-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:  7.797e-01  1.468e-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.127e+00  2.468e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.01
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/447691/cmap_HighResolution_697852801_698112001_4FGL_J2330.5+1102_daily_bin1769.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.81e-03', job_status='DONE', photon_flux_upper_limit='1.11e-07', time_completed='2023-02-15 01:51:59.741689', job_id='447691', GAL2='0.78', fit_tolerance='1e-08', EG2='1.13', EG='1.12', time_epoch_completed='1676454719.74', return_code2='0', ts='0.01', comment='SUCCESS', return_code='0', GAL='0.79', dlogl='3.27e-01', ts2='0.67', photon_index_error='0.00', photon_index='2.79' WHERE bin_id='1769' AND source_name='4FGL J2330.5+1102' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Feb 15 01:51:59 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0079>
Subject: Job 447691: <4FGL_J2330.5+1102_daily_bin1769> in cluster <slac> Done

Job <4FGL_J2330.5+1102_daily_bin1769> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Feb 15 01:40:34 2023
Job was executed on host(s) <bullet0079>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Feb 15 01:40:35 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Feb 15 01:40:35 2023
Terminated at Wed Feb 15 01:52:00 2023
Results reported at Wed Feb 15 01:52:00 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2330.5+1102_daily_bin1769 352.629 11.0479 697852801 698112001 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 :                                   594.00 sec.
    Max Memory :                                 1175 MB
    Average Memory :                             359.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   685 sec.
    Turnaround time :                            686 sec.

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

