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


Performing analysis on: 4FGL_J2355.7-3351_daily_bin650
RA = 358.931, Dec = -33.8607
tmin = 407808001, tmax = 408067201
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='193274', job_status='RUN', time_executed='2021-09-30 09:06:40.851937', time_epoch_executed='1633018000.85' WHERE source_name='4FGL J2355.7-3351' and cadence='daily' and bin_id='650'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/193274

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/193274/ft1_4FGL_J2355.7-3351_daily_bin650.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/193274/ft2_4FGL_J2355.7-3351_daily_bin650.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/193274/ft1_4FGL_J2355.7-3351_daily_bin650.fits outfile=/scratch/kocevski/193274/ft1_filteredMKT_4FGL_J2355.7-3351_daily_bin650.fits ra=358.931 dec=-33.8607 rad=12.0 tmin=407808001.0 tmax=408067201.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.12
user 3.86
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/193274/ft1_filtered_4FGL_J2355.7-3351_daily_bin650.fits" evtable="EVENTS" scfile=/scratch/kocevski/193274/ft2_4FGL_J2355.7-3351_daily_bin650.fits sctable="SC_DATA" outfile=/scratch/kocevski/193274/ltcube_407808001_408067201_4FGL_J2355.7-3351_daily_bin650.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/193274/ft2_4FGL_J2355.7-3351_daily_bin650.fits
.....................!
real 12.59
user 12.16
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/193274/ft1_filtered_4FGL_J2355.7-3351_daily_bin650.fits evtable="EVENTS" scfile=/scratch/kocevski/193274/ft2_4FGL_J2355.7-3351_daily_bin650.fits sctable="SC_DATA" expcube=/scratch/kocevski/193274/ltcube_407808001_408067201_4FGL_J2355.7-3351_daily_bin650.fits outfile=/scratch/kocevski/193274/expmap_407808001_408067201_4FGL_J2355.7-3351_daily_bin650.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/193274/ltcube_407808001_408067201_4FGL_J2355.7-3351_daily_bin650.fits
.....................!
real 190.90
user 185.18
sys 5.24

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/193274/ft1_filtered_4FGL_J2355.7-3351_daily_bin650.fits scfile=/scratch/kocevski/193274/ft2_4FGL_J2355.7-3351_daily_bin650.fits outfile=/scratch/kocevski/193274/cmap_407808001_408067201_4FGL_J2355.7-3351_daily_bin650.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/193274/ft1_filtered_4FGL_J2355.7-3351_daily_bin650.fits scfile=/scratch/kocevski/193274/ft2_4FGL_J2355.7-3351_daily_bin650.fits outfile=/scratch/kocevski/193274/cmap_HighResolution_407808001_408067201_4FGL_J2355.7-3351_daily_bin650.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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/193274/ft1_filtered_4FGL_J2355.7-3351_daily_bin650.fits evtable="EVENTS" scfile=/scratch/kocevski/193274/ft2_4FGL_J2355.7-3351_daily_bin650.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/193274/Model_4FGL_J2355.7-3351_daily_bin650.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/193274/ft1_filtered_4FGL_J2355.7-3351_daily_bin650.fits.....................!
real 34.14
user 32.79
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.1622       1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.2256       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.8006       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.9344       1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10465E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    132.48       1.0000         .10000E-03   10000.    
    12 'Prefactor '    29.382       1.0000         .10000E-03   10000.    
    13 'norm      '    .10657E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10636E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .26967E-01   1.0000         .10000E-03   10000.    
    17 'Prefactor '    3.1380       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .73036       1.0000         .10000E-03   10000.    
    19 'Prefactor '    63.813       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .83101       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.2228       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=   3774.252     FROM MIGRAD    STATUS=CONVERGED    458 CALLS     2524 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    16.986        .12707E-06** at limit **
   2  Prefactor     2.1626        5.1067        .54239E-06    .64132E-05
   3  Prefactor     4.2273        33.638        .11847E-05   -.10419E-04
   4  Prefactor     .10000E-03    26.246        .95518E-06** at limit **
   5  Prefactor     .10000E-03    17.709        .28206E-06** at limit **
   6  Prefactor     4.7996        6.5427        .94167E-06   -.26889E-04
   7  Prefactor     .10000E-03    21.211        .37761E-06** at limit **
   8  Prefactor     6.9435        13.123        .15726E-05   -.27470E-04
   9  norm          .10000E-03    2.0459        .81804E-08** at limit **
  10  norm          .10000E-03    11.965        .38172E-06** at limit **
  11  Prefactor     132.43        60.558        .40432E-06   -.25000E-03
  12  Prefactor     29.249        59.216        .35404E-06   -.17907E-04
  13  norm          .10000E-03    6.1363        .97874E-06** at limit **
  14  Prefactor     .10000E-03    16.634       -.14474E-06** at limit **
  15  norm          .10000E-03    5.0364        .42321E-06** at limit **
  16  Prefactor     .10009E-03    6368.0       -.90050E-04** at limit **
  17  Prefactor     3.3141        190.03       -.68261E-05    .32232E-05
  18  Prefactor     .73243        7.5448        .28853E-05    .57120E-04
  19  Prefactor     63.781        50.812       -.10163E-05   -.44884E-04
  20  Normalizat    .83167        .23156       -.28448E-05   -.73440E-04
  21  Prefactor     1.2219        .24807       -.38189E-05   -.16111E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 2.16258
  Prefactor  = 4.2273
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.79965
  Prefactor  = 0.0001
  Prefactor  = 6.94346
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 132.432
  Prefactor  = 29.2492
  norm       = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100095
  Prefactor  = 3.31407
  Prefactor  = 0.73243
  Prefactor  = 63.7806
  Normalizat = 0.83167
  Prefactor  = 1.22191
 **********
 **   18 **HESSE 
 **********

 FCN=   3774.252     FROM HESSE     STATUS=OK           319 CALLS     2843 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    16.988        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.1626        5.0087        .18618E-03   -1.5414    
   3  Prefactor     4.2273        32.700        .19603E-03   -1.5297    
   4  Prefactor     .10000E-03    26.598        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    17.722        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.7996        6.5399        .17510E-03   -1.5270    
   7  Prefactor     .10000E-03    21.239        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     6.9435        13.126        .15235E-03   -1.5181    
   9  norm          .10000E-03    2.0470        .85804E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    12.107        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     132.43        54.641        .34985E-04   -1.3401    
  12  Prefactor     29.249        59.603        .73914E-04   -1.4626    
  13  norm          .10000E-03    10.568        .26570E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    16.638        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    5.2569        .26886E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10009E-03    6354.1        .36628E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     3.3141        191.58        .22885E-03   -1.5344    
  18  Prefactor     .73243        7.6329        .32241E-03   -1.5537    
  19  Prefactor     63.781        50.630        .25118E-03   -1.4109    
  20  Normalizat    .83167        .28242        .25931E-03   -.98904    
  21  Prefactor     1.2219        .30110        .24493E-03   -.85660    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.95751e-10
Minuit parameter uncertainties:
  1  1.11089e-05
  2  5.00971
  3  23.532
  4  0.000142389
  5  1.43724e-05
  6  6.54085
  7  2.06271e-05
  8  13.1315
  9  8.29171e-07
  10  0.000101299
  11  54.6618
  12  59.7243
  13  0.000149959
  14  1.99483e-05
  15  2.92488e-05
  16  0.0336645
  17  50.5644
  18  4.72933
  19  50.664
  20  0.282917
  21  0.301525
Done.

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

Extracting fit parameters...

4FGL J2355.7-3351
   Spectrum: PowerLaw
550    Prefactor:  7.324e-01  4.729e+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:  1.222e+00  3.015e-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:  8.317e-01  2.829e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/193274/likelihoodResults_407808001_408067201_4FGL_J2355.7-3351_daily_bin650.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) = 3774.25049577
delta logL = 0.00126696294001

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3774.25034952
delta logL = 0.00141320522152

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .82038       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4359       1.0000          .0000       10.000    
     3 'Normalizat'    .83211       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2214       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3774.250     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      251 TOTAL
                     EDM=   .44E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .81783        8.1904        .32646E-03   -.21991E-04
   2  Index         2.4369        2.4713        .17992E-01    .10033E-04
   3  Normalizat    .83209        .26389        .25924E-03    .61176E-05
   4  Prefactor     1.2214        .29707        .24497E-03    .30630E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.817826
  Index      = 2.43687
  Normalizat = 0.832087
  Prefactor  = 1.22144
 **********
 **   18 **HESSE 
 **********

 FCN=   3774.250     FROM HESSE     STATUS=OK            23 CALLS      274 TOTAL
                     EDM=   .38E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .81783        7.8119        .13058E-04   -1.5527    
   2  Index         2.4369        2.4222        .71970E-03   -.53824    
   3  Normalizat    .83209        .26422        .10370E-04   -.98889    
   4  Prefactor     1.2214        .29740        .97986E-05   -.85674    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.82986e-11
Minuit parameter uncertainties:
  1  5.05575
  2  2.57363
  3  0.26463
  4  0.297808
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/193274': 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) = 3774.25034935
delta logL = 0.0014133785462

Extracting fit parameters...

4FGL J2355.7-3351
   Spectrum: PowerLaw
550    Prefactor:  8.178e-01  5.056e+00  1.000e-04  1.000e+04 ( 1.000e-12)
551        Index:  2.437e+00  2.574e+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:  1.221e+00  2.978e-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:  8.321e-01  2.646e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.03
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/193274/cmap_HighResolution_407808001_408067201_4FGL_J2355.7-3351_daily_bin650.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.53e-03', job_status='DONE', photon_flux_upper_limit='9.64e-08', time_completed='2021-09-30 09:15:17.279374', job_id='193274', GAL2='1.22', fit_tolerance='1e-08', EG2='0.83', EG='0.83', time_epoch_completed='1633018517.28', return_code2='0', ts='0.03', comment='SUCCESS', return_code='0', GAL='1.22', dlogl='1.41e-03', ts2='0.03', photon_index_error='0.00', photon_index='2.58' WHERE bin_id='650' AND source_name='4FGL J2355.7-3351' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 09:15:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0104>
Subject: Job 193274: <4FGL_J2355.7-3351_daily_bin650> in cluster <slac> Done

Job <4FGL_J2355.7-3351_daily_bin650> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Sep 30 09:05:34 2021
Job was executed on host(s) <bullet0104>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 09:05:35 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:35 2021
Terminated at Thu Sep 30 09:15:20 2021
Results reported at Thu Sep 30 09:15:20 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2355.7-3351_daily_bin650 358.931 -33.8607 407808001 408067201 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 :                                   511.41 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             291.95 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   582 sec.
    Turnaround time :                            586 sec.

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

