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


Performing analysis on: 4FGL_J2350.6-3005_daily_bin614
RA = 357.665, Dec = -30.087
tmin = 398476801, tmax = 398736001
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='158392', job_status='RUN', time_executed='2021-09-30 07:06:02.808639', time_epoch_executed='1633010762.81' WHERE source_name='4FGL J2350.6-3005' and cadence='daily' and bin_id='614'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/158392

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

Retrieving the FT1 file...

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

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

Retrieving 50 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/158392/ft1_4FGL_J2350.6-3005_daily_bin614.fits


Retrieving the FT1 file...

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

Retrieving 50 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/158392/ft2_4FGL_J2350.6-3005_daily_bin614.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/158392/ft1_4FGL_J2350.6-3005_daily_bin614.fits outfile=/scratch/kocevski/158392/ft1_filteredMKT_4FGL_J2350.6-3005_daily_bin614.fits ra=357.665 dec=-30.087 rad=12.0 tmin=398476801.0 tmax=398736001.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 7.42
user 7.12
sys 0.25

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/158392/ft1_filtered_4FGL_J2350.6-3005_daily_bin614.fits" evtable="EVENTS" scfile=/scratch/kocevski/158392/ft2_4FGL_J2350.6-3005_daily_bin614.fits sctable="SC_DATA" outfile=/scratch/kocevski/158392/ltcube_398476801_398736001_4FGL_J2350.6-3005_daily_bin614.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/158392/ft2_4FGL_J2350.6-3005_daily_bin614.fits
.....................!
real 11.70
user 11.26
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/158392/ft1_filtered_4FGL_J2350.6-3005_daily_bin614.fits evtable="EVENTS" scfile=/scratch/kocevski/158392/ft2_4FGL_J2350.6-3005_daily_bin614.fits sctable="SC_DATA" expcube=/scratch/kocevski/158392/ltcube_398476801_398736001_4FGL_J2350.6-3005_daily_bin614.fits outfile=/scratch/kocevski/158392/expmap_398476801_398736001_4FGL_J2350.6-3005_daily_bin614.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/158392/ltcube_398476801_398736001_4FGL_J2350.6-3005_daily_bin614.fits
.....................!
real 190.66
user 185.47
sys 4.66

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/158392/ft1_filtered_4FGL_J2350.6-3005_daily_bin614.fits scfile=/scratch/kocevski/158392/ft2_4FGL_J2350.6-3005_daily_bin614.fits outfile=/scratch/kocevski/158392/cmap_398476801_398736001_4FGL_J2350.6-3005_daily_bin614.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/158392/ft1_filtered_4FGL_J2350.6-3005_daily_bin614.fits scfile=/scratch/kocevski/158392/ft2_4FGL_J2350.6-3005_daily_bin614.fits outfile=/scratch/kocevski/158392/cmap_HighResolution_398476801_398736001_4FGL_J2350.6-3005_daily_bin614.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.54
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/158392/ft1_filtered_4FGL_J2350.6-3005_daily_bin614.fits evtable="EVENTS" scfile=/scratch/kocevski/158392/ft2_4FGL_J2350.6-3005_daily_bin614.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/158392/Model_4FGL_J2350.6-3005_daily_bin614.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/158392/ft1_filtered_4FGL_J2350.6-3005_daily_bin614.fits......................!
real 24.85
user 23.59
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    68.889       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10103E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10514E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    32.756       1.0000         .10000E-03   10000.    
     5 'Prefactor '    9.2510       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.5096       1.0000         .10000E-03   10000.    
     9 'norm      '    .10270E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    35.684       1.0000         .10000E-03   10000.    
    11 'Prefactor '    35.819       1.0000         .10000E-03   10000.    
    12 'norm      '    16.892       1.0000         .10000E-03   10000.    
    13 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10124E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10101E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .28379E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    54.000       1.0000         .10000E-03   10000.    
    18 'Prefactor '    8.1991       1.0000         .10000E-03   10000.    
    19 'Prefactor '    146.74       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.1359       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .60855       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=   1810.345     FROM MIGRAD    STATUS=CONVERGED    424 CALLS     2190 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          68.917        63.477        .44273E-06    .29869E-04
   2  Prefactor     .10000E-03    80.644        .55157E-07** at limit **
   3  Prefactor     .10000E-03    8.9147       -.13753E-05** at limit **
   4  Prefactor     32.752        76.094        .84392E-06   -.34509E-05
   5  Prefactor     9.2571        23.395        .30064E-06    .55700E-05
   6  norm          .10000E-03    7.5298       -.34488E-07** at limit **
   7  norm          .10000E-03    .48186       -.28131E-06** at limit **
   8  Prefactor     3.5101        10.342        .97898E-05   -.18127E-04
   9  norm          .10000E-03    12.306       -.69508E-07** at limit **
  10  norm          35.691        34.164        .34924E-06    .40879E-04
  11  Prefactor     36.016        112.93        .19191E-05    .60213E-04
  12  norm          16.896        17.396        .28515E-06   -.13539E-04
  13  norm          .10000E-03    1.6389       -.10265E-06** at limit **
  14  Prefactor     .10000E-03    23.453       -.16609E-06** at limit **
  15  norm          .10000E-03    10.940       -.12384E-06** at limit **
  16  Prefactor     .10000E-03    208.79       -.95478E-06** at limit **
  17  Prefactor     53.967        94.502        .14714E-06   -.20609E-04
  18  Prefactor     8.2069        20.849        .79950E-06   -.65947E-06
  19  Prefactor     146.54        142.04       -.62412E-06   -.76316E-04
  20  Normalizat    1.1352        .33157       -.40718E-05    .78610E-04
  21  Prefactor     .60908        .31979        .23165E-05   -.16739E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 68.9173
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 32.7516
  Prefactor  = 9.25713
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 3.51006
  norm       = 0.0001
  norm       = 35.6915
  Prefactor  = 36.0157
  norm       = 16.8963
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 53.9674
  Prefactor  = 8.20686
  Prefactor  = 146.54
  Normalizat = 1.13524
  Prefactor  = 0.609079
 **********
 **   18 **HESSE 
 **********

 FCN=   1810.345     FROM HESSE     STATUS=OK           317 CALLS     2507 TOTAL
                     EDM=   .48E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          68.917        63.481        .24181E-03   -1.4046    
   2  Prefactor     .10000E-03    80.651        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    8.9596        .12387E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     32.752        76.019        .70013E-04   -1.4563    
   5  Prefactor     9.2571        23.391        .13177E-03   -1.5099    
   6  norm          .10000E-03    7.5299        .11405E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    .55587        .57662E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.5101        10.385        .10790E-02   -1.5333    
   9  norm          .10000E-03    12.309        .14579E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          35.691        34.138        .67088E-04   -1.4512    
  11  Prefactor     36.016        112.83        .33481E-03   -1.4507    
  12  norm          16.896        17.409        .97448E-04   -1.4886    
  13  norm          .10000E-03    1.6459        .53162E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    23.480        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    10.948        .13742E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    209.08        .21413E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     53.967        94.513        .27292E-03   -1.4237    
  18  Prefactor     8.2069        20.851        .14001E-03   -1.5135    
  19  Prefactor     146.54        142.16        .16633E-03   -1.3281    
  20  Normalizat    1.1352        .38719        .22626E-03   -.88628    
  21  Prefactor     .60908        .37324        .29376E-03   -1.0721    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.80981e-10
Minuit parameter uncertainties:
  1  63.5434
  2  0.000100298
  3  1.90327e-05
  4  76.245
  5  23.4141
  6  6.46404e-07
  7  1.3322e-05
  8  10.3903
  9  4.88648e-06
  10  34.1563
  11  113.508
  12  17.414
  13  3.82516e-06
  14  1.49523e-05
  15  4.2634e-07
  16  0.000593805
  17  94.7768
  18  20.8696
  19  142.496
  20  0.388171
  21  0.374776
Done.

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

Extracting fit parameters...

4FGL J2350.6-3005
   Spectrum: PowerLaw
526    Prefactor:  5.397e+01  9.478e+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:  6.091e-01  3.748e-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.135e+00  3.882e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.53
Ra Dec: 357.665 -30.087
Photon Flux Upper Limit: 1.96e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.47e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/158392/likelihoodResults_398476801_398736001_4FGL_J2350.6-3005_daily_bin614.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) = 1810.34440542
delta logL = 0.000899475072856

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1810.34396653
delta logL = 0.00133836552322

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    50.652       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0814       1.0000          .0000       10.000    
     3 'Normalizat'    1.1345       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .60935       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=   1810.344     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      264 TOTAL
                     EDM=   .98E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     50.702        115.27        .28174E-03    .14769E-04
   2  Index         2.0810        1.1931        .78427E-02    .10496E-03
   3  Normalizat    1.1340        .37715        .22637E-03   -.35489E-04
   4  Prefactor     .60975        .36922        .29360E-03    .23649E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 50.7023
  Index      = 2.08103
  Normalizat = 1.13403
  Prefactor  = 0.60975
 **********
 **   18 **HESSE 
 **********

 FCN=   1810.344     FROM HESSE     STATUS=OK            25 CALLS      289 TOTAL
                     EDM=   .65E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     50.702        110.73        .11270E-04   -1.4283    
   2  Index         2.0810        1.1471        .15685E-02   -.62339    
   3  Normalizat    1.1340        .37737        .45274E-04   -.88667    
   4  Prefactor     .60975        .36949        .11744E-04   -1.0718    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.51874e-11
Minuit parameter uncertainties:
  1  111.179
  2  1.16292
  3  0.378279
  4  0.370976
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/158392': 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) = 1810.34396568
delta logL = 0.00133921765791

Extracting fit parameters...

4FGL J2350.6-3005
   Spectrum: PowerLaw
526    Prefactor:  5.070e+01  1.112e+02  1.000e-04  1.000e+04 ( 1.000e-14)
527        Index:  2.081e+00  1.163e+00  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:  6.097e-01  3.710e-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.134e+00  3.783e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/158392/cmap_HighResolution_398476801_398736001_4FGL_J2350.6-3005_daily_bin614.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.47e-02', job_status='DONE', photon_flux_upper_limit='1.96e-07', time_completed='2021-09-30 07:13:11.470606', job_id='158392', GAL2='0.61', fit_tolerance='1e-08', EG2='1.13', EG='1.14', time_epoch_completed='1633011191.47', return_code2='0', ts='0.53', comment='SUCCESS', return_code='0', GAL='0.61', dlogl='1.34e-03', ts2='0.53', photon_index_error='0.00', photon_index='2.02' WHERE bin_id='614' AND source_name='4FGL J2350.6-3005' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 07:13:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0222>
Subject: Job 158392: <4FGL_J2350.6-3005_daily_bin614> in cluster <slac> Done

Job <4FGL_J2350.6-3005_daily_bin614> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Sep 30 07:05:48 2021
Job was executed on host(s) <bullet0222>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 07:05:51 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:05:51 2021
Terminated at Thu Sep 30 07:13:12 2021
Results reported at Thu Sep 30 07:13:12 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2350.6-3005_daily_bin614 357.665 -30.087 398476801 398736001 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 :                                   419.03 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             393.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   440 sec.
    Turnaround time :                            444 sec.

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

