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


Performing analysis on: 4FGL_J2355.7-3351_daily_bin851
RA = 358.931, Dec = -33.8607
tmin = 459907201, tmax = 460166401
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='194570', job_status='RUN', time_executed='2021-09-30 09:14:27.599550', time_epoch_executed='1633018467.6' WHERE source_name='4FGL J2355.7-3351' and cadence='daily' and bin_id='851'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/194570

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/194570/ft1_4FGL_J2355.7-3351_daily_bin851.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/194570/ft2_4FGL_J2355.7-3351_daily_bin851.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/194570/ft1_4FGL_J2355.7-3351_daily_bin851.fits outfile=/scratch/kocevski/194570/ft1_filteredMKT_4FGL_J2355.7-3351_daily_bin851.fits ra=358.931 dec=-33.8607 rad=12.0 tmin=459907201.0 tmax=460166401.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 3.37
user 3.16
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/194570/ft2_4FGL_J2355.7-3351_daily_bin851.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/194570/ft1_filteredMKT_4FGL_J2355.7-3351_daily_bin851.fits evtable="EVENTS" outfile="/scratch/kocevski/194570/ft1_filtered_4FGL_J2355.7-3351_daily_bin851.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/194570/ft1_filtered_4FGL_J2355.7-3351_daily_bin851.fits" evtable="EVENTS" scfile=/scratch/kocevski/194570/ft2_4FGL_J2355.7-3351_daily_bin851.fits sctable="SC_DATA" outfile=/scratch/kocevski/194570/ltcube_459907201_460166401_4FGL_J2355.7-3351_daily_bin851.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/194570/ft2_4FGL_J2355.7-3351_daily_bin851.fits
.....................!
real 11.81
user 11.41
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/194570/ft1_filtered_4FGL_J2355.7-3351_daily_bin851.fits evtable="EVENTS" scfile=/scratch/kocevski/194570/ft2_4FGL_J2355.7-3351_daily_bin851.fits sctable="SC_DATA" expcube=/scratch/kocevski/194570/ltcube_459907201_460166401_4FGL_J2355.7-3351_daily_bin851.fits outfile=/scratch/kocevski/194570/expmap_459907201_460166401_4FGL_J2355.7-3351_daily_bin851.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/194570/ltcube_459907201_460166401_4FGL_J2355.7-3351_daily_bin851.fits
.....................!
real 191.72
user 185.76
sys 5.62

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/194570/ft1_filtered_4FGL_J2355.7-3351_daily_bin851.fits scfile=/scratch/kocevski/194570/ft2_4FGL_J2355.7-3351_daily_bin851.fits outfile=/scratch/kocevski/194570/cmap_459907201_460166401_4FGL_J2355.7-3351_daily_bin851.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/194570/ft1_filtered_4FGL_J2355.7-3351_daily_bin851.fits scfile=/scratch/kocevski/194570/ft2_4FGL_J2355.7-3351_daily_bin851.fits outfile=/scratch/kocevski/194570/cmap_HighResolution_459907201_460166401_4FGL_J2355.7-3351_daily_bin851.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.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/194570/ft1_filtered_4FGL_J2355.7-3351_daily_bin851.fits evtable="EVENTS" scfile=/scratch/kocevski/194570/ft2_4FGL_J2355.7-3351_daily_bin851.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/194570/Model_4FGL_J2355.7-3351_daily_bin851.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/194570/ft1_filtered_4FGL_J2355.7-3351_daily_bin851.fits.....................!
real 40.69
user 39.28
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    23.371       1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.0158       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10056E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .22687E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.5512       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10965E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    6.7515       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    116.54       1.0000         .10000E-03   10000.    
    13 'norm      '    7.4447       1.0000         .10000E-03   10000.    
    14 'Prefactor '    24.447       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10379E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10135E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .50109       1.0000         .10000E-03   10000.    
    19 'Prefactor '    79.453       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.1203       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .69290       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=   5078.469     FROM MIGRAD    STATUS=CONVERGED    469 CALLS     2275 TOTAL
                     EDM=   .92E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     23.186        57.047       -.42132E-05   -.21733E-03
   2  Prefactor     2.0159        3.9398        .61827E-06    .58577E-04
   3  Prefactor     .10000E-03    15.713        .84788E-07** at limit **
   4  Prefactor     .10014E-03    6.4481       -.14549E-05** at limit **
   5  Prefactor     .10000E-03    9.1805       -.63332E-06** at limit **
   6  Prefactor     2.5491        3.7469        .54074E-05   -.10171E-03
   7  Prefactor     .10002E-03    77.998       -.39776E-05** at limit **
   8  Prefactor     .10000E-03    5.3265        .52219E-06** at limit **
   9  norm          .10000E-03    1.7359        .90381E-08** at limit **
  10  norm          6.7511        7.4852        .18941E-05   -.63258E-04
  11  Prefactor     .10000E-03    21.232        .24690E-06** at limit **
  12  Prefactor     116.55        67.177       -.49081E-06    .19160E-04
  13  norm          7.4455        4.1463        .40487E-06   -.54962E-04
  14  Prefactor     24.444        27.931        .23278E-06   -.18439E-05
  15  norm          .10000E-03    1.0378       -.49341E-07** at limit **
  16  Prefactor     .10000E-03    84.936        .11952E-05** at limit **
  17  Prefactor     .10000E-03    34.744        .55790E-06** at limit **
  18  Prefactor     .50976        3.5230        .34025E-06   -.69687E-04
  19  Prefactor     79.463        46.370       -.62063E-06    .15951E-04
  20  Normalizat    1.1203        .17910        .14504E-05   -.10208E-03
  21  Prefactor     .69295        .19217       -.43472E-05    .11694E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 23.1859
  Prefactor  = 2.01592
  Prefactor  = 0.0001
  Prefactor  = 0.000100141
  Prefactor  = 0.0001
  Prefactor  = 2.54908
  Prefactor  = 0.000100018
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 6.75114
  Prefactor  = 0.0001
  Prefactor  = 116.545
  norm       = 7.44552
  Prefactor  = 24.4441
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.509763
  Prefactor  = 79.4625
  Normalizat = 1.12032
  Prefactor  = 0.692953
 **********
 **   18 **HESSE 
 **********

 FCN=   5078.469     FROM HESSE     STATUS=OK           313 CALLS     2588 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     23.186        57.668        .82857E-04   -1.4745    
   2  Prefactor     2.0159        3.9164        .18237E-03   -1.5424    
   3  Prefactor     .10000E-03    15.765        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10014E-03    32.736        .34757E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    9.2000        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.5491        3.7705        .81589E-03   -1.5389    
   7  Prefactor     .10002E-03    81.540        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    5.4729        .32114E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    1.7369        .91673E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          6.7511        7.4734        .77211E-03   -1.5188    
  11  Prefactor     .10000E-03    21.303        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     116.55        67.400        .37271E-04   -1.3545    
  13  norm          7.4455        4.1428        .52226E-03   -1.5162    
  14  Prefactor     24.444        27.938        .81015E-04   -1.4719    
  15  norm          .10000E-03    1.0394        .70883E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    85.051        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    34.803        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .50976        11.147        .24740E-02   -1.5565    
  19  Prefactor     79.463        45.958        .45055E-04   -1.3923    
  20  Normalizat    1.1203        .21042        .20408E-03   -.89102    
  21  Prefactor     .69295        .22370        .28352E-03   -1.0380    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.98289e-08
Minuit parameter uncertainties:
  1  57.8072
  2  3.91686
  3  2.2456e-05
  4  0.00429198
  5  6.29499e-05
  6  3.77082
  7  0.00239665
  8  2.15971e-06
  9  1.35804e-06
  10  7.47442
  11  4.13708e-05
  12  67.4441
  13  4.14295
  14  27.9528
  15  2.99349e-07
  16  0.000269725
  17  2.50131e-05
  18  4.76801
  19  45.9782
  20  0.210582
  21  0.223985
Done.

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

Extracting fit parameters...

4FGL J2355.7-3351
   Spectrum: PowerLaw
550    Prefactor:  5.098e-01  4.768e+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:  6.930e-01  2.240e-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.120e+00  2.106e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/194570/likelihoodResults_459907201_460166401_4FGL_J2355.7-3351_daily_bin851.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) = 5078.46872012
delta logL = 0.000528039111487

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5078.46871301
delta logL = 0.000535142109584

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .50974       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6731       1.0000          .0000       10.000    
     3 'Normalizat'    1.1199       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .69319       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.

 FCN=   5078.469     FROM MIGRAD    STATUS=CONVERGED     63 CALLS      230 TOTAL
                     EDM=   .66E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .49846        22.601        .65112E-01    .39491E-03
   2  Index         2.6745        2.9908        .50000        .16006E-04
   3  Normalizat    1.1200        .11496E-01    .37241E-01   -.14859E-04
   4  Prefactor     .69317        .12919E-01    .64076E-01   -.26869E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.49846
  Index      = 2.6745
  Normalizat = 1.12
  Prefactor  = 0.69317
 **********
 **   18 **HESSE 
 **********

 FCN=   5078.469     FROM HESSE     STATUS=OK            35 CALLS      265 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .49846        13.165        .23888E-02   -1.5567    
   2  Index         2.6745        2.9910        .18632E-01   -.48375    
   3  Normalizat    1.1200        .20047        .20410E-03   -.89112    
   4  Prefactor     .69317        .22284        .28347E-03   -1.0380    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.74242e-08
Minuit parameter uncertainties:
  1  5.12408
  2  3.28415
  3  0.200606
  4  0.223122
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/194570': 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) = 5078.46870993
delta logL = 0.000538223686817

Extracting fit parameters...

4FGL J2355.7-3351
   Spectrum: PowerLaw
550    Prefactor:  4.985e-01  5.124e+00  1.000e-04  1.000e+04 ( 1.000e-12)
551        Index:  2.674e+00  3.284e+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:  6.932e-01  2.231e-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.120e+00  2.006e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.01
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/194570/cmap_HighResolution_459907201_460166401_4FGL_J2355.7-3351_daily_bin851.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.50e-03', job_status='DONE', photon_flux_upper_limit='8.31e-08', time_completed='2021-09-30 09:23:54.041678', job_id='194570', GAL2='0.69', fit_tolerance='1e-08', EG2='1.12', EG='1.12', time_epoch_completed='1633019034.04', return_code2='0', ts='0.01', comment='SUCCESS', return_code='0', GAL='0.69', dlogl='5.38e-04', ts2='0.01', photon_index_error='0.00', photon_index='2.58' WHERE bin_id='851' AND source_name='4FGL J2355.7-3351' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 09:23:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0213>
Subject: Job 194570: <4FGL_J2355.7-3351_daily_bin851> in cluster <slac> Done

Job <4FGL_J2355.7-3351_daily_bin851> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Sep 30 09:10:24 2021
Job was executed on host(s) <bullet0213>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 09:10:26 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:10:26 2021
Terminated at Thu Sep 30 09:23:54 2021
Results reported at Thu Sep 30 09:23:54 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2355.7-3351_daily_bin851 358.931 -33.8607 459907201 460166401 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 :                                   564.44 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             260.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   808 sec.
    Turnaround time :                            810 sec.

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

