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


Performing analysis on: 4FGL_J2355.7-3351_daily_bin1203
RA = 358.931, Dec = -33.8607
tmin = 551145601, tmax = 551404801
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='196068', job_status='RUN', time_executed='2021-09-30 09:16:44.012353', time_epoch_executed='1633018604.01' WHERE source_name='4FGL J2355.7-3351' and cadence='daily' and bin_id='1203'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/196068

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/196068/ft1_4FGL_J2355.7-3351_daily_bin1203.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/196068/ft2_4FGL_J2355.7-3351_daily_bin1203.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/196068/ft1_4FGL_J2355.7-3351_daily_bin1203.fits outfile=/scratch/kocevski/196068/ft1_filteredMKT_4FGL_J2355.7-3351_daily_bin1203.fits ra=358.931 dec=-33.8607 rad=12.0 tmin=551145601.0 tmax=551404801.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 6.47
user 6.18
sys 0.27

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/196068/ft2_4FGL_J2355.7-3351_daily_bin1203.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/196068/ft1_filteredMKT_4FGL_J2355.7-3351_daily_bin1203.fits evtable="EVENTS" outfile="/scratch/kocevski/196068/ft1_filtered_4FGL_J2355.7-3351_daily_bin1203.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.77
user 0.57
sys 0.19

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/196068/ft1_filtered_4FGL_J2355.7-3351_daily_bin1203.fits" evtable="EVENTS" scfile=/scratch/kocevski/196068/ft2_4FGL_J2355.7-3351_daily_bin1203.fits sctable="SC_DATA" outfile=/scratch/kocevski/196068/ltcube_551145601_551404801_4FGL_J2355.7-3351_daily_bin1203.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/196068/ft2_4FGL_J2355.7-3351_daily_bin1203.fits
.....................!
real 23.46
user 22.88
sys 0.51

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/196068/ft1_filtered_4FGL_J2355.7-3351_daily_bin1203.fits evtable="EVENTS" scfile=/scratch/kocevski/196068/ft2_4FGL_J2355.7-3351_daily_bin1203.fits sctable="SC_DATA" expcube=/scratch/kocevski/196068/ltcube_551145601_551404801_4FGL_J2355.7-3351_daily_bin1203.fits outfile=/scratch/kocevski/196068/expmap_551145601_551404801_4FGL_J2355.7-3351_daily_bin1203.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/196068/ltcube_551145601_551404801_4FGL_J2355.7-3351_daily_bin1203.fits
.....................!
real 351.04
user 340.16
sys 9.95

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/196068/ft1_filtered_4FGL_J2355.7-3351_daily_bin1203.fits scfile=/scratch/kocevski/196068/ft2_4FGL_J2355.7-3351_daily_bin1203.fits outfile=/scratch/kocevski/196068/cmap_551145601_551404801_4FGL_J2355.7-3351_daily_bin1203.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.83
user 0.65
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/196068/ft1_filtered_4FGL_J2355.7-3351_daily_bin1203.fits scfile=/scratch/kocevski/196068/ft2_4FGL_J2355.7-3351_daily_bin1203.fits outfile=/scratch/kocevski/196068/cmap_HighResolution_551145601_551404801_4FGL_J2355.7-3351_daily_bin1203.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.88
user 0.66
sys 0.19

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/196068/ft1_filtered_4FGL_J2355.7-3351_daily_bin1203.fits evtable="EVENTS" scfile=/scratch/kocevski/196068/ft2_4FGL_J2355.7-3351_daily_bin1203.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/196068/Model_4FGL_J2355.7-3351_daily_bin1203.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/196068/ft1_filtered_4FGL_J2355.7-3351_daily_bin1203.fits............................!
real 28.81
user 26.81
sys 1.92

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/196068/ft1_filtered_4FGL_J2355.7-3351_daily_bin1203.fits', '/scratch/kocevski/196068/ft2_4FGL_J2355.7-3351_daily_bin1203.fits', expMap='/scratch/kocevski/196068/expmap_551145601_551404801_4FGL_J2355.7-3351_daily_bin1203.fits', expCube='/scratch/kocevski/196068/ltcube_551145601_551404801_4FGL_J2355.7-3351_daily_bin1203.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/196068/Model_4FGL_J2355.7-3351_daily_bin1203.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/196068/ft1_filtered_4FGL_J2355.7-3351_daily_bin1203.fits
Spacecraft file(s): /scratch/kocevski/196068/ft2_4FGL_J2355.7-3351_daily_bin1203.fits
Exposure map: /scratch/kocevski/196068/expmap_551145601_551404801_4FGL_J2355.7-3351_daily_bin1203.fits
Exposure cube: /scratch/kocevski/196068/ltcube_551145601_551404801_4FGL_J2355.7-3351_daily_bin1203.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/196068/Model_4FGL_J2355.7-3351_daily_bin1203.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 371.213267039

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 365.401043297

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.4995       1.0000         .10000E-03   10000.    
     2 'Prefactor '    74.760       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .38907       1.0000         .10000E-03   10000.    
     4 'Prefactor '    51.173       1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.3279       1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.1576       1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.8542       1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.7576       1.0000         .10000E-03   10000.    
     9 'norm      '    .45191E-01   1.0000         .10000E-03   10000.    
    10 'norm      '    .21540       1.0000         .10000E-03   10000.    
    11 'Prefactor '    5.7127       1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.9916       1.0000         .10000E-03   10000.    
    13 'norm      '    .59071E-02   1.0000         .10000E-03   10000.    
    14 'Prefactor '    150.12       1.0000         .10000E-03   10000.    
    15 'norm      '    .26495E-01   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .46254       1.0000         .10000E-03   10000.    
    17 'Prefactor '    7.7061       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .74235E-02   1.0000         .10000E-03   10000.    
    19 'Prefactor '    16.127       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .64227       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .71649       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5870E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   365.2321     FROM MIGRAD    STATUS=CONVERGED    186 CALLS      396 TOTAL
                     EDM=   .59E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.2345        37.010       -.40835E-05    .52450E-02
   2  Prefactor     63.473        53.105       -.52225E-06   -.25834E-03
   3  Prefactor     .10000E-03    305.14        .45744E-04** at limit **
   4  Prefactor     51.374        57.449        .21564E-05    .11523E-02
   5  Prefactor     1.3279        1.0983         .0000         .0000    
   6  Prefactor     5.1576        1.0048         .0000         .0000    
   7  Prefactor     4.8542        1.0054         .0000         .0000    
   8  Prefactor     1.5633        54.464       -.44944E-05    .35363E-02
   9  norm          .10000E-03    183.51        .45670E-04** at limit **
  10  norm          .10000E-03    47.202        .73435E-05** at limit **
  11  Prefactor     .32968E-03    1053.5        .44476E-06** at limit **
  12  Prefactor     .10000E-03    223.13       -.63523E-05** at limit **
  13  norm          .10000E-03    98.632        .16137E-04** at limit **
  14  Prefactor     151.60        91.506        .43072E-05    .12032E-01
  15  norm          .10000E-03    241.29        .55617E-05** at limit **
  16  Prefactor     .10000E-03    141.46        .24329E-04** at limit **
  17  Prefactor     .16174E-03    27.103        .15486E-04** at limit **
  18  Prefactor     .10000E-03    34.977       -.10325E-04** at limit **
  19  Prefactor     262.63        505.19       -.52470E-04    .84786E-03
  20  Normalizat    .67657        .78569        .32741E-05   -.53570E-04
  21  Prefactor     .65689        .76181        .81467E-04   -.59070E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.23454
  Prefactor  = 63.4735
  Prefactor  = 0.000100002
  Prefactor  = 51.3742
  Prefactor  = 1.32793
  Prefactor  = 5.15757
  Prefactor  = 4.85416
  Prefactor  = 1.56334
  norm       = 0.000100003
  norm       = 0.0001
  Prefactor  = 0.000329677
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 151.599
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.000161742
  Prefactor  = 0.0001
  Prefactor  = 262.626
  Normalizat = 0.676574
  Prefactor  = 0.656893
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   365.2321     FROM HESSE     STATUS=FAILED        25 CALLS      421 TOTAL
                     EDM=   .59E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.2345        9818.9        .39355E-02   -1.5296    
   2  Prefactor     63.473        48.450        .11609E-02   -1.4113    
   3  Prefactor     .10000E-03    302.69        .10809E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     51.374        57.006        .14016E-02   -1.4273    
   5  Prefactor     581.19        579.63         .0000       -1.5477    
   6  Prefactor     5.1576        1.0048         .0000       -1.5254    
   7  Prefactor     4.8542        1.0054         .0000       -1.5267    
   8  Prefactor     1.5633        .65097       -.44944E-05   -1.5458    
   9  norm          .10000E-03    .21375        .45670E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    .25239        .73435E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .32968E-03    .44128E-01    .44476E-06   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    .13466       -.63523E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    .22475        .16137E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     151.60        1.0048        .43072E-05   -1.3239    
  15  norm          .10000E-03    .20952        .55617E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    .30896        .24329E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .16174E-03    .32605E-01    .15486E-04   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    .21630       -.10325E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     262.63        3.9873       -.52470E-04   -1.2452    
  20  Normalizat    .67657        1.0055        .32741E-05   -1.0483    
  21  Prefactor     .65689        1.0242        .81467E-04   -1.0524    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.87842e-10
Minuit parameter uncertainties:
  1  576.469
  2  48.4802
  3  0.0015477
  4  57.0668
  5  1.09833
  6  1.00478
  7  1.0054
  8  0.650969
  9  4.79351e-05
  10  5.35208e-06
  11  0.00636718
  12  8.01911e-06
  13  1.01945e-05
  14  1.00483
  15  2.78081e-05
  16  1.85211e-05
  17  0.00283768
  18  7.74515e-06
  19  3.9873
  20  1.03493
  21  1.05587
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 365.23212348

Extracting fit parameters...

4FGL J2355.7-3351
   Spectrum: PowerLaw
550    Prefactor:  1.000e-04  7.745e-06  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.569e-01  1.056e+00  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:  6.766e-01  1.035e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 358.931 -33.861
Photon Flux Upper Limit: 1.18e-06 ph cm-2 s-1
Energy Flux Upper Limit: 9.21e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/196068/likelihoodResults_551145601_551404801_4FGL_J2355.7-3351_daily_bin1203.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) = 365.232148787
delta logL = -2.53077034245e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 365.2321284
delta logL = -4.92009229447e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .44269E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5694       1.0000          .0000       10.000    
     3 'Normalizat'    .67632       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .65715       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=   365.2321     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      239 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10292E-03    188.10        .11078E-01** at limit **
   2  Index         2.4313        6.5952        .50000        .23462E-05
   3  Normalizat    .67658        .37437E-01    .27833E-03    .19708E-05
   4  Prefactor     .65689        .36560E-01    .27348E-03   -.20633E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000102921
  Index      = 2.43128
  Normalizat = 0.67658
  Prefactor  = 0.65689
 **********
 **   18 **HESSE 
 **********

 FCN=   365.2321     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      268 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10292E-03    1524.9        .11431E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4313        6.5098        .50000       -.53954    
   3  Normalizat    .67658        .11394        .11133E-04   -1.0482    
   4  Prefactor     .65689        .11127        .54697E-04   -1.0524    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.54505e-08
Minuit parameter uncertainties:
  1  0.137137
  2  3177.76
  3  0.113977
  4  0.11131
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/196068': 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): 102
logL (Free Index) = 365.232123424
delta logL = 5.53050654162e-08

Extracting fit parameters...

4FGL J2355.7-3351
   Spectrum: PowerLaw
550    Prefactor:  1.029e-04  1.371e-01  1.000e-04  1.000e+04 ( 1.000e-12)
551        Index:  2.431e+00  3.178e+03  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.569e-01  1.113e-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:  6.766e-01  1.140e-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/196068/cmap_HighResolution_551145601_551404801_4FGL_J2355.7-3351_daily_bin1203.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.21e-02', job_status='DONE', photon_flux_upper_limit='1.18e-06', time_completed='2021-09-30 09:26:45.998918', job_id='196068', GAL2='0.66', fit_tolerance='1e-08', EG2='0.68', EG='0.68', time_epoch_completed='1633019206.0', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='101', GAL='0.66', dlogl='5.53e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.58' WHERE bin_id='1203' AND source_name='4FGL J2355.7-3351' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 09:26:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0164>
Subject: Job 196068: <4FGL_J2355.7-3351_daily_bin1203> in cluster <slac> Done

Job <4FGL_J2355.7-3351_daily_bin1203> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Thu Sep 30 09:15:30 2021
Job was executed on host(s) <bullet0164>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 09:15:31 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep 30 09:15:31 2021
Terminated at Thu Sep 30 09:26:46 2021
Results reported at Thu Sep 30 09:26:46 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2355.7-3351_daily_bin1203 358.931 -33.8607 551145601 551404801 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 :                                   599.32 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             242.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   675 sec.
    Turnaround time :                            676 sec.

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

