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


Performing analysis on: 4FGL_J2335.4-0128_daily_bin812
RA = 353.869, Dec = -1.476
tmin = 449798401, tmax = 450057601
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='32882', job_status='RUN', time_executed='2021-09-30 00:22:51.072109', time_epoch_executed='1632986571.07' WHERE source_name='4FGL J2335.4-0128' and cadence='daily' and bin_id='812'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/32882

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/32882/ft1_4FGL_J2335.4-0128_daily_bin812.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/32882/ft2_4FGL_J2335.4-0128_daily_bin812.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/32882/ft1_4FGL_J2335.4-0128_daily_bin812.fits outfile=/scratch/kocevski/32882/ft1_filteredMKT_4FGL_J2335.4-0128_daily_bin812.fits ra=353.869 dec=-1.476 rad=12.0 tmin=449798401.0 tmax=450057601.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.41
user 4.13
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/32882/ft2_4FGL_J2335.4-0128_daily_bin812.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/32882/ft1_filteredMKT_4FGL_J2335.4-0128_daily_bin812.fits evtable="EVENTS" outfile="/scratch/kocevski/32882/ft1_filtered_4FGL_J2335.4-0128_daily_bin812.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.54
user 0.31
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/32882/ft1_filtered_4FGL_J2335.4-0128_daily_bin812.fits" evtable="EVENTS" scfile=/scratch/kocevski/32882/ft2_4FGL_J2335.4-0128_daily_bin812.fits sctable="SC_DATA" outfile=/scratch/kocevski/32882/ltcube_449798401_450057601_4FGL_J2335.4-0128_daily_bin812.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/32882/ft2_4FGL_J2335.4-0128_daily_bin812.fits
.....................!
real 11.92
user 11.53
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/32882/ft1_filtered_4FGL_J2335.4-0128_daily_bin812.fits evtable="EVENTS" scfile=/scratch/kocevski/32882/ft2_4FGL_J2335.4-0128_daily_bin812.fits sctable="SC_DATA" expcube=/scratch/kocevski/32882/ltcube_449798401_450057601_4FGL_J2335.4-0128_daily_bin812.fits outfile=/scratch/kocevski/32882/expmap_449798401_450057601_4FGL_J2335.4-0128_daily_bin812.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/32882/ltcube_449798401_450057601_4FGL_J2335.4-0128_daily_bin812.fits
.....................!
real 191.08
user 185.20
sys 5.33

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/32882/ft1_filtered_4FGL_J2335.4-0128_daily_bin812.fits scfile=/scratch/kocevski/32882/ft2_4FGL_J2335.4-0128_daily_bin812.fits outfile=/scratch/kocevski/32882/cmap_449798401_450057601_4FGL_J2335.4-0128_daily_bin812.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/32882/ft1_filtered_4FGL_J2335.4-0128_daily_bin812.fits scfile=/scratch/kocevski/32882/ft2_4FGL_J2335.4-0128_daily_bin812.fits outfile=/scratch/kocevski/32882/cmap_HighResolution_449798401_450057601_4FGL_J2335.4-0128_daily_bin812.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.55
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/32882/ft1_filtered_4FGL_J2335.4-0128_daily_bin812.fits evtable="EVENTS" scfile=/scratch/kocevski/32882/ft2_4FGL_J2335.4-0128_daily_bin812.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/32882/Model_4FGL_J2335.4-0128_daily_bin812.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/32882/ft1_filtered_4FGL_J2335.4-0128_daily_bin812.fits.....................!
real 48.68
user 47.30
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .29152E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    30.786       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    1.8027       1.0000         .10000E-03   10000.    
     8 'norm      '    63.587       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    20.310       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.7973       1.0000         .10000E-03   10000.    
    12 'Prefactor '    8.0373       1.0000         .10000E-03   10000.    
    13 'norm      '    1.9254       1.0000         .10000E-03   10000.    
    14 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    12.204       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .58074E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    33.641       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10060E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .32199E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    5.6747       1.0000         .10000E-03   10000.    
    27 'Prefactor '    8.4526       1.0000         .10000E-03   10000.    
    28 'Normalizat'    .68412       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.1738       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=   4610.974     FROM MIGRAD    STATUS=CONVERGED    722 CALLS     3186 TOTAL
                     EDM=   .62E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    7.5145       -.66271E-06** at limit **
   2  Prefactor     .10013E-03    850.52       -.30362E-04** at limit **
   3  Prefactor     30.806        22.900        .48417E-06    .57025E-03
   4  Prefactor     .10000E-03    4.4596       -.32138E-06** at limit **
   5  norm          .10001E-03    2.8149       -.85041E-06** at limit **
   6  Prefactor     .10000E-03    11.097        .68840E-07** at limit **
   7  norm          1.8026        3.3890        .31667E-06    .28529E-03
   8  norm          63.586        21.944       -.21615E-06   -.15524E-04
   9  Prefactor     .10000E-03    9.0785       -.21237E-06** at limit **
  10  Prefactor     20.309        18.323       -.90786E-07   -.15343E-06
  11  Prefactor     1.8493        454.01        .22488E-04    .86853E-05
  12  Prefactor     8.0360        8.3110       -.10360E-05   -.18670E-03
  13  norm          1.9256        .99431        .23206E-08    .15364E-03
  14  norm          .10000E-03    2.6561       -.36551E-06** at limit **
  15  Prefactor     .10000E-03    6.7721       -.58606E-06** at limit **
  16  Prefactor     .10000E-03    53.823        .91638E-06** at limit **
  17  norm          12.204        9.7993       -.33970E-06   -.46557E-04
  18  Prefactor     .10000E-03    6166.4       -.34008E-04** at limit **
  19  Prefactor     .10000E-03    4.0187        .68891E-07** at limit **
  20  Prefactor     .10000E-03    8.6634       -.32696E-06** at limit **
  21  norm          33.642        25.555        .58974E-06    .64307E-04
  22  Prefactor     .10000E-03    38.739       -.93076E-06** at limit **
  23  Prefactor     .10000E-03    3.5213        .11447E-06** at limit **
  24  Prefactor     .10000E-03    12.474       -.18942E-06** at limit **
  25  Prefactor     .10000E-03    15.503       -.44874E-06** at limit **
  26  Prefactor     5.6723        18.065       -.15420E-06    .69451E-04
  27  Prefactor     8.4519        12.768       -.82401E-06   -.41963E-05
  28  Normalizat    .68403        .26162        .48245E-05    .27597E-03
  29  Prefactor     1.1739        .18046       -.18403E-05    .47394E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.000100134
  Prefactor  = 30.8055
  Prefactor  = 0.0001
  norm       = 0.000100015
  Prefactor  = 0.0001
  norm       = 1.80264
  norm       = 63.5861
  Prefactor  = 0.0001
  Prefactor  = 20.3095
  Prefactor  = 1.84926
  Prefactor  = 8.03605
  norm       = 1.92559
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 12.2039
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 33.642
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 5.67228
  Prefactor  = 8.4519
  Normalizat = 0.684031
  Prefactor  = 1.17394
 **********
 **   18 **HESSE 
 **********

 FCN=   4610.974     FROM HESSE     STATUS=OK           555 CALLS     3741 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    7.5384        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10013E-03    80.355        .17115       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     30.806        22.075        .72212E-04   -1.4597    
   4  Prefactor     .10000E-03    4.4829        .13999E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10001E-03    7.2756        .18608E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    11.105        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.8026        3.3620        .16467E-03   -1.5439    
   8  norm          63.586        21.936        .50324E-04   -1.4111    
   9  Prefactor     .10000E-03    9.0802        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     20.309        18.321        .88876E-04   -1.4806    
  11  Prefactor     1.8493        434.95        .31187E-03   -1.5436    
  12  Prefactor     8.0360        8.2874        .14143E-03   -1.5141    
  13  norm          1.9256        .99359        .46991E-04   -1.5430    
  14  norm          .10000E-03    2.6727        .10808E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    6.8290        .17254E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    53.906        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          12.204        9.7782        .57333E-03   -1.5009    
  18  Prefactor     .10000E-03    6177.0        .21081E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    4.0204        .13287E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    8.6713        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          33.642        25.462        .69088E-04   -1.4547    
  22  Prefactor     .10000E-03    38.798        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    3.5900        .24799E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    12.484        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    77.686        .51179E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     5.6723        18.045        .16862E-03   -1.5232    
  27  Prefactor     8.4519        12.766        .68942E-03   -1.5126    
  28  Normalizat    .68403        .28159        .33864E-03   -1.0453    
  29  Prefactor     1.1739        .19571        .20100E-03   -.87137    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.72568e-09
Minuit parameter uncertainties:
  1  1.5248e-05
  2  0.00657447
  3  22.0805
  4  1.18521e-05
  5  0.000657222
  6  1.08756e-05
  7  3.36239
  8  21.9386
  9  2.86585e-06
  10  18.326
  11  57.1448
  12  8.28857
  13  0.993598
  14  1.12398e-05
  15  6.10431e-06
  16  2.48242e-05
  17  9.77947
  18  0.00149569
  19  5.52151e-06
  20  6.31526e-06
  21  25.4705
  22  7.34423e-05
  23  1.37409e-05
  24  8.9961e-06
  25  0.0011502
  26  18.0624
  27  12.7705
  28  0.282187
  29  0.195835
Done.

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

Extracting fit parameters...

4FGL J2335.4-0128
   Spectrum: LogParabola
451         norm:  3.364e+01  2.547e+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.174e+00  1.958e-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.840e-01  2.822e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.53
Ra Dec: 353.869 -1.476
Photon Index (Fixed Index): 2.50 +/- 0.00
Photon Flux (Fixed Index): 4.15e-08 +/- 3.14e-08
Energy Flux (Fixed Index): 1.72e-05 +/- 1.30e-05

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

Saving results to:
/scratch/kocevski/32882/likelihoodResults_449798401_450057601_4FGL_J2335.4-0128_daily_bin812.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) = 4610.94156059
delta logL = 0.0322173016148

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4610.93880727
delta logL = 0.0349706209226

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    39.934       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3323       1.0000          .0000       5.0000    
     3 'Normalizat'    .68693       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1723       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=   4610.939     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      289 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          39.951        38.618        .63430E-04    .42227E-04
   2  alpha         2.3320        .65484        .12313E-01    .54320E-05
   3  Normalizat    .68735        .25060        .33788E-03   -.35767E-04
   4  Prefactor     1.1720        .19208        .20113E-03    .13270E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 39.9508
  alpha      = 2.33203
  Normalizat = 0.687347
  Prefactor  = 1.17199
 **********
 **   18 **HESSE 
 **********

 FCN=   4610.939     FROM HESSE     STATUS=OK            25 CALLS      314 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          39.951        37.489        .12686E-04   -1.4443    
   2  alpha         2.3320        .63610        .49251E-03   -.67240E-01
   3  Normalizat    .68735        .25071        .13515E-04   -1.0439    
   4  Prefactor     1.1720        .19217        .40226E-04   -.87198    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.27083e-10
Minuit parameter uncertainties:
  1  37.511
  2  0.643203
  3  0.251133
  4  0.192285
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/32882': 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) = 4610.93880578
delta logL = 0.0349721052617

Extracting fit parameters...

4FGL J2335.4-0128
   Spectrum: LogParabola
451         norm:  3.995e+01  3.751e+01  1.000e-04  1.000e+04 ( 1.000e-13)
452        alpha:  2.332e+00  6.432e-01  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.172e+00  1.923e-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.873e-01  2.511e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.59
Ra Dec: 353.869 -1.476
Photon Index (Free Index): 2.33 +/- 0.64
Photon Flux (Free Index): 3.87e-08 +/- 3.13e-08
Energy Flux (Free Index): 1.88e-05 +/- 1.54e-05

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/32882/cmap_HighResolution_449798401_450057601_4FGL_J2335.4-0128_daily_bin812.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.86e-05', comment='SUCCESS', photon_flux='4.15e-08', energy_flux2='1.88e-05', photon_flux_error='3.14e-08', dlogl='3.50e-02', energy_flux='1.72e-05', photon_flux2='3.87e-08', job_status='DONE', time_completed='2021-09-30 00:33:19.943017', photon_index_error2='0.64', photon_index2='2.33', ts='3.53', fit_tolerance='1e-08', GAL='1.17', photon_index_error='0.00', photon_flux_upper_limit='1.17e-07', energy_flux_error2='1.54e-05', EG='0.68', time_epoch_completed='1632987199.94', return_code='0', job_id='32882', GAL2='1.17', EG2='0.69', return_code2='0', energy_flux_error='1.30e-05', photon_flux_error2='3.13e-08', ts2='3.59', photon_index='2.50' WHERE bin_id='812' AND source_name='4FGL J2335.4-0128' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 00:33:19 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0262>
Subject: Job 32882: <4FGL_J2335.4-0128_daily_bin812> in cluster <slac> Done

Job <4FGL_J2335.4-0128_daily_bin812> 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) <bullet0262>, 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:33:20 2021
Results reported at Thu Sep 30 00:33:20 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2335.4-0128_daily_bin812 353.869 -1.476 449798401 450057601 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 :                                   626.22 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             302.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   771 sec.
    Turnaround time :                            773 sec.

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

