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


Performing analysis on: 4FGL_J2335.4-0128_daily_bin1732
RA = 353.869, Dec = -1.476
tmin = 688262401, tmax = 688521601
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='647761', job_status='RUN', time_executed='2022-10-27 00:39:16.508641', time_epoch_executed='1666856356.51' WHERE source_name='4FGL J2335.4-0128' and cadence='daily' and bin_id='1732'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/647761

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/647761/ft1_4FGL_J2335.4-0128_daily_bin1732.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/647761/ft2_4FGL_J2335.4-0128_daily_bin1732.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/647761/ft1_4FGL_J2335.4-0128_daily_bin1732.fits outfile=/scratch/kocevski/647761/ft1_filteredMKT_4FGL_J2335.4-0128_daily_bin1732.fits ra=353.869 dec=-1.476 rad=12.0 tmin=688262401.0 tmax=688521601.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.54
user 3.33
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/647761/ft2_4FGL_J2335.4-0128_daily_bin1732.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/647761/ft1_filteredMKT_4FGL_J2335.4-0128_daily_bin1732.fits evtable="EVENTS" outfile="/scratch/kocevski/647761/ft1_filtered_4FGL_J2335.4-0128_daily_bin1732.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: 488

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/647761/ft1_filtered_4FGL_J2335.4-0128_daily_bin1732.fits" evtable="EVENTS" scfile=/scratch/kocevski/647761/ft2_4FGL_J2335.4-0128_daily_bin1732.fits sctable="SC_DATA" outfile=/scratch/kocevski/647761/ltcube_688262401_688521601_4FGL_J2335.4-0128_daily_bin1732.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/647761/ft2_4FGL_J2335.4-0128_daily_bin1732.fits
.....................!
real 12.09
user 11.72
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/647761/ft1_filtered_4FGL_J2335.4-0128_daily_bin1732.fits evtable="EVENTS" scfile=/scratch/kocevski/647761/ft2_4FGL_J2335.4-0128_daily_bin1732.fits sctable="SC_DATA" expcube=/scratch/kocevski/647761/ltcube_688262401_688521601_4FGL_J2335.4-0128_daily_bin1732.fits outfile=/scratch/kocevski/647761/expmap_688262401_688521601_4FGL_J2335.4-0128_daily_bin1732.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/647761/ltcube_688262401_688521601_4FGL_J2335.4-0128_daily_bin1732.fits
.....................!
real 190.75
user 185.81
sys 4.62

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/647761/ft1_filtered_4FGL_J2335.4-0128_daily_bin1732.fits scfile=/scratch/kocevski/647761/ft2_4FGL_J2335.4-0128_daily_bin1732.fits outfile=/scratch/kocevski/647761/cmap_688262401_688521601_4FGL_J2335.4-0128_daily_bin1732.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.54
user 0.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/647761/ft1_filtered_4FGL_J2335.4-0128_daily_bin1732.fits scfile=/scratch/kocevski/647761/ft2_4FGL_J2335.4-0128_daily_bin1732.fits outfile=/scratch/kocevski/647761/cmap_HighResolution_688262401_688521601_4FGL_J2335.4-0128_daily_bin1732.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.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/647761/ft1_filtered_4FGL_J2335.4-0128_daily_bin1732.fits evtable="EVENTS" scfile=/scratch/kocevski/647761/ft2_4FGL_J2335.4-0128_daily_bin1732.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/647761/Model_4FGL_J2335.4-0128_daily_bin1732.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/647761/ft1_filtered_4FGL_J2335.4-0128_daily_bin1732.fits.....................!
real 58.28
user 56.93
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/647761/ft1_filtered_4FGL_J2335.4-0128_daily_bin1732.fits', '/scratch/kocevski/647761/ft2_4FGL_J2335.4-0128_daily_bin1732.fits', expMap='/scratch/kocevski/647761/expmap_688262401_688521601_4FGL_J2335.4-0128_daily_bin1732.fits', expCube='/scratch/kocevski/647761/ltcube_688262401_688521601_4FGL_J2335.4-0128_daily_bin1732.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/647761/Model_4FGL_J2335.4-0128_daily_bin1732.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/647761/ft1_filtered_4FGL_J2335.4-0128_daily_bin1732.fits
Spacecraft file(s): /scratch/kocevski/647761/ft2_4FGL_J2335.4-0128_daily_bin1732.fits
Exposure map: /scratch/kocevski/647761/expmap_688262401_688521601_4FGL_J2335.4-0128_daily_bin1732.fits
Exposure cube: /scratch/kocevski/647761/ltcube_688262401_688521601_4FGL_J2335.4-0128_daily_bin1732.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/647761/Model_4FGL_J2335.4-0128_daily_bin1732.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) = 5557.44526287

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10130E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .42303E-01   1.0000          .0000       .10000E+07
     3 'Prefactor '    3.3272       1.0000          .0000       .10000E+07
     4 'norm      '    .54681E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    3.9405       1.0000          .0000       .10000E+07
     6 'norm      '    5.8036       1.0000          .0000       .10000E+07
     7 'norm      '    .30808       1.0000          .0000       .10000E+07
     8 'Prefactor '    .19904E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    45.301       1.0000          .0000       .10000E+07
    10 'Prefactor '    3.5557       1.0000          .0000       .10000E+07
    11 'Prefactor '    .53848       1.0000          .0000       .10000E+07
    12 'norm      '    1.4586       1.0000          .0000       .10000E+07
    13 'norm      '    .14810E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .14664E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    26.403       1.0000          .0000       .10000E+07
    16 'norm      '    3.9775       1.0000          .0000       .10000E+07
    17 'Prefactor '    9.9956       1.0000          .0000       .10000E+07
    18 'norm      '    .19108E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    4.9470       1.0000          .0000       .10000E+07
    20 'Prefactor '    .41711E-03   1.0000          .0000       .10000E+07
    21 'Prefactor '    15.639       1.0000          .0000       .10000E+07
    22 'Prefactor '    7.4007       1.0000          .0000       .10000E+07
    23 'Normalizat'    1.3299       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .66408       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=   5557.412     FROM MIGRAD    STATUS=CONVERGED    174 CALLS     2032 TOTAL
                     EDM=   .63E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    3.5713        .41873E-07** at limit **
   2  Prefactor     .14280        122.73       -.11692E-05** at limit **
   3  Prefactor     3.3314        7.7411        .89019E-07    .60385E-03
   4  norm           .0000        2.3666        .35736E-07** at limit **
   5  Prefactor     3.9461        9.7367       -.23254E-07    .92880E-03
   6  norm          5.8121        5.1102       -.27895E-07   -.28875E-03
   7  norm          .46074E-08    50.639       -.10997E-06** at limit **
   8  Prefactor     .55511E-10    13.018        .34363E-07** at limit **
   9  Prefactor     45.674        5.4083        .37464E-07    .70251E-01
  10  Prefactor     6.2812        88.988       -.93405E-06    .22692E-01
  11  Prefactor     .80863E-05    114.02       -.53733E-06** at limit **
  12  norm          1.4588        1.2228        .42945E-09   -.97564E-03
  13  norm           .0000        3.7277       -.82845E-08** at limit **
  14  Prefactor     .66613E-09    8.4775       -.27234E-06** at limit **
  15  Prefactor     29.707        40.728       -.63553E-07   -.27429E-01
  16  norm          3.9536        7.1234        .14364E-06    .34265E-02
  17  Prefactor     10.096        5.8033       -.74356E-07   -.45988E-01
  18  norm          .56455E-07    24.497       -.18723E-06** at limit **
  19  Prefactor     4.9922        5.6073       -.34819E-08   -.13268E-03
  20  Prefactor     .95313E-07    32.643       -.14560E-06** at limit **
  21  Prefactor     16.098        4.5759        .31911E-07    .21530E-01
  22  Prefactor     7.4089        7.8134        .12405E-07    .14855E-03
  23  Normalizat    1.3276        .24999        .44472E-06   -.68999E-04
  24  Prefactor     .66390        .16437       -.76332E-06   -.73357E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Prefactor  = 0.142798
  Prefactor  = 3.33137
  norm       = 0
  Prefactor  = 3.94614
  norm       = 5.8121
  norm       = 4.60743e-09
  Prefactor  = 5.55112e-11
  Prefactor  = 45.674
  Prefactor  = 6.28118
  Prefactor  = 8.08631e-06
  norm       = 1.45883
  norm       = 0
  Prefactor  = 6.66134e-10
  Prefactor  = 29.7069
  norm       = 3.95364
  Prefactor  = 10.0962
  norm       = 5.64548e-08
  Prefactor  = 4.99216
  Prefactor  = 9.53126e-08
  Prefactor  = 16.0975
  Prefactor  = 7.4089
  Normalizat = 1.32763
  Prefactor  = 0.663904
 **********
 **   18 **HESSE 
 **********

 FCN=   5557.412     FROM HESSE     STATUS=OK           463 CALLS     2495 TOTAL
                     EDM=   .71E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    3.5764        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .14280        9.8467        .12889E-01   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     3.3314        7.7755        .55468E-03   -1.5671    
   4  norm           .0000        2.3479        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.9461        9.7663        .50794E-03   -1.5668    
   6  norm          5.8121        5.1290        .41666E-03   -1.5660    
   7  norm          .46074E-08    10.637        .10102E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .55511E-10    13.022        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     45.674        28.180        .14859E-03   -1.5573    
  10  Prefactor     6.2812        205.16        .53576E-03   -1.5658    
  11  Prefactor     .80863E-05    17.068        .74929E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.4588        1.2515        .89080E-03   -1.5684    
  13  norm           .0000        3.7136        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .66613E-09    8.4621        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     29.707        59.771        .19465E-03   -1.5599    
  16  norm          3.9536        7.2443        .50549E-03   -1.5668    
  17  Prefactor     10.096        20.526        .31670E-03   -1.5644    
  18  norm          .56455E-07    24.682        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     4.9922        5.6395        .45194E-03   -1.5663    
  20  Prefactor     .95313E-07    32.823        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     16.098        27.979        .25300E-03   -1.5628    
  22  Prefactor     7.4089        7.8326        .36844E-03   -1.5654    
  23  Normalizat    1.3276        .21800        .56360E-01   -.82745    
  24  Prefactor     .66390        .14279        .41921E-01   -1.0496    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.10134e-07
Minuit parameter uncertainties:
  1  2.2034e-05
  2  2.37159
  3  7.77553
  4  1.36294e-05
  5  9.76634
  6  5.12897
  7  0.000443816
  8  4.75904e-05
  9  28.1798
  10  71.7981
  11  0.0234961
  12  1.25145
  13  8.22953e-06
  14  0.000150554
  15  59.7724
  16  7.24436
  17  20.5259
  18  0.00236033
  19  5.63949
  20  0.00353773
  21  27.9794
  22  7.83264
  23  0.218156
  24  0.142869
Done.

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

Extracting fit parameters...

4FGL J2335.4-0128
   Spectrum: LogParabola
451         norm:  5.645e-08  2.360e-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:  6.639e-01  1.429e-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:  1.328e+00  2.182e-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: 6.84e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.84e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/647761/likelihoodResults_688262401_688521601_4FGL_J2335.4-0128_daily_bin1732.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) = 5557.43193842
delta logL = -0.0198906559508

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5557.41204843
delta logL = -6.65621882945e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .38700E-05   1.0000          .0000       .10000E+07
     2 'alpha     '    1.4276       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3274       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .66408       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=   5557.293     FROM MIGRAD    STATUS=CONVERGED    104 CALLS      261 TOTAL
                     EDM=   .77E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .28344        .58629        .42118E-03   -.23133E-01
   2  alpha         5.0000        3.8512        .47414    ** at limit **
   3  Normalizat    1.2868        .21021        .57067E-01    .30908E-03
   4  Prefactor     .68024        .14181        .41921E-01    .45301E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.283437
  alpha      = 5
  Normalizat = 1.2868
  Prefactor  = 0.680241
 **********
 **   18 **HESSE 
 **********

 FCN=   5557.293     FROM HESSE     STATUS=OK            31 CALLS      292 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .28344        .61810        .76269E-05   -1.5719    
   2  alpha         5.0000        3.8949        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.2868        .24865        .25236E-03   -.83961    
   4  Prefactor     .68024        .16716        .23661E-03   -1.0431    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.15277e-10
Minuit parameter uncertainties:
  1  0.618103
  2  1.24038e-05
  3  0.248883
  4  0.167286
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/647761': 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) = 5557.29271017
delta logL = 0.119337599508

Extracting fit parameters...

4FGL J2335.4-0128
   Spectrum: LogParabola
451         norm:  2.834e-01  6.181e-01  0.000e+00  1.000e+06 ( 1.000e-13)
452        alpha:  5.000e+00  1.240e-05  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:  6.802e-01  1.673e-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:  1.287e+00  2.489e-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/647761/cmap_HighResolution_688262401_688521601_4FGL_J2335.4-0128_daily_bin1732.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.84e-05', job_status='DONE', photon_flux_upper_limit='6.84e-08', time_completed='2022-10-27 00:48:31.066352', job_id='647761', GAL2='0.68', fit_tolerance='1e-08', EG2='1.29', EG='1.33', time_epoch_completed='1666856911.07', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.66', dlogl='1.19e-01', ts2='0.27', photon_index_error='0.00', photon_index='2.50' WHERE bin_id='1732' AND source_name='4FGL J2335.4-0128' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Oct 27 00:48:31 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0242>
Subject: Job 647761: <4FGL_J2335.4-0128_daily_bin1732> in cluster <slac> Done

Job <4FGL_J2335.4-0128_daily_bin1732> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Thu Oct 27 00:35:52 2022
Job was executed on host(s) <bullet0242>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Oct 27 00:35:53 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Oct 27 00:35:53 2022
Terminated at Thu Oct 27 00:48:31 2022
Results reported at Thu Oct 27 00:48:31 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2335.4-0128_daily_bin1732 353.869 -1.476 688262401 688521601 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 :                                   557.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             278.69 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   758 sec.
    Turnaround time :                            759 sec.

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

