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


Performing analysis on: 4FGL_J2335.4-0128_daily_bin755
RA = 353.869, Dec = -1.476
tmin = 435024001, tmax = 435283201
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='32784', job_status='RUN', time_executed='2021-09-30 00:23:31.476974', time_epoch_executed='1632986611.48' WHERE source_name='4FGL J2335.4-0128' and cadence='daily' and bin_id='755'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/32784

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/32784/ft1_4FGL_J2335.4-0128_daily_bin755.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/32784/ft2_4FGL_J2335.4-0128_daily_bin755.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/32784/ft1_4FGL_J2335.4-0128_daily_bin755.fits outfile=/scratch/kocevski/32784/ft1_filteredMKT_4FGL_J2335.4-0128_daily_bin755.fits ra=353.869 dec=-1.476 rad=12.0 tmin=435024001.0 tmax=435283201.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.03
user 4.78
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/32784/ft2_4FGL_J2335.4-0128_daily_bin755.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/32784/ft1_filteredMKT_4FGL_J2335.4-0128_daily_bin755.fits evtable="EVENTS" outfile="/scratch/kocevski/32784/ft1_filtered_4FGL_J2335.4-0128_daily_bin755.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.50
user 0.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/32784/ft1_filtered_4FGL_J2335.4-0128_daily_bin755.fits" evtable="EVENTS" scfile=/scratch/kocevski/32784/ft2_4FGL_J2335.4-0128_daily_bin755.fits sctable="SC_DATA" outfile=/scratch/kocevski/32784/ltcube_435024001_435283201_4FGL_J2335.4-0128_daily_bin755.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/32784/ft2_4FGL_J2335.4-0128_daily_bin755.fits
.....................!
real 14.76
user 14.38
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/32784/ft1_filtered_4FGL_J2335.4-0128_daily_bin755.fits evtable="EVENTS" scfile=/scratch/kocevski/32784/ft2_4FGL_J2335.4-0128_daily_bin755.fits sctable="SC_DATA" expcube=/scratch/kocevski/32784/ltcube_435024001_435283201_4FGL_J2335.4-0128_daily_bin755.fits outfile=/scratch/kocevski/32784/expmap_435024001_435283201_4FGL_J2335.4-0128_daily_bin755.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/32784/ltcube_435024001_435283201_4FGL_J2335.4-0128_daily_bin755.fits
.....................!
real 191.43
user 186.50
sys 4.61

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/32784/ft1_filtered_4FGL_J2335.4-0128_daily_bin755.fits scfile=/scratch/kocevski/32784/ft2_4FGL_J2335.4-0128_daily_bin755.fits outfile=/scratch/kocevski/32784/cmap_435024001_435283201_4FGL_J2335.4-0128_daily_bin755.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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/32784/ft1_filtered_4FGL_J2335.4-0128_daily_bin755.fits scfile=/scratch/kocevski/32784/ft2_4FGL_J2335.4-0128_daily_bin755.fits outfile=/scratch/kocevski/32784/cmap_HighResolution_435024001_435283201_4FGL_J2335.4-0128_daily_bin755.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.53
user 0.40
sys 0.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.746       1.0000         .10000E-03   10000.    
     2 'Prefactor '    173.87       1.0000         .10000E-03   10000.    
     3 'Prefactor '    10.204       1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.0204       1.0000         .10000E-03   10000.    
     5 'norm      '    6.1841       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10056E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    13.669       1.0000         .10000E-03   10000.    
     8 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.7153       1.0000         .10000E-03   10000.    
    13 'norm      '    2.0972       1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    18.912       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    13.686       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .12581E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    1.4770       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    4.7774       1.0000         .10000E-03   10000.    
    24 'Prefactor '    40.547       1.0000         .10000E-03   10000.    
    25 'Prefactor '    40.526       1.0000         .10000E-03   10000.    
    26 'Prefactor '    21.447       1.0000         .10000E-03   10000.    
    27 'Prefactor '    51.792       1.0000         .10000E-03   10000.    
    28 'Normalizat'    .39178       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.1077       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=   1974.464     FROM MIGRAD    STATUS=CONVERGED    698 CALLS     4493 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.736        33.930        .32701E-05   -.26590E-04
   2  Prefactor     173.80        175.53       -.15961E-04   -.14228E-03
   3  Prefactor     10.205        33.530       -.50324E-06   -.11733E-04
   4  Prefactor     2.0497        155.90        .55452E-05    .41280E-04
   5  norm          6.1838        7.1252       -.44417E-06   -.52863E-04
   6  Prefactor     .10000E-03    28.846       -.51220E-06** at limit **
   7  norm          13.644        21.233        .51620E-06   -.20172E-04
   8  norm          .10000E-03    20.931       -.54224E-05** at limit **
   9  Prefactor     .10000E-03    37.031        .49804E-05** at limit **
  10  Prefactor     .10000E-03    20.627        .45023E-05** at limit **
  11  Prefactor     .10002E-03    122.04        .23590E-04** at limit **
  12  Prefactor     3.7151        13.393        .61757E-05   -.31121E-03
  13  norm          2.0971        1.8539        .76953E-07    .44505E-03
  14  norm          .10000E-03    5.0169       -.58359E-07** at limit **
  15  Prefactor     18.911        28.354       -.11516E-05   -.36875E-04
  16  Prefactor     .10000E-03    39.123       -.19317E-05** at limit **
  17  norm          13.686        17.579       -.24949E-06   -.26826E-04
  18  Prefactor     .10007E-03    219.05       -.39598E-04** at limit **
  19  Prefactor     .10000E-03    81.390       -.29737E-04** at limit **
  20  Prefactor     .10000E-03    16.636       -.43671E-06** at limit **
  21  norm          1.3617        548.46        .41805E-04    .60475E-04
  22  Prefactor     .10004E-03    126.89        .27910E-04** at limit **
  23  Prefactor     4.8071        18.992       -.17150E-04    .25851E-03
  24  Prefactor     40.533        85.975       -.56173E-05    .69105E-05
  25  Prefactor     40.525        44.657       -.67537E-06   -.73076E-05
  26  Prefactor     21.424        48.473       -.17022E-05   -.61064E-04
  27  Prefactor     51.791        28.987       -.18203E-06   -.15835E-04
  28  Normalizat    .39174        .47903        .21558E-04    .80020E-04
  29  Prefactor     1.1077        .28442       -.55386E-05    .99888E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.7361
  Prefactor  = 173.795
  Prefactor  = 10.2045
  Prefactor  = 2.04975
  norm       = 6.18379
  Prefactor  = 0.0001
  norm       = 13.6442
  norm       = 0.000100002
  Prefactor  = 0.000100001
  Prefactor  = 0.000100001
  Prefactor  = 0.000100015
  Prefactor  = 3.71507
  norm       = 2.09714
  norm       = 0.0001
  Prefactor  = 18.911
  Prefactor  = 0.0001
  norm       = 13.686
  Prefactor  = 0.000100073
  Prefactor  = 0.000100005
  Prefactor  = 0.0001
  norm       = 1.36169
  Prefactor  = 0.000100037
  Prefactor  = 4.80707
  Prefactor  = 40.5334
  Prefactor  = 40.5249
  Prefactor  = 21.4243
  Prefactor  = 51.7905
  Normalizat = 0.391743
  Prefactor  = 1.1077
 **********
 **   18 **HESSE 
 **********

 FCN=   1974.464     FROM HESSE     STATUS=OK           557 CALLS     5050 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.736        33.836        .10430E-03   -1.4940    
   2  Prefactor     173.80        174.60        .15301E-03   -1.3064    
   3  Prefactor     10.205        33.520        .12544E-03   -1.5069    
   4  Prefactor     2.0497        106.27        .29115E-03   -1.5422    
   5  norm          6.1838        7.1083        .10400E-03   -1.5211    
   6  Prefactor     .10000E-03    28.876        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          13.644        17.681        .10834E-03   -1.4969    
   8  norm          .10000E-03    21.093        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    37.077        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    20.666        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10002E-03    122.55        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.7151        13.324        .10475E-02   -1.5322    
  13  norm          2.0971        1.8416        .53965E-04   -1.5418    
  14  norm          .10000E-03    5.0217        .97186E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     18.911        28.252        .92098E-04   -1.4838    
  16  Prefactor     .10000E-03    39.127        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          13.686        17.566        .10827E-03   -1.4968    
  18  Prefactor     .10007E-03    221.38        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    78.844        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    16.638        .17705E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          1.3617        645.39        .35333E-02   -1.5475    
  22  Prefactor     .10004E-03    128.11        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     4.8071        21.145        .18407E-03   -1.5269    
  24  Prefactor     40.533        85.552        .62950E-04   -1.4434    
  25  Prefactor     40.525        44.571        .62967E-04   -1.4434    
  26  Prefactor     21.424        48.394        .86488E-04   -1.4782    
  27  Prefactor     51.791        28.767        .55728E-04   -1.4267    
  28  Normalizat    .39174        .47151        .45008E-03   -1.1773    
  29  Prefactor     1.1077        .28997        .19533E-03   -.89221    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.68206e-09
Minuit parameter uncertainties:
  1  33.8796
  2  175.125
  3  33.5823
  4  29.5726
  5  7.1093
  6  6.66621e-05
  7  17.6875
  8  0.000365473
  9  0.00040246
  10  0.000279189
  11  0.00274597
  12  13.3341
  13  1.84168
  14  1.59136e-05
  15  28.2715
  16  0.00013102
  17  17.5728
  18  0.00806004
  19  0.00124345
  20  2.18258e-05
  21  59.9491
  22  0.00436514
  23  20.1754
  24  85.8129
  25  44.6077
  26  48.483
  27  28.7751
  28  0.476403
  29  0.290384
Done.

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

Extracting fit parameters...

4FGL J2335.4-0128
   Spectrum: LogParabola
451         norm:  1.362e+00  5.995e+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.108e+00  2.904e-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.917e-01  4.764e-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: 1.73e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.17e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/32784/likelihoodResults_435024001_435283201_4FGL_J2335.4-0128_daily_bin755.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) = 1974.21252168
delta logL = 0.251317692273

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1974.20327688
delta logL = 0.260562492292

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.4868       1.0000         .10000E-03   10000.    
     2 'alpha     '    4.4800       1.0000          .0000       5.0000    
     3 'Normalizat'    .29192       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1424       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=   1974.203     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      236 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.5026        145.38        .64804E-02    .18645E-03
   2  alpha         4.4785        2.5120        .48102        .16385E-04
   3  Normalizat    .29114        .12658        .11732        .20720E-04
   4  Prefactor     1.1429        .83949E-01    .36160E-01   -.74662E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 2.50255
  alpha      = 4.47849
  Normalizat = 0.291141
  Prefactor  = 1.14285
 **********
 **   18 **HESSE 
 **********

 FCN=   1974.203     FROM HESSE     STATUS=OK            33 CALLS      269 TOTAL
                     EDM=   .70E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.5026        44.399        .97220E-04   -1.5392    
   2  alpha         4.4785        4.5851        .25121E-01    .91309    
   3  Normalizat    .29114        .42613        .51916E-03   -1.2337    
   4  Prefactor     1.1429        .28608        .19227E-03   -.88108    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.00651e-11
Minuit parameter uncertainties:
  1  21.0996
  2  4.5629
  3  0.430999
  4  0.286467
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/32784': 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) = 1974.20327264
delta logL = 0.260566733262

Extracting fit parameters...

4FGL J2335.4-0128
   Spectrum: LogParabola
451         norm:  2.503e+00  2.110e+01  1.000e-04  1.000e+04 ( 1.000e-13)
452        alpha:  4.478e+00  4.563e+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.143e+00  2.865e-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.911e-01  4.310e-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/32784/cmap_HighResolution_435024001_435283201_4FGL_J2335.4-0128_daily_bin755.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.17e-05', job_status='DONE', photon_flux_upper_limit='1.73e-07', time_completed='2021-09-30 00:31:36.117161', job_id='32784', GAL2='1.14', fit_tolerance='1e-08', EG2='0.29', EG='0.39', time_epoch_completed='1632987096.12', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.11', dlogl='2.61e-01', ts2='0.59', photon_index_error='0.00', photon_index='2.50' WHERE bin_id='755' AND source_name='4FGL J2335.4-0128' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 00:31:36 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0238>
Subject: Job 32784: <4FGL_J2335.4-0128_daily_bin755> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2335.4-0128_daily_bin755 353.869 -1.476 435024001 435283201 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 :                                   482.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             274.09 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   676 sec.
    Turnaround time :                            678 sec.

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

