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


Performing analysis on: 4FGL_J2335.4-0128_daily_bin664
RA = 353.869, Dec = -1.476
tmin = 411436801, tmax = 411696001
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='31642', job_status='RUN', time_executed='2021-09-30 00:16:09.992147', time_epoch_executed='1632986169.99' WHERE source_name='4FGL J2335.4-0128' and cadence='daily' and bin_id='664'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/31642

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/31642/ft1_4FGL_J2335.4-0128_daily_bin664.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/31642/ft2_4FGL_J2335.4-0128_daily_bin664.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/31642/ft1_4FGL_J2335.4-0128_daily_bin664.fits outfile=/scratch/kocevski/31642/ft1_filteredMKT_4FGL_J2335.4-0128_daily_bin664.fits ra=353.869 dec=-1.476 rad=12.0 tmin=411436801.0 tmax=411696001.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 6.72
user 6.46
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/31642/ft2_4FGL_J2335.4-0128_daily_bin664.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/31642/ft1_filteredMKT_4FGL_J2335.4-0128_daily_bin664.fits evtable="EVENTS" outfile="/scratch/kocevski/31642/ft1_filtered_4FGL_J2335.4-0128_daily_bin664.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/31642/ft1_filtered_4FGL_J2335.4-0128_daily_bin664.fits" evtable="EVENTS" scfile=/scratch/kocevski/31642/ft2_4FGL_J2335.4-0128_daily_bin664.fits sctable="SC_DATA" outfile=/scratch/kocevski/31642/ltcube_411436801_411696001_4FGL_J2335.4-0128_daily_bin664.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/31642/ft2_4FGL_J2335.4-0128_daily_bin664.fits
.....................!
real 11.76
user 11.41
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/31642/ft1_filtered_4FGL_J2335.4-0128_daily_bin664.fits evtable="EVENTS" scfile=/scratch/kocevski/31642/ft2_4FGL_J2335.4-0128_daily_bin664.fits sctable="SC_DATA" expcube=/scratch/kocevski/31642/ltcube_411436801_411696001_4FGL_J2335.4-0128_daily_bin664.fits outfile=/scratch/kocevski/31642/expmap_411436801_411696001_4FGL_J2335.4-0128_daily_bin664.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/31642/ltcube_411436801_411696001_4FGL_J2335.4-0128_daily_bin664.fits
.....................!
real 192.01
user 186.67
sys 4.96

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/31642/ft1_filtered_4FGL_J2335.4-0128_daily_bin664.fits scfile=/scratch/kocevski/31642/ft2_4FGL_J2335.4-0128_daily_bin664.fits outfile=/scratch/kocevski/31642/cmap_411436801_411696001_4FGL_J2335.4-0128_daily_bin664.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/31642/ft1_filtered_4FGL_J2335.4-0128_daily_bin664.fits scfile=/scratch/kocevski/31642/ft2_4FGL_J2335.4-0128_daily_bin664.fits outfile=/scratch/kocevski/31642/cmap_HighResolution_411436801_411696001_4FGL_J2335.4-0128_daily_bin664.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/31642/ft1_filtered_4FGL_J2335.4-0128_daily_bin664.fits evtable="EVENTS" scfile=/scratch/kocevski/31642/ft2_4FGL_J2335.4-0128_daily_bin664.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/31642/Model_4FGL_J2335.4-0128_daily_bin664.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/31642/ft1_filtered_4FGL_J2335.4-0128_daily_bin664.fits......................!
real 31.59
user 30.22
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.995       1.0000         .10000E-03   10000.    
     2 'Prefactor '    46.074       1.0000         .10000E-03   10000.    
     3 'Prefactor '    31.148       1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.7555       1.0000         .10000E-03   10000.    
     5 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    17.843       1.0000         .10000E-03   10000.    
     7 'norm      '    .16110E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10043E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .18715E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10884E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .81405       1.0000         .10000E-03   10000.    
    14 'norm      '    12.727       1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.6291       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    21.173       1.0000         .10000E-03   10000.    
    18 'Prefactor '    110.75       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10044E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    87.126       1.0000         .10000E-03   10000.    
    23 'Prefactor '    8.2316       1.0000         .10000E-03   10000.    
    24 'Prefactor '    85.007       1.0000         .10000E-03   10000.    
    25 'Prefactor '    3.0694       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    28 'Normalizat'    .27678       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.1759       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=   2449.232     FROM MIGRAD    STATUS=CONVERGED    699 CALLS     4356 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.994        15.610       -.14199E-06   -.20053E-03
   2  Prefactor     46.071        77.768       -.66130E-06   -.16169E-03
   3  Prefactor     31.150        32.065       -.72765E-06   -.10970E-03
   4  Prefactor     3.7557        10.113       -.19335E-05   -.12088E-02
   5  norm          .10000E-03    2.5081       -.40804E-07** at limit **
   6  Prefactor     17.841        28.364       -.13712E-05   -.69051E-03
   7  norm          .10019E-03    7.7753        .39189E-05** at limit **
   8  norm          .10000E-03    9.0729       -.48008E-07** at limit **
   9  Prefactor     .10000E-03    22.578        .24741E-06** at limit **
  10  Prefactor     .10000E-03    16.895       -.47462E-06** at limit **
  11  Prefactor     .10000E-03    147.91       -.37725E-06** at limit **
  12  Prefactor     .10000E-03    14.916        .41938E-06** at limit **
  13  norm          .81357        1.1110        .12723E-07   -.12165E-03
  14  norm          12.725        8.8998       -.13493E-06   -.58581E-04
  15  Prefactor     6.6272        17.765        .41886E-05   -.68414E-04
  16  Prefactor     .10000E-03    49.573        .76411E-06** at limit **
  17  norm          21.174        17.286       -.66661E-06   -.39261E-04
  18  Prefactor     110.78        225.61        .52678E-06    .97848E-05
  19  Prefactor     .10000E-03    10.061       -.29827E-07** at limit **
  20  Prefactor     .10000E-03    14.944        .52005E-08** at limit **
  21  norm          .10000E-03    15.460       -.10528E-06** at limit **
  22  Prefactor     87.172        96.518       -.11588E-06    .63109E-04
  23  Prefactor     8.2314        6.8643       -.23933E-06   -.84570E-04
  24  Prefactor     84.995        84.002       -.11909E-05   -.66960E-04
  25  Prefactor     3.0681        112.15       -.51855E-06   -.13992E-04
  26  Prefactor     .10000E-03    33.912       -.14987E-05** at limit **
  27  Prefactor     .10000E-03    5.0063       -.25384E-07** at limit **
  28  Normalizat    .27672        .38126        .67351E-05   -.14384E-03
  29  Prefactor     1.1760        .26752       -.28272E-05   -.33658E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.9936
  Prefactor  = 46.0715
  Prefactor  = 31.1499
  Prefactor  = 3.75574
  norm       = 0.0001
  Prefactor  = 17.8413
  norm       = 0.000100191
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  norm       = 0.813568
  norm       = 12.7248
  Prefactor  = 6.62723
  Prefactor  = 0.000100002
  norm       = 21.1735
  Prefactor  = 110.78
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 87.1721
  Prefactor  = 8.23138
  Prefactor  = 84.9952
  Prefactor  = 3.06813
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Normalizat = 0.276721
  Prefactor  = 1.176
 **********
 **   18 **HESSE 
 **********

 FCN=   2449.232     FROM HESSE     STATUS=OK           549 CALLS     4905 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.994        15.572        .97154E-04   -1.4883    
   2  Prefactor     46.071        77.530        .59069E-04   -1.4349    
   3  Prefactor     31.150        31.714        .71793E-04   -1.4591    
   4  Prefactor     3.7557        9.9722        .20834E-03   -1.5320    
   5  norm          .10000E-03    2.5421        .76337E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     17.841        28.226        .94817E-04   -1.4863    
   7  norm          .10019E-03    21.181        .19766E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    9.0855        .14560E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    22.593        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    16.929        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    148.94        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    15.001        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .81357        1.0559        .58106E-03   -1.5528    
  14  norm          12.725        8.8676        .11228E-03   -1.4994    
  15  Prefactor     6.6272        17.105        .77928E-03   -1.5193    
  16  Prefactor     .10000E-03    49.704        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          21.174        17.206        .87046E-04   -1.4787    
  18  Prefactor     110.78        225.36        .19111E-03   -1.3599    
  19  Prefactor     .10000E-03    10.072        .15325E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    14.955        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    15.464        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     87.172        95.478        .21521E-03   -1.3838    
  23  Prefactor     8.2314        6.8140        .10977E-03   -1.5134    
  24  Prefactor     84.995        83.029        .43571E-04   -1.3861    
  25  Prefactor     3.0681        111.01        .23153E-03   -1.5358    
  26  Prefactor     .10000E-03    34.123        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    5.0285        .10811E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    .27672        .34405        .46195E-03   -1.2425    
  29  Prefactor     1.1760        .25503        .17995E-03   -.87073    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.15564e-08
Minuit parameter uncertainties:
  1  15.5761
  2  77.7007
  3  31.7308
  4  9.97662
  5  5.97958e-07
  6  28.2474
  7  0.0040228
  8  2.47722e-06
  9  0.0001382
  10  0.000149752
  11  0.00115321
  12  2.02605e-05
  13  1.05596
  14  8.86849
  15  17.1181
  16  0.000633841
  17  17.2102
  18  227.142
  19  2.37197e-06
  20  4.61558e-05
  21  4.60931e-05
  22  95.6471
  23  6.81461
  24  83.1428
  25  36.9838
  26  0.00048587
  27  3.4797e-06
  28  0.346727
  29  0.255297
Done.

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

Extracting fit parameters...

4FGL J2335.4-0128
   Spectrum: LogParabola
451         norm:  1.000e-04  4.609e-05  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.176e+00  2.553e-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.767e-01  3.467e-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: 9.63e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.00e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/31642/likelihoodResults_411436801_411696001_4FGL_J2335.4-0128_daily_bin664.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) = 2449.23244949
delta logL = -0.000299144901419

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2449.23215736
delta logL = -7.01371072864e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10085E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    4.0811       1.0000          .0000       5.0000    
     3 'Normalizat'    .27670       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1760       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=   2449.232     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      230 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    5.0659        .90712E-02** at limit **
   2  alpha         4.0554        3.7052        .50000        .12916E-04
   3  Normalizat    .27672        .32473        .10438        .26434E-04
   4  Prefactor     1.1760        .25511        .35224E-01   -.17341E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 4.05542
  Normalizat = 0.276721
  Prefactor  = 1.176
 **********
 **   18 **HESSE 
 **********

 FCN=   2449.232     FROM HESSE     STATUS=OK            33 CALLS      263 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    4.9948        .21277E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         4.0554        3.6810        .50000        .67151    
   3  Normalizat    .27672        .30981        .46197E-03   -1.2425    
   4  Prefactor     1.1760        .24400        .17995E-03   -.87073    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.92673e-10
Minuit parameter uncertainties:
  1  4.98026e-05
  2  1.95721
  3  0.311755
  4  0.244233
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/31642': 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) = 2449.23215711
delta logL = -6.75669389238e-06

Extracting fit parameters...

4FGL J2335.4-0128
   Spectrum: LogParabola
451         norm:  1.000e-04  4.980e-05  1.000e-04  1.000e+04 ( 1.000e-13)
452        alpha:  4.055e+00  1.957e+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.176e+00  2.442e-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.767e-01  3.118e-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/31642/cmap_HighResolution_411436801_411696001_4FGL_J2335.4-0128_daily_bin664.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.00e-05', job_status='DONE', photon_flux_upper_limit='9.63e-08', time_completed='2021-09-30 00:24:48.971330', job_id='31642', GAL2='1.18', fit_tolerance='1e-08', EG2='0.28', EG='0.28', time_epoch_completed='1632986688.97', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.18', dlogl='-6.76e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.50' WHERE bin_id='664' AND source_name='4FGL J2335.4-0128' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 00:24:48 PDT 2021


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

Job <4FGL_J2335.4-0128_daily_bin664> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Thu Sep 30 00:15:53 2021
Job was executed on host(s) <bullet0269>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 00:15:55 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:15:55 2021
Terminated at Thu Sep 30 00:24:49 2021
Results reported at Thu Sep 30 00:24:49 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2335.4-0128_daily_bin664 353.869 -1.476 411436801 411696001 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 :                                   516.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             287.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   534 sec.
    Turnaround time :                            536 sec.

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

