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


Performing analysis on: 4FGL_J2335.4-0128_daily_bin810
RA = 353.869, Dec = -1.476
tmin = 449280001, tmax = 449539201
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='32879', job_status='RUN', time_executed='2021-09-30 00:22:53.858945', time_epoch_executed='1632986573.86' WHERE source_name='4FGL J2335.4-0128' and cadence='daily' and bin_id='810'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/32879

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/32879/ft1_4FGL_J2335.4-0128_daily_bin810.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/32879/ft2_4FGL_J2335.4-0128_daily_bin810.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/32879/ft1_4FGL_J2335.4-0128_daily_bin810.fits outfile=/scratch/kocevski/32879/ft1_filteredMKT_4FGL_J2335.4-0128_daily_bin810.fits ra=353.869 dec=-1.476 rad=12.0 tmin=449280001.0 tmax=449539201.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 5.84
user 5.56
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/32879/ft2_4FGL_J2335.4-0128_daily_bin810.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/32879/ft1_filteredMKT_4FGL_J2335.4-0128_daily_bin810.fits evtable="EVENTS" outfile="/scratch/kocevski/32879/ft1_filtered_4FGL_J2335.4-0128_daily_bin810.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/32879/ft1_filtered_4FGL_J2335.4-0128_daily_bin810.fits" evtable="EVENTS" scfile=/scratch/kocevski/32879/ft2_4FGL_J2335.4-0128_daily_bin810.fits sctable="SC_DATA" outfile=/scratch/kocevski/32879/ltcube_449280001_449539201_4FGL_J2335.4-0128_daily_bin810.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/32879/ft2_4FGL_J2335.4-0128_daily_bin810.fits
.....................!
real 12.17
user 11.79
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/32879/ft1_filtered_4FGL_J2335.4-0128_daily_bin810.fits evtable="EVENTS" scfile=/scratch/kocevski/32879/ft2_4FGL_J2335.4-0128_daily_bin810.fits sctable="SC_DATA" expcube=/scratch/kocevski/32879/ltcube_449280001_449539201_4FGL_J2335.4-0128_daily_bin810.fits outfile=/scratch/kocevski/32879/expmap_449280001_449539201_4FGL_J2335.4-0128_daily_bin810.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/32879/ltcube_449280001_449539201_4FGL_J2335.4-0128_daily_bin810.fits
.....................!
real 191.10
user 185.42
sys 5.29

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/32879/ft1_filtered_4FGL_J2335.4-0128_daily_bin810.fits scfile=/scratch/kocevski/32879/ft2_4FGL_J2335.4-0128_daily_bin810.fits outfile=/scratch/kocevski/32879/cmap_449280001_449539201_4FGL_J2335.4-0128_daily_bin810.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.52
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/32879/ft1_filtered_4FGL_J2335.4-0128_daily_bin810.fits scfile=/scratch/kocevski/32879/ft2_4FGL_J2335.4-0128_daily_bin810.fits outfile=/scratch/kocevski/32879/cmap_HighResolution_449280001_449539201_4FGL_J2335.4-0128_daily_bin810.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.37
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/32879/ft1_filtered_4FGL_J2335.4-0128_daily_bin810.fits evtable="EVENTS" scfile=/scratch/kocevski/32879/ft2_4FGL_J2335.4-0128_daily_bin810.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/32879/Model_4FGL_J2335.4-0128_daily_bin810.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/32879/ft1_filtered_4FGL_J2335.4-0128_daily_bin810.fits......................!
real 33.79
user 32.52
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    28.235       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10070E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .11509E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    3.8026       1.0000         .10000E-03   10000.    
     6 'Prefactor '    16.477       1.0000         .10000E-03   10000.    
     7 'norm      '    .10177E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    56.197       1.0000         .10000E-03   10000.    
     9 'Prefactor '    60.441       1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.4353       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10139E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    3.6589       1.0000         .10000E-03   10000.    
    14 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10119E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .70382       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10065E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    7.6737       1.0000         .10000E-03   10000.    
    22 'Prefactor '    179.44       1.0000         .10000E-03   10000.    
    23 'Prefactor '    15.121       1.0000         .10000E-03   10000.    
    24 'Prefactor '    24.507       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    20.534       1.0000         .10000E-03   10000.    
    28 'Normalizat'    .35619       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.4085       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=   2441.175     FROM MIGRAD    STATUS=CONVERGED    725 CALLS     3674 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     28.228        24.993       -.24122E-06    .39265E-04
   2  Prefactor     .10000E-03    81.478       -.86692E-06** at limit **
   3  Prefactor     .10000E-03    16.124       -.24578E-06** at limit **
   4  Prefactor     .10001E-03    32.811        .15910E-05** at limit **
   5  norm          3.8002        4.3131       -.11821E-06    .77761E-04
   6  Prefactor     16.480        43.339        .18863E-05    .20969E-03
   7  norm          .10000E-03    12.147        .11483E-05** at limit **
   8  norm          56.185        27.376       -.93369E-06   -.20382E-03
   9  Prefactor     60.424        89.813       -.19938E-05   -.33706E-04
  10  Prefactor     5.4329        38.958       -.21034E-05   -.38256E-04
  11  Prefactor     .10000E-03    72.133       -.52687E-06** at limit **
  12  Prefactor     .10000E-03    7.4954       -.21283E-06** at limit **
  13  norm          3.6581        1.9696       -.13973E-06   -.58106E-03
  14  norm          .10000E-03    3.7276       -.85040E-07** at limit **
  15  Prefactor     .10000E-03    8.4927       -.20215E-06** at limit **
  16  Prefactor     .10000E-03    67.477       -.22346E-06** at limit **
  17  norm          .59768        102.71       -.24061E-04    .14014E-03
  18  Prefactor     .10000E-03    187.36       -.39062E-06** at limit **
  19  Prefactor     .10000E-03    37.805        .65590E-06** at limit **
  20  Prefactor     .10000E-03    25.065       -.86402E-06** at limit **
  21  norm          7.7013        250.88       -.60247E-05   -.75295E-04
  22  Prefactor     179.33        155.24        .83816E-06    .67979E-04
  23  Prefactor     15.093        20.265       -.13390E-07   -.25272E-03
  24  Prefactor     24.317        83.296        .38318E-05    .11129E-03
  25  Prefactor     .10000E-03    22.091       -.51031E-06** at limit **
  26  Prefactor     .10000E-03    12.687        .36715E-07** at limit **
  27  Prefactor     20.519        19.531       -.32177E-06   -.24223E-04
  28  Normalizat    .35827        .42630       -.18392E-05    .60278E-04
  29  Prefactor     1.4074        .30068        .26533E-05    .43758E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 28.2278
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.000100005
  norm       = 3.80022
  Prefactor  = 16.4805
  norm       = 0.000100002
  norm       = 56.1854
  Prefactor  = 60.4241
  Prefactor  = 5.43291
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.65811
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.597684
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.000100001
  norm       = 7.70128
  Prefactor  = 179.328
  Prefactor  = 15.0931
  Prefactor  = 24.3166
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 20.5186
  Normalizat = 0.358275
  Prefactor  = 1.40736
 **********
 **   18 **HESSE 
 **********

 FCN=   2441.175     FROM HESSE     STATUS=OK           539 CALLS     4213 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     28.228        25.003        .75397E-04   -1.4645    
   2  Prefactor     .10000E-03    81.501        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    16.148        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10001E-03    33.452        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          3.8002        4.3111        .10504E-03   -1.5318    
   6  Prefactor     16.480        43.178        .98669E-04   -1.4896    
   7  norm          .10000E-03    12.379        .33381E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          56.185        27.739        .53511E-04   -1.4207    
   9  Prefactor     60.424        90.551        .51609E-04   -1.4152    
  10  Prefactor     5.4329        39.416        .17236E-03   -1.5242    
  11  Prefactor     .10000E-03    72.232        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    7.5083        .13217E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          3.6581        1.9726        .48935E-04   -1.5325    
  14  norm          .10000E-03    3.7305        .93173E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    8.5017        .14063E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    67.498        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .59768        108.29        .44339E-02   -1.5553    
  18  Prefactor     .10000E-03    187.37        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    37.991        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    25.132        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          7.7013        249.38        .14476E-03   -1.5153    
  22  Prefactor     179.33        155.53        .15066E-03   -1.3022    
  23  Prefactor     15.093        20.125        .10300E-03   -1.4931    
  24  Prefactor     24.317        84.244        .80916E-04   -1.4721    
  25  Prefactor     .10000E-03    22.135        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    12.689        .17189E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     20.519        19.541        .88390E-04   -1.4802    
  28  Normalizat    .35827        .44344        .51214E-03   -1.1952    
  29  Prefactor     1.4074        .31787        .20163E-03   -.80168    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.83793e-09
Minuit parameter uncertainties:
  1  25.0119
  2  0.00044757
  3  4.94652e-05
  4  0.000841866
  5  4.31145
  6  43.26
  7  0.000337204
  8  27.7449
  9  90.7588
  10  29.2943
  11  0.000237495
  12  3.52153e-05
  13  1.97267
  14  1.12056e-05
  15  2.56073e-05
  16  0.000271657
  17  16.1185
  18  0.00034661
  19  0.000466588
  20  0.000280633
  21  88.0505
  22  155.889
  23  20.134
  24  84.6603
  25  0.000231109
  26  7.8408e-07
  27  19.5468
  28  0.447882
  29  0.318318
Done.

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

Extracting fit parameters...

4FGL J2335.4-0128
   Spectrum: LogParabola
451         norm:  7.701e+00  8.805e+01  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.407e+00  3.183e-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:  3.583e-01  4.479e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.02
Ra Dec: 353.869 -1.476
Photon Flux Upper Limit: 2.10e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.73e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/32879/likelihoodResults_449280001_449539201_4FGL_J2335.4-0128_daily_bin810.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2440.84424804
delta logL = 0.330972472126

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2440.75956406
delta logL = 0.415656444121

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.0628       1.0000         .10000E-03   10000.    
     2 'alpha     '    4.5635       1.0000          .0000       5.0000    
     3 'Normalizat'    .26665       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4467       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=   2440.760     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      274 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.0450        105.33        .71926E-02    .10926E-03
   2  alpha         4.5679        2.6144        .48245        .87058E-05
   3  Normalizat    .26552        .12704        .13359        .22169E-05
   4  Prefactor     1.4476        .94847E-01    .44995E-01   -.83997E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.04496
  alpha      = 4.56787
  Normalizat = 0.265518
  Prefactor  = 1.44755
 **********
 **   18 **HESSE 
 **********

 FCN=   2440.760     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      305 TOTAL
                     EDM=   .66E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.0450        162.55        .86555E-04   -1.5422    
   2  alpha         4.5679        2.5414        .27051E-01    .97401    
   3  Normalizat    .26552        .38363        .58994E-03   -1.2496    
   4  Prefactor     1.4476        .28338        .19887E-03   -.79019    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.64548e-11
Minuit parameter uncertainties:
  1  36.5662
  2  8.90721
  3  0.387518
  4  0.283688
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/32879': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2440.75955855
delta logL = 0.415661954221

Extracting fit parameters...

4FGL J2335.4-0128
   Spectrum: LogParabola
451         norm:  2.045e+00  3.657e+01  1.000e-04  1.000e+04 ( 1.000e-13)
452        alpha:  4.568e+00  8.907e+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.448e+00  2.837e-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:  2.655e-01  3.875e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.02
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/32879/cmap_HighResolution_449280001_449539201_4FGL_J2335.4-0128_daily_bin810.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.73e-05', job_status='DONE', photon_flux_upper_limit='2.10e-07', time_completed='2021-09-30 00:31:13.588257', job_id='32879', GAL2='1.45', fit_tolerance='1e-08', EG2='0.27', EG='0.36', time_epoch_completed='1632987073.59', return_code2='102', ts='0.02', comment='SUCCESS', return_code='0', GAL='1.41', dlogl='4.16e-01', ts2='0.91', photon_index_error='0.00', photon_index='2.50' WHERE bin_id='810' AND source_name='4FGL J2335.4-0128' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 00:31:13 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0042>
Subject: Job 32879: <4FGL_J2335.4-0128_daily_bin810> in cluster <slac> Done

Job <4FGL_J2335.4-0128_daily_bin810> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Sep 30 00:20:27 2021
Job was executed on host(s) <bullet0042>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 00:20:29 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:29 2021
Terminated at Thu Sep 30 00:31:14 2021
Results reported at Thu Sep 30 00:31:14 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2335.4-0128_daily_bin810 353.869 -1.476 449280001 449539201 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 :                                   498.36 sec.
    Max Memory :                                 1131 MB
    Average Memory :                             258.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   644 sec.
    Turnaround time :                            647 sec.

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

