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


Performing analysis on: 4FGL_J2335.4-0128_daily_bin1752
RA = 353.869, Dec = -1.476
tmin = 693446401, tmax = 693705601
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='290305', job_status='RUN', time_executed='2022-12-26 02:25:12.841838', time_epoch_executed='1672050312.84' WHERE source_name='4FGL J2335.4-0128' and cadence='daily' and bin_id='1752'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/290305

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/290305/ft1_4FGL_J2335.4-0128_daily_bin1752.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/290305/ft2_4FGL_J2335.4-0128_daily_bin1752.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/290305/ft1_4FGL_J2335.4-0128_daily_bin1752.fits outfile=/scratch/kocevski/290305/ft1_filteredMKT_4FGL_J2335.4-0128_daily_bin1752.fits ra=353.869 dec=-1.476 rad=12.0 tmin=693446401.0 tmax=693705601.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.48
user 3.25
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/290305/ft2_4FGL_J2335.4-0128_daily_bin1752.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/290305/ft2_4FGL_J2335.4-0128_daily_bin1752.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/290305/ft1_filteredMKT_4FGL_J2335.4-0128_daily_bin1752.fits evtable="EVENTS" outfile="/scratch/kocevski/290305/ft1_filtered_4FGL_J2335.4-0128_daily_bin1752.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.51
user 0.34
sys 0.16

Number of photons that the gtmktime cut: 590

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/290305/ft1_filtered_4FGL_J2335.4-0128_daily_bin1752.fits" evtable="EVENTS" scfile=/scratch/kocevski/290305/ft2_4FGL_J2335.4-0128_daily_bin1752.fits sctable="SC_DATA" outfile=/scratch/kocevski/290305/ltcube_693446401_693705601_4FGL_J2335.4-0128_daily_bin1752.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/290305/ft2_4FGL_J2335.4-0128_daily_bin1752.fits
.....................!
real 13.05
user 12.64
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/290305/ft1_filtered_4FGL_J2335.4-0128_daily_bin1752.fits evtable="EVENTS" scfile=/scratch/kocevski/290305/ft2_4FGL_J2335.4-0128_daily_bin1752.fits sctable="SC_DATA" expcube=/scratch/kocevski/290305/ltcube_693446401_693705601_4FGL_J2335.4-0128_daily_bin1752.fits outfile=/scratch/kocevski/290305/expmap_693446401_693705601_4FGL_J2335.4-0128_daily_bin1752.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/290305/ltcube_693446401_693705601_4FGL_J2335.4-0128_daily_bin1752.fits
.....................!
real 194.24
user 188.09
sys 5.59

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

Setting source of interest to:
4FGL J2335.4-0128 @ 353.869 -1.476

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/290305/ft1_filtered_4FGL_J2335.4-0128_daily_bin1752.fits scfile=/scratch/kocevski/290305/ft2_4FGL_J2335.4-0128_daily_bin1752.fits outfile=/scratch/kocevski/290305/cmap_693446401_693705601_4FGL_J2335.4-0128_daily_bin1752.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.869 yref=-1.476 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

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/290305/ft1_filtered_4FGL_J2335.4-0128_daily_bin1752.fits scfile=/scratch/kocevski/290305/ft2_4FGL_J2335.4-0128_daily_bin1752.fits outfile=/scratch/kocevski/290305/cmap_HighResolution_693446401_693705601_4FGL_J2335.4-0128_daily_bin1752.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.869 yref=-1.476 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.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/290305/ft1_filtered_4FGL_J2335.4-0128_daily_bin1752.fits evtable="EVENTS" scfile=/scratch/kocevski/290305/ft2_4FGL_J2335.4-0128_daily_bin1752.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/290305/Model_4FGL_J2335.4-0128_daily_bin1752.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/290305/ft1_filtered_4FGL_J2335.4-0128_daily_bin1752.fits.....................!
real 63.85
user 62.41
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/290305/ft1_filtered_4FGL_J2335.4-0128_daily_bin1752.fits', '/scratch/kocevski/290305/ft2_4FGL_J2335.4-0128_daily_bin1752.fits', expMap='/scratch/kocevski/290305/expmap_693446401_693705601_4FGL_J2335.4-0128_daily_bin1752.fits', expCube='/scratch/kocevski/290305/ltcube_693446401_693705601_4FGL_J2335.4-0128_daily_bin1752.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/290305/Model_4FGL_J2335.4-0128_daily_bin1752.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2335.4-0128'

4FGL J2335.4-0128
   Spectrum: LogParabola
451         norm:  4.347e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
452        alpha:  2.505e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
453         beta:  3.100e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
454           Eb:  1.202e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/290305/ft1_filtered_4FGL_J2335.4-0128_daily_bin1752.fits
Spacecraft file(s): /scratch/kocevski/290305/ft2_4FGL_J2335.4-0128_daily_bin1752.fits
Exposure map: /scratch/kocevski/290305/expmap_693446401_693705601_4FGL_J2335.4-0128_daily_bin1752.fits
Exposure cube: /scratch/kocevski/290305/ltcube_693446401_693705601_4FGL_J2335.4-0128_daily_bin1752.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/290305/Model_4FGL_J2335.4-0128_daily_bin1752.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) = 6517.01116919

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .59426E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    16.616       1.0000          .0000       .10000E+07
     3 'Prefactor '    7.1968       1.0000          .0000       .10000E+07
     4 'norm      '    2.3103       1.0000          .0000       .10000E+07
     5 'Prefactor '    .34269E-04   1.0000          .0000       .10000E+07
     6 'norm      '    16.164       1.0000          .0000       .10000E+07
     7 'norm      '    .14376E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    25.032       1.0000          .0000       .10000E+07
     9 'Prefactor '    .13666E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .37634E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    .90470E-03   1.0000          .0000       .10000E+07
    12 'norm      '    .10114E-06   1.0000          .0000       .10000E+07
    13 'norm      '    2.1503       1.0000          .0000       .10000E+07
    14 'Prefactor '    15.336       1.0000          .0000       .10000E+07
    15 'Prefactor '    19.344       1.0000          .0000       .10000E+07
    16 'norm      '    .44093E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    .14704E-02   1.0000          .0000       .10000E+07
    18 'norm      '    .25566E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    6.6408       1.0000          .0000       .10000E+07
    20 'Prefactor '    17.508       1.0000          .0000       .10000E+07
    21 'Prefactor '    .13185E-02   1.0000          .0000       .10000E+07
    22 'Prefactor '    .16542E-03   1.0000          .0000       .10000E+07
    23 'Normalizat'    .90930       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .98939       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5330E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6517.005     FROM MIGRAD    STATUS=CONVERGED    142 CALLS     1993 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .15030E-05    3.2754       -.21592E-07** at limit **
   2  Prefactor     16.575        3.1598       -.16358E-08    .44241E-01
   3  Prefactor     7.2015        2.4433        .33790E-07    .19064E-01
   4  norm          2.3065        2.8699       -.29413E-07   -.46382E-02
   5  Prefactor     .60602E-06    7.6376        .19656E-06** at limit **
   6  norm          16.162        4.0654        .37270E-07   -.53981E-02
   7  norm          .15488E-07    10.022        .19691E-06** at limit **
   8  Prefactor     24.970        6.1074       -.17241E-07    .67394E-01
   9  Prefactor      .0000        35.430       -.22299E-06** at limit **
  10  Prefactor     .94369E-09    22.393        .25573E-06** at limit **
  11  Prefactor     .80491E-08    4.4679       -.64246E-07** at limit **
  12  norm           .0000        .36845        .32306E-07** at limit **
  13  norm          2.1516        3.7952        .13921E-07    .11524E-02
  14  Prefactor     15.336        1.5554       -.10288E-07    .48313E-01
  15  Prefactor     19.427        5.1122        .15856E-07   -.55491E-01
  16  norm          .10991E-07    5.4458       -.10452E-06** at limit **
  17  Prefactor     .51958E-07    30.470       -.57242E-07** at limit **
  18  norm          .16670E-06    5.1955        .21131E-06** at limit **
  19  Prefactor     6.5583        4.6844       -.14324E-07   -.93140E-03
  20  Prefactor     17.339        3.3207       -.12460E-07    .90130E-02
  21  Prefactor     .51864E-06    5.7800        .58230E-07** at limit **
  22  Prefactor     .10381E-07    3.9237       -.19085E-06** at limit **
  23  Normalizat    .91014        .21310       -.23619E-05   -.92532E-04
  24  Prefactor     .98933        .15499        .16227E-05    .75840E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.50302e-06
  Prefactor  = 16.5752
  Prefactor  = 7.2015
  norm       = 2.30651
  Prefactor  = 6.06015e-07
  norm       = 16.1618
  norm       = 1.54876e-08
  Prefactor  = 24.9696
  Prefactor  = 0
  Prefactor  = 9.4369e-10
  Prefactor  = 8.04912e-09
  norm       = 0
  norm       = 2.1516
  Prefactor  = 15.3364
  Prefactor  = 19.4271
  norm       = 1.09912e-08
  Prefactor  = 5.19584e-08
  norm       = 1.667e-07
  Prefactor  = 6.55835
  Prefactor  = 17.3392
  Prefactor  = 5.18641e-07
  Prefactor  = 1.03806e-08
  Normalizat = 0.910136
  Prefactor  = 0.989335
 **********
 **   18 **HESSE 
 **********

 FCN=   6517.005     FROM HESSE     STATUS=OK           443 CALLS     2436 TOTAL
                     EDM=   .11E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .15030E-05    8.4400        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     16.575        19.548        .24543E-03   -1.5627    
   3  Prefactor     7.2015        11.110        .37367E-03   -1.5654    
   4  norm          2.3065        3.3928        .67474E-03   -1.5678    
   5  Prefactor     .60602E-06    12.880        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          16.162        7.2439        .24885E-03   -1.5628    
   7  norm          .15488E-07    10.901        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     24.970        42.784        .19991E-03   -1.5608    
   9  Prefactor      .0000        37.539        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .94369E-09    22.267        .16072E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .80491E-08    4.4897        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        .36489        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          2.1516        3.8252        .70239E-03   -1.5679    
  14  Prefactor     15.336        11.666        .25549E-03   -1.5630    
  15  Prefactor     19.427        45.445        .22744E-03   -1.5620    
  16  norm          .10991E-07    5.4825        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .51958E-07    32.429        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .16670E-06    12.300        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     6.5583        4.6874        .38916E-03   -1.5657    
  20  Prefactor     17.339        29.933        .23909E-03   -1.5625    
  21  Prefactor     .51864E-06    7.6029        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10381E-07    3.9396        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .91014        .18481        .64698E-01   -.96105    
  24  Prefactor     .98933        .13331        .46134E-01   -.93086    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.08199e-06
Minuit parameter uncertainties:
  1  0.00712341
  2  19.5479
  3  11.1098
  4  3.39279
  5  0.00558776
  6  7.24392
  7  0.000822426
  8  42.7842
  9  1.54953e-05
  10  0.000286353
  11  0.000380057
  12  6.17026e-06
  13  3.82524
  14  11.6661
  15  45.4461
  16  0.000491377
  17  0.00259572
  18  0.00286367
  19  4.68741
  20  29.9337
  21  0.00397153
  22  0.000404283
  23  0.184934
  24  0.133356
Done.

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

Extracting fit parameters...

4FGL J2335.4-0128
   Spectrum: LogParabola
451         norm:  1.667e-07  2.864e-03  0.000e+00  1.000e+06 ( 1.000e-13)
452        alpha:  2.505e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
453         beta:  3.100e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
454           Eb:  1.202e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
530    Prefactor:  9.893e-01  1.334e-01  0.000e+00  1.000e+01 ( 1.000e+00)
531        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
532        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
529   Normalization:  9.101e-01  1.849e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 353.869 -1.476
Photon Flux Upper Limit: 5.18e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.15e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/290305/likelihoodResults_693446401_693705601_4FGL_J2335.4-0128_daily_bin1752.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) = 6517.04449215
delta logL = -0.0393976525147

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6516.58011089
delta logL = 0.424983607876

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.4986       1.0000          .0000       .10000E+07
     2 'alpha     '    .37920       1.0000          .0000       5.0000    
     3 'Normalizat'    .91284       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98499       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5330E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6516.580     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      237 TOTAL
                     EDM=   .80E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.4940        6.9708        .47446E-03    .66383E-03
   2  alpha         .37895        .94841        .50000        .10031E-04
   3  Normalizat    .91278        .17483        .64589E-01    .19946E-04
   4  Prefactor     .98503        .13197        .46079E-01   -.16624E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.494
  alpha      = 0.378952
  Normalizat = 0.912784
  Prefactor  = 0.985027
 **********
 **   18 **HESSE 
 **********

 FCN=   6516.580     FROM HESSE     STATUS=OK            33 CALLS      270 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.4940        8.7542        .18978E-04   -1.5666    
   2  alpha         .37895        .95902        .61262E-01   -1.0130    
   3  Normalizat    .91278        .20339        .28569E-03   -.96012    
   4  Prefactor     .98503        .15370        .20719E-03   -.93230    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.26408e-09
Minuit parameter uncertainties:
  1  8.75418
  2  1.0727
  3  0.203558
  4  0.153764
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/290305': 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) = 6516.58011073
delta logL = 0.424983775661

Extracting fit parameters...

4FGL J2335.4-0128
   Spectrum: LogParabola
451         norm:  4.494e+00  8.754e+00  0.000e+00  1.000e+06 ( 1.000e-13)
452        alpha:  3.790e-01  1.073e+00  0.000e+00  5.000e+00 ( 1.000e+00)
453         beta:  3.100e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
454           Eb:  1.202e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
530    Prefactor:  9.850e-01  1.538e-01  0.000e+00  1.000e+01 ( 1.000e+00)
531        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
532        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
529   Normalization:  9.128e-01  2.036e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 353.869 -1.476

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/290305/cmap_HighResolution_693446401_693705601_4FGL_J2335.4-0128_daily_bin1752.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.15e-05', job_status='DONE', photon_flux_upper_limit='5.18e-08', time_completed='2022-12-26 02:35:46.219432', job_id='290305', GAL2='0.99', fit_tolerance='1e-08', EG2='0.91', EG='0.91', time_epoch_completed='1672050946.22', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='4.25e-01', ts2='0.85', photon_index_error='0.00', photon_index='2.50' WHERE bin_id='1752' AND source_name='4FGL J2335.4-0128' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Dec 26 02:35:46 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0098>
Subject: Job 290305: <4FGL_J2335.4-0128_daily_bin1752> in cluster <slac> Done

Job <4FGL_J2335.4-0128_daily_bin1752> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Mon Dec 26 02:20:17 2022
Job was executed on host(s) <bullet0098>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Dec 26 02:24:51 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Dec 26 02:24:51 2022
Terminated at Mon Dec 26 02:35:47 2022
Results reported at Mon Dec 26 02:35:47 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2335.4-0128_daily_bin1752 353.869 -1.476 693446401 693705601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2335.4-0128 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   615.33 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             365.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   655 sec.
    Turnaround time :                            930 sec.

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

