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


Performing analysis on: 4FGL_J2355.7-3351_daily_bin215
RA = 358.931, Dec = -33.8607
tmin = 295056001, tmax = 295315201
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='190608', job_status='RUN', time_executed='2021-09-30 08:59:02.691084', time_epoch_executed='1633017542.69' WHERE source_name='4FGL J2355.7-3351' and cadence='daily' and bin_id='215'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/190608

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/190608/ft1_4FGL_J2355.7-3351_daily_bin215.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/190608/ft2_4FGL_J2355.7-3351_daily_bin215.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/190608/ft1_4FGL_J2355.7-3351_daily_bin215.fits outfile=/scratch/kocevski/190608/ft1_filteredMKT_4FGL_J2355.7-3351_daily_bin215.fits ra=358.931 dec=-33.8607 rad=12.0 tmin=295056001.0 tmax=295315201.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 2.57
user 2.38
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/190608/ft2_4FGL_J2355.7-3351_daily_bin215.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/190608/ft1_filteredMKT_4FGL_J2355.7-3351_daily_bin215.fits evtable="EVENTS" outfile="/scratch/kocevski/190608/ft1_filtered_4FGL_J2355.7-3351_daily_bin215.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.32
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/190608/ft1_filtered_4FGL_J2355.7-3351_daily_bin215.fits" evtable="EVENTS" scfile=/scratch/kocevski/190608/ft2_4FGL_J2355.7-3351_daily_bin215.fits sctable="SC_DATA" outfile=/scratch/kocevski/190608/ltcube_295056001_295315201_4FGL_J2355.7-3351_daily_bin215.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/190608/ft2_4FGL_J2355.7-3351_daily_bin215.fits
.....................!
real 12.86
user 12.51
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/190608/ft1_filtered_4FGL_J2355.7-3351_daily_bin215.fits evtable="EVENTS" scfile=/scratch/kocevski/190608/ft2_4FGL_J2355.7-3351_daily_bin215.fits sctable="SC_DATA" expcube=/scratch/kocevski/190608/ltcube_295056001_295315201_4FGL_J2355.7-3351_daily_bin215.fits outfile=/scratch/kocevski/190608/expmap_295056001_295315201_4FGL_J2355.7-3351_daily_bin215.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/190608/ltcube_295056001_295315201_4FGL_J2355.7-3351_daily_bin215.fits
.....................!
real 190.29
user 185.03
sys 4.90

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/190608/ft1_filtered_4FGL_J2355.7-3351_daily_bin215.fits scfile=/scratch/kocevski/190608/ft2_4FGL_J2355.7-3351_daily_bin215.fits outfile=/scratch/kocevski/190608/cmap_295056001_295315201_4FGL_J2355.7-3351_daily_bin215.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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/190608/ft1_filtered_4FGL_J2355.7-3351_daily_bin215.fits scfile=/scratch/kocevski/190608/ft2_4FGL_J2355.7-3351_daily_bin215.fits outfile=/scratch/kocevski/190608/cmap_HighResolution_295056001_295315201_4FGL_J2355.7-3351_daily_bin215.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=358.931 yref=-33.8607 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.54
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/190608/ft1_filtered_4FGL_J2355.7-3351_daily_bin215.fits evtable="EVENTS" scfile=/scratch/kocevski/190608/ft2_4FGL_J2355.7-3351_daily_bin215.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/190608/Model_4FGL_J2355.7-3351_daily_bin215.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/190608/ft1_filtered_4FGL_J2355.7-3351_daily_bin215.fits.....................!
real 46.90
user 45.54
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    27.370       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .24588       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.0434       1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.8175       1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.1556       1.0000         .10000E-03   10000.    
     7 'Prefactor '    36.184       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    18.292       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10166E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    22.717       1.0000         .10000E-03   10000.    
    13 'norm      '    2.7512       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    7.9168       1.0000         .10000E-03   10000.    
    17 'Prefactor '    18.579       1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.9091       1.0000         .10000E-03   10000.    
    19 'Prefactor '    9.7600       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .92785       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .79649       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=   6319.017     FROM MIGRAD    STATUS=CONVERGED    432 CALLS     2221 TOTAL
                     EDM=   .24E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     27.370        30.396        .86058E-07   -.52419E-05
   2  Prefactor     .24592        2.6109        .66165E-06   -.30845E-04
   3  Prefactor     .10000E-03    5.4986        .38703E-07** at limit **
   4  Prefactor     2.0436        6.2665        .68131E-05    .11225E-04
   5  Prefactor     6.8136        15.528        .48107E-07   -.31390E-04
   6  Prefactor     2.1539        4.7109        .66967E-06    .15572E-03
   7  Prefactor     36.189        24.597       -.67658E-06    .13222E-04
   8  Prefactor     .10000E-03    3.4239        .18768E-06** at limit **
   9  norm          .10000E-03    1.1612        .64863E-08** at limit **
  10  norm          18.292        7.6678        .54056E-07   -.25378E-04
  11  Prefactor     .10000E-03    35.312        .27549E-06** at limit **
  12  Prefactor     22.717        26.875       -.23585E-09   -.90872E-05
  13  norm          2.7501        2.3617        .49460E-07   -.22322E-05
  14  Prefactor     .10000E-03    11.314       -.56045E-06** at limit **
  15  norm          .10000E-03    1.7236        .97029E-07** at limit **
  16  Prefactor     7.8793        180.83        .64919E-05   -.63416E-04
  17  Prefactor     18.580        25.799       -.17695E-06   -.23317E-04
  18  Prefactor     2.9099        4.5013        .44212E-07   -.92623E-04
  19  Prefactor     9.7545        26.932        .55291E-06   -.47273E-04
  20  Normalizat    .92776        .13967        .49338E-06   -.26810E-04
  21  Prefactor     .79658        .15617       -.16555E-05   -.14353E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 27.3697
  Prefactor  = 0.245923
  Prefactor  = 0.0001
  Prefactor  = 2.04364
  Prefactor  = 6.81355
  Prefactor  = 2.15393
  Prefactor  = 36.1887
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 18.2922
  Prefactor  = 0.0001
  Prefactor  = 22.7171
  norm       = 2.75009
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 7.87933
  Prefactor  = 18.5798
  Prefactor  = 2.90988
  Prefactor  = 9.7545
  Normalizat = 0.92776
  Prefactor  = 0.796582
 **********
 **   18 **HESSE 
 **********

 FCN=   6319.017     FROM HESSE     STATUS=OK           325 CALLS     2546 TOTAL
                     EDM=   .10E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     27.370        30.403        .76576E-04   -1.4661    
   2  Prefactor     .24592        2.6938        .24500E-02   -1.5609    
   3  Prefactor     .10000E-03    5.5006        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     2.0436        6.2810        .14463E-02   -1.5422    
   5  Prefactor     6.8136        15.457        .15367E-03   -1.5186    
   6  Prefactor     2.1539        4.6094        .20742E-03   -1.5414    
   7  Prefactor     36.189        24.257        .66624E-04   -1.4504    
   8  Prefactor     .10000E-03    3.4894        .14366E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    1.1618        .83632E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          18.292        7.6675        .93646E-04   -1.4852    
  11  Prefactor     .10000E-03    36.121        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     22.717        26.907        .84040E-04   -1.4754    
  13  norm          2.7501        2.3533        .10944E-03   -1.5376    
  14  Prefactor     .10000E-03    11.354        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    1.7910        .20360E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     7.8793        183.75        .14251E-03   -1.5146    
  17  Prefactor     18.580        25.796        .92920E-04   -1.4846    
  18  Prefactor     2.9099        4.4876        .19508E-03   -1.5367    
  19  Prefactor     9.7545        26.867        .12827E-03   -1.5083    
  20  Normalizat    .92776        .16664        .20188E-03   -.95491    
  21  Prefactor     .79658        .18494        .24836E-03   -.99854    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.0038e-07
Minuit parameter uncertainties:
  1  30.4201
  2  1.6276
  3  4.25052e-06
  4  6.28306
  5  15.4661
  6  4.61012
  7  24.2641
  8  2.09287e-05
  9  4.36396e-07
  10  7.66794
  11  0.000115872
  12  26.9217
  13  2.35338
  14  0.000110898
  15  8.1003e-06
  16  76.3664
  17  25.8112
  18  4.48808
  19  26.9006
  20  0.166732
  21  0.185087
Done.

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

Extracting fit parameters...

4FGL J2355.7-3351
   Spectrum: PowerLaw
550    Prefactor:  2.910e+00  4.488e+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:  7.966e-01  1.851e-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:  9.278e-01  1.667e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/190608/likelihoodResults_295056001_295315201_4FGL_J2355.7-3351_daily_bin215.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) = 6318.8146137
delta logL = 0.202086474836

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6318.80764489
delta logL = 0.209055291195

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.7679       1.0000         .10000E-03   10000.    
     2 'Index     '    3.4245       1.0000          .0000       10.000    
     3 'Normalizat'    .90852       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81146       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=   6318.808     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      272 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.7674        4.6605        .11353E-03   -.64499E-03
   2  Index         3.4238        1.8916        .94503E-02   -.70582E-04
   3  Normalizat    .90841        .16574        .20376E-03   -.15539E-03
   4  Prefactor     .81151        .18714        .24628E-03   -.12810E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.7674
  Index      = 3.4238
  Normalizat = 0.908412
  Prefactor  = 0.811508
 **********
 **   18 **HESSE 
 **********

 FCN=   6318.808     FROM HESSE     STATUS=OK            25 CALLS      297 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.7674        3.5371        .45412E-05   -1.5442    
   2  Index         3.4238        1.4504        .37801E-03   -.32071    
   3  Normalizat    .90841        .16575        .81504E-05   -.96165    
   4  Prefactor     .81151        .18700        .98513E-05   -.99306    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.30161e-10
Minuit parameter uncertainties:
  1  3.53754
  2  1.47395
  3  0.165842
  4  0.187144
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/190608': 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) = 6318.80764347
delta logL = 0.209056712669

Extracting fit parameters...

4FGL J2355.7-3351
   Spectrum: PowerLaw
550    Prefactor:  1.767e+00  3.538e+00  1.000e-04  1.000e+04 ( 1.000e-12)
551        Index:  3.424e+00  1.474e+00  0.000e+00  1.000e+01 (-1.000e+00)
552        Scale:  5.821e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
584    Prefactor:  8.115e-01  1.871e-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:  9.084e-01  1.658e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.54
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/190608/cmap_HighResolution_295056001_295315201_4FGL_J2355.7-3351_daily_bin215.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.03e-03', job_status='DONE', photon_flux_upper_limit='7.72e-08', time_completed='2021-09-30 09:09:26.903246', job_id='190608', GAL2='0.81', fit_tolerance='1e-08', EG2='0.91', EG='0.93', time_epoch_completed='1633018166.9', return_code2='0', ts='0.54', comment='SUCCESS', return_code='0', GAL='0.80', dlogl='2.09e-01', ts2='0.99', photon_index_error='0.00', photon_index='2.58' WHERE bin_id='215' AND source_name='4FGL J2355.7-3351' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 09:09:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0073>
Subject: Job 190608: <4FGL_J2355.7-3351_daily_bin215> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2355.7-3351_daily_bin215 358.931 -33.8607 295056001 295315201 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 :                                   623.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             273.11 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   838 sec.
    Turnaround time :                            840 sec.

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

