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 35 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J2335.4-0128_daily_bin1702
RA = 353.869, Dec = -1.476
tmin = 680486401, tmax = 680745601
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='259094', job_status='RUN', time_executed='2022-07-29 01:38:08.486703', time_epoch_executed='1659083888.49' WHERE source_name='4FGL J2335.4-0128' and cadence='daily' and bin_id='1702'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/259094

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/259094/ft1_4FGL_J2335.4-0128_daily_bin1702.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/259094/ft2_4FGL_J2335.4-0128_daily_bin1702.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/259094/ft1_4FGL_J2335.4-0128_daily_bin1702.fits outfile=/scratch/kocevski/259094/ft1_filteredMKT_4FGL_J2335.4-0128_daily_bin1702.fits ra=353.869 dec=-1.476 rad=12.0 tmin=680486401.0 tmax=680745601.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.98
user 2.73
sys 0.24

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

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

Number of photons that the gtmktime cut: 381

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/259094/ft1_filtered_4FGL_J2335.4-0128_daily_bin1702.fits" evtable="EVENTS" scfile=/scratch/kocevski/259094/ft2_4FGL_J2335.4-0128_daily_bin1702.fits sctable="SC_DATA" outfile=/scratch/kocevski/259094/ltcube_680486401_680745601_4FGL_J2335.4-0128_daily_bin1702.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/259094/ft2_4FGL_J2335.4-0128_daily_bin1702.fits
.....................!
real 16.31
user 15.66
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/259094/ft1_filtered_4FGL_J2335.4-0128_daily_bin1702.fits evtable="EVENTS" scfile=/scratch/kocevski/259094/ft2_4FGL_J2335.4-0128_daily_bin1702.fits sctable="SC_DATA" expcube=/scratch/kocevski/259094/ltcube_680486401_680745601_4FGL_J2335.4-0128_daily_bin1702.fits outfile=/scratch/kocevski/259094/expmap_680486401_680745601_4FGL_J2335.4-0128_daily_bin1702.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/259094/ltcube_680486401_680745601_4FGL_J2335.4-0128_daily_bin1702.fits
.....................!
real 196.03
user 187.56
sys 5.95

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/259094/ft1_filtered_4FGL_J2335.4-0128_daily_bin1702.fits scfile=/scratch/kocevski/259094/ft2_4FGL_J2335.4-0128_daily_bin1702.fits outfile=/scratch/kocevski/259094/cmap_680486401_680745601_4FGL_J2335.4-0128_daily_bin1702.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.62
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/259094/ft1_filtered_4FGL_J2335.4-0128_daily_bin1702.fits scfile=/scratch/kocevski/259094/ft2_4FGL_J2335.4-0128_daily_bin1702.fits outfile=/scratch/kocevski/259094/cmap_HighResolution_680486401_680745601_4FGL_J2335.4-0128_daily_bin1702.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.57
user 0.39
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/259094/ft1_filtered_4FGL_J2335.4-0128_daily_bin1702.fits', '/scratch/kocevski/259094/ft2_4FGL_J2335.4-0128_daily_bin1702.fits', expMap='/scratch/kocevski/259094/expmap_680486401_680745601_4FGL_J2335.4-0128_daily_bin1702.fits', expCube='/scratch/kocevski/259094/ltcube_680486401_680745601_4FGL_J2335.4-0128_daily_bin1702.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/259094/Model_4FGL_J2335.4-0128_daily_bin1702.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  1.000e-04  1.000e+04 ( 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  0.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/259094/ft1_filtered_4FGL_J2335.4-0128_daily_bin1702.fits
Spacecraft file(s): /scratch/kocevski/259094/ft2_4FGL_J2335.4-0128_daily_bin1702.fits
Exposure map: /scratch/kocevski/259094/expmap_680486401_680745601_4FGL_J2335.4-0128_daily_bin1702.fits
Exposure cube: /scratch/kocevski/259094/ltcube_680486401_680745601_4FGL_J2335.4-0128_daily_bin1702.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/259094/Model_4FGL_J2335.4-0128_daily_bin1702.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) = 4310.25274649

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10239E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    58.575       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    9.1433       1.0000         .10000E-03   10000.    
     7 'norm      '    6.3105       1.0000         .10000E-03   10000.    
     8 'norm      '    13.211       1.0000         .10000E-03   10000.    
     9 'Prefactor '    26.495       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    17.906       1.0000         .10000E-03   10000.    
    13 'norm      '    1.7270       1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.2724       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    181.04       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .11018E-01   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10060E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    129.96       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10066E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    22.775       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    1.8722       1.0000         .10000E-03   10000.    
    27 'Prefactor '    12.297       1.0000         .10000E-03   10000.    
    28 'Normalizat'    .74763       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.1195       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4310.208     FROM MIGRAD    STATUS=CONVERGED    719 CALLS     3674 TOTAL
                     EDM=   .71E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    11.023        .42177E-06** at limit **
   2  Prefactor     .10001E-03    98.390        .77704E-07** at limit **
   3  Prefactor     58.582        25.542       -.14967E-06   -.73705E-04
   4  Prefactor     .10000E-03    2.6850        .11506E-06** at limit **
   5  norm          .10000E-03    2.2271        .30940E-06** at limit **
   6  Prefactor     9.1460        23.103       -.60417E-06   -.75575E-04
   7  norm          6.3109        4.7066       -.27839E-07   -.18669E-03
   8  norm          13.210        15.165       -.77996E-07    .24575E-04
   9  Prefactor     26.484        52.174       -.40989E-06    .32094E-04
  10  Prefactor     .10000E-03    30.651        .64673E-06** at limit **
  11  Prefactor     .10000E-03    47.088        .34714E-06** at limit **
  12  Prefactor     17.911        15.424       -.95342E-07    .10520E-03
  13  norm          1.7271        1.5595        .82072E-07    .14445E-02
  14  norm          .10000E-03    4.6749        .13729E-06** at limit **
  15  Prefactor     1.2694        18.891       -.81391E-06   -.41579E-05
  16  Prefactor     .10000E-03    27.867       -.37460E-06** at limit **
  17  norm          .10000E-03    2.6211       -.22812E-07** at limit **
  18  Prefactor     181.09        211.64        .10093E-05    .43250E-04
  19  Prefactor     .10001E-03    129.47       -.32185E-04** at limit **
  20  Prefactor     .10000E-03    29.598       -.25137E-06** at limit **
  21  norm          .10000E-03    16.607       -.18326E-06** at limit **
  22  Prefactor     129.91        110.35        .18088E-06    .19045E-03
  23  Prefactor     .10000E-03    4.9436       -.28505E-06** at limit **
  24  Prefactor     22.830        56.165        .24608E-06   -.17595E-04
  25  Prefactor     .10000E-03    12.422       -.57606E-06** at limit **
  26  Prefactor     1.8735        74.480       -.89334E-05   -.42335E-04
  27  Prefactor     12.301        10.116       -.20069E-06   -.53154E-04
  28  Normalizat    .74701        .27943        .84507E-06    .24463E-03
  29  Prefactor     1.1200        .18384        .34786E-06    .50508E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.000100005
  Prefactor  = 58.5824
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 9.14598
  norm       = 6.31089
  norm       = 13.2101
  Prefactor  = 26.4843
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 17.9112
  norm       = 1.72714
  norm       = 0.0001
  Prefactor  = 1.2694
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 181.095
  Prefactor  = 0.000100011
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 129.908
  Prefactor  = 0.0001
  Prefactor  = 22.8303
  Prefactor  = 0.0001
  Prefactor  = 1.87352
  Prefactor  = 12.3009
  Normalizat = 0.74701
  Prefactor  = 1.11996
 **********
 **   18 **HESSE 
 **********

 FCN=   4310.208     FROM HESSE     STATUS=OK           549 CALLS     4223 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    11.179        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10001E-03    99.095        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     58.582        25.505        .52420E-04   -1.4176    
   4  Prefactor     .10000E-03    2.6908        .10497E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    2.3024        .19054E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     9.1460        23.121        .13254E-03   -1.5103    
   7  norm          6.3109        4.7012        .10421E-03   -1.5205    
   8  norm          13.210        15.169        .11020E-03   -1.4981    
   9  Prefactor     26.484        52.329        .77827E-04   -1.4678    
  10  Prefactor     .10000E-03    30.890        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    47.121        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     17.911        15.422        .94649E-04   -1.4861    
  13  norm          1.7271        1.5344        .72669E-04   -1.5445    
  14  norm          .10000E-03    4.6818        .13851E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.2694        19.178        .39427E-03   -1.5483    
  16  Prefactor     .10000E-03    27.900        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    2.6222        .10378E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     181.09        210.75        .15001E-03   -1.3008    
  19  Prefactor     .10001E-03    126.56        .46016E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    29.748        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    16.620        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     129.91        110.80        .17659E-03   -1.3423    
  23  Prefactor     .10000E-03    5.0099        .14217E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     22.830        56.489        .83933E-04   -1.4752    
  25  Prefactor     .10000E-03    12.469        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     1.8735        75.142        .15218E-02   -1.5434    
  27  Prefactor     12.301        10.155        .11423E-03   -1.5006    
  28  Normalizat    .74701        .31224        .33352E-03   -1.0207    
  29  Prefactor     1.1200        .20957        .20593E-03   -.88831    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.26461e-09
Minuit parameter uncertainties:
  1  0.000102084
  2  0.00141139
  3  25.5094
  4  1.70833e-05
  5  3.65243e-05
  6  23.1436
  7  4.7015
  8  15.1732
  9  52.4194
  10  0.000377924
  11  0.000290503
  12  15.4258
  13  1.53441
  14  1.93592e-05
  15  9.87151
  16  0.000316056
  17  2.26995e-06
  18  211.639
  19  0.00231819
  20  8.1028e-05
  21  5.42211e-07
  22  110.977
  23  1.95133e-05
  24  56.622
  25  0.000155839
  26  23.7615
  27  10.1566
  28  0.312984
  29  0.209722
Done.

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

Extracting fit parameters...

4FGL J2335.4-0128
   Spectrum: LogParabola
451         norm:  1.000e-04  5.422e-07  1.000e-04  1.000e+04 ( 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  0.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:  1.120e+00  2.097e-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:  7.470e-01  3.130e-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: 7.88e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.27e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/259094/likelihoodResults_680486401_680745601_4FGL_J2335.4-0128_daily_bin1702.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) = 4310.20780965
delta logL = -0.000286565366878

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4310.20605609
delta logL = 0.0014669926868

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .35894E-01   1.0000         .10000E-03   10000.    
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    .74135       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1223       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4310.206     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      299 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .35912E-01    3.2054        .75534E-03    .15866E-02
   2  alpha         5.0000        3.5575        .18552    ** at limit **
   3  Normalizat    .74139        .29503        .33472E-03    .16137E-03
   4  Prefactor     1.1223        .20872        .20575E-03    .13257E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0359118
  alpha      = 5
  Normalizat = 0.741393
  Prefactor  = 1.12227
 **********
 **   18 **HESSE 
 **********

 FCN=   4310.206     FROM HESSE     STATUS=OK            25 CALLS      324 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .35912E-01    3.1027        .30214E-04   -1.5670    
   2  alpha         5.0000        3.4430        .37104E-01    1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .74139        .29095        .13389E-04   -1.0228    
   4  Prefactor     1.1223        .20784        .41149E-04   -.88758    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.71581e-09
Minuit parameter uncertainties:
  1  0.666706
  2  0.00280551
  3  0.29156
  4  0.207989
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/259094': 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) = 4310.20605607
delta logL = 0.00146701384347

Extracting fit parameters...

4FGL J2335.4-0128
   Spectrum: LogParabola
451         norm:  3.591e-02  6.667e-01  1.000e-04  1.000e+04 ( 1.000e-13)
452        alpha:  5.000e+00  2.806e-03  0.000e+00  5.000e+00 ( 1.000e+00)
453         beta:  3.100e-01  0.000e+00  0.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:  1.122e+00  2.080e-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:  7.414e-01  2.916e-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/259094/cmap_HighResolution_680486401_680745601_4FGL_J2335.4-0128_daily_bin1702.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.27e-05', job_status='DONE', photon_flux_upper_limit='7.88e-08', time_completed='2022-07-29 01:48:51.711241', job_id='259094', GAL2='1.12', fit_tolerance='1e-08', EG2='0.74', EG='0.75', time_epoch_completed='1659084531.71', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.12', dlogl='1.47e-03', ts2='0.00', photon_index_error='0.00', photon_index='2.50' WHERE bin_id='1702' AND source_name='4FGL J2335.4-0128' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jul 29 01:48:51 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0211>
Subject: Job 259094: <4FGL_J2335.4-0128_daily_bin1702> in cluster <slac> Done

Job <4FGL_J2335.4-0128_daily_bin1702> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Jul 29 01:35:29 2022
Job was executed on host(s) <bullet0211>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Jul 29 01:37:25 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Jul 29 01:37:25 2022
Terminated at Fri Jul 29 01:48:52 2022
Results reported at Fri Jul 29 01:48:52 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2335.4-0128_daily_bin1702 353.869 -1.476 680486401 680745601 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 :                                   637.23 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             337.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   687 sec.
    Turnaround time :                            803 sec.

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

