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 55 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

number of points = 7460
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2334.8+1432_daily_bin1745
RA = 353.723, Dec = 14.5346
tmin = 691632001, tmax = 691891201
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='658842', job_status='RUN', time_executed='2022-12-05 01:31:34.671502', time_epoch_executed='1670232694.67' WHERE source_name='4FGL J2334.8+1432' and cadence='daily' and bin_id='1745'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/658842

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/658842/ft1_4FGL_J2334.8+1432_daily_bin1745.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/658842/ft2_4FGL_J2334.8+1432_daily_bin1745.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/658842/ft1_4FGL_J2334.8+1432_daily_bin1745.fits outfile=/scratch/kocevski/658842/ft1_filteredMKT_4FGL_J2334.8+1432_daily_bin1745.fits ra=353.723 dec=14.5346 rad=12.0 tmin=691632001.0 tmax=691891201.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.35
user 2.15
sys 0.17

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/658842/ft2_4FGL_J2334.8+1432_daily_bin1745.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/658842/ft2_4FGL_J2334.8+1432_daily_bin1745.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/658842/ft1_filteredMKT_4FGL_J2334.8+1432_daily_bin1745.fits evtable="EVENTS" outfile="/scratch/kocevski/658842/ft1_filtered_4FGL_J2334.8+1432_daily_bin1745.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.31
sys 0.17

Number of photons that the gtmktime cut: 925

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/658842/ft1_filtered_4FGL_J2334.8+1432_daily_bin1745.fits" evtable="EVENTS" scfile=/scratch/kocevski/658842/ft2_4FGL_J2334.8+1432_daily_bin1745.fits sctable="SC_DATA" outfile=/scratch/kocevski/658842/ltcube_691632001_691891201_4FGL_J2334.8+1432_daily_bin1745.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/658842/ft2_4FGL_J2334.8+1432_daily_bin1745.fits
.....................!
real 12.33
user 11.96
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/658842/ft1_filtered_4FGL_J2334.8+1432_daily_bin1745.fits evtable="EVENTS" scfile=/scratch/kocevski/658842/ft2_4FGL_J2334.8+1432_daily_bin1745.fits sctable="SC_DATA" expcube=/scratch/kocevski/658842/ltcube_691632001_691891201_4FGL_J2334.8+1432_daily_bin1745.fits outfile=/scratch/kocevski/658842/expmap_691632001_691891201_4FGL_J2334.8+1432_daily_bin1745.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/658842/ltcube_691632001_691891201_4FGL_J2334.8+1432_daily_bin1745.fits
.....................!
real 190.09
user 185.19
sys 4.58

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

Setting source of interest to:
4FGL J2334.8+1432 @ 353.723 14.5346

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/658842/ft1_filtered_4FGL_J2334.8+1432_daily_bin1745.fits scfile=/scratch/kocevski/658842/ft2_4FGL_J2334.8+1432_daily_bin1745.fits outfile=/scratch/kocevski/658842/cmap_691632001_691891201_4FGL_J2334.8+1432_daily_bin1745.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.723 yref=14.5346 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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/658842/ft1_filtered_4FGL_J2334.8+1432_daily_bin1745.fits scfile=/scratch/kocevski/658842/ft2_4FGL_J2334.8+1432_daily_bin1745.fits outfile=/scratch/kocevski/658842/cmap_HighResolution_691632001_691891201_4FGL_J2334.8+1432_daily_bin1745.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.723 yref=14.5346 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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/658842/ft1_filtered_4FGL_J2334.8+1432_daily_bin1745.fits evtable="EVENTS" scfile=/scratch/kocevski/658842/ft2_4FGL_J2334.8+1432_daily_bin1745.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/658842/Model_4FGL_J2334.8+1432_daily_bin1745.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/658842/ft1_filtered_4FGL_J2334.8+1432_daily_bin1745.fits.....................!
real 104.52
user 103.09
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/658842/ft1_filtered_4FGL_J2334.8+1432_daily_bin1745.fits', '/scratch/kocevski/658842/ft2_4FGL_J2334.8+1432_daily_bin1745.fits', expMap='/scratch/kocevski/658842/expmap_691632001_691891201_4FGL_J2334.8+1432_daily_bin1745.fits', expCube='/scratch/kocevski/658842/ltcube_691632001_691891201_4FGL_J2334.8+1432_daily_bin1745.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/658842/Model_4FGL_J2334.8+1432_daily_bin1745.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2334.8+1432'

4FGL J2334.8+1432
   Spectrum: LogParabola
449         norm:  4.331e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
450        alpha:  1.902e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
451         beta:  8.816e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
452           Eb:  1.535e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/658842/ft1_filtered_4FGL_J2334.8+1432_daily_bin1745.fits
Spacecraft file(s): /scratch/kocevski/658842/ft2_4FGL_J2334.8+1432_daily_bin1745.fits
Exposure map: /scratch/kocevski/658842/expmap_691632001_691891201_4FGL_J2334.8+1432_daily_bin1745.fits
Exposure cube: /scratch/kocevski/658842/ltcube_691632001_691891201_4FGL_J2334.8+1432_daily_bin1745.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/658842/Model_4FGL_J2334.8+1432_daily_bin1745.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) = 9391.49582726

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .37495       1.0000          .0000       .10000E+07
     2 'Prefactor '    1.4670       1.0000          .0000       .10000E+07
     3 'Prefactor '    .61868E-01   1.0000          .0000       .10000E+07
     4 'Prefactor '    12.294       1.0000          .0000       .10000E+07
     5 'Prefactor '    3.5589       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .84194E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    .51756E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .55511E-10   1.0000          .0000       .10000E+07
     9 'Prefactor '    .23259E-07   1.0000          .0000       .10000E+07
    10 'Prefactor '    .14210E-05   1.0000          .0000       .10000E+07
    11 'norm      '    .25036E-07   1.0000          .0000       .10000E+07
    12 'Prefactor '    8.2739       1.0000          .0000       .10000E+07
    13 'Prefactor '    .19651E-07   1.0000          .0000       .10000E+07
    14 'norm      '    2.1632       1.0000          .0000       .10000E+07
    15 'Prefactor '    1.5966       1.0000          .0000       .10000E+07
    16 'Prefactor '    1.1010       1.0000          .0000       .10000E+07
    17 'Prefactor '    .12129E-06   1.0000          .0000       .10000E+07
    18 'Normalizat'    .89986       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.1133       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5270E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9391.464     FROM MIGRAD    STATUS=CONVERGED    123 CALLS     1409 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .39634        7.6280        .86843E-06    .20150E-02
   2  Prefactor     1.4705        10.274        .22863E-05   -.24726E-02
   3  Prefactor     .65639E-04    4.3893       -.11937E-06** at limit **
   4  Prefactor     12.402        1.1598       -.70700E-07    .28036E-02
   5  Prefactor     3.5590        .27313       -.20752E-06    .64825E-02
   6  Prefactor     .12806E-06    42.355        .69814E-06** at limit **
   7  Prefactor     .11324E-07    36.234        .51131E-05** at limit **
   8  Prefactor     .18319E-08    3.2946        .11830E-05** at limit **
   9  Prefactor      .0000        1.7818       -.10032E-06** at limit **
  10  Prefactor      .0000        7.2033        .95787E-06** at limit **
  11  norm          .55511E-10    1.6789        .20360E-05** at limit **
  12  Prefactor     8.2744        5.8974       -.43700E-07   -.36844E-02
  13  Prefactor     .16653E-09    11.180       -.12863E-05** at limit **
  14  norm          2.1666        1.2957        .24157E-06    .61543E-01
  15  Prefactor     1.5005        3.1566       -.59119E-06    .21492E-01
  16  Prefactor     1.1065        1.3224       -.18613E-06   -.89589E-02
  17  Prefactor     .12768E-08    3.0257       -.77715E-06** at limit **
  18  Normalizat    .89977        .22200       -.19009E-04    .17220E-03
  19  Prefactor     1.1133        .13489        .91584E-05    .21627E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.396338
  Prefactor  = 1.47055
  Prefactor  = 6.56392e-05
  Prefactor  = 12.4017
  Prefactor  = 3.55901
  Prefactor  = 1.28064e-07
  Prefactor  = 1.13243e-08
  Prefactor  = 1.83187e-09
  Prefactor  = 0
  Prefactor  = 0
  norm       = 5.55112e-11
  Prefactor  = 8.27436
  Prefactor  = 1.66533e-10
  norm       = 2.16656
  Prefactor  = 1.50048
  Prefactor  = 1.10655
  Prefactor  = 1.27676e-09
  Normalizat = 0.899768
  Prefactor  = 1.11329
 **********
 **   18 **HESSE 
 **********

 FCN=   9391.464     FROM HESSE     STATUS=OK           318 CALLS     1727 TOTAL
                     EDM=   .15E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .39634        1.5769        .66052E-02   -1.5695    
   2  Prefactor     1.4705        10.862        .88729E-03   -1.5684    
   3  Prefactor     .65639E-04    7.8424        .84477E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     12.402        30.004        .28544E-03   -1.5638    
   5  Prefactor     3.5590        .27656        .30432E-02   -1.5331    
   6  Prefactor     .12806E-06    42.657        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .11324E-07    35.518        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .18319E-08    3.2830        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        1.7892        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        7.1971        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .55511E-10    1.6823        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     8.2744        5.8967        .34829E-03   -1.5650    
  13  Prefactor     .16653E-09    11.207        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          2.1666        9.3038        .70001E-03   -1.5679    
  15  Prefactor     1.5005        323.45        .83900E-03   -1.5683    
  16  Prefactor     1.1065        57.355        .11316E-02   -1.5687    
  17  Prefactor     .12768E-08    3.0143        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .89977        .19842        .83268E-01   -.96468    
  19  Prefactor     1.1133        .11840        .37104E-01   -.89043    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.53597e-06
Minuit parameter uncertainties:
  1  1.57693
  2  7.99325
  3  0.0453771
  4  30.0046
  5  0.276563
  6  0.00467498
  7  0.00126864
  8  0.000155881
  9  3.15221e-07
  10  1.47221e-07
  11  2.31427e-05
  12  5.89667
  13  8.73171e-05
  14  8.9794
  15  44.063
  16  15.9332
  17  0.00012304
  18  0.198584
  19  0.118429
Done.

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

Extracting fit parameters...

4FGL J2334.8+1432
   Spectrum: LogParabola
449         norm:  2.167e+00  8.979e+00  0.000e+00  1.000e+06 ( 1.000e-13)
450        alpha:  1.902e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
451         beta:  8.816e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
452           Eb:  1.535e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
524    Prefactor:  1.113e+00  1.184e-01  0.000e+00  1.000e+01 ( 1.000e+00)
525        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
526        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
523   Normalization:  8.998e-01  1.986e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.07
Ra Dec: 353.723 14.535
Photon Flux Upper Limit: 4.21e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.56e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/658842/likelihoodResults_691632001_691891201_4FGL_J2334.8+1432_daily_bin1745.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) = 9391.46108389
delta logL = 0.00304757507911

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9391.4607713
delta logL = 0.00336016325309

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.3921       1.0000          .0000       .10000E+07
     2 'alpha     '    1.7660       1.0000          .0000       5.0000    
     3 'Normalizat'    .90011       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1131       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5270E+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=   9391.461     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      279 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.3887        10.270        .26476E-04   -.67845E-04
   2  alpha         1.7665        1.5355        .46598E-01    .78181E-04
   3  Normalizat    .90022        .21420        .36859E-03    .51077E-04
   4  Prefactor     1.1131        .13473        .20878E-03   -.17636E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.38868
  alpha      = 1.76655
  Normalizat = 0.900219
  Prefactor  = 1.11309
 **********
 **   18 **HESSE 
 **********

 FCN=   9391.461     FROM HESSE     STATUS=OK            25 CALLS      304 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.3887        9.6482        .10590E-05   -1.5677    
   2  alpha         1.7665        1.5004        .93195E-02   -.29776    
   3  Normalizat    .90022        .21434        .14744E-04   -.96452    
   4  Prefactor     1.1131        .13481        .41757E-04   -.89049    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.21472e-10
Minuit parameter uncertainties:
  1  9.60139
  2  1.6221
  3  0.21454
  4  0.134852
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/658842': 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) = 9391.46077107
delta logL = 0.00336040059119

Extracting fit parameters...

4FGL J2334.8+1432
   Spectrum: LogParabola
449         norm:  2.389e+00  9.601e+00  0.000e+00  1.000e+06 ( 1.000e-13)
450        alpha:  1.767e+00  1.622e+00  0.000e+00  5.000e+00 ( 1.000e+00)
451         beta:  8.816e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
452           Eb:  1.535e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
524    Prefactor:  1.113e+00  1.349e-01  0.000e+00  1.000e+01 ( 1.000e+00)
525        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
526        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
523   Normalization:  9.002e-01  2.145e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.07
Ra Dec: 353.723 14.535

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/658842/cmap_HighResolution_691632001_691891201_4FGL_J2334.8+1432_daily_bin1745.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.56e-05', job_status='DONE', photon_flux_upper_limit='4.21e-08', time_completed='2022-12-05 01:43:07.465980', job_id='658842', GAL2='1.11', fit_tolerance='1e-08', EG2='0.90', EG='0.90', time_epoch_completed='1670233387.47', return_code2='0', ts='0.07', comment='SUCCESS', return_code='0', GAL='1.11', dlogl='3.36e-03', ts2='0.07', photon_index_error='0.00', photon_index='1.90' WHERE bin_id='1745' AND source_name='4FGL J2334.8+1432' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Dec  5 01:43:07 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0109>
Subject: Job 658842: <4FGL_J2334.8+1432_daily_bin1745> in cluster <slac> Done

Job <4FGL_J2334.8+1432_daily_bin1745> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Mon Dec  5 01:30:30 2022
Job was executed on host(s) <bullet0109>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Dec  5 01:30:31 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Dec  5 01:30:31 2022
Terminated at Mon Dec  5 01:43:08 2022
Results reported at Mon Dec  5 01:43:08 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2334.8+1432_daily_bin1745 353.723 14.5346 691632001 691891201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2334.8+1432 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   695.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             319.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   756 sec.
    Turnaround time :                            758 sec.

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

