/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 17 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 = 7420
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2350.6-3005_daily_bin697
RA = 357.665, Dec = -30.087
tmin = 419990401, tmax = 420249601
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='158517', job_status='RUN', time_executed='2021-09-30 07:06:36.886312', time_epoch_executed='1633010796.89' WHERE source_name='4FGL J2350.6-3005' and cadence='daily' and bin_id='697'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/158517

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/158517/ft1_4FGL_J2350.6-3005_daily_bin697.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/158517/ft2_4FGL_J2350.6-3005_daily_bin697.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/158517/ft1_4FGL_J2350.6-3005_daily_bin697.fits outfile=/scratch/kocevski/158517/ft1_filteredMKT_4FGL_J2350.6-3005_daily_bin697.fits ra=357.665 dec=-30.087 rad=12.0 tmin=419990401.0 tmax=420249601.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.45
user 3.19
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/158517/ft2_4FGL_J2350.6-3005_daily_bin697.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/158517/ft2_4FGL_J2350.6-3005_daily_bin697.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/158517/ft1_filteredMKT_4FGL_J2350.6-3005_daily_bin697.fits evtable="EVENTS" outfile="/scratch/kocevski/158517/ft1_filtered_4FGL_J2350.6-3005_daily_bin697.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.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/158517/ft1_filtered_4FGL_J2350.6-3005_daily_bin697.fits" evtable="EVENTS" scfile=/scratch/kocevski/158517/ft2_4FGL_J2350.6-3005_daily_bin697.fits sctable="SC_DATA" outfile=/scratch/kocevski/158517/ltcube_419990401_420249601_4FGL_J2350.6-3005_daily_bin697.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/158517/ft2_4FGL_J2350.6-3005_daily_bin697.fits
.....................!
real 11.89
user 11.48
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/158517/ft1_filtered_4FGL_J2350.6-3005_daily_bin697.fits evtable="EVENTS" scfile=/scratch/kocevski/158517/ft2_4FGL_J2350.6-3005_daily_bin697.fits sctable="SC_DATA" expcube=/scratch/kocevski/158517/ltcube_419990401_420249601_4FGL_J2350.6-3005_daily_bin697.fits outfile=/scratch/kocevski/158517/expmap_419990401_420249601_4FGL_J2350.6-3005_daily_bin697.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/158517/ltcube_419990401_420249601_4FGL_J2350.6-3005_daily_bin697.fits
.....................!
real 190.96
user 185.31
sys 5.33

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 J2350.6-3005 @ 357.665 -30.087

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/158517/ft1_filtered_4FGL_J2350.6-3005_daily_bin697.fits scfile=/scratch/kocevski/158517/ft2_4FGL_J2350.6-3005_daily_bin697.fits outfile=/scratch/kocevski/158517/cmap_419990401_420249601_4FGL_J2350.6-3005_daily_bin697.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=357.665 yref=-30.087 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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/158517/ft1_filtered_4FGL_J2350.6-3005_daily_bin697.fits scfile=/scratch/kocevski/158517/ft2_4FGL_J2350.6-3005_daily_bin697.fits outfile=/scratch/kocevski/158517/cmap_HighResolution_419990401_420249601_4FGL_J2350.6-3005_daily_bin697.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=357.665 yref=-30.087 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/158517/ft1_filtered_4FGL_J2350.6-3005_daily_bin697.fits evtable="EVENTS" scfile=/scratch/kocevski/158517/ft2_4FGL_J2350.6-3005_daily_bin697.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/158517/Model_4FGL_J2350.6-3005_daily_bin697.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/158517/ft1_filtered_4FGL_J2350.6-3005_daily_bin697.fits.....................!
real 45.62
user 44.30
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/158517/ft1_filtered_4FGL_J2350.6-3005_daily_bin697.fits', '/scratch/kocevski/158517/ft2_4FGL_J2350.6-3005_daily_bin697.fits', expMap='/scratch/kocevski/158517/expmap_419990401_420249601_4FGL_J2350.6-3005_daily_bin697.fits', expCube='/scratch/kocevski/158517/ltcube_419990401_420249601_4FGL_J2350.6-3005_daily_bin697.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/158517/Model_4FGL_J2350.6-3005_daily_bin697.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2350.6-3005'

4FGL J2350.6-3005
   Spectrum: PowerLaw
526    Prefactor:  8.104e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
527        Index:  2.022e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
528        Scale:  2.236e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/158517/ft1_filtered_4FGL_J2350.6-3005_daily_bin697.fits
Spacecraft file(s): /scratch/kocevski/158517/ft2_4FGL_J2350.6-3005_daily_bin697.fits
Exposure map: /scratch/kocevski/158517/expmap_419990401_420249601_4FGL_J2350.6-3005_daily_bin697.fits
Exposure cube: /scratch/kocevski/158517/ltcube_419990401_420249601_4FGL_J2350.6-3005_daily_bin697.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/158517/Model_4FGL_J2350.6-3005_daily_bin697.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) = 6009.74469528

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    40.463       1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.3304       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.3931       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .18639       1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.7168       1.0000         .10000E-03   10000.    
     9 'norm      '    6.1664       1.0000         .10000E-03   10000.    
    10 'norm      '    2.7804       1.0000         .10000E-03   10000.    
    11 'Prefactor '    20.276       1.0000         .10000E-03   10000.    
    12 'norm      '    6.0622       1.0000         .10000E-03   10000.    
    13 'norm      '    3.5887       1.0000         .10000E-03   10000.    
    14 'Prefactor '    6.7218       1.0000         .10000E-03   10000.    
    15 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    120.31       1.0000         .10000E-03   10000.    
    17 'Prefactor '    14.035       1.0000         .10000E-03   10000.    
    18 'Prefactor '    6.9241       1.0000         .10000E-03   10000.    
    19 'Prefactor '    12.043       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .86720       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .80754       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=   6009.743     FROM MIGRAD    STATUS=CONVERGED    435 CALLS     2186 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    26.529        .16327E-07** at limit **
   2  Prefactor     40.463        40.197        .13553E-06    .29559E-05
   3  Prefactor     1.3301        3.6154        .95952E-06   -.12947E-03
   4  Prefactor     .10000E-03    14.018       -.13902E-06** at limit **
   5  Prefactor     2.3931        4.9722        .48927E-06    .39136E-04
   6  norm          .10000E-03    10.881        .31032E-06** at limit **
   7  norm          .18640        .38260        .21695E-06    .55579E-03
   8  Prefactor     4.7167        6.1367       -.12187E-06   -.90927E-04
   9  norm          6.1664        6.0782        .42487E-07    .78057E-05
  10  norm          2.7801        5.0579        .57659E-06    .17484E-04
  11  Prefactor     20.263        37.689       -.28029E-05   -.18187E-03
  12  norm          6.0622        4.8218        .68497E-07   -.28792E-04
  13  norm          3.5887        2.7830       -.10232E-06   -.10116E-03
  14  Prefactor     6.7221        20.450        .40151E-05   -.92904E-04
  15  norm          .10000E-03    1.4143       -.19601E-07** at limit **
  16  Prefactor     120.31        78.910       -.83252E-06   -.46069E-04
  17  Prefactor     14.035        18.921       -.30304E-07   -.83761E-05
  18  Prefactor     6.9239        4.9952       -.10839E-06   -.22162E-03
  19  Prefactor     12.047        34.756       -.27689E-07    .36921E-04
  20  Normalizat    .86728        .15095        .27820E-06   -.15185E-03
  21  Prefactor     .80745        .16232       -.94436E-06   -.38129E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 40.4628
  Prefactor  = 1.33011
  Prefactor  = 0.0001
  Prefactor  = 2.39308
  norm       = 0.0001
  norm       = 0.186397
  Prefactor  = 4.71673
  norm       = 6.16642
  norm       = 2.78007
  Prefactor  = 20.263
  norm       = 6.06217
  norm       = 3.58868
  Prefactor  = 6.72213
  norm       = 0.0001
  Prefactor  = 120.306
  Prefactor  = 14.0352
  Prefactor  = 6.92389
  Prefactor  = 12.0472
  Normalizat = 0.867275
  Prefactor  = 0.807449
 **********
 **   18 **HESSE 
 **********

 FCN=   6009.743     FROM HESSE     STATUS=OK           329 CALLS     2515 TOTAL
                     EDM=   .43E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    26.643        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     40.463        40.206        .63015E-04   -1.4435    
   3  Prefactor     1.3301        3.6283        .21646E-03   -1.5477    
   4  Prefactor     .10000E-03    14.049        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.3931        4.9413        .24223E-03   -1.5399    
   6  norm          .10000E-03    11.327        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .18640        .34241        .67427E-03   -1.5622    
   8  Prefactor     4.7167        6.0886        .18528E-03   -1.5274    
   9  norm          6.1664        6.1128        .16167E-03   -1.5211    
  10  norm          2.7801        5.0425        .22618E-03   -1.5374    
  11  Prefactor     20.263        39.696        .88950E-04   -1.4807    
  12  norm          6.0622        4.8494        .13501E-03   -1.5215    
  13  norm          3.5887        2.7699        .10613E-03   -1.5329    
  14  Prefactor     6.7221        20.589        .77383E-03   -1.5189    
  15  norm          .10000E-03    1.4183        .89962E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     120.31        78.946        .36689E-04   -1.3510    
  17  Prefactor     14.035        18.916        .10691E-03   -1.4959    
  18  Prefactor     6.9239        5.0182        .13719E-03   -1.5182    
  19  Prefactor     12.047        34.687        .11543E-03   -1.5014    
  20  Normalizat    .86728        .18018        .20993E-03   -.97620    
  21  Prefactor     .80745        .19198        .24423E-03   -.99454    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.31294e-10
Minuit parameter uncertainties:
  1  1.0006e-05
  2  40.2327
  3  3.62891
  4  2.81448e-05
  5  4.94215
  6  3.98525e-06
  7  0.342411
  8  6.08942
  9  6.11343
  10  5.04329
  11  39.7478
  12  4.84972
  13  2.77004
  14  20.6109
  15  1.3731e-06
  16  79.0152
  17  18.9243
  18  5.01854
  19  34.745
  20  0.180309
  21  0.19214
Done.

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

Extracting fit parameters...

4FGL J2350.6-3005
   Spectrum: PowerLaw
526    Prefactor:  1.404e+01  1.892e+01  1.000e-04  1.000e+04 ( 1.000e-14)
527        Index:  2.022e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
528        Scale:  2.236e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
584    Prefactor:  8.074e-01  1.921e-01  0.000e+00  1.000e+01 ( 1.000e+00)
585        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
586        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
583   Normalization:  8.673e-01  1.803e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.19
Ra Dec: 357.665 -30.087
Photon Index (Fixed Index): 2.02 +/- 0.00
Photon Flux (Fixed Index): 7.34e-09 +/- 9.90e-09
Energy Flux (Fixed Index): 4.81e-06 +/- 6.49e-06

TS (Fixed Index): 1.19
Ra Dec: 357.665 -30.087
Photon Flux Upper Limit: 4.20e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.15e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/158517/likelihoodResults_419990401_420249601_4FGL_J2350.6-3005_daily_bin697.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) = 6009.58669777
delta logL = 0.155897540693

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6009.58654191
delta logL = 0.15605340435

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    21.080       1.0000         .10000E-03   10000.    
     2 'Index     '    1.5544       1.0000          .0000       10.000    
     3 'Normalizat'    .87103       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80466       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.

 FCN=   6009.587     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      260 TOTAL
                     EDM=   .53E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     21.131        1230.3        .21810E-02   -.37844E-05
   2  Index         1.5564        5.4798        .29217        .10938E-04
   3  Normalizat    .87093        .75866E-01    .44530E-01    .17493E-05
   4  Prefactor     .80471        .64766E-01    .43778E-01    .15135E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 21.1307
  Index      = 1.55642
  Normalizat = 0.870933
  Prefactor  = 0.804714
 **********
 **   18 **HESSE 
 **********

 FCN=   6009.587     FROM HESSE     STATUS=OK            31 CALLS      291 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     21.131        27.432        .87238E-04   -1.4788    
   2  Index         1.5564        .76268        .11426E-01   -.75972    
   3  Normalizat    .87093        .16711        .20953E-03   -.97489    
   4  Prefactor     .80471        .18921        .24457E-03   -.99555    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.44527e-10
Minuit parameter uncertainties:
  1  27.448
  2  0.768426
  3  0.167206
  4  0.189363
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/158517': 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) = 6009.58653539
delta logL = 0.156059917435

Extracting fit parameters...

4FGL J2350.6-3005
   Spectrum: PowerLaw
526    Prefactor:  2.113e+01  2.745e+01  1.000e-04  1.000e+04 ( 1.000e-14)
527        Index:  1.556e+00  7.684e-01  0.000e+00  1.000e+01 (-1.000e+00)
528        Scale:  2.236e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
584    Prefactor:  8.047e-01  1.894e-01  0.000e+00  1.000e+01 ( 1.000e+00)
585        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
586        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
583   Normalization:  8.709e-01  1.672e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.50
Ra Dec: 357.665 -30.087
Photon Index (Free Index): 1.56 +/- 0.77
Photon Flux (Free Index): 4.68e-09 +/- 7.15e-09
Energy Flux (Free Index): 1.23e-05 +/- 2.62e-05

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/158517/cmap_HighResolution_419990401_420249601_4FGL_J2350.6-3005_daily_bin697.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.15e-03', comment='SUCCESS', photon_flux='7.34e-09', energy_flux2='1.23e-05', photon_flux_error='9.90e-09', dlogl='1.56e-01', energy_flux='4.81e-06', photon_flux2='4.68e-09', job_status='DONE', time_completed='2021-09-30 07:16:53.246670', photon_index_error2='0.77', photon_index2='1.56', ts='1.19', fit_tolerance='1e-08', GAL='0.81', photon_index_error='0.00', photon_flux_upper_limit='4.20e-08', energy_flux_error2='2.62e-05', EG='0.87', time_epoch_completed='1633011413.25', return_code='0', job_id='158517', GAL2='0.80', EG2='0.87', return_code2='0', energy_flux_error='6.49e-06', photon_flux_error2='7.15e-09', ts2='1.50', photon_index='2.02' WHERE bin_id='697' AND source_name='4FGL J2350.6-3005' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 07:16:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0030>
Subject: Job 158517: <4FGL_J2350.6-3005_daily_bin697> in cluster <slac> Done

Job <4FGL_J2350.6-3005_daily_bin697> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Sep 30 07:06:00 2021
Job was executed on host(s) <bullet0030>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 07:06:01 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep 30 07:06:01 2021
Terminated at Thu Sep 30 07:16:53 2021
Results reported at Thu Sep 30 07:16:53 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2350.6-3005_daily_bin697 357.665 -30.087 419990401 420249601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2350.6-3005 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   605.41 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             278.95 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   652 sec.
    Turnaround time :                            653 sec.

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

