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


Performing analysis on: 4FGL_J2350.6-3005_daily_bin976
RA = 357.665, Dec = -30.087
tmin = 492307201, tmax = 492566401
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='160017', job_status='RUN', time_executed='2021-09-30 07:11:52.949359', time_epoch_executed='1633011112.95' WHERE source_name='4FGL J2350.6-3005' and cadence='daily' and bin_id='976'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/160017

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/160017/ft1_4FGL_J2350.6-3005_daily_bin976.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/160017/ft2_4FGL_J2350.6-3005_daily_bin976.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/160017/ft1_4FGL_J2350.6-3005_daily_bin976.fits outfile=/scratch/kocevski/160017/ft1_filteredMKT_4FGL_J2350.6-3005_daily_bin976.fits ra=357.665 dec=-30.087 rad=12.0 tmin=492307201.0 tmax=492566401.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.71
user 3.49
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/160017/ft1_filtered_4FGL_J2350.6-3005_daily_bin976.fits" evtable="EVENTS" scfile=/scratch/kocevski/160017/ft2_4FGL_J2350.6-3005_daily_bin976.fits sctable="SC_DATA" outfile=/scratch/kocevski/160017/ltcube_492307201_492566401_4FGL_J2350.6-3005_daily_bin976.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/160017/ft2_4FGL_J2350.6-3005_daily_bin976.fits
.....................!
real 11.68
user 11.33
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/160017/ft1_filtered_4FGL_J2350.6-3005_daily_bin976.fits evtable="EVENTS" scfile=/scratch/kocevski/160017/ft2_4FGL_J2350.6-3005_daily_bin976.fits sctable="SC_DATA" expcube=/scratch/kocevski/160017/ltcube_492307201_492566401_4FGL_J2350.6-3005_daily_bin976.fits outfile=/scratch/kocevski/160017/expmap_492307201_492566401_4FGL_J2350.6-3005_daily_bin976.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/160017/ltcube_492307201_492566401_4FGL_J2350.6-3005_daily_bin976.fits
.....................!
real 190.29
user 185.33
sys 4.50

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/160017/ft1_filtered_4FGL_J2350.6-3005_daily_bin976.fits scfile=/scratch/kocevski/160017/ft2_4FGL_J2350.6-3005_daily_bin976.fits outfile=/scratch/kocevski/160017/cmap_492307201_492566401_4FGL_J2350.6-3005_daily_bin976.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.53
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/160017/ft1_filtered_4FGL_J2350.6-3005_daily_bin976.fits scfile=/scratch/kocevski/160017/ft2_4FGL_J2350.6-3005_daily_bin976.fits outfile=/scratch/kocevski/160017/cmap_HighResolution_492307201_492566401_4FGL_J2350.6-3005_daily_bin976.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.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/160017/ft1_filtered_4FGL_J2350.6-3005_daily_bin976.fits evtable="EVENTS" scfile=/scratch/kocevski/160017/ft2_4FGL_J2350.6-3005_daily_bin976.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/160017/Model_4FGL_J2350.6-3005_daily_bin976.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/160017/ft1_filtered_4FGL_J2350.6-3005_daily_bin976.fits.....................!
real 49.96
user 48.58
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/160017/ft1_filtered_4FGL_J2350.6-3005_daily_bin976.fits', '/scratch/kocevski/160017/ft2_4FGL_J2350.6-3005_daily_bin976.fits', expMap='/scratch/kocevski/160017/expmap_492307201_492566401_4FGL_J2350.6-3005_daily_bin976.fits', expCube='/scratch/kocevski/160017/ltcube_492307201_492566401_4FGL_J2350.6-3005_daily_bin976.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/160017/Model_4FGL_J2350.6-3005_daily_bin976.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/160017/ft1_filtered_4FGL_J2350.6-3005_daily_bin976.fits
Spacecraft file(s): /scratch/kocevski/160017/ft2_4FGL_J2350.6-3005_daily_bin976.fits
Exposure map: /scratch/kocevski/160017/expmap_492307201_492566401_4FGL_J2350.6-3005_daily_bin976.fits
Exposure cube: /scratch/kocevski/160017/ltcube_492307201_492566401_4FGL_J2350.6-3005_daily_bin976.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/160017/Model_4FGL_J2350.6-3005_daily_bin976.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) = 6883.272381

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.9353       1.0000         .10000E-03   10000.    
     6 'norm      '    6.4421       1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    14.222       1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    12.074       1.0000         .10000E-03   10000.    
    11 'Prefactor '    51.686       1.0000         .10000E-03   10000.    
    12 'norm      '    .84582E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    7.3233       1.0000         .10000E-03   10000.    
    15 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    47.917       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.2519       1.0000         .10000E-03   10000.    
    19 'Prefactor '    65.622       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .71670       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .98401       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=   6883.226     FROM MIGRAD    STATUS=CONVERGED    422 CALLS     2183 TOTAL
                     EDM=   .97E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    14.348       -.22168E-07** at limit **
   2  Prefactor     .10000E-03    11.309        .16389E-06** at limit **
   3  Prefactor     .10000E-03    2.1586       -.12282E-06** at limit **
   4  Prefactor     .10000E-03    8.8867       -.17361E-06** at limit **
   5  Prefactor     1.9355        6.2682        .72886E-05    .33872E-05
   6  norm          6.4424        3.9821       -.13297E-06    .99407E-05
   7  norm          .10000E-03    .21292       -.50137E-08** at limit **
   8  Prefactor     14.222        8.8414        .11323E-06    .14928E-04
   9  norm          .10000E-03    1.4855       -.15425E-07** at limit **
  10  norm          12.073        7.4921        .12330E-06    .16111E-03
  11  Prefactor     51.676        39.610        .17579E-05    .35437E-04
  12  norm          .10001E-03    1.9502       -.70081E-06** at limit **
  13  norm          .10000E-03    .67843       -.79374E-08** at limit **
  14  Prefactor     7.3232        12.667        .62174E-06    .24627E-04
  15  norm          .10000E-03    1.0212       -.39748E-07** at limit **
  16  Prefactor     48.039        85.294       -.18965E-04   -.32524E-05
  17  Prefactor     .10000E-03    12.958       -.15646E-06** at limit **
  18  Prefactor     1.2520        3.6478        .42628E-06    .70793E-05
  19  Prefactor     65.625        35.898       -.24972E-06    .24132E-04
  20  Normalizat    .71649        .13253       -.21312E-06    .19503E-03
  21  Prefactor     .98418        .14785        .76965E-06    .20830E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.93546
  norm       = 6.44242
  norm       = 0.0001
  Prefactor  = 14.2217
  norm       = 0.0001
  norm       = 12.0733
  Prefactor  = 51.6758
  norm       = 0.000100012
  norm       = 0.0001
  Prefactor  = 7.32324
  norm       = 0.0001
  Prefactor  = 48.0388
  Prefactor  = 0.0001
  Prefactor  = 1.25198
  Prefactor  = 65.6254
  Normalizat = 0.716488
  Prefactor  = 0.984183
 **********
 **   18 **HESSE 
 **********

 FCN=   6883.226     FROM HESSE     STATUS=OK           315 CALLS     2498 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    14.389        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    11.316        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    2.2279        .23729E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    8.9128        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.9355        6.2748        .14925E-02   -1.5430    
   6  norm          6.4424        3.9832        .12657E-03   -1.5200    
   7  norm          .10000E-03    .21309        .18142E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     14.222        8.8408        .53105E-03   -1.4954    
   9  norm          .10000E-03    1.4859        .98746E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          12.073        7.4729        .57643E-03   -1.5013    
  11  Prefactor     51.676        39.629        .55785E-04   -1.4269    
  12  norm          .10001E-03    12.570        .22020E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    .68713        .66709E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     7.3232        12.657        .14821E-03   -1.5167    
  15  norm          .10000E-03    1.0243        .81838E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     48.039        85.357        .28964E-03   -1.4321    
  17  Prefactor     .10000E-03    12.962        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     1.2520        3.6011        .25231E-03   -1.5484    
  19  Prefactor     65.625        35.684        .49542E-04   -1.4086    
  20  Normalizat    .71649        .15486        .22311E-03   -1.0325    
  21  Prefactor     .98418        .17449        .22250E-03   -.93259    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.00012e-09
Minuit parameter uncertainties:
  1  1.49034e-05
  2  8.75135e-06
  3  8.51645e-06
  4  1.12746e-05
  5  6.27693
  6  3.98332
  7  9.24302e-08
  8  8.84159
  9  2.47102e-08
  10  7.47346
  11  39.6495
  12  0.00078421
  13  1.48848e-08
  14  12.6612
  15  2.69775e-07
  16  85.5752
  17  2.75937e-05
  18  3.60172
  19  35.6958
  20  0.154956
  21  0.174591
Done.

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

Extracting fit parameters...

4FGL J2350.6-3005
   Spectrum: PowerLaw
526    Prefactor:  1.000e-04  2.759e-05  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:  9.842e-01  1.746e-01  0.000e+00  1.000e+01 ( 1.000e+00)
585        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
586        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
583   Normalization:  7.165e-01  1.550e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/160017/likelihoodResults_492307201_492566401_4FGL_J2350.6-3005_daily_bin976.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) = 6883.22637554
delta logL = -0.000367544746041

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6883.22600794
delta logL = 6.04495653533e-08

Fit tolerance = 1e-08

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

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

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10170E-03    135.60        .18142E-02** at limit **
   2  Index         1.9341        8.9816        .50000        .11049E-04
   3  Normalizat    .71649        .99425E-02    .22312E-03    .81016E-05
   4  Prefactor     .98418        .11535E-01    .22250E-03    .41387E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001017
  Index      = 1.93409
  Normalizat = 0.716488
  Prefactor  = 0.984183
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10170E-03    576.91        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9341        8.3562        .50000       -.66008    
   3  Normalizat    .71649        .21451E-01    .89247E-05   -1.0325    
   4  Prefactor     .98418        .24884E-01    .89001E-05   -.93259    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.82786e-08
Minuit parameter uncertainties:
  1  0.0632435
  2  856.798
  3  0.0214508
  4  0.0248842
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/160017': 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) = 6883.22600779
delta logL = 2.07728589885e-07

Extracting fit parameters...

4FGL J2350.6-3005
   Spectrum: PowerLaw
526    Prefactor:  1.017e-04  6.324e-02  1.000e-04  1.000e+04 ( 1.000e-14)
527        Index:  1.934e+00  8.568e+02  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:  9.842e-01  2.488e-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:  7.165e-01  2.145e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 357.665 -30.087

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/160017/cmap_HighResolution_492307201_492566401_4FGL_J2350.6-3005_daily_bin976.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.47e-03', job_status='DONE', photon_flux_upper_limit='3.29e-08', time_completed='2021-09-30 07:22:50.850638', job_id='160017', GAL2='0.98', fit_tolerance='1e-08', EG2='0.72', EG='0.72', time_epoch_completed='1633011770.85', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='2.08e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.02' WHERE bin_id='976' AND source_name='4FGL J2350.6-3005' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 07:22:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0210>
Subject: Job 160017: <4FGL_J2350.6-3005_daily_bin976> in cluster <slac> Done

Job <4FGL_J2350.6-3005_daily_bin976> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Thu Sep 30 07:11:03 2021
Job was executed on host(s) <bullet0210>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 07:11:04 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:11:04 2021
Terminated at Thu Sep 30 07:22:51 2021
Results reported at Thu Sep 30 07:22:51 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2350.6-3005_daily_bin976 357.665 -30.087 492307201 492566401 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 :                                   642.02 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             314.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   707 sec.
    Turnaround time :                            708 sec.

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

