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


Performing analysis on: 4FGL_J2355.7-3351_daily_bin735
RA = 358.931, Dec = -33.8607
tmin = 429840001, tmax = 430099201
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='193398', job_status='RUN', time_executed='2021-09-30 09:06:52.746962', time_epoch_executed='1633018012.75' WHERE source_name='4FGL J2355.7-3351' and cadence='daily' and bin_id='735'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/193398

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/193398/ft1_4FGL_J2355.7-3351_daily_bin735.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/193398/ft2_4FGL_J2355.7-3351_daily_bin735.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/193398/ft1_4FGL_J2355.7-3351_daily_bin735.fits outfile=/scratch/kocevski/193398/ft1_filteredMKT_4FGL_J2355.7-3351_daily_bin735.fits ra=358.931 dec=-33.8607 rad=12.0 tmin=429840001.0 tmax=430099201.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 5.99
user 5.62
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/193398/ft1_filtered_4FGL_J2355.7-3351_daily_bin735.fits" evtable="EVENTS" scfile=/scratch/kocevski/193398/ft2_4FGL_J2355.7-3351_daily_bin735.fits sctable="SC_DATA" outfile=/scratch/kocevski/193398/ltcube_429840001_430099201_4FGL_J2355.7-3351_daily_bin735.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/193398/ft2_4FGL_J2355.7-3351_daily_bin735.fits
.....................!
real 12.33
user 11.97
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/193398/ft1_filtered_4FGL_J2355.7-3351_daily_bin735.fits evtable="EVENTS" scfile=/scratch/kocevski/193398/ft2_4FGL_J2355.7-3351_daily_bin735.fits sctable="SC_DATA" expcube=/scratch/kocevski/193398/ltcube_429840001_430099201_4FGL_J2355.7-3351_daily_bin735.fits outfile=/scratch/kocevski/193398/expmap_429840001_430099201_4FGL_J2355.7-3351_daily_bin735.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/193398/ltcube_429840001_430099201_4FGL_J2355.7-3351_daily_bin735.fits
.....................!
real 190.92
user 185.15
sys 5.05

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/193398/ft1_filtered_4FGL_J2355.7-3351_daily_bin735.fits scfile=/scratch/kocevski/193398/ft2_4FGL_J2355.7-3351_daily_bin735.fits outfile=/scratch/kocevski/193398/cmap_429840001_430099201_4FGL_J2355.7-3351_daily_bin735.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.55
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/193398/ft1_filtered_4FGL_J2355.7-3351_daily_bin735.fits scfile=/scratch/kocevski/193398/ft2_4FGL_J2355.7-3351_daily_bin735.fits outfile=/scratch/kocevski/193398/cmap_HighResolution_429840001_430099201_4FGL_J2355.7-3351_daily_bin735.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/193398/ft1_filtered_4FGL_J2355.7-3351_daily_bin735.fits evtable="EVENTS" scfile=/scratch/kocevski/193398/ft2_4FGL_J2355.7-3351_daily_bin735.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/193398/Model_4FGL_J2355.7-3351_daily_bin735.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/193398/ft1_filtered_4FGL_J2355.7-3351_daily_bin735.fits......................!
real 29.59
user 28.27
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    23.100       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.3168       1.0000         .10000E-03   10000.    
     4 'Prefactor '    47.430       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10076E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10122       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .11040E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10195E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    9.9837       1.0000         .10000E-03   10000.    
    11 'Prefactor '    46.706       1.0000         .10000E-03   10000.    
    12 'Prefactor '    48.776       1.0000         .10000E-03   10000.    
    13 'norm      '    .10510E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    26.083       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10083E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    46.540       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .77208       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .93354       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=   3038.261     FROM MIGRAD    STATUS=CONVERGED    448 CALLS     2170 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     23.097        73.535       -.64477E-05    .23410E-04
   2  Prefactor     .10000E-03    1.5011        .20266E-06** at limit **
   3  Prefactor     5.3085        31.967       -.66540E-05   -.43655E-05
   4  Prefactor     47.424        22.361       -.26233E-05    .21264E-04
   5  Prefactor     .10000E-03    24.210       -.54884E-05** at limit **
   6  Prefactor     .36846E-01    4.0477       -.12692E-05   -.11544E-03
   7  Prefactor     .10000E-03    44.703        .11549E-04** at limit **
   8  Prefactor     .10000E-03    6.9718       -.18337E-06** at limit **
   9  norm          .10000E-03    5.8890        .17283E-06** at limit **
  10  norm          9.9811        9.3566        .31576E-05    .38540E-04
  11  Prefactor     46.690        33.349       -.11734E-04    .64130E-06
  12  Prefactor     48.754        49.980       -.24401E-04    .13674E-04
  13  norm          .10000E-03    3.1502        .38626E-06** at limit **
  14  Prefactor     .10000E-03    25.543        .78302E-05** at limit **
  15  norm          .10000E-03    1.3245        .41150E-07** at limit **
  16  Prefactor     .10000E-03    40.007       -.17326E-04** at limit **
  17  Prefactor     26.043        44.872       -.42142E-04    .97876E-05
  18  Prefactor     .10000E-03    3.3762        .34092E-06** at limit **
  19  Prefactor     46.514        45.826       -.22674E-04    .21599E-04
  20  Normalizat    .77235        .20979        .73269E-05    .30784E-04
  21  Prefactor     .93352        .23768        .27000E-05    .18141E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 23.0971
  Prefactor  = 0.0001
  Prefactor  = 5.30851
  Prefactor  = 47.4237
  Prefactor  = 0.0001
  Prefactor  = 0.0368457
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 9.98112
  Prefactor  = 46.6898
  Prefactor  = 48.7538
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 26.0434
  Prefactor  = 0.0001
  Prefactor  = 46.5137
  Normalizat = 0.77235
  Prefactor  = 0.933517
 **********
 **   18 **HESSE 
 **********

 FCN=   3038.261     FROM HESSE     STATUS=OK           319 CALLS     2489 TOTAL
                     EDM=   .61E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     23.097        73.883        .83341E-04   -1.4746    
   2  Prefactor     .10000E-03    1.5069        .65897E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     5.3085        31.970        .17430E-03   -1.5247    
   4  Prefactor     47.424        22.373        .58222E-04   -1.4330    
   5  Prefactor     .10000E-03    24.290        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .36846E-01    9.8593        .36868E-01   -1.5670    
   7  Prefactor     .10000E-03    45.023        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    7.0166        .14212E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    5.9621        .13054E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          9.9811        9.3578        .12682E-03   -1.5076    
  11  Prefactor     46.690        33.320        .58670E-04   -1.4340    
  12  Prefactor     48.754        50.038        .57417E-04   -1.4310    
  13  norm          .10000E-03    3.1946        .95336E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    25.577        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    1.3268        .61941E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    40.010        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     26.043        44.889        .78438E-04   -1.4687    
  18  Prefactor     .10000E-03    3.4065        .98887E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     46.514        45.827        .58774E-04   -1.4343    
  20  Normalizat    .77235        .25463        .21949E-03   -1.0110    
  21  Prefactor     .93352        .28729        .23427E-03   -.94980    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.07945e-10
Minuit parameter uncertainties:
  1  74.1773
  2  2.73306e-05
  3  26.0752
  4  22.3772
  5  7.75131e-05
  6  1.20401
  7  0.0003561
  8  6.2686e-05
  9  5.71113e-05
  10  9.35913
  11  33.3333
  12  50.0812
  13  6.59739e-05
  14  6.388e-05
  15  6.98848e-06
  16  1.59595e-05
  17  44.9473
  18  5.02604e-05
  19  45.8616
  20  0.255022
  21  0.287761
Done.

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

Extracting fit parameters...

4FGL J2355.7-3351
   Spectrum: PowerLaw
550    Prefactor:  1.000e-04  5.026e-05  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.335e-01  2.878e-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.724e-01  2.550e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/193398/likelihoodResults_429840001_430099201_4FGL_J2355.7-3351_daily_bin735.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3038.26204877
delta logL = -0.00139451605764

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3038.26065438
delta logL = -1.27539806272e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11109E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5324       1.0000          .0000       10.000    
     3 'Normalizat'    .77232       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93358       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=   3038.220     FROM MIGRAD    STATUS=CONVERGED    179 CALLS      327 TOTAL
                     EDM=   .17E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.0935        7.5144        .11009E-02   -.94870E-04
   2  Index         1.5071        1.0388        .31989       -.99998E-05
   3  Normalizat    .77857        .24439        .21949E-03   -.33098E-04
   4  Prefactor     .92252        .28846        .23427E-03   -.22250E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.09349
  Index      = 1.50715
  Normalizat = 0.778571
  Prefactor  = 0.922523
 **********
 **   18 **HESSE 
 **********

 FCN=   3038.220     FROM HESSE     STATUS=OK            29 CALLS      356 TOTAL
                     EDM=   .27E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.0935        4.3202        .44035E-04   -1.5499    
   2  Index         1.5071        1.1187        .11628E-01   -.77340    
   3  Normalizat    .77857        .24334        .87795E-05   -1.0087    
   4  Prefactor     .92252        .28594        .93707E-05   -.95358    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.72532e-11
Minuit parameter uncertainties:
  1  4.32144
  2  1.13774
  3  0.243682
  4  0.286408
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/193398': 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) = 3038.21991826
delta logL = 0.0407359931319

Extracting fit parameters...

4FGL J2355.7-3351
   Spectrum: PowerLaw
550    Prefactor:  1.093e+00  4.321e+00  1.000e-04  1.000e+04 ( 1.000e-12)
551        Index:  1.507e+00  1.138e+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.225e-01  2.864e-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.786e-01  2.437e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/193398/cmap_HighResolution_429840001_430099201_4FGL_J2355.7-3351_daily_bin735.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.06e-03', job_status='DONE', photon_flux_upper_limit='7.75e-08', time_completed='2021-09-30 09:14:58.250415', job_id='193398', GAL2='0.92', fit_tolerance='1e-08', EG2='0.78', EG='0.77', time_epoch_completed='1633018498.25', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='4.07e-02', ts2='0.08', photon_index_error='0.00', photon_index='2.58' WHERE bin_id='735' AND source_name='4FGL J2355.7-3351' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 09:14:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0225>
Subject: Job 193398: <4FGL_J2355.7-3351_daily_bin735> in cluster <slac> Done

Job <4FGL_J2355.7-3351_daily_bin735> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Sep 30 09:05:45 2021
Job was executed on host(s) <bullet0225>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 09:05:46 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:46 2021
Terminated at Thu Sep 30 09:14:58 2021
Results reported at Thu Sep 30 09:14:58 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2355.7-3351_daily_bin735 358.931 -33.8607 429840001 430099201 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 :                                   481.06 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             246.39 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   552 sec.
    Turnaround time :                            553 sec.

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

