/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 116 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 = 7404
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2335.4-0128_daily_bin824
RA = 353.869, Dec = -1.476
tmin = 452908801, tmax = 453168001
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='32901', job_status='RUN', time_executed='2021-09-30 00:22:38.074655', time_epoch_executed='1632986558.07' WHERE source_name='4FGL J2335.4-0128' and cadence='daily' and bin_id='824'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/32901

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/32901/ft1_4FGL_J2335.4-0128_daily_bin824.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/32901/ft2_4FGL_J2335.4-0128_daily_bin824.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/32901/ft1_4FGL_J2335.4-0128_daily_bin824.fits outfile=/scratch/kocevski/32901/ft1_filteredMKT_4FGL_J2335.4-0128_daily_bin824.fits ra=353.869 dec=-1.476 rad=12.0 tmin=452908801.0 tmax=453168001.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.16
user 3.85
sys 0.27

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/32901/ft1_filtered_4FGL_J2335.4-0128_daily_bin824.fits" evtable="EVENTS" scfile=/scratch/kocevski/32901/ft2_4FGL_J2335.4-0128_daily_bin824.fits sctable="SC_DATA" outfile=/scratch/kocevski/32901/ltcube_452908801_453168001_4FGL_J2335.4-0128_daily_bin824.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/32901/ft2_4FGL_J2335.4-0128_daily_bin824.fits
.....................!
real 11.82
user 11.41
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/32901/ft1_filtered_4FGL_J2335.4-0128_daily_bin824.fits evtable="EVENTS" scfile=/scratch/kocevski/32901/ft2_4FGL_J2335.4-0128_daily_bin824.fits sctable="SC_DATA" expcube=/scratch/kocevski/32901/ltcube_452908801_453168001_4FGL_J2335.4-0128_daily_bin824.fits outfile=/scratch/kocevski/32901/expmap_452908801_453168001_4FGL_J2335.4-0128_daily_bin824.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/32901/ltcube_452908801_453168001_4FGL_J2335.4-0128_daily_bin824.fits
.....................!
real 193.14
user 186.72
sys 5.88

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/32901/ft1_filtered_4FGL_J2335.4-0128_daily_bin824.fits scfile=/scratch/kocevski/32901/ft2_4FGL_J2335.4-0128_daily_bin824.fits outfile=/scratch/kocevski/32901/cmap_452908801_453168001_4FGL_J2335.4-0128_daily_bin824.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/32901/ft1_filtered_4FGL_J2335.4-0128_daily_bin824.fits scfile=/scratch/kocevski/32901/ft2_4FGL_J2335.4-0128_daily_bin824.fits outfile=/scratch/kocevski/32901/cmap_HighResolution_452908801_453168001_4FGL_J2335.4-0128_daily_bin824.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/32901/ft1_filtered_4FGL_J2335.4-0128_daily_bin824.fits evtable="EVENTS" scfile=/scratch/kocevski/32901/ft2_4FGL_J2335.4-0128_daily_bin824.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/32901/Model_4FGL_J2335.4-0128_daily_bin824.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/32901/ft1_filtered_4FGL_J2335.4-0128_daily_bin824.fits.....................!
real 65.93
user 64.55
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10109E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    31.054       1.0000         .10000E-03   10000.    
     4 'Prefactor '    7.8331       1.0000         .10000E-03   10000.    
     5 'norm      '    3.8841       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10081E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    2.0747       1.0000         .10000E-03   10000.    
     8 'norm      '    .50759       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10081E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    34.084       1.0000         .10000E-03   10000.    
    11 'Prefactor '    15.132       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10825E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .54916       1.0000         .10000E-03   10000.    
    14 'norm      '    1.7017       1.0000         .10000E-03   10000.    
    15 'Prefactor '    10.610       1.0000         .10000E-03   10000.    
    16 'Prefactor '    45.374       1.0000         .10000E-03   10000.    
    17 'norm      '    38.297       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    24.304       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .11432E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    35.471       1.0000         .10000E-03   10000.    
    23 'Prefactor '    1.0976       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10047E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    16.140       1.0000         .10000E-03   10000.    
    28 'Normalizat'    .64605       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.0591       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=   6808.043     FROM MIGRAD    STATUS=CONVERGED    714 CALLS     3675 TOTAL
                     EDM=   .35E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.0955       -.50104E-07** at limit **
   2  Prefactor     .10000E-03    46.481       -.11164E-06** at limit **
   3  Prefactor     31.058        19.359        .11241E-06    .49121E-04
   4  Prefactor     7.8298        8.7606        .92567E-06    .24867E-03
   5  norm          3.8837        3.8478       -.38114E-07    .42830E-03
   6  Prefactor     .10000E-03    9.1241        .95913E-06** at limit **
   7  norm          2.0779        5.5132       -.11809E-05    .25780E-03
   8  norm          .52657        41.275        .15794E-04   -.35549E-04
   9  Prefactor     .10000E-03    57.039       -.37346E-05** at limit **
  10  Prefactor     34.085        16.210       -.57497E-07    .38002E-04
  11  Prefactor     15.124        41.024        .10856E-05    .89674E-04
  12  Prefactor     .10000E-03    5.9263       -.28025E-06** at limit **
  13  norm          .54912        .77115       -.14141E-06   -.37097E-03
  14  norm          1.7041        3.1029       -.98009E-07    .26538E-03
  15  Prefactor     10.605        13.633        .42894E-06    .67765E-04
  16  Prefactor     45.362        52.030        .18704E-05    .92314E-04
  17  norm          38.293        14.491        .23179E-06    .29371E-04
  18  Prefactor     .10000E-03    75.547        .58859E-05** at limit **
  19  Prefactor     24.322        14.872        .11730E-05    .49389E-03
  20  Prefactor     .10000E-03    44.286        .13180E-05** at limit **
  21  norm          .10000E-03    9.6422       -.13420E-07** at limit **
  22  Prefactor     35.471        62.257        .72728E-06    .46315E-04
  23  Prefactor     1.0945        3.5369       -.16410E-05    .36672E-03
  24  Prefactor     .10000E-03    51.624       -.33069E-05** at limit **
  25  Prefactor     .10000E-03    5.7980        .58167E-06** at limit **
  26  Prefactor     .10000E-03    9.9333       -.56994E-06** at limit **
  27  Prefactor     16.141        8.6904        .43697E-07    .64068E-04
  28  Normalizat    .64594        .20329        .31764E-06    .26940E-03
  29  Prefactor     1.0591        .13908       -.40844E-06    .36817E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 31.0585
  Prefactor  = 7.8298
  norm       = 3.88369
  Prefactor  = 0.0001
  norm       = 2.07794
  norm       = 0.526575
  Prefactor  = 0.0001
  Prefactor  = 34.0854
  Prefactor  = 15.1243
  Prefactor  = 0.0001
  norm       = 0.549117
  norm       = 1.70408
  Prefactor  = 10.6052
  Prefactor  = 45.3617
  norm       = 38.2931
  Prefactor  = 0.000100001
  Prefactor  = 24.3222
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 35.4715
  Prefactor  = 1.09453
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 16.1407
  Normalizat = 0.645938
  Prefactor  = 1.05913
 **********
 **   18 **HESSE 
 **********

 FCN=   6808.043     FROM HESSE     STATUS=OK           553 CALLS     4228 TOTAL
                     EDM=   .40E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.1450        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    46.586        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     31.058        19.292        .71901E-04   -1.4593    
   4  Prefactor     7.8298        8.4993        .14327E-03   -1.5148    
   5  norm          3.8837        3.8270        .13687E-03   -1.5314    
   6  Prefactor     .10000E-03    9.1736        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          2.0779        5.3516        .22897E-03   -1.5420    
   8  norm          .52657        41.239        .43183E-02   -1.5563    
   9  Prefactor     .10000E-03    57.702        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     34.085        16.209        .68639E-04   -1.4540    
  11  Prefactor     15.124        41.063        .10296E-03   -1.4930    
  12  Prefactor     .10000E-03    5.9916        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .54912        .66917        .79524E-03   -1.5560    
  14  norm          1.7041        3.0504        .18697E-03   -1.5447    
  15  Prefactor     10.605        13.625        .12300E-03   -1.5057    
  16  Prefactor     45.362        52.219        .59521E-04   -1.4360    
  17  norm          38.293        14.452        .64766E-04   -1.4470    
  18  Prefactor     .10000E-03    76.197        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     24.322        14.679        .81253E-04   -1.4721    
  20  Prefactor     .10000E-03    44.890        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    9.6452        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     35.471        62.307        .67288E-04   -1.4516    
  23  Prefactor     1.0945        3.5008        .24589E-03   -1.5499    
  24  Prefactor     .10000E-03    52.242        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    5.8092        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    10.004        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     16.141        8.6981        .99693E-04   -1.4904    
  28  Normalizat    .64594        .22953        .33770E-03   -1.0607    
  29  Prefactor     1.0591        .15892        .20045E-03   -.90784    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.01352e-08
Minuit parameter uncertainties:
  1  1.60266e-06
  2  3.10912e-05
  3  19.2964
  4  8.5006
  5  3.8272
  6  6.60136e-05
  7  5.35282
  8  9.32579
  9  0.000315193
  10  16.2112
  11  41.1403
  12  7.85799e-05
  13  0.669182
  14  3.05065
  15  13.6294
  16  52.2713
  17  14.4529
  18  0.000670296
  19  14.6812
  20  0.000420405
  21  1.49465e-06
  22  62.4217
  23  3.50143
  24  0.000466428
  25  1.47893e-05
  26  4.44107e-06
  27  8.69876
  28  0.229866
  29  0.158994
Done.

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

Extracting fit parameters...

4FGL J2335.4-0128
   Spectrum: LogParabola
451         norm:  1.000e-04  1.495e-06  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.059e+00  1.590e-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:  6.459e-01  2.299e-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.21e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.16e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/32901/likelihoodResults_452908801_453168001_4FGL_J2335.4-0128_daily_bin824.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) = 6808.04308437
delta logL = -0.000493749717862

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6808.04259087
delta logL = -2.53383404925e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10494E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5102       1.0000          .0000       5.0000    
     3 'Normalizat'    .64595       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0591       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=   6808.043     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      199 TOTAL
                     EDM=   .15E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    9.7015        .90712E-02** at limit **
   2  alpha         2.5157        3.5584        .41152       -.29056E-05
   3  Normalizat    .64594        .18204        .76275E-01    .37018E-04
   4  Prefactor     1.0591        .13650        .39403E-01    .66651E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.51571
  Normalizat = 0.645936
  Prefactor  = 1.05913
 **********
 **   18 **HESSE 
 **********

 FCN=   6808.043     FROM HESSE     STATUS=OK            33 CALLS      232 TOTAL
                     EDM=   .86E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    9.6367        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.5157        3.5556        .50000        .62831E-02
   3  Normalizat    .64594        .20578        .33770E-03   -1.0607    
   4  Prefactor     1.0591        .15466        .20045E-03   -.90784    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.64059e-12
Minuit parameter uncertainties:
  1  6.47769e-06
  2  2.50069
  3  0.206027
  4  0.154725
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/32901': 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) = 6808.04259061
delta logL = 1.26419763546e-08

Extracting fit parameters...

4FGL J2335.4-0128
   Spectrum: LogParabola
451         norm:  1.000e-04  6.478e-06  1.000e-04  1.000e+04 ( 1.000e-13)
452        alpha:  2.516e+00  2.501e+00  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.059e+00  1.547e-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:  6.459e-01  2.060e-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 -2.355e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.614e-03 [aplpy.core]
Saving /scratch/kocevski/32901/cmap_HighResolution_452908801_453168001_4FGL_J2335.4-0128_daily_bin824.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.16e-05', job_status='DONE', photon_flux_upper_limit='5.21e-08', time_completed='2021-09-30 00:35:50.030341', job_id='32901', GAL2='1.06', fit_tolerance='1e-08', EG2='0.65', EG='0.65', time_epoch_completed='1632987350.03', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='1.26e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.50' WHERE bin_id='824' AND source_name='4FGL J2335.4-0128' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 00:35:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0269>
Subject: Job 32901: <4FGL_J2335.4-0128_daily_bin824> in cluster <slac> Done

Job <4FGL_J2335.4-0128_daily_bin824> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Sep 30 00:20:28 2021
Job was executed on host(s) <bullet0269>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 00:20:30 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep 30 00:20:30 2021
Terminated at Thu Sep 30 00:35:50 2021
Results reported at Thu Sep 30 00:35:50 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2335.4-0128_daily_bin824 353.869 -1.476 452908801 453168001 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 :                                   788.38 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             291.39 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   920 sec.
    Turnaround time :                            922 sec.

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

