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


Performing analysis on: 4FGL_J2334.2+0736_daily_bin1744
RA = 353.557, Dec = 7.602
tmin = 691372801, tmax = 691632001
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='599003', job_status='RUN', time_executed='2022-12-02 02:08:48.968823', time_epoch_executed='1669975728.97' WHERE source_name='4FGL J2334.2+0736' and cadence='daily' and bin_id='1744'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/599003

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/599003/ft1_4FGL_J2334.2+0736_daily_bin1744.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/599003/ft2_4FGL_J2334.2+0736_daily_bin1744.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/599003/ft1_4FGL_J2334.2+0736_daily_bin1744.fits outfile=/scratch/kocevski/599003/ft1_filteredMKT_4FGL_J2334.2+0736_daily_bin1744.fits ra=353.557 dec=7.602 rad=12.0 tmin=691372801.0 tmax=691632001.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.51
user 2.31
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/599003/ft1_filtered_4FGL_J2334.2+0736_daily_bin1744.fits" evtable="EVENTS" scfile=/scratch/kocevski/599003/ft2_4FGL_J2334.2+0736_daily_bin1744.fits sctable="SC_DATA" outfile=/scratch/kocevski/599003/ltcube_691372801_691632001_4FGL_J2334.2+0736_daily_bin1744.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/599003/ft2_4FGL_J2334.2+0736_daily_bin1744.fits
.....................!
real 12.53
user 12.16
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/599003/ft1_filtered_4FGL_J2334.2+0736_daily_bin1744.fits evtable="EVENTS" scfile=/scratch/kocevski/599003/ft2_4FGL_J2334.2+0736_daily_bin1744.fits sctable="SC_DATA" expcube=/scratch/kocevski/599003/ltcube_691372801_691632001_4FGL_J2334.2+0736_daily_bin1744.fits outfile=/scratch/kocevski/599003/expmap_691372801_691632001_4FGL_J2334.2+0736_daily_bin1744.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/599003/ltcube_691372801_691632001_4FGL_J2334.2+0736_daily_bin1744.fits
.....................!
real 192.13
user 186.24
sys 5.56

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/599003/ft1_filtered_4FGL_J2334.2+0736_daily_bin1744.fits scfile=/scratch/kocevski/599003/ft2_4FGL_J2334.2+0736_daily_bin1744.fits outfile=/scratch/kocevski/599003/cmap_691372801_691632001_4FGL_J2334.2+0736_daily_bin1744.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.56
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/599003/ft1_filtered_4FGL_J2334.2+0736_daily_bin1744.fits scfile=/scratch/kocevski/599003/ft2_4FGL_J2334.2+0736_daily_bin1744.fits outfile=/scratch/kocevski/599003/cmap_HighResolution_691372801_691632001_4FGL_J2334.2+0736_daily_bin1744.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.56
user 0.38
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/599003/ft1_filtered_4FGL_J2334.2+0736_daily_bin1744.fits', '/scratch/kocevski/599003/ft2_4FGL_J2334.2+0736_daily_bin1744.fits', expMap='/scratch/kocevski/599003/expmap_691372801_691632001_4FGL_J2334.2+0736_daily_bin1744.fits', expCube='/scratch/kocevski/599003/ltcube_691372801_691632001_4FGL_J2334.2+0736_daily_bin1744.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/599003/Model_4FGL_J2334.2+0736_daily_bin1744.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/599003/ft1_filtered_4FGL_J2334.2+0736_daily_bin1744.fits
Spacecraft file(s): /scratch/kocevski/599003/ft2_4FGL_J2334.2+0736_daily_bin1744.fits
Exposure map: /scratch/kocevski/599003/expmap_691372801_691632001_4FGL_J2334.2+0736_daily_bin1744.fits
Exposure cube: /scratch/kocevski/599003/ltcube_691372801_691632001_4FGL_J2334.2+0736_daily_bin1744.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/599003/Model_4FGL_J2334.2+0736_daily_bin1744.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) = 8108.58371723

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    26.146       1.0000          .0000       .10000E+07
     2 'Prefactor '    15.970       1.0000          .0000       .10000E+07
     3 'Prefactor '    .20300E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    .18547E-04   1.0000          .0000       .10000E+07
     5 'norm      '    .45723       1.0000          .0000       .10000E+07
     6 'Prefactor '    5.6938       1.0000          .0000       .10000E+07
     7 'Prefactor '    .17704E-01   1.0000          .0000       .10000E+07
     8 'Prefactor '    101.78       1.0000          .0000       .10000E+07
     9 'norm      '    .37347E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    .29391E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    17.102       1.0000          .0000       .10000E+07
    12 'norm      '    12.243       1.0000          .0000       .10000E+07
    13 'norm      '    13.705       1.0000          .0000       .10000E+07
    14 'Prefactor '    .50633       1.0000          .0000       .10000E+07
    15 'Prefactor '    .76753E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .35914E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .13519E-03   1.0000          .0000       .10000E+07
    18 'Normalizat'    .82961       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0937       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=   8108.581     FROM MIGRAD    STATUS=CONVERGED    145 CALLS     1413 TOTAL
                     EDM=   .27E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     26.136        16.150        .22910E-05    .56952E-01
   2  Prefactor     15.978        2.3687       -.20364E-07   -.17738E-01
   3  Prefactor      .0000        2.2157       -.16278E-06** at limit **
   4  Prefactor      .0000        4.2967        .53166E-06** at limit **
   5  norm          .45649        .74314        .48103E-07    .48006E-04
   6  Prefactor     5.6033        7.2525       -.10307E-06   -.11084E-02
   7  Prefactor      .0000        16.980       -.56747E-07** at limit **
   8  Prefactor     102.20        57.353        .50118E-05   -.20535E-01
   9  norm           .0000        2.7266       -.32116E-06** at limit **
  10  Prefactor     .17764E-08    12.491       -.17230E-06** at limit **
  11  Prefactor     17.440        22.395        .13083E-05    .36251E-01
  12  norm          12.239        10.959        .16116E-07    .82296E-03
  13  norm          13.404        14.413       -.10889E-05    .62493E-01
  14  Prefactor     .58672        9.9074        .13243E-05   -.46131E-02
  15  Prefactor     .10159E-07    53.028        .20439E-05** at limit **
  16  Prefactor     .11102E-09    9.4780        .13036E-06** at limit **
  17  Prefactor      .0000        2.7957       -.13024E-06** at limit **
  18  Normalizat    .82827        .21882       -.14896E-04    .48913E-06
  19  Prefactor     1.0942        .14222        .70561E-06   -.48120E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 26.1363
  Prefactor  = 15.9779
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0.456492
  Prefactor  = 5.60329
  Prefactor  = 0
  Prefactor  = 102.199
  norm       = 0
  Prefactor  = 1.77636e-09
  Prefactor  = 17.4404
  norm       = 12.2389
  norm       = 13.404
  Prefactor  = 0.586718
  Prefactor  = 1.01585e-08
  Prefactor  = 1.11022e-10
  Prefactor  = 0
  Normalizat = 0.828266
  Prefactor  = 1.09415
 **********
 **   18 **HESSE 
 **********

 FCN=   8108.581     FROM HESSE     STATUS=OK           314 CALLS     1727 TOTAL
                     EDM=   .27E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     26.136        17.146        .19561E-03   -1.5606    
   2  Prefactor     15.978        27.497        .25036E-03   -1.5628    
   3  Prefactor      .0000        2.2104        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        4.2993        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .45649        .84951        .22296E-02   -1.5694    
   6  Prefactor     5.6033        7.2987        .42072E-03   -1.5661    
   7  Prefactor      .0000        7.6365        .87381E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     102.20        59.117        .99126E-04   -1.5506    
   9  norm           .0000        2.7230        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .17764E-08    12.359        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     17.440        24.568        .24192E-03   -1.5624    
  12  norm          12.239        10.968        .28603E-03   -1.5638    
  13  norm          13.404        29.795        .27031E-03   -1.5635    
  14  Prefactor     .58672        17.588        .78075E-03   -1.5693    
  15  Prefactor     .10159E-07    53.022        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .11102E-09    9.4746        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        2.7945        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .82827        .19438        .76095E-01   -.99029    
  19  Prefactor     1.0942        .12410        .37830E-01   -.89654    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.67361e-06
Minuit parameter uncertainties:
  1  17.1458
  2  27.4968
  3  8.08957e-07
  4  4.74691e-06
  5  0.849509
  6  7.29869
  7  1.67869e-06
  8  59.1177
  9  2.44108e-07
  10  0.000295596
  11  24.5684
  12  10.9676
  13  29.7955
  14  6.42467
  15  0.00146737
  16  7.24225e-05
  17  5.24064e-07
  18  0.19454
  19  0.124134
Done.

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

Extracting fit parameters...

4FGL J2334.2+0736
   Spectrum: PowerLaw
430    Prefactor:  1.744e+01  2.457e+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:  1.094e+00  1.241e-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:  8.283e-01  1.945e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.63
Ra Dec: 353.557 7.602
Photon Flux Upper Limit: 1.25e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.67e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/599003/likelihoodResults_691372801_691632001_4FGL_J2334.2+0736_daily_bin1744.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) = 8108.49219852
delta logL = 0.0886842322489

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8108.48445902
delta logL = 0.0964237331782

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.5090       1.0000          .0000       .10000E+07
     2 'Index     '    3.1134       1.0000          .0000       10.000    
     3 'Normalizat'    .80765       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1033       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8108.484     FROM MIGRAD    STATUS=CONVERGED    102 CALLS      328 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.5287        538.41        .68682E-04   -.11674E-02
   2  Index         3.1132        5.8522        .87474E-02    .28179E-04
   3  Normalizat    .80720        .25578        .34079E-03    .12403E-03
   4  Prefactor     1.1035        .17392        .19800E-03    .40032E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.52872
  Index      = 3.11316
  Normalizat = 0.807196
  Prefactor  = 1.10353
 **********
 **   18 **HESSE 
 **********

 FCN=   8108.484     FROM HESSE     STATUS=OK            25 CALLS      353 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.5287        21.959        .27473E-05   -1.5650    
   2  Index         3.1132        1.4393        .34990E-03   -.38695    
   3  Normalizat    .80720        .21722        .13632E-04   -.99802    
   4  Prefactor     1.1035        .14307        .39599E-04   -.89354    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.64546e-10
Minuit parameter uncertainties:
  1  21.9594
  2  1.4636
  3  0.217456
  4  0.143116
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/599003': 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) = 8108.48445579
delta logL = 0.0964269598326

Extracting fit parameters...

4FGL J2334.2+0736
   Spectrum: PowerLaw
430    Prefactor:  8.529e+00  2.196e+01  0.000e+00  1.000e+06 ( 1.000e-13)
431        Index:  3.113e+00  1.464e+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:  1.104e+00  1.431e-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:  8.072e-01  2.175e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.63
Ra Dec: 353.557 7.602

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/599003/cmap_HighResolution_691372801_691632001_4FGL_J2334.2+0736_daily_bin1744.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.67e-03', job_status='DONE', photon_flux_upper_limit='1.25e-07', time_completed='2022-12-02 02:19:10.065914', job_id='599003', GAL2='1.10', fit_tolerance='1e-08', EG2='0.81', EG='0.83', time_epoch_completed='1669976350.07', return_code2='0', ts='0.63', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='9.64e-02', ts2='0.84', photon_index_error='0.00', photon_index='2.47' WHERE bin_id='1744' AND source_name='4FGL J2334.2+0736' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec  2 02:19:10 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0109>
Subject: Job 599003: <4FGL_J2334.2+0736_daily_bin1744> in cluster <slac> Done

Job <4FGL_J2334.2+0736_daily_bin1744> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Fri Dec  2 02:05:23 2022
Job was executed on host(s) <bullet0109>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec  2 02:05:24 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec  2 02:05:24 2022
Terminated at Fri Dec  2 02:19:10 2022
Results reported at Fri Dec  2 02:19:10 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2334.2+0736_daily_bin1744 353.557 7.602 691372801 691632001 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 :                                   622.52 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             250.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   826 sec.
    Turnaround time :                            827 sec.

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

