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


Performing analysis on: 4FGL_J2334.8+1432_daily_bin1780
RA = 353.723, Dec = 14.5346
tmin = 700704001, tmax = 700963201
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='81680', job_status='RUN', time_executed='2023-03-20 02:01:22.751515', time_epoch_executed='1679302882.75' WHERE source_name='4FGL J2334.8+1432' and cadence='daily' and bin_id='1780'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/81680

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/81680/ft1_4FGL_J2334.8+1432_daily_bin1780.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/81680/ft2_4FGL_J2334.8+1432_daily_bin1780.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/81680/ft1_4FGL_J2334.8+1432_daily_bin1780.fits outfile=/scratch/kocevski/81680/ft1_filteredMKT_4FGL_J2334.8+1432_daily_bin1780.fits ra=353.723 dec=14.5346 rad=12.0 tmin=700704001.0 tmax=700963201.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.17
user 3.95
sys 0.19

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

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

Number of photons that the gtmktime cut: 307

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/81680/ft1_filtered_4FGL_J2334.8+1432_daily_bin1780.fits" evtable="EVENTS" scfile=/scratch/kocevski/81680/ft2_4FGL_J2334.8+1432_daily_bin1780.fits sctable="SC_DATA" outfile=/scratch/kocevski/81680/ltcube_700704001_700963201_4FGL_J2334.8+1432_daily_bin1780.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/81680/ft2_4FGL_J2334.8+1432_daily_bin1780.fits
.....................!
real 13.13
user 12.71
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/81680/ft1_filtered_4FGL_J2334.8+1432_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/81680/ft2_4FGL_J2334.8+1432_daily_bin1780.fits sctable="SC_DATA" expcube=/scratch/kocevski/81680/ltcube_700704001_700963201_4FGL_J2334.8+1432_daily_bin1780.fits outfile=/scratch/kocevski/81680/expmap_700704001_700963201_4FGL_J2334.8+1432_daily_bin1780.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/81680/ltcube_700704001_700963201_4FGL_J2334.8+1432_daily_bin1780.fits
.....................!
real 192.37
user 186.45
sys 4.98

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/81680/ft1_filtered_4FGL_J2334.8+1432_daily_bin1780.fits scfile=/scratch/kocevski/81680/ft2_4FGL_J2334.8+1432_daily_bin1780.fits outfile=/scratch/kocevski/81680/cmap_700704001_700963201_4FGL_J2334.8+1432_daily_bin1780.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/81680/ft1_filtered_4FGL_J2334.8+1432_daily_bin1780.fits scfile=/scratch/kocevski/81680/ft2_4FGL_J2334.8+1432_daily_bin1780.fits outfile=/scratch/kocevski/81680/cmap_HighResolution_700704001_700963201_4FGL_J2334.8+1432_daily_bin1780.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.56
user 0.38
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/81680/ft1_filtered_4FGL_J2334.8+1432_daily_bin1780.fits', '/scratch/kocevski/81680/ft2_4FGL_J2334.8+1432_daily_bin1780.fits', expMap='/scratch/kocevski/81680/expmap_700704001_700963201_4FGL_J2334.8+1432_daily_bin1780.fits', expCube='/scratch/kocevski/81680/ltcube_700704001_700963201_4FGL_J2334.8+1432_daily_bin1780.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/81680/Model_4FGL_J2334.8+1432_daily_bin1780.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/81680/ft1_filtered_4FGL_J2334.8+1432_daily_bin1780.fits
Spacecraft file(s): /scratch/kocevski/81680/ft2_4FGL_J2334.8+1432_daily_bin1780.fits
Exposure map: /scratch/kocevski/81680/expmap_700704001_700963201_4FGL_J2334.8+1432_daily_bin1780.fits
Exposure cube: /scratch/kocevski/81680/ltcube_700704001_700963201_4FGL_J2334.8+1432_daily_bin1780.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/81680/Model_4FGL_J2334.8+1432_daily_bin1780.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) = 3296.18210891

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .46555E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    63.635       1.0000          .0000       .10000E+07
     3 'Prefactor '    .16666E-01   1.0000          .0000       .10000E+07
     4 'Prefactor '    .82348E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .45938E-01   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .23543       1.0000          .0000       .10000E+07
     7 'Prefactor '    14.884       1.0000          .0000       .10000E+07
     8 'Prefactor '    10.361       1.0000          .0000       .10000E+07
     9 'Prefactor '    .10649E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    35.117       1.0000          .0000       .10000E+07
    11 'norm      '    40.232       1.0000          .0000       .10000E+07
    12 'Prefactor '    12.282       1.0000          .0000       .10000E+07
    13 'Prefactor '    60.709       1.0000          .0000       .10000E+07
    14 'norm      '    .82891E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    97.916       1.0000          .0000       .10000E+07
    16 'Prefactor '    .32975E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    .15911E-04   1.0000          .0000       .10000E+07
    18 'Normalizat'    .63731       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.1646       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=   3296.022     FROM MIGRAD    STATUS=CONVERGED    157 CALLS     1439 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        1.6024       -.26957E-06** at limit **
   2  Prefactor     64.246        7.0097        .12195E-06    .19283    
   3  Prefactor      .0000        12.419       -.54081E-06** at limit **
   4  Prefactor     .41622E-06    19.963       -.18610E-05** at limit **
   5  Prefactor     .46055E-01    .11849        .27478E-06   -.39111E-04
   6  Prefactor     .32454E-03    187.36       -.69526E-05** at limit **
   7  Prefactor     14.928        12.748       -.10606E-06    .25926E-02
   8  Prefactor     10.406        12.266       -.23760E-06    .19105E-01
   9  Prefactor     .65892E-07    15.999        .51732E-06** at limit **
  10  Prefactor     36.112        24.525        .89347E-06   -.21964    
  11  norm          40.010        18.769        .35560E-06   -.11488    
  12  Prefactor     12.518        11.118        .14680E-06    .13947E-01
  13  Prefactor     61.982        43.376       -.75271E-07    .79626E-01
  14  norm          .94813E-06    23.380       -.10591E-05** at limit **
  15  Prefactor     102.30        98.953        .56977E-07   -.12793E-01
  16  Prefactor     .55511E-10    27.703        .81891E-06** at limit **
  17  Prefactor      .0000        3.5531       -.89201E-06** at limit **
  18  Normalizat    .63149        .35454       -.20722E-04    .31810E-04
  19  Prefactor     1.1656        .22169        .56614E-05    .53128E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 64.2456
  Prefactor  = 0
  Prefactor  = 4.16223e-07
  Prefactor  = 0.046055
  Prefactor  = 0.000324535
  Prefactor  = 14.9275
  Prefactor  = 10.4063
  Prefactor  = 6.58917e-08
  Prefactor  = 36.1116
  norm       = 40.0103
  Prefactor  = 12.5176
  Prefactor  = 61.982
  norm       = 9.4813e-07
  Prefactor  = 102.301
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  Normalizat = 0.631493
  Prefactor  = 1.16562
 **********
 **   18 **HESSE 
 **********

 FCN=   3296.022     FROM HESSE     STATUS=OK           300 CALLS     1739 TOTAL
                     EDM=   .36E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        1.6018        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     64.246        24.436        .12537E-03   -1.5548    
   3  Prefactor      .0000        12.287        .17267E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .41622E-06    20.208        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .46055E-01    .12739        .69359E-02   -1.5665    
   6  Prefactor     .32454E-03    298.59        .11176E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     14.928        12.781        .25935E-03   -1.5631    
   8  Prefactor     10.406        12.907        .31103E-03   -1.5643    
   9  Prefactor     .65892E-07    16.020        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     36.112        35.101        .16877E-03   -1.5588    
  11  norm          40.010        19.310        .15767E-03   -1.5581    
  12  Prefactor     12.518        11.161        .28558E-03   -1.5637    
  13  Prefactor     61.982        45.200        .12835E-03   -1.5551    
  14  norm          .94813E-06    24.301        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     102.30        99.199        .10106E-03   -1.5506    
  16  Prefactor     .55511E-10    27.504        .16297E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        3.5547        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .63149        .32856        .90602E-01   -1.0666    
  19  Prefactor     1.1656        .20102        .35527E-01   -.87396    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.57538e-06
Minuit parameter uncertainties:
  1  2.64803e-06
  2  24.436
  3  1.05681e-05
  4  0.00580037
  5  0.127393
  6  0.622612
  7  12.7808
  8  12.907
  9  0.00205455
  10  35.1013
  11  19.3103
  12  11.1614
  13  45.2001
  14  0.00960006
  15  99.201
  16  6.35212e-05
  17  4.60647e-06
  18  0.329587
  19  0.201148
Done.

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

Extracting fit parameters...

4FGL J2334.8+1432
   Spectrum: LogParabola
449         norm:  9.481e-07  9.600e-03  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.166e+00  2.011e-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:  6.315e-01  3.296e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/81680/likelihoodResults_700704001_700963201_4FGL_J2334.8+1432_daily_bin1780.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): 102
logL (Free Index) = 3296.04226779
delta logL = -0.0201422059663

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3296.02212572
delta logL = -1.34273250296e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11444E-05   1.0000          .0000       .10000E+07
     2 'alpha     '    1.5865       1.0000          .0000       5.0000    
     3 'Normalizat'    .63166       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1656       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.

 FCN=   3296.022     FROM MIGRAD    STATUS=CONVERGED     61 CALLS      266 TOTAL
                     EDM=   .54E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .49960E-09    2.5551        .42118E-03** at limit **
   2  alpha         1.2894        2.8672        .45313       -.27598E-10
   3  Normalizat    .63149        .21548E-02    .90601E-01    .23776E-03
   4  Prefactor     1.1656        .13650E-02    .35501E-01    .47775E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.996e-10
  alpha      = 1.28938
  Normalizat = 0.631494
  Prefactor  = 1.16562
 **********
 **   18 **HESSE 
 **********

 FCN=   3296.022     FROM HESSE     STATUS=NOT POSDEF    27 CALLS      293 TOTAL
                     EDM=   .22E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .49960E-09    10.170        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.2894        3.9594        .50000       -.50550    
   3  Normalizat    .63149        .42831E-02    .40140E-03   -1.0666    
   4  Prefactor     1.1656        .27212E-02    .19120E-03   -.87396    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.19858e-12
Minuit parameter uncertainties:
  1  0.000139924
  2  60839.2
  3  0.00428313
  4  0.00272119
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/81680': 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) = 3296.02212557
delta logL = 1.93385858438e-08

Extracting fit parameters...

4FGL J2334.8+1432
   Spectrum: LogParabola
449         norm:  4.996e-10  1.399e-04  0.000e+00  1.000e+06 ( 1.000e-13)
450        alpha:  1.289e+00  6.084e+04  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.166e+00  2.721e-03  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:  6.315e-01  4.283e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 353.723 14.535

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/81680/cmap_HighResolution_700704001_700963201_4FGL_J2334.8+1432_daily_bin1780.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.51e-05', job_status='DONE', photon_flux_upper_limit='8.87e-08', time_completed='2023-03-20 02:08:46.551221', job_id='81680', GAL2='1.17', fit_tolerance='1e-08', EG2='0.63', EG='0.63', time_epoch_completed='1679303326.55', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.17', dlogl='1.93e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.90' WHERE bin_id='1780' AND source_name='4FGL J2334.8+1432' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Mar 20 02:08:46 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0259>
Subject: Job 81680: <4FGL_J2334.8+1432_daily_bin1780> in cluster <slac> Done

Job <4FGL_J2334.8+1432_daily_bin1780> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Mon Mar 20 02:00:14 2023
Job was executed on host(s) <bullet0259>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Mar 20 02:00:16 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Mar 20 02:00:16 2023
Terminated at Mon Mar 20 02:08:47 2023
Results reported at Mon Mar 20 02:08:47 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2334.8+1432_daily_bin1780 353.723 14.5346 700704001 700963201 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 :                                   445.07 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             264.69 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   510 sec.
    Turnaround time :                            513 sec.

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

