/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 176 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 = 7563
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2355.7-3351_daily_bin304
RA = 358.931, Dec = -33.8607
tmin = 318124801, tmax = 318384001
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='190737', job_status='RUN', time_executed='2021-09-30 08:58:45.408668', time_epoch_executed='1633017525.41' WHERE source_name='4FGL J2355.7-3351' and cadence='daily' and bin_id='304'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/190737

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/190737/ft1_4FGL_J2355.7-3351_daily_bin304.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/190737/ft2_4FGL_J2355.7-3351_daily_bin304.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/190737/ft1_4FGL_J2355.7-3351_daily_bin304.fits outfile=/scratch/kocevski/190737/ft1_filteredMKT_4FGL_J2355.7-3351_daily_bin304.fits ra=358.931 dec=-33.8607 rad=12.0 tmin=318124801.0 tmax=318384001.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.36
user 3.14
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/190737/ft1_filtered_4FGL_J2355.7-3351_daily_bin304.fits" evtable="EVENTS" scfile=/scratch/kocevski/190737/ft2_4FGL_J2355.7-3351_daily_bin304.fits sctable="SC_DATA" outfile=/scratch/kocevski/190737/ltcube_318124801_318384001_4FGL_J2355.7-3351_daily_bin304.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/190737/ft2_4FGL_J2355.7-3351_daily_bin304.fits
.....................!
real 12.28
user 11.88
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/190737/ft1_filtered_4FGL_J2355.7-3351_daily_bin304.fits evtable="EVENTS" scfile=/scratch/kocevski/190737/ft2_4FGL_J2355.7-3351_daily_bin304.fits sctable="SC_DATA" expcube=/scratch/kocevski/190737/ltcube_318124801_318384001_4FGL_J2355.7-3351_daily_bin304.fits outfile=/scratch/kocevski/190737/expmap_318124801_318384001_4FGL_J2355.7-3351_daily_bin304.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/190737/ltcube_318124801_318384001_4FGL_J2355.7-3351_daily_bin304.fits
.....................!
real 192.26
user 187.27
sys 4.67

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/190737/ft1_filtered_4FGL_J2355.7-3351_daily_bin304.fits scfile=/scratch/kocevski/190737/ft2_4FGL_J2355.7-3351_daily_bin304.fits outfile=/scratch/kocevski/190737/cmap_318124801_318384001_4FGL_J2355.7-3351_daily_bin304.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/190737/ft1_filtered_4FGL_J2355.7-3351_daily_bin304.fits scfile=/scratch/kocevski/190737/ft2_4FGL_J2355.7-3351_daily_bin304.fits outfile=/scratch/kocevski/190737/cmap_HighResolution_318124801_318384001_4FGL_J2355.7-3351_daily_bin304.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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/190737/ft1_filtered_4FGL_J2355.7-3351_daily_bin304.fits evtable="EVENTS" scfile=/scratch/kocevski/190737/ft2_4FGL_J2355.7-3351_daily_bin304.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/190737/Model_4FGL_J2355.7-3351_daily_bin304.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/190737/ft1_filtered_4FGL_J2355.7-3351_daily_bin304.fits.....................!
real 43.20
user 41.87
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    21.695       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    7.6994       1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.6091       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    13.044       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    2.4177       1.0000         .10000E-03   10000.    
    10 'norm      '    7.5711       1.0000         .10000E-03   10000.    
    11 'Prefactor '    25.728       1.0000         .10000E-03   10000.    
    12 'Prefactor '    29.458       1.0000         .10000E-03   10000.    
    13 'norm      '    2.6850       1.0000         .10000E-03   10000.    
    14 'Prefactor '    20.276       1.0000         .10000E-03   10000.    
    15 'norm      '    .10199E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .15661E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.4118       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .75740       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .87953       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=   5746.186     FROM MIGRAD    STATUS=CONVERGED    448 CALLS     2159 TOTAL
                     EDM=   .30E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     21.690        34.096       -.36038E-05   -.14094E-05
   2  Prefactor     .10000E-03    1.7589        .42342E-07** at limit **
   3  Prefactor     7.6982        10.652       -.80021E-06   -.52608E-03
   4  Prefactor     6.6094        6.6290       -.43438E-06    .22929E-04
   5  Prefactor     .10000E-03    27.188       -.76428E-06** at limit **
   6  Prefactor     13.046        6.0122        .82208E-07   -.63724E-04
   7  Prefactor     .10000E-03    14.031       -.13145E-06** at limit **
   8  Prefactor     .10000E-03    5.5917       -.14172E-06** at limit **
   9  norm          2.4180        2.7033        .81668E-07    .17603E-03
  10  norm          7.5716        6.6440       -.37035E-06   -.12121E-03
  11  Prefactor     25.708        30.582       -.57643E-05   -.18672E-04
  12  Prefactor     29.461        29.147       -.34701E-06    .18696E-05
  13  norm          2.6874        3.3968        .82254E-06   -.23063E-03
  14  Prefactor     20.254        24.085        .51204E-05   -.85002E-06
  15  norm          .10000E-03    2.3505        .63584E-07** at limit **
  16  Prefactor     .10000E-03    147.34       -.47613E-05** at limit **
  17  Prefactor     .10000E-03    17.319        .19237E-06** at limit **
  18  Prefactor     4.4129        5.2583       -.33699E-06   -.40384E-03
  19  Prefactor     .10000E-03    11.987       -.24835E-07** at limit **
  20  Normalizat    .75708        .14169        .65084E-06   -.16409E-04
  21  Prefactor     .87986        .15798        .30202E-07    .28374E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 21.6903
  Prefactor  = 0.0001
  Prefactor  = 7.69817
  Prefactor  = 6.60936
  Prefactor  = 0.0001
  Prefactor  = 13.0458
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.41804
  norm       = 7.57156
  Prefactor  = 25.7078
  Prefactor  = 29.4613
  norm       = 2.68735
  Prefactor  = 20.2538
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.41294
  Prefactor  = 0.0001
  Normalizat = 0.757076
  Prefactor  = 0.879863
 **********
 **   18 **HESSE 
 **********

 FCN=   5746.186     FROM HESSE     STATUS=OK           321 CALLS     2480 TOTAL
                     EDM=   .59E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     21.690        34.054        .85993E-04   -1.4776    
   2  Prefactor     .10000E-03    1.8269        .19593E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     7.6982        10.911        .72259E-03   -1.5153    
   4  Prefactor     6.6094        6.6280        .15610E-03   -1.5194    
   5  Prefactor     .10000E-03    27.316        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     13.046        6.0255        .11091E-03   -1.4985    
   7  Prefactor     .10000E-03    14.060        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    5.7167        .17499E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          2.4180        2.7079        .12784E-03   -1.5397    
  10  norm          7.5716        6.6536        .14575E-03   -1.5158    
  11  Prefactor     25.708        30.104        .78976E-04   -1.4693    
  12  Prefactor     29.461        29.166        .73818E-04   -1.4622    
  13  norm          2.6874        3.3280        .13490E-03   -1.5380    
  14  Prefactor     20.254        23.836        .88950E-04   -1.4808    
  15  norm          .10000E-03    2.4154        .22662E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    148.40        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    17.337        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     4.4129        5.3024        .17928E-03   -1.5288    
  19  Prefactor     .10000E-03    11.996        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .75708        .16866        .21159E-03   -1.0168    
  21  Prefactor     .87986        .18742        .22898E-03   -.96848    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.87719e-10
Minuit parameter uncertainties:
  1  34.0841
  2  1.1854e-06
  3  10.9135
  4  6.6287
  5  1.3918e-05
  6  6.02576
  7  9.09695e-06
  8  6.60143e-06
  9  2.70802
  10  6.65421
  11  30.122
  12  29.1806
  13  3.32819
  14  23.8477
  15  1.61136e-05
  16  0.000462918
  17  4.56086e-06
  18  5.30298
  19  4.17495e-07
  20  0.168777
  21  0.187552
Done.

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

Extracting fit parameters...

4FGL J2355.7-3351
   Spectrum: PowerLaw
550    Prefactor:  4.413e+00  5.303e+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:  8.799e-01  1.876e-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:  7.571e-01  1.688e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/190737/likelihoodResults_318124801_318384001_4FGL_J2355.7-3351_daily_bin304.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) = 5746.17838833
delta logL = 0.00775126542521

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5746.17668395
delta logL = 0.0094556421609

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.1137       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7192       1.0000          .0000       10.000    
     3 'Normalizat'    .75300       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88313       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=   5746.177     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      205 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.1121        142.07        .49689E-02    .43215E-03
   2  Index         2.7186        6.1828        .22833        .46071E-04
   3  Normalizat    .75298        .44235E-01    .42994E-01    .19022E-04
   4  Prefactor     .88320        .49239E-01    .44790E-01    .73642E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.1121
  Index      = 2.71863
  Normalizat = 0.752982
  Prefactor  = 0.8832
 **********
 **   18 **HESSE 
 **********

 FCN=   5746.177     FROM HESSE     STATUS=OK            33 CALLS      238 TOTAL
                     EDM=   .46E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.1121        5.8530        .16886E-03   -1.5302    
   2  Index         2.7186        1.0857        .10407E-01   -.47380    
   3  Normalizat    .75298        .16492        .21212E-03   -1.0184    
   4  Prefactor     .88320        .18811        .22860E-03   -.96731    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.61386e-12
Minuit parameter uncertainties:
  1  5.85377
  2  1.09678
  3  0.165032
  4  0.188249
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/190737': 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) = 5746.17668345
delta logL = 0.00945614652119

Extracting fit parameters...

4FGL J2355.7-3351
   Spectrum: PowerLaw
550    Prefactor:  4.112e+00  5.854e+00  1.000e-04  1.000e+04 ( 1.000e-12)
551        Index:  2.719e+00  1.097e+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:  8.832e-01  1.882e-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:  7.530e-01  1.650e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.91
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/190737/cmap_HighResolution_318124801_318384001_4FGL_J2355.7-3351_daily_bin304.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.32e-03', job_status='DONE', photon_flux_upper_limit='9.36e-08', time_completed='2021-09-30 09:08:37.993044', job_id='190737', GAL2='0.88', fit_tolerance='1e-08', EG2='0.75', EG='0.76', time_epoch_completed='1633018117.99', return_code2='0', ts='0.91', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='9.46e-03', ts2='0.93', photon_index_error='0.00', photon_index='2.58' WHERE bin_id='304' AND source_name='4FGL J2355.7-3351' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 09:08:38 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0214>
Subject: Job 190737: <4FGL_J2355.7-3351_daily_bin304> in cluster <slac> Done

Job <4FGL_J2355.7-3351_daily_bin304> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Sep 30 08:55:38 2021
Job was executed on host(s) <bullet0214>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 08:55:40 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep 30 08:55:40 2021
Terminated at Thu Sep 30 09:08:40 2021
Results reported at Thu Sep 30 09:08:40 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2355.7-3351_daily_bin304 358.931 -33.8607 318124801 318384001 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 :                                   591.27 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             273.08 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   778 sec.
    Turnaround time :                            782 sec.

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

