/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 213 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 = 7417
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2350.6-3005_daily_bin89
RA = 357.665, Dec = -30.087
tmin = 262396801, tmax = 262656001
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='156634', job_status='RUN', time_executed='2021-09-30 07:04:17.745599', time_epoch_executed='1633010657.75' WHERE source_name='4FGL J2350.6-3005' and cadence='daily' and bin_id='89'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/156634

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/156634/ft1_4FGL_J2350.6-3005_daily_bin89.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/156634/ft2_4FGL_J2350.6-3005_daily_bin89.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/156634/ft1_4FGL_J2350.6-3005_daily_bin89.fits outfile=/scratch/kocevski/156634/ft1_filteredMKT_4FGL_J2350.6-3005_daily_bin89.fits ra=357.665 dec=-30.087 rad=12.0 tmin=262396801.0 tmax=262656001.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 1.41
user 1.24
sys 0.15

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/156634/ft1_filtered_4FGL_J2350.6-3005_daily_bin89.fits" evtable="EVENTS" scfile=/scratch/kocevski/156634/ft2_4FGL_J2350.6-3005_daily_bin89.fits sctable="SC_DATA" outfile=/scratch/kocevski/156634/ltcube_262396801_262656001_4FGL_J2350.6-3005_daily_bin89.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/156634/ft2_4FGL_J2350.6-3005_daily_bin89.fits
.....................!
real 12.68
user 12.31
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/156634/ft1_filtered_4FGL_J2350.6-3005_daily_bin89.fits evtable="EVENTS" scfile=/scratch/kocevski/156634/ft2_4FGL_J2350.6-3005_daily_bin89.fits sctable="SC_DATA" expcube=/scratch/kocevski/156634/ltcube_262396801_262656001_4FGL_J2350.6-3005_daily_bin89.fits outfile=/scratch/kocevski/156634/expmap_262396801_262656001_4FGL_J2350.6-3005_daily_bin89.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/156634/ltcube_262396801_262656001_4FGL_J2350.6-3005_daily_bin89.fits
.....................!
real 190.28
user 185.55
sys 4.31

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/156634/ft1_filtered_4FGL_J2350.6-3005_daily_bin89.fits scfile=/scratch/kocevski/156634/ft2_4FGL_J2350.6-3005_daily_bin89.fits outfile=/scratch/kocevski/156634/cmap_262396801_262656001_4FGL_J2350.6-3005_daily_bin89.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.36
sys 0.16

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/156634/ft1_filtered_4FGL_J2350.6-3005_daily_bin89.fits evtable="EVENTS" scfile=/scratch/kocevski/156634/ft2_4FGL_J2350.6-3005_daily_bin89.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/156634/Model_4FGL_J2350.6-3005_daily_bin89.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/156634/ft1_filtered_4FGL_J2350.6-3005_daily_bin89.fits.....................!
real 43.28
user 41.75
sys 1.29

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .13732       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .50113       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.1887       1.0000         .10000E-03   10000.    
     6 'norm      '    3.2053       1.0000         .10000E-03   10000.    
     7 'norm      '    .68435       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .52792       1.0000         .10000E-03   10000.    
     9 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    12.153       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    1.1631       1.0000         .10000E-03   10000.    
    13 'norm      '    6.1926       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .42630E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    35.939       1.0000         .10000E-03   10000.    
    17 'Prefactor '    22.125       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .15323E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .85990       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .87126       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=   5429.913     FROM MIGRAD    STATUS=CONVERGED    499 CALLS     2557 TOTAL
                     EDM=   .24E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    8.9829        .14193E-07** at limit **
   2  Prefactor     .46735E-03    54.056       -.17106E-05** at limit **
   3  Prefactor     .50253        3.0618        .18267E-05   -.38771E-04
   4  Prefactor     .10000E-03    8.7880       -.20336E-06** at limit **
   5  Prefactor     6.1895        7.2500        .43967E-07   -.21389E-04
   6  norm          3.2056        3.4351        .37188E-08   -.61483E-05
   7  norm          .68382        .62470       -.33944E-07   -.23570E-03
   8  Prefactor     .52102        11.638        .33164E-06   -.14155E-04
   9  norm          .10000E-03    2.1718       -.30893E-07** at limit **
  10  norm          12.153        8.6291        .83649E-06   -.59643E-04
  11  Prefactor     .10000E-03    16.074       -.87717E-08** at limit **
  12  norm          1.1618        2.7034        .53943E-06    .41096E-03
  13  norm          6.1934        3.0356        .70377E-07   -.28968E-04
  14  Prefactor     .10000E-03    7.9890        .13778E-06** at limit **
  15  norm          .10000E-03    2.3762       -.18175E-06** at limit **
  16  Prefactor     35.878        88.118        .14589E-05    .29727E-04
  17  Prefactor     22.123        25.925        .27485E-06    .81702E-04
  18  Prefactor     .10000E-03    2.9479        .19741E-06** at limit **
  19  Prefactor     .10000E-03    12.299        .34898E-07** at limit **
  20  Normalizat    .85961        .15430       -.13201E-05   -.19998E-04
  21  Prefactor     .87141        .16976        .61568E-06   -.10392E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.000467353
  Prefactor  = 0.502526
  Prefactor  = 0.0001
  Prefactor  = 6.18954
  norm       = 3.20559
  norm       = 0.683822
  Prefactor  = 0.521021
  norm       = 0.0001
  norm       = 12.1531
  Prefactor  = 0.0001
  norm       = 1.16175
  norm       = 6.19336
  Prefactor  = 0.0001
  norm       = 0.000100002
  Prefactor  = 35.8783
  Prefactor  = 22.1227
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.859613
  Prefactor  = 0.871411
 **********
 **   18 **HESSE 
 **********

 FCN=   5429.913     FROM HESSE     STATUS=OK           335 CALLS     2892 TOTAL
                     EDM=   .42E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    8.9915        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .46735E-03    51.090        .15004       -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .50253        2.9997        .24152E-03   -1.5566    
   4  Prefactor     .10000E-03    8.8108        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     6.1895        7.2463        .16137E-03   -1.5210    
   6  norm          3.2056        3.4357        .13776E-03   -1.5350    
   7  norm          .68382        .61068        .48053E-04   -1.5543    
   8  Prefactor     .52102        60.253        .42712E-02   -1.5564    
   9  norm          .10000E-03    2.1742        .10605E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          12.153        8.5311        .57454E-03   -1.5011    
  11  Prefactor     .10000E-03    16.086        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.1618        2.3097        .18730E-02   -1.5492    
  13  norm          6.1934        3.0341        .86339E-04   -1.5210    
  14  Prefactor     .10000E-03    7.9931        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    16.372        .21767E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     35.878        88.504        .66850E-04   -1.4509    
  17  Prefactor     22.123        25.994        .42578E-03   -1.4767    
  18  Prefactor     .10000E-03    8.2383        .24395E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    12.305        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .85961        .17988        .21095E-03   -.97894    
  21  Prefactor     .87141        .20004        .23659E-03   -.97147    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.22994e-08
Minuit parameter uncertainties:
  1  9.96105e-06
  2  0.274227
  3  2.45547
  4  3.12715e-05
  5  7.2473
  6  3.4359
  7  0.610688
  8  11.2164
  9  1.95371e-06
  10  8.53191
  11  1.00155e-06
  12  2.30986
  13  3.03417
  14  9.7416e-07
  15  0.000383985
  16  88.8308
  17  26.0077
  18  0.000120066
  19  1.23897e-05
  20  0.180003
  21  0.20021
Done.

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

Extracting fit parameters...

4FGL J2350.6-3005
   Spectrum: PowerLaw
526    Prefactor:  2.212e+01  2.601e+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.714e-01  2.002e-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.596e-01  1.800e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.76
Ra Dec: 357.665 -30.087
Photon Index (Fixed Index): 2.02 +/- 0.00
Photon Flux (Fixed Index): 1.16e-08 +/- 1.36e-08
Energy Flux (Fixed Index): 7.59e-06 +/- 8.92e-06

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

Saving results to:
/scratch/kocevski/156634/likelihoodResults_262396801_262656001_4FGL_J2350.6-3005_daily_bin89.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) = 5429.90382177
delta logL = 0.00899776743881

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5429.90000182
delta logL = 0.0128177246679

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    24.835       1.0000         .10000E-03   10000.    
     2 'Index     '    1.8796       1.0000          .0000       10.000    
     3 'Normalizat'    .86180       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87017       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=   5429.900     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      275 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     24.839        33.752        .40191E-03    .25119E-04
   2  Index         1.8796        .89284        .11103E-01    .18130E-03
   3  Normalizat    .86179        .17591        .21071E-03   -.82980E-04
   4  Prefactor     .87018        .19911        .23674E-03   -.55465E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 24.8392
  Index      = 1.87964
  Normalizat = 0.861788
  Prefactor  = 0.870179
 **********
 **   18 **HESSE 
 **********

 FCN=   5429.900     FROM HESSE     STATUS=OK            25 CALLS      300 TOTAL
                     EDM=   .15E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     24.839        32.928        .16076E-04   -1.4711    
   2  Index         1.8796        .87158        .22206E-02   -.67394    
   3  Normalizat    .86179        .17606        .84285E-05   -.97816    
   4  Prefactor     .87018        .19934        .94696E-05   -.97191    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.48972e-11
Minuit parameter uncertainties:
  1  32.9524
  2  0.878975
  3  0.176181
  4  0.199505
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/156634': 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) = 5429.9000018
delta logL = 0.0128177364595

Extracting fit parameters...

4FGL J2350.6-3005
   Spectrum: PowerLaw
526    Prefactor:  2.484e+01  3.295e+01  1.000e-04  1.000e+04 ( 1.000e-14)
527        Index:  1.880e+00  8.790e-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.702e-01  1.995e-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.618e-01  1.762e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.78
Ra Dec: 357.665 -30.087
Photon Index (Free Index): 1.88 +/- 0.88
Photon Flux (Free Index): 9.69e-09 +/- 1.60e-08
Energy Flux (Free Index): 9.20e-06 +/- 1.63e-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/156634/cmap_HighResolution_262396801_262656001_4FGL_J2350.6-3005_daily_bin89.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.07e-03', comment='SUCCESS', photon_flux='1.16e-08', energy_flux2='9.20e-06', photon_flux_error='1.36e-08', dlogl='1.28e-02', energy_flux='7.59e-06', photon_flux2='9.69e-09', job_status='DONE', time_completed='2021-09-30 07:14:19.566604', photon_index_error2='0.88', photon_index2='1.88', ts='1.76', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', photon_flux_upper_limit='5.41e-08', energy_flux_error2='1.63e-05', EG='0.86', time_epoch_completed='1633011259.57', return_code='0', job_id='156634', GAL2='0.87', EG2='0.86', return_code2='0', energy_flux_error='8.92e-06', photon_flux_error2='1.60e-08', ts2='1.78', photon_index='2.02' WHERE bin_id='89' AND source_name='4FGL J2350.6-3005' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 07:14:19 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0101>
Subject: Job 156634: <4FGL_J2350.6-3005_daily_bin89> in cluster <slac> Done

Job <4FGL_J2350.6-3005_daily_bin89> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Thu Sep 30 07:00:34 2021
Job was executed on host(s) <bullet0101>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 07:00:35 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:00:35 2021
Terminated at Thu Sep 30 07:14:20 2021
Results reported at Thu Sep 30 07:14:20 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2350.6-3005_daily_bin89 357.665 -30.087 262396801 262656001 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 :                                   598.29 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             297.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   824 sec.
    Turnaround time :                            826 sec.

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

