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


Performing analysis on: 4FGL_J2355.7-3351_daily_bin1072
RA = 358.931, Dec = -33.8607
tmin = 517190401, tmax = 517449601
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='195881', job_status='RUN', time_executed='2021-09-30 09:19:13.787027', time_epoch_executed='1633018753.79' WHERE source_name='4FGL J2355.7-3351' and cadence='daily' and bin_id='1072'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/195881

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/195881/ft1_4FGL_J2355.7-3351_daily_bin1072.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/195881/ft2_4FGL_J2355.7-3351_daily_bin1072.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/195881/ft1_4FGL_J2355.7-3351_daily_bin1072.fits outfile=/scratch/kocevski/195881/ft1_filteredMKT_4FGL_J2355.7-3351_daily_bin1072.fits ra=358.931 dec=-33.8607 rad=12.0 tmin=517190401.0 tmax=517449601.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.68
user 4.39
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/195881/ft1_filtered_4FGL_J2355.7-3351_daily_bin1072.fits" evtable="EVENTS" scfile=/scratch/kocevski/195881/ft2_4FGL_J2355.7-3351_daily_bin1072.fits sctable="SC_DATA" outfile=/scratch/kocevski/195881/ltcube_517190401_517449601_4FGL_J2355.7-3351_daily_bin1072.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/195881/ft2_4FGL_J2355.7-3351_daily_bin1072.fits
.....................!
real 11.80
user 11.40
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/195881/ft1_filtered_4FGL_J2355.7-3351_daily_bin1072.fits evtable="EVENTS" scfile=/scratch/kocevski/195881/ft2_4FGL_J2355.7-3351_daily_bin1072.fits sctable="SC_DATA" expcube=/scratch/kocevski/195881/ltcube_517190401_517449601_4FGL_J2355.7-3351_daily_bin1072.fits outfile=/scratch/kocevski/195881/expmap_517190401_517449601_4FGL_J2355.7-3351_daily_bin1072.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/195881/ltcube_517190401_517449601_4FGL_J2355.7-3351_daily_bin1072.fits
.....................!
real 190.42
user 184.91
sys 5.14

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/195881/ft1_filtered_4FGL_J2355.7-3351_daily_bin1072.fits scfile=/scratch/kocevski/195881/ft2_4FGL_J2355.7-3351_daily_bin1072.fits outfile=/scratch/kocevski/195881/cmap_517190401_517449601_4FGL_J2355.7-3351_daily_bin1072.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.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/195881/ft1_filtered_4FGL_J2355.7-3351_daily_bin1072.fits scfile=/scratch/kocevski/195881/ft2_4FGL_J2355.7-3351_daily_bin1072.fits outfile=/scratch/kocevski/195881/cmap_HighResolution_517190401_517449601_4FGL_J2355.7-3351_daily_bin1072.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.54
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/195881/ft1_filtered_4FGL_J2355.7-3351_daily_bin1072.fits evtable="EVENTS" scfile=/scratch/kocevski/195881/ft2_4FGL_J2355.7-3351_daily_bin1072.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/195881/Model_4FGL_J2355.7-3351_daily_bin1072.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/195881/ft1_filtered_4FGL_J2355.7-3351_daily_bin1072.fits.....................!
real 40.95
user 39.46
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/195881/ft1_filtered_4FGL_J2355.7-3351_daily_bin1072.fits', '/scratch/kocevski/195881/ft2_4FGL_J2355.7-3351_daily_bin1072.fits', expMap='/scratch/kocevski/195881/expmap_517190401_517449601_4FGL_J2355.7-3351_daily_bin1072.fits', expCube='/scratch/kocevski/195881/ltcube_517190401_517449601_4FGL_J2355.7-3351_daily_bin1072.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/195881/Model_4FGL_J2355.7-3351_daily_bin1072.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/195881/ft1_filtered_4FGL_J2355.7-3351_daily_bin1072.fits
Spacecraft file(s): /scratch/kocevski/195881/ft2_4FGL_J2355.7-3351_daily_bin1072.fits
Exposure map: /scratch/kocevski/195881/expmap_517190401_517449601_4FGL_J2355.7-3351_daily_bin1072.fits
Exposure cube: /scratch/kocevski/195881/ltcube_517190401_517449601_4FGL_J2355.7-3351_daily_bin1072.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/195881/Model_4FGL_J2355.7-3351_daily_bin1072.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) = 5004.43760953

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10056E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    74.081       1.0000         .10000E-03   10000.    
     4 'Prefactor '    22.334       1.0000         .10000E-03   10000.    
     5 'Prefactor '    66.540       1.0000         .10000E-03   10000.    
     6 'Prefactor '    8.4059       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    18.056       1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    6.1049       1.0000         .10000E-03   10000.    
    11 'Prefactor '    36.773       1.0000         .10000E-03   10000.    
    12 'Prefactor '    6.7268       1.0000         .10000E-03   10000.    
    13 'norm      '    1.7926       1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.8892       1.0000         .10000E-03   10000.    
    15 'norm      '    .10025E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10059E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    32.272       1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.9771       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10197E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.0070       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .91907       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=   5004.414     FROM MIGRAD    STATUS=CONVERGED    449 CALLS     2222 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    54.442       -.13140E-06** at limit **
   2  Prefactor     .10000E-03    1.8108       -.41942E-07** at limit **
   3  Prefactor     74.070        35.235       -.41036E-06   -.84426E-04
   4  Prefactor     22.330        19.724        .52950E-07    .22932E-04
   5  Prefactor     66.541        47.696       -.18354E-05    .13340E-04
   6  Prefactor     8.4052        8.0740        .17540E-05   -.31377E-03
   7  Prefactor     .10000E-03    28.590       -.26370E-06** at limit **
   8  Prefactor     18.056        12.020        .29397E-06   -.70754E-04
   9  norm          .10000E-03    1.8717        .46123E-08** at limit **
  10  norm          6.1050        7.0158       -.77664E-07   -.96824E-04
  11  Prefactor     36.755        39.282       -.14286E-05   -.13499E-03
  12  Prefactor     6.7143        69.827       -.25523E-05   -.42348E-04
  13  norm          1.7946        4.4223        .58675E-06    .48259E-05
  14  Prefactor     2.8816        26.753        .81320E-06   -.17186E-06
  15  norm          .10000E-03    4.6977       -.91099E-07** at limit **
  16  Prefactor     .10000E-03    161.11        .35396E-06** at limit **
  17  Prefactor     32.250        45.193       -.23225E-05   -.14625E-03
  18  Prefactor     2.9743        5.9826        .41934E-06   -.48074E-04
  19  Prefactor     .10000E-03    24.064       -.12804E-06** at limit **
  20  Normalizat    1.0072        .20121        .83416E-06   -.58035E-04
  21  Prefactor     .91882        .21479       -.89595E-06    .27772E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 74.0703
  Prefactor  = 22.33
  Prefactor  = 66.5413
  Prefactor  = 8.40519
  Prefactor  = 0.0001
  Prefactor  = 18.0556
  norm       = 0.0001
  norm       = 6.105
  Prefactor  = 36.7554
  Prefactor  = 6.71426
  norm       = 1.79464
  Prefactor  = 2.88156
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 32.2503
  Prefactor  = 2.97428
  Prefactor  = 0.0001
  Normalizat = 1.00716
  Prefactor  = 0.918816
 **********
 **   18 **HESSE 
 **********

 FCN=   5004.414     FROM HESSE     STATUS=OK           317 CALLS     2539 TOTAL
                     EDM=   .41E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    54.623        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    1.8201        .92870E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     74.070        35.355        .46648E-04   -1.3985    
   4  Prefactor     22.330        19.758        .84756E-04   -1.4763    
   5  Prefactor     66.541        47.869        .49202E-04   -1.4075    
   6  Prefactor     8.4052        8.2760        .69135E-03   -1.5128    
   7  Prefactor     .10000E-03    28.722        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     18.056        12.062        .47128E-03   -1.4858    
   9  norm          .10000E-03    1.8730        .94422E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          6.1050        7.0183        .16249E-03   -1.5214    
  11  Prefactor     36.755        39.095        .66090E-04   -1.4495    
  12  Prefactor     6.7143        71.631        .15471E-03   -1.5190    
  13  norm          1.7946        4.2959        .19013E-03   -1.5440    
  14  Prefactor     2.8816        26.738        .23909E-03   -1.5368    
  15  norm          .10000E-03    4.8982        .29851E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    161.66        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     32.250        46.760        .70534E-04   -1.4572    
  18  Prefactor     2.9743        5.9973        .23165E-03   -1.5363    
  19  Prefactor     .10000E-03    24.079        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.0072        .24217        .23132E-03   -.92791    
  21  Prefactor     .91882        .25695        .26899E-03   -.95487    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.14181e-10
Minuit parameter uncertainties:
  1  8.86388e-05
  2  1.22776e-06
  3  35.365
  4  19.7637
  5  47.8972
  6  8.27709
  7  8.62044e-05
  8  12.0634
  9  5.26033e-07
  10  7.0192
  11  39.1223
  12  43.9282
  13  4.2966
  14  17.5655
  15  5.15456e-06
  16  0.000150835
  17  46.8128
  18  5.99852
  19  1.50927e-05
  20  0.242437
  21  0.257292
Done.

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

Extracting fit parameters...

4FGL J2355.7-3351
   Spectrum: PowerLaw
550    Prefactor:  2.974e+00  5.999e+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

GAL_V02
   Spectrum: PowerLaw
584    Prefactor:  9.188e-01  2.573e-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.007e+00  2.424e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.31
Ra Dec: 358.931 -33.861
Photon Flux Upper Limit: 1.05e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.20e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/195881/likelihoodResults_517190401_517449601_4FGL_J2355.7-3351_daily_bin1072.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) = 5004.31262928
delta logL = 0.100989341737

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5004.30650521
delta logL = 0.107113419969

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.5255       1.0000         .10000E-03   10000.    
     2 'Index     '    3.1313       1.0000          .0000       10.000    
     3 'Normalizat'    .99119       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93015       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=   5004.307     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      235 TOTAL
                     EDM=   .44E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.5255        5.3432        .16251E-03    .42183E-04
   2  Index         3.1319        1.3278        .10806E-01    .22451E-04
   3  Normalizat    .99134        .23350        .23294E-03   -.82043E-04
   4  Prefactor     .92993        .25681        .26754E-03   -.55708E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.52551
  Index      = 3.13186
  Normalizat = 0.991337
  Prefactor  = 0.92993
 **********
 **   18 **HESSE 
 **********

 FCN=   5004.307     FROM HESSE     STATUS=OK            25 CALLS      260 TOTAL
                     EDM=   .21E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.5255        4.8958        .65006E-05   -1.5390    
   2  Index         3.1319        1.2183        .43223E-03   -.38292    
   3  Normalizat    .99134        .23391        .93175E-05   -.93321    
   4  Prefactor     .92993        .25714        .10702E-04   -.95103    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.06447e-11
Minuit parameter uncertainties:
  1  4.89661
  2  1.23275
  3  0.234151
  4  0.257476
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/195881': 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) = 5004.30650462
delta logL = 0.107114004657

Extracting fit parameters...

4FGL J2355.7-3351
   Spectrum: PowerLaw
550    Prefactor:  2.526e+00  4.897e+00  1.000e-04  1.000e+04 ( 1.000e-12)
551        Index:  3.132e+00  1.233e+00  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:  9.299e-01  2.575e-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:  9.913e-01  2.342e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.31
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/195881/cmap_HighResolution_517190401_517449601_4FGL_J2355.7-3351_daily_bin1072.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.20e-03', job_status='DONE', photon_flux_upper_limit='1.05e-07', time_completed='2021-09-30 09:29:27.559081', job_id='195881', GAL2='0.93', fit_tolerance='1e-08', EG2='0.99', EG='1.01', time_epoch_completed='1633019367.56', return_code2='0', ts='0.31', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='1.07e-01', ts2='0.54', photon_index_error='0.00', photon_index='2.58' WHERE bin_id='1072' AND source_name='4FGL J2355.7-3351' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 09:29:27 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0233>
Subject: Job 195881: <4FGL_J2355.7-3351_daily_bin1072> in cluster <slac> Done

Job <4FGL_J2355.7-3351_daily_bin1072> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Thu Sep 30 09:15:14 2021
Job was executed on host(s) <bullet0233>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 09:15:16 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:15:16 2021
Terminated at Thu Sep 30 09:29:27 2021
Results reported at Thu Sep 30 09:29:27 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2355.7-3351_daily_bin1072 358.931 -33.8607 517190401 517449601 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 :                                   561.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             229.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   851 sec.
    Turnaround time :                            853 sec.

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

