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


Performing analysis on: 4FGL_J2355.7-3351_daily_bin601
RA = 358.931, Dec = -33.8607
tmin = 395107201, tmax = 395366401
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='193200', job_status='RUN', time_executed='2021-09-30 09:09:19.010373', time_epoch_executed='1633018159.01' WHERE source_name='4FGL J2355.7-3351' and cadence='daily' and bin_id='601'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/193200

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

Retrieving the FT1 file...

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

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

Retrieving 55 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/193200/ft1_4FGL_J2355.7-3351_daily_bin601.fits


Retrieving the FT1 file...

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

Retrieving 55 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/193200/ft2_4FGL_J2355.7-3351_daily_bin601.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/193200/ft1_4FGL_J2355.7-3351_daily_bin601.fits outfile=/scratch/kocevski/193200/ft1_filteredMKT_4FGL_J2355.7-3351_daily_bin601.fits ra=358.931 dec=-33.8607 rad=12.0 tmin=395107201.0 tmax=395366401.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 8.03
user 7.70
sys 0.29

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/193200/ft2_4FGL_J2355.7-3351_daily_bin601.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/193200/ft2_4FGL_J2355.7-3351_daily_bin601.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/193200/ft1_filteredMKT_4FGL_J2355.7-3351_daily_bin601.fits evtable="EVENTS" outfile="/scratch/kocevski/193200/ft1_filtered_4FGL_J2355.7-3351_daily_bin601.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.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/193200/ft1_filtered_4FGL_J2355.7-3351_daily_bin601.fits" evtable="EVENTS" scfile=/scratch/kocevski/193200/ft2_4FGL_J2355.7-3351_daily_bin601.fits sctable="SC_DATA" outfile=/scratch/kocevski/193200/ltcube_395107201_395366401_4FGL_J2355.7-3351_daily_bin601.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/193200/ft2_4FGL_J2355.7-3351_daily_bin601.fits
.....................!
real 11.25
user 10.88
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/193200/ft1_filtered_4FGL_J2355.7-3351_daily_bin601.fits evtable="EVENTS" scfile=/scratch/kocevski/193200/ft2_4FGL_J2355.7-3351_daily_bin601.fits sctable="SC_DATA" expcube=/scratch/kocevski/193200/ltcube_395107201_395366401_4FGL_J2355.7-3351_daily_bin601.fits outfile=/scratch/kocevski/193200/expmap_395107201_395366401_4FGL_J2355.7-3351_daily_bin601.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/193200/ltcube_395107201_395366401_4FGL_J2355.7-3351_daily_bin601.fits
.....................!
real 191.47
user 185.32
sys 5.80

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 184 point sources and 0 extended sources

Setting source of interest to:
4FGL J2355.7-3351 @ 358.931 -33.8607

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/193200/ft1_filtered_4FGL_J2355.7-3351_daily_bin601.fits scfile=/scratch/kocevski/193200/ft2_4FGL_J2355.7-3351_daily_bin601.fits outfile=/scratch/kocevski/193200/cmap_395107201_395366401_4FGL_J2355.7-3351_daily_bin601.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=358.931 yref=-33.8607 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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/193200/ft1_filtered_4FGL_J2355.7-3351_daily_bin601.fits scfile=/scratch/kocevski/193200/ft2_4FGL_J2355.7-3351_daily_bin601.fits outfile=/scratch/kocevski/193200/cmap_HighResolution_395107201_395366401_4FGL_J2355.7-3351_daily_bin601.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=358.931 yref=-33.8607 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.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/193200/ft1_filtered_4FGL_J2355.7-3351_daily_bin601.fits evtable="EVENTS" scfile=/scratch/kocevski/193200/ft2_4FGL_J2355.7-3351_daily_bin601.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/193200/Model_4FGL_J2355.7-3351_daily_bin601.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/193200/ft1_filtered_4FGL_J2355.7-3351_daily_bin601.fits......................!
real 32.57
user 31.27
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/193200/ft1_filtered_4FGL_J2355.7-3351_daily_bin601.fits', '/scratch/kocevski/193200/ft2_4FGL_J2355.7-3351_daily_bin601.fits', expMap='/scratch/kocevski/193200/expmap_395107201_395366401_4FGL_J2355.7-3351_daily_bin601.fits', expCube='/scratch/kocevski/193200/ltcube_395107201_395366401_4FGL_J2355.7-3351_daily_bin601.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/193200/Model_4FGL_J2355.7-3351_daily_bin601.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2355.7-3351'

4FGL J2355.7-3351
   Spectrum: PowerLaw
550    Prefactor:  1.680e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
551        Index:  2.580e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
552        Scale:  5.821e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/193200/ft1_filtered_4FGL_J2355.7-3351_daily_bin601.fits
Spacecraft file(s): /scratch/kocevski/193200/ft2_4FGL_J2355.7-3351_daily_bin601.fits
Exposure map: /scratch/kocevski/193200/expmap_395107201_395366401_4FGL_J2355.7-3351_daily_bin601.fits
Exposure cube: /scratch/kocevski/193200/ltcube_395107201_395366401_4FGL_J2355.7-3351_daily_bin601.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/193200/Model_4FGL_J2355.7-3351_daily_bin601.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) = 3397.93064585

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10238E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    8.8864       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    50.887       1.0000         .10000E-03   10000.    
     5 'Prefactor '    18.049       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10703E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    22.606       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10069E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .11059E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.1970       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .61369       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5870E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3397.922     FROM MIGRAD    STATUS=CONVERGED    442 CALLS     2160 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    125.85       -.38861E-04** at limit **
   2  Prefactor     8.8871        6.4274        .30982E-05   -.21345E-03
   3  Prefactor     .10000E-03    21.098        .38297E-05** at limit **
   4  Prefactor     50.892        22.298        .14401E-06   -.15376E-04
   5  Prefactor     18.068        31.099        .16100E-05    .87280E-04
   6  Prefactor     .10000E-03    11.392       -.38864E-05** at limit **
   7  Prefactor     22.633        31.467        .74655E-05    .14082E-03
   8  Prefactor     .10000E-03    14.112       -.10797E-04** at limit **
   9  norm          .10000E-03    2.6157        .15415E-06** at limit **
  10  norm          .10000E-03    12.886        .56365E-05** at limit **
  11  Prefactor     .10000E-03    39.010       -.18957E-04** at limit **
  12  Prefactor     .10000E-03    110.56        .23319E-04** at limit **
  13  norm          .10000E-03    2.9637        .48708E-07** at limit **
  14  Prefactor     .10000E-03    13.151        .51614E-05** at limit **
  15  norm          .10000E-03    3.7247        .46439E-07** at limit **
  16  Prefactor     .10000E-03    50.445        .24056E-04** at limit **
  17  Prefactor     .10000E-03    29.597       -.70324E-05** at limit **
  18  Prefactor     .10000E-03    3.6483       -.25194E-07** at limit **
  19  Prefactor     .10000E-03    25.920        .71206E-05** at limit **
  20  Normalizat    1.1968        .22305       -.20943E-05    .21401E-03
  21  Prefactor     .61360        .23840       -.10239E-06    .21113E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 8.88706
  Prefactor  = 0.0001
  Prefactor  = 50.8922
  Prefactor  = 18.0677
  Prefactor  = 0.000100002
  Prefactor  = 22.6334
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.19681
  Prefactor  = 0.613601
 **********
 **   18 **HESSE 
 **********

 FCN=   3397.922     FROM HESSE     STATUS=OK           301 CALLS     2461 TOTAL
                     EDM=   .55E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    126.08        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     8.8871        6.4205        .11710E-03   -1.5112    
   3  Prefactor     .10000E-03    21.083        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     50.892        22.309        .28110E-03   -1.4280    
   5  Prefactor     18.068        31.023        .94275E-04   -1.4858    
   6  Prefactor     .10000E-03    11.711        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     22.633        31.477        .84245E-04   -1.4756    
   8  Prefactor     .10000E-03    14.451        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    2.6180        .92075E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    13.101        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    39.033        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    111.25        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    2.9932        .97967E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    13.158        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    3.8339        .21963E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    50.465        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    29.624        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    3.6603        .10871E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    25.903        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.1968        .26665        .20006E-03   -.86701    
  21  Prefactor     .61360        .28372        .29475E-03   -1.0702    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.49866e-10
Minuit parameter uncertainties:
  1  0.00025591
  2  6.42104
  3  0.000168656
  4  22.3127
  5  31.051
  6  0.000283684
  7  31.5003
  8  0.000139255
  9  2.75934e-06
  10  5.93998e-06
  11  9.27804e-05
  12  3.14866e-05
  13  1.21018e-05
  14  3.42112e-06
  15  1.81129e-05
  16  4.62029e-06
  17  1.81213e-05
  18  2.82283e-06
  19  6.72527e-05
  20  0.266953
  21  0.284388
Done.

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

Extracting fit parameters...

4FGL J2355.7-3351
   Spectrum: PowerLaw
550    Prefactor:  1.000e-04  2.823e-06  1.000e-04  1.000e+04 ( 1.000e-12)
551        Index:  2.580e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
552        Scale:  5.821e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
584    Prefactor:  6.136e-01  2.844e-01  0.000e+00  1.000e+01 ( 1.000e+00)
585        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
586        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
583   Normalization:  1.197e+00  2.670e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 358.931 -33.861
Photon Flux Upper Limit: 9.47e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.40e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/193200/likelihoodResults_395107201_395366401_4FGL_J2355.7-3351_daily_bin601.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) = 3397.92340386
delta logL = -0.00129533289919

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3397.92210842
delta logL = 1.07175765152e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5628       1.0000          .0000       10.000    
     3 'Normalizat'    1.1968       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .61361       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5870E+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=   3397.922     FROM MIGRAD    STATUS=CONVERGED    102 CALLS      254 TOTAL
                     EDM=   .58E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    31.757        .10996E-01** at limit **
   2  Index         2.1011        8.0342        .50000        .16906E-06
   3  Normalizat    1.1968        .13754E-01    .20006E-03    .16902E-03
   4  Prefactor     .61361        .15018E-01    .29475E-03    .12128E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.10111
  Normalizat = 1.19681
  Prefactor  = 0.613606
 **********
 **   18 **HESSE 
 **********

 FCN=   3397.922     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      283 TOTAL
                     EDM=   .50E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    273.90        .11931E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1011        8.3371        .50000       -.61846    
   3  Normalizat    1.1968        .43322E-01    .40012E-04   -.86701    
   4  Prefactor     .61361        .47301E-01    .11790E-04   -1.0702    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.0241e-10
Minuit parameter uncertainties:
  1  0.000102075
  2  813.095
  3  0.0433229
  4  0.0473045
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/193200': 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) = 3397.92210621
delta logL = 2.31591820921e-06

Extracting fit parameters...

4FGL J2355.7-3351
   Spectrum: PowerLaw
550    Prefactor:  1.000e-04  1.021e-04  1.000e-04  1.000e+04 ( 1.000e-12)
551        Index:  2.101e+00  8.131e+02  0.000e+00  1.000e+01 (-1.000e+00)
552        Scale:  5.821e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
584    Prefactor:  6.136e-01  4.730e-02  0.000e+00  1.000e+01 ( 1.000e+00)
585        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
586        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
583   Normalization:  1.197e+00  4.332e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 358.931 -33.861

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/193200/cmap_HighResolution_395107201_395366401_4FGL_J2355.7-3351_daily_bin601.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.40e-03', job_status='DONE', photon_flux_upper_limit='9.47e-08', time_completed='2021-09-30 09:17:40.040543', job_id='193200', GAL2='0.61', fit_tolerance='1e-08', EG2='1.20', EG='1.20', time_epoch_completed='1633018660.04', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.61', dlogl='2.32e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.58' WHERE bin_id='601' AND source_name='4FGL J2355.7-3351' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 09:17:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0286>
Subject: Job 193200: <4FGL_J2355.7-3351_daily_bin601> in cluster <slac> Done

Job <4FGL_J2355.7-3351_daily_bin601> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Sep 30 09:05:27 2021
Job was executed on host(s) <bullet0286>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 09:05:28 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep 30 09:05:28 2021
Terminated at Thu Sep 30 09:17:40 2021
Results reported at Thu Sep 30 09:17:40 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2355.7-3351_daily_bin601 358.931 -33.8607 395107201 395366401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2355.7-3351 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   497.40 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             274.61 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   732 sec.
    Turnaround time :                            733 sec.

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

