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


Performing analysis on: 4FGL_J2334.2+0736_daily_bin1735
RA = 353.557, Dec = 7.602
tmin = 689040001, tmax = 689299201
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='866756', job_status='RUN', time_executed='2022-11-05 00:38:12.794668', time_epoch_executed='1667633892.79' WHERE source_name='4FGL J2334.2+0736' and cadence='daily' and bin_id='1735'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/866756

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/866756/ft1_4FGL_J2334.2+0736_daily_bin1735.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/866756/ft2_4FGL_J2334.2+0736_daily_bin1735.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/866756/ft1_4FGL_J2334.2+0736_daily_bin1735.fits outfile=/scratch/kocevski/866756/ft1_filteredMKT_4FGL_J2334.2+0736_daily_bin1735.fits ra=353.557 dec=7.602 rad=12.0 tmin=689040001.0 tmax=689299201.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.64
user 3.41
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/866756/ft2_4FGL_J2334.2+0736_daily_bin1735.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/866756/ft2_4FGL_J2334.2+0736_daily_bin1735.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/866756/ft1_filteredMKT_4FGL_J2334.2+0736_daily_bin1735.fits evtable="EVENTS" outfile="/scratch/kocevski/866756/ft1_filtered_4FGL_J2334.2+0736_daily_bin1735.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.34
sys 0.14

Number of photons that the gtmktime cut: 640

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/866756/ft1_filtered_4FGL_J2334.2+0736_daily_bin1735.fits" evtable="EVENTS" scfile=/scratch/kocevski/866756/ft2_4FGL_J2334.2+0736_daily_bin1735.fits sctable="SC_DATA" outfile=/scratch/kocevski/866756/ltcube_689040001_689299201_4FGL_J2334.2+0736_daily_bin1735.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/866756/ft2_4FGL_J2334.2+0736_daily_bin1735.fits
.....................!
real 11.91
user 11.58
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/866756/ft1_filtered_4FGL_J2334.2+0736_daily_bin1735.fits evtable="EVENTS" scfile=/scratch/kocevski/866756/ft2_4FGL_J2334.2+0736_daily_bin1735.fits sctable="SC_DATA" expcube=/scratch/kocevski/866756/ltcube_689040001_689299201_4FGL_J2334.2+0736_daily_bin1735.fits outfile=/scratch/kocevski/866756/expmap_689040001_689299201_4FGL_J2334.2+0736_daily_bin1735.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/866756/ltcube_689040001_689299201_4FGL_J2334.2+0736_daily_bin1735.fits
.....................!
real 189.85
user 184.60
sys 4.90

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 154 point sources and 0 extended sources

Setting source of interest to:
4FGL J2334.2+0736 @ 353.557 7.602

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/866756/ft1_filtered_4FGL_J2334.2+0736_daily_bin1735.fits scfile=/scratch/kocevski/866756/ft2_4FGL_J2334.2+0736_daily_bin1735.fits outfile=/scratch/kocevski/866756/cmap_689040001_689299201_4FGL_J2334.2+0736_daily_bin1735.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=353.557 yref=7.602 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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/866756/ft1_filtered_4FGL_J2334.2+0736_daily_bin1735.fits scfile=/scratch/kocevski/866756/ft2_4FGL_J2334.2+0736_daily_bin1735.fits outfile=/scratch/kocevski/866756/cmap_HighResolution_689040001_689299201_4FGL_J2334.2+0736_daily_bin1735.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=353.557 yref=7.602 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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/866756/ft1_filtered_4FGL_J2334.2+0736_daily_bin1735.fits evtable="EVENTS" scfile=/scratch/kocevski/866756/ft2_4FGL_J2334.2+0736_daily_bin1735.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/866756/Model_4FGL_J2334.2+0736_daily_bin1735.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/866756/ft1_filtered_4FGL_J2334.2+0736_daily_bin1735.fits....................!
real 80.72
user 79.29
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/866756/ft1_filtered_4FGL_J2334.2+0736_daily_bin1735.fits', '/scratch/kocevski/866756/ft2_4FGL_J2334.2+0736_daily_bin1735.fits', expMap='/scratch/kocevski/866756/expmap_689040001_689299201_4FGL_J2334.2+0736_daily_bin1735.fits', expCube='/scratch/kocevski/866756/ltcube_689040001_689299201_4FGL_J2334.2+0736_daily_bin1735.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/866756/Model_4FGL_J2334.2+0736_daily_bin1735.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2334.2+0736'

4FGL J2334.2+0736
   Spectrum: PowerLaw
430    Prefactor:  5.621e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
431        Index:  2.471e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
432        Scale:  9.656e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/866756/ft1_filtered_4FGL_J2334.2+0736_daily_bin1735.fits
Spacecraft file(s): /scratch/kocevski/866756/ft2_4FGL_J2334.2+0736_daily_bin1735.fits
Exposure map: /scratch/kocevski/866756/expmap_689040001_689299201_4FGL_J2334.2+0736_daily_bin1735.fits
Exposure cube: /scratch/kocevski/866756/ltcube_689040001_689299201_4FGL_J2334.2+0736_daily_bin1735.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/866756/Model_4FGL_J2334.2+0736_daily_bin1735.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) = 7165.94184501

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.125       1.0000          .0000       .10000E+07
     2 'Prefactor '    6.7909       1.0000          .0000       .10000E+07
     3 'Prefactor '    .39968E-08   1.0000          .0000       .10000E+07
     4 'Prefactor '    .25108E-06   1.0000          .0000       .10000E+07
     5 'norm      '    .56294       1.0000          .0000       .10000E+07
     6 'Prefactor '    4.4204       1.0000          .0000       .10000E+07
     7 'Prefactor '    10.345       1.0000          .0000       .10000E+07
     8 'Prefactor '    .96319E-03   1.0000          .0000       .10000E+07
     9 'norm      '    26.862       1.0000          .0000       .10000E+07
    10 'Prefactor '    .11977E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    26.552       1.0000          .0000       .10000E+07
    12 'norm      '    25.055       1.0000          .0000       .10000E+07
    13 'norm      '    16.259       1.0000          .0000       .10000E+07
    14 'Prefactor '    7.5956       1.0000          .0000       .10000E+07
    15 'Prefactor '    25.303       1.0000          .0000       .10000E+07
    16 'Prefactor '    40.859       1.0000          .0000       .10000E+07
    17 'Prefactor '    4.4536       1.0000          .0000       .10000E+07
    18 'Normalizat'    .66557       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .92985       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5050E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7165.931     FROM MIGRAD    STATUS=CONVERGED    130 CALLS     1763 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.136        11.440        .38310E-07   -.46093E-01
   2  Prefactor     6.7920        2.0421       -.14442E-07   -.22162E-02
   3  Prefactor      .0000        2.6925       -.15606E-08** at limit **
   4  Prefactor      .0000        5.8638        .28863E-06** at limit **
   5  norm          .56326        .83617       -.10139E-06    .62978E-03
   6  Prefactor     4.4216        11.224       -.33319E-06   -.29236E-02
   7  Prefactor     10.360        19.660       -.85820E-07    .27881E-02
   8  Prefactor     .53790E-07    768.13        .75786E-06** at limit **
   9  norm          26.860        11.390        .10324E-06   -.24065E-02
  10  Prefactor     .55511E-10    4.8649        .69236E-06** at limit **
  11  Prefactor     26.561        8.3897       -.93076E-07    .42047E-01
  12  norm          25.050        11.202       -.15727E-07   -.59468E-01
  13  norm          16.286        4.8787        .17647E-07    .10015E-01
  14  Prefactor     7.5933        4.9095        .17290E-06   -.18258E-02
  15  Prefactor     25.300        27.534        .38077E-06    .10882E-01
  16  Prefactor     40.861        4.7693       -.92688E-08    .40771E-01
  17  Prefactor     4.4532        4.9390        .13909E-06   -.21291E-03
  18  Normalizat    .66538        .21352        .57129E-05    .14457E-05
  19  Prefactor     .92992        .13589       -.36007E-05    .33052E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.1357
  Prefactor  = 6.79204
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0.563259
  Prefactor  = 4.42164
  Prefactor  = 10.3603
  Prefactor  = 5.37903e-08
  norm       = 26.8598
  Prefactor  = 5.55112e-11
  Prefactor  = 26.5609
  norm       = 25.0504
  norm       = 16.2857
  Prefactor  = 7.59329
  Prefactor  = 25.2996
  Prefactor  = 40.8615
  Prefactor  = 4.45316
  Normalizat = 0.665379
  Prefactor  = 0.929918
 **********
 **   18 **HESSE 
 **********

 FCN=   7165.931     FROM HESSE     STATUS=OK           314 CALLS     2077 TOTAL
                     EDM=   .17E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.136        16.190        .22874E-03   -1.5620    
   2  Prefactor     6.7920        15.668        .38479E-03   -1.5656    
   3  Prefactor      .0000        2.6903        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        5.8625        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .56326        .85466        .72616E-03   -1.5693    
   6  Prefactor     4.4216        11.554        .47874E-03   -1.5666    
   7  Prefactor     10.360        21.571        .31128E-03   -1.5644    
   8  Prefactor     .53790E-07    756.59        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          26.860        11.661        .19298E-03   -1.5604    
  10  Prefactor     .55511E-10    4.8623        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     26.561        30.841        .19410E-03   -1.5605    
  12  norm          25.050        15.367        .19982E-03   -1.5608    
  13  norm          16.286        22.781        .24812E-03   -1.5627    
  14  Prefactor     7.5933        5.4581        .36364E-03   -1.5653    
  15  Prefactor     25.300        28.180        .19884E-03   -1.5607    
  16  Prefactor     40.861        29.571        .15646E-03   -1.5580    
  17  Prefactor     4.4532        4.9473        .47691E-03   -1.5666    
  18  Normalizat    .66538        .19554        .78089E-01   -1.0528    
  19  Prefactor     .92992        .11886        .45384E-01   -.95103    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.74184e-07
Minuit parameter uncertainties:
  1  16.1895
  2  15.6679
  3  1.78733e-06
  4  1.47893e-05
  5  0.854657
  6  11.554
  7  21.5714
  8  0.0127635
  9  11.6614
  10  3.30316e-05
  11  30.8411
  12  15.3669
  13  22.7809
  14  5.45814
  15  28.1803
  16  29.5714
  17  4.94729
  18  0.195745
  19  0.118897
Done.

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

Extracting fit parameters...

4FGL J2334.2+0736
   Spectrum: PowerLaw
430    Prefactor:  2.656e+01  3.084e+01  0.000e+00  1.000e+06 ( 1.000e-13)
431        Index:  2.471e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
432        Scale:  9.656e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
502    Prefactor:  9.299e-01  1.189e-01  0.000e+00  1.000e+01 ( 1.000e+00)
503        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
504        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
501   Normalization:  6.654e-01  1.957e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.09
Ra Dec: 353.557 7.602
Photon Index (Fixed Index): 2.47 +/- 0.00
Photon Flux (Fixed Index): 4.90e-08 +/- 5.68e-08
Energy Flux (Fixed Index): 1.47e-05 +/- 1.71e-05

TS (Fixed Index): 1.09
Ra Dec: 353.557 7.602
Photon Flux Upper Limit: 1.55e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.20e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/866756/likelihoodResults_689040001_689299201_4FGL_J2334.2+0736_daily_bin1735.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) = 7165.17119588
delta logL = 0.760197713264

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7165.16258716
delta logL = 0.768806432295

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.5100       1.0000          .0000       .10000E+07
     2 'Index     '    3.7674       1.0000          .0000       10.000    
     3 'Normalizat'    .60462       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95685       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5050E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7165.163     FROM MIGRAD    STATUS=CONVERGED     62 CALLS      260 TOTAL
                     EDM=   .59E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.4635        65.891        .42780E-03    .44448E-02
   2  Index         3.7716        2.6665        .13283        .16533E-03
   3  Normalizat    .60461        .57589E-01    .81506E-01    .40268E-04
   4  Prefactor     .95691        .36964E-01    .45725E-01    .33027E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.46349
  Index      = 3.7716
  Normalizat = 0.604608
  Prefactor  = 0.956912
 **********
 **   18 **HESSE 
 **********

 FCN=   7165.163     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      293 TOTAL
                     EDM=   .63E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.4635        125.06        .12979E-04   -1.5661    
   2  Index         3.7716        6.7706        .46531E-02   -.24822    
   3  Normalizat    .60461        .19598        .36097E-03   -1.0779    
   4  Prefactor     .95691        .13357        .19070E-03   -.94180    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.34621e-10
Minuit parameter uncertainties:
  1  52.2802
  2  4.93344
  3  0.196204
  4  0.133612
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/866756': 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) = 7165.16258293
delta logL = 0.768810662725

Extracting fit parameters...

4FGL J2334.2+0736
   Spectrum: PowerLaw
430    Prefactor:  5.463e+00  5.228e+01  0.000e+00  1.000e+06 ( 1.000e-13)
431        Index:  3.772e+00  4.933e+00  0.000e+00  1.000e+01 (-1.000e+00)
432        Scale:  9.656e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
502    Prefactor:  9.569e-01  1.336e-01  0.000e+00  1.000e+01 ( 1.000e+00)
503        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
504        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
501   Normalization:  6.046e-01  1.962e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.87
Ra Dec: 353.557 7.602
Photon Index (Free Index): 3.77 +/- 4.93
Photon Flux (Free Index): 1.02e-07 +/- 7.22e-08
Energy Flux (Free Index): 1.60e-05 +/- 2.13e-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/866756/cmap_HighResolution_689040001_689299201_4FGL_J2334.2+0736_daily_bin1735.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.20e-02', comment='SUCCESS', photon_flux='4.90e-08', energy_flux2='1.60e-05', photon_flux_error='5.68e-08', dlogl='7.69e-01', energy_flux='1.47e-05', photon_flux2='1.02e-07', job_status='DONE', time_completed='2022-11-05 00:48:04.933362', photon_index_error2='4.93', photon_index2='3.77', ts='1.09', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', photon_flux_upper_limit='1.55e-07', energy_flux_error2='2.13e-05', EG='0.67', time_epoch_completed='1667634484.93', return_code='0', job_id='866756', GAL2='0.96', EG2='0.60', return_code2='102', energy_flux_error='1.71e-05', photon_flux_error2='7.22e-08', ts2='2.87', photon_index='2.47' WHERE bin_id='1735' AND source_name='4FGL J2334.2+0736' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Nov  5 00:48:04 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0195>
Subject: Job 866756: <4FGL_J2334.2+0736_daily_bin1735> in cluster <slac> Done

Job <4FGL_J2334.2+0736_daily_bin1735> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Nov  5 00:35:32 2022
Job was executed on host(s) <bullet0195>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Nov  5 00:35:34 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Nov  5 00:35:34 2022
Terminated at Sat Nov  5 00:48:05 2022
Results reported at Sat Nov  5 00:48:05 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2334.2+0736_daily_bin1735 353.557 7.602 689040001 689299201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2334.2+0736 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   594.36 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             304.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   752 sec.
    Turnaround time :                            753 sec.

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

