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


Performing analysis on: 4FGL_J2355.7-3351_daily_bin368
RA = 358.931, Dec = -33.8607
tmin = 334713601, tmax = 334972801
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='191780', job_status='RUN', time_executed='2021-09-30 09:03:01.083230', time_epoch_executed='1633017781.08' WHERE source_name='4FGL J2355.7-3351' and cadence='daily' and bin_id='368'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/191780

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/191780/ft1_4FGL_J2355.7-3351_daily_bin368.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/191780/ft2_4FGL_J2355.7-3351_daily_bin368.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/191780/ft1_4FGL_J2355.7-3351_daily_bin368.fits outfile=/scratch/kocevski/191780/ft1_filteredMKT_4FGL_J2355.7-3351_daily_bin368.fits ra=358.931 dec=-33.8607 rad=12.0 tmin=334713601.0 tmax=334972801.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.49
user 3.27
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/191780/ft2_4FGL_J2355.7-3351_daily_bin368.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/191780/ft1_filteredMKT_4FGL_J2355.7-3351_daily_bin368.fits evtable="EVENTS" outfile="/scratch/kocevski/191780/ft1_filtered_4FGL_J2355.7-3351_daily_bin368.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.48
user 0.35
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/191780/ft1_filtered_4FGL_J2355.7-3351_daily_bin368.fits" evtable="EVENTS" scfile=/scratch/kocevski/191780/ft2_4FGL_J2355.7-3351_daily_bin368.fits sctable="SC_DATA" outfile=/scratch/kocevski/191780/ltcube_334713601_334972801_4FGL_J2355.7-3351_daily_bin368.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/191780/ft2_4FGL_J2355.7-3351_daily_bin368.fits
.....................!
real 11.57
user 11.19
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/191780/ft1_filtered_4FGL_J2355.7-3351_daily_bin368.fits evtable="EVENTS" scfile=/scratch/kocevski/191780/ft2_4FGL_J2355.7-3351_daily_bin368.fits sctable="SC_DATA" expcube=/scratch/kocevski/191780/ltcube_334713601_334972801_4FGL_J2355.7-3351_daily_bin368.fits outfile=/scratch/kocevski/191780/expmap_334713601_334972801_4FGL_J2355.7-3351_daily_bin368.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/191780/ltcube_334713601_334972801_4FGL_J2355.7-3351_daily_bin368.fits
.....................!
real 189.25
user 184.88
sys 4.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/191780/ft1_filtered_4FGL_J2355.7-3351_daily_bin368.fits scfile=/scratch/kocevski/191780/ft2_4FGL_J2355.7-3351_daily_bin368.fits outfile=/scratch/kocevski/191780/cmap_334713601_334972801_4FGL_J2355.7-3351_daily_bin368.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.52
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/191780/ft1_filtered_4FGL_J2355.7-3351_daily_bin368.fits scfile=/scratch/kocevski/191780/ft2_4FGL_J2355.7-3351_daily_bin368.fits outfile=/scratch/kocevski/191780/cmap_HighResolution_334713601_334972801_4FGL_J2355.7-3351_daily_bin368.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.53
user 0.40
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/191780/ft1_filtered_4FGL_J2355.7-3351_daily_bin368.fits evtable="EVENTS" scfile=/scratch/kocevski/191780/ft2_4FGL_J2355.7-3351_daily_bin368.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/191780/Model_4FGL_J2355.7-3351_daily_bin368.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/191780/ft1_filtered_4FGL_J2355.7-3351_daily_bin368.fits.....................!
real 35.97
user 34.78
sys 1.12

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    20.634       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    23.752       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    8.5582       1.0000         .10000E-03   10000.    
     6 'Prefactor '    17.443       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10489E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    41.886       1.0000         .10000E-03   10000.    
     9 'norm      '    14.778       1.0000         .10000E-03   10000.    
    10 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.1746       1.0000         .10000E-03   10000.    
    12 'Prefactor '    69.353       1.0000         .10000E-03   10000.    
    13 'norm      '    .49824E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.4932       1.0000         .10000E-03   10000.    
    15 'norm      '    2.0479       1.0000         .10000E-03   10000.    
    16 'Prefactor '    27.383       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    20.399       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.5707       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .56607       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=   4173.273     FROM MIGRAD    STATUS=CONVERGED    473 CALLS     2233 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     20.648        60.734       -.12696E-06    .92249E-05
   2  Prefactor     .10000E-03    2.4415        .11775E-06** at limit **
   3  Prefactor     23.748        26.906       -.87741E-07    .17147E-04
   4  Prefactor     .10000E-03    6.0711        .81712E-07** at limit **
   5  Prefactor     8.5652        30.495        .90044E-07    .65960E-05
   6  Prefactor     17.439        11.016       -.72318E-07    .74764E-04
   7  Prefactor     .10000E-03    126.39        .27349E-06** at limit **
   8  Prefactor     41.883        18.175       -.92764E-07    .66515E-04
   9  norm          14.788        8.6300        .35400E-06    .39604E-03
  10  norm          .10000E-03    3.2524        .78667E-07** at limit **
  11  Prefactor     .90702        454.96        .24774E-04   -.83696E-04
  12  Prefactor     69.315        64.589       -.28539E-06    .36671E-04
  13  norm          .10013E-03    7.3368       -.30729E-05** at limit **
  14  Prefactor     1.4053        444.68       -.84277E-05   -.20620E-04
  15  norm          2.0548        5.7685        .74084E-06    .29996E-03
  16  Prefactor     27.769        206.25        .20328E-05    .37597E-04
  17  Prefactor     .10000E-03    23.707        .20974E-07** at limit **
  18  Prefactor     .10000E-03    2.2822        .65326E-07** at limit **
  19  Prefactor     20.407        49.688       -.35768E-06    .15466E-04
  20  Normalizat    1.5708        .27692        .15652E-05    .93834E-04
  21  Prefactor     .56607        .27485       -.26660E-05    .22374E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 20.6477
  Prefactor  = 0.0001
  Prefactor  = 23.7484
  Prefactor  = 0.0001
  Prefactor  = 8.56516
  Prefactor  = 17.4386
  Prefactor  = 0.0001
  Prefactor  = 41.8835
  norm       = 14.788
  norm       = 0.0001
  Prefactor  = 0.907024
  Prefactor  = 69.3153
  norm       = 0.00010013
  Prefactor  = 1.40526
  norm       = 2.05481
  Prefactor  = 27.7688
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 20.4073
  Normalizat = 1.5708
  Prefactor  = 0.566074
 **********
 **   18 **HESSE 
 **********

 FCN=   4173.273     FROM HESSE     STATUS=OK           323 CALLS     2556 TOTAL
                     EDM=   .68E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     20.648        60.722        .88175E-04   -1.4799    
   2  Prefactor     .10000E-03    2.4479        .98427E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     23.748        26.887        .82190E-04   -1.4733    
   4  Prefactor     .10000E-03    6.0751        .15545E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     8.5652        30.437        .13703E-03   -1.5123    
   6  Prefactor     17.439        10.977        .95899E-04   -1.4873    
   7  Prefactor     .10000E-03    127.41        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     41.883        18.194        .61939E-04   -1.4413    
   9  norm          14.788        8.8059        .10419E-03   -1.4939    
  10  norm          .10000E-03    3.2547        .11378E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .90702        601.81        .81161E-02   -1.5517    
  12  Prefactor     69.315        64.606        .48200E-04   -1.4041    
  13  norm          .10013E-03    28.406        .22539E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.4053        472.87        .35072E-02   -1.5471    
  15  norm          2.0548        6.1287        .23035E-03   -1.5421    
  16  Prefactor     27.769        209.28        .38279E-03   -1.4654    
  17  Prefactor     .10000E-03    23.713        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    2.2848        .95284E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     20.407        49.689        .88682E-04   -1.4804    
  20  Normalizat    1.5708        .28621        .21937E-03   -.75808    
  21  Prefactor     .56607        .27903        .36159E-03   -1.0903    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.79967e-09
Minuit parameter uncertainties:
  1  60.9042
  2  6.12048e-07
  3  26.9009
  4  1.96686e-06
  5  30.4919
  6  10.9778
  7  4.91985e-05
  8  18.1966
  9  8.80667
  10  4.71493e-06
  11  47.2085
  12  64.6713
  13  0.00384348
  14  51.9732
  15  6.13061
  16  153.221
  17  1.92666e-05
  18  7.19538e-07
  19  49.7904
  20  0.286504
  21  0.27971
Done.

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

Extracting fit parameters...

4FGL J2355.7-3351
   Spectrum: PowerLaw
550    Prefactor:  1.000e-04  7.195e-07  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:  5.661e-01  2.797e-01  0.000e+00  1.000e+01 ( 1.000e+00)
585        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
586        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
583   Normalization:  1.571e+00  2.865e-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.20e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.63e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/191780/likelihoodResults_334713601_334972801_4FGL_J2355.7-3351_daily_bin368.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) = 4173.27504244
delta logL = -0.00193657093769

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4173.27310582
delta logL = 4.95610947837e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5724       1.0000          .0000       10.000    
     3 'Normalizat'    1.5708       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .56608       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=   4173.273     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      254 TOTAL
                     EDM=   .19E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    26.261        .95519E-02** at limit **
   2  Index         2.2389        5.8315        .50000       -.22033E-07
   3  Normalizat    1.5708        .18773E-01    .21937E-03   -.49709E-04
   4  Prefactor     .56607        .19664E-01    .36157E-03   -.25877E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.23889
  Normalizat = 1.5708
  Prefactor  = 0.566068
 **********
 **   18 **HESSE 
 **********

 FCN=   4173.273     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      283 TOTAL
                     EDM=   .16E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    224.54        .98152E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2389        5.3402        .50000       -.58503    
   3  Normalizat    1.5708        .61608E-01    .43874E-04   -.75808    
   4  Prefactor     .56607        .64525E-01    .14463E-04   -1.0903    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.59556e-11
Minuit parameter uncertainties:
  1  8.96e-06
  2  1081.34
  3  0.0616109
  4  0.0645334
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/191780': 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) = 4173.27310462
delta logL = 1.24539019453e-06

Extracting fit parameters...

4FGL J2355.7-3351
   Spectrum: PowerLaw
550    Prefactor:  1.000e-04  8.960e-06  1.000e-04  1.000e+04 ( 1.000e-12)
551        Index:  2.239e+00  1.081e+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:  5.661e-01  6.453e-02  0.000e+00  1.000e+01 ( 1.000e+00)
585        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
586        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
583   Normalization:  1.571e+00  6.161e-02  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/191780/cmap_HighResolution_334713601_334972801_4FGL_J2355.7-3351_daily_bin368.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.63e-03', job_status='DONE', photon_flux_upper_limit='7.20e-08', time_completed='2021-09-30 09:11:36.899160', job_id='191780', GAL2='0.57', fit_tolerance='1e-08', EG2='1.57', EG='1.57', time_epoch_completed='1633018296.9', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.57', dlogl='1.25e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.58' WHERE bin_id='368' AND source_name='4FGL J2355.7-3351' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 09:11:36 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0228>
Subject: Job 191780: <4FGL_J2355.7-3351_daily_bin368> in cluster <slac> Done

Job <4FGL_J2355.7-3351_daily_bin368> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Thu Sep 30 09:00:20 2021
Job was executed on host(s) <bullet0228>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 09:00:22 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:00:22 2021
Terminated at Thu Sep 30 09:11:37 2021
Results reported at Thu Sep 30 09:11:37 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2355.7-3351_daily_bin368 358.931 -33.8607 334713601 334972801 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 :                                   513.44 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             233.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   675 sec.
    Turnaround time :                            677 sec.

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

