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


Performing analysis on: 4FGL_J2350.6-3005_daily_bin10
RA = 357.665, Dec = -30.087
tmin = 241920001, tmax = 242179201
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='156519', job_status='RUN', time_executed='2021-09-30 07:02:31.516487', time_epoch_executed='1633010551.52' WHERE source_name='4FGL J2350.6-3005' and cadence='daily' and bin_id='10'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/156519

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/156519/ft1_4FGL_J2350.6-3005_daily_bin10.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/156519/ft2_4FGL_J2350.6-3005_daily_bin10.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/156519/ft1_4FGL_J2350.6-3005_daily_bin10.fits outfile=/scratch/kocevski/156519/ft1_filteredMKT_4FGL_J2350.6-3005_daily_bin10.fits ra=357.665 dec=-30.087 rad=12.0 tmin=241920001.0 tmax=242179201.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.43
user 1.24
sys 0.16

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/156519/ft2_4FGL_J2350.6-3005_daily_bin10.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/156519/ft1_filteredMKT_4FGL_J2350.6-3005_daily_bin10.fits evtable="EVENTS" outfile="/scratch/kocevski/156519/ft1_filtered_4FGL_J2350.6-3005_daily_bin10.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.51
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/156519/ft1_filtered_4FGL_J2350.6-3005_daily_bin10.fits" evtable="EVENTS" scfile=/scratch/kocevski/156519/ft2_4FGL_J2350.6-3005_daily_bin10.fits sctable="SC_DATA" outfile=/scratch/kocevski/156519/ltcube_241920001_242179201_4FGL_J2350.6-3005_daily_bin10.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/156519/ft2_4FGL_J2350.6-3005_daily_bin10.fits
.....................!
real 12.61
user 12.24
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/156519/ft1_filtered_4FGL_J2350.6-3005_daily_bin10.fits evtable="EVENTS" scfile=/scratch/kocevski/156519/ft2_4FGL_J2350.6-3005_daily_bin10.fits sctable="SC_DATA" expcube=/scratch/kocevski/156519/ltcube_241920001_242179201_4FGL_J2350.6-3005_daily_bin10.fits outfile=/scratch/kocevski/156519/expmap_241920001_242179201_4FGL_J2350.6-3005_daily_bin10.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/156519/ltcube_241920001_242179201_4FGL_J2350.6-3005_daily_bin10.fits
.....................!
real 189.71
user 185.00
sys 4.34

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/156519/ft1_filtered_4FGL_J2350.6-3005_daily_bin10.fits scfile=/scratch/kocevski/156519/ft2_4FGL_J2350.6-3005_daily_bin10.fits outfile=/scratch/kocevski/156519/cmap_241920001_242179201_4FGL_J2350.6-3005_daily_bin10.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.55
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/156519/ft1_filtered_4FGL_J2350.6-3005_daily_bin10.fits scfile=/scratch/kocevski/156519/ft2_4FGL_J2350.6-3005_daily_bin10.fits outfile=/scratch/kocevski/156519/cmap_HighResolution_241920001_242179201_4FGL_J2350.6-3005_daily_bin10.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.36
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/156519/ft1_filtered_4FGL_J2350.6-3005_daily_bin10.fits evtable="EVENTS" scfile=/scratch/kocevski/156519/ft2_4FGL_J2350.6-3005_daily_bin10.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/156519/Model_4FGL_J2350.6-3005_daily_bin10.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/156519/ft1_filtered_4FGL_J2350.6-3005_daily_bin10.fits.....................!
real 45.97
user 41.68
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    .61134       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.9160       1.0000         .10000E-03   10000.    
     6 'norm      '    5.4768       1.0000         .10000E-03   10000.    
     7 'norm      '    .63992       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .40039       1.0000         .10000E-03   10000.    
     9 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    6.1504       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    2.9643       1.0000         .10000E-03   10000.    
    13 'norm      '    6.7119       1.0000         .10000E-03   10000.    
    14 'Prefactor '    46.404       1.0000         .10000E-03   10000.    
    15 'norm      '    3.4209       1.0000         .10000E-03   10000.    
    16 'Prefactor '    82.661       1.0000         .10000E-03   10000.    
    17 'Prefactor '    79.494       1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.0253       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10065E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .80078       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0656       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=   5277.299     FROM MIGRAD    STATUS=CONVERGED    430 CALLS     2170 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    15.995       -.82535E-06** at limit **
   2  Prefactor     .10000E-03    28.107        .78697E-06** at limit **
   3  Prefactor     .61244        3.8836        .23253E-05   -.13156E-03
   4  Prefactor     .10000E-03    7.6874        .73623E-07** at limit **
   5  Prefactor     5.9157        9.5894        .19273E-05   -.68998E-03
   6  norm          5.4772        5.0159        .68983E-06    .71691E-03
   7  norm          .64008        .52954        .28568E-08   -.34663E-04
   8  Prefactor     .38137        8.0724        .14101E-06   -.58982E-04
   9  norm          .10000E-03    2.4627       -.78256E-08** at limit **
  10  norm          6.1495        6.4893        .13936E-05   -.10204E-02
  11  Prefactor     .10000E-03    29.756       -.28955E-05** at limit **
  12  norm          2.9659        5.2588        .10442E-05    .16369E-03
  13  norm          6.7123        3.7363        .59153E-06    .13803E-02
  14  Prefactor     46.408        33.444        .13234E-05    .31272E-03
  15  norm          3.4201        4.5534       -.51516E-06   -.48268E-03
  16  Prefactor     82.659        88.840       -.13641E-06   -.17883E-04
  17  Prefactor     79.492        52.655       -.56140E-06   -.11991E-03
  18  Prefactor     3.0253        6.9869        .29479E-06   -.34243E-03
  19  Prefactor     .10000E-03    22.424        .23989E-05** at limit **
  20  Normalizat    .80056        .18345       -.17346E-05   -.11593E-03
  21  Prefactor     1.0658        .19309       -.57033E-07   -.16531E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.612441
  Prefactor  = 0.0001
  Prefactor  = 5.9157
  norm       = 5.47717
  norm       = 0.640076
  Prefactor  = 0.38137
  norm       = 0.0001
  norm       = 6.14953
  Prefactor  = 0.000100005
  norm       = 2.96589
  norm       = 6.71227
  Prefactor  = 46.4081
  norm       = 3.4201
  Prefactor  = 82.6595
  Prefactor  = 79.4923
  Prefactor  = 3.02532
  Prefactor  = 0.000100003
  Normalizat = 0.800555
  Prefactor  = 1.06585
 **********
 **   18 **HESSE 
 **********

 FCN=   5277.299     FROM HESSE     STATUS=OK           319 CALLS     2489 TOTAL
                     EDM=   .38E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    16.067        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    28.180        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .61244        3.9319        .26733E-03   -1.5551    
   4  Prefactor     .10000E-03    7.6910        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     5.9157        10.117        .82549E-03   -1.5221    
   6  norm          5.4772        5.1108        .15397E-03   -1.5240    
   7  norm          .64008        .51922        .45340E-04   -1.5548    
   8  Prefactor     .38137        41.443        .38668E-02   -1.5584    
   9  norm          .10000E-03    2.4636        .11131E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          6.1495        6.8552        .80940E-03   -1.5212    
  11  Prefactor     .10000E-03    30.371        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          2.9659        5.2542        .20312E-03   -1.5364    
  13  norm          6.7123        3.7928        .98862E-04   -1.5190    
  14  Prefactor     46.408        33.678        .58860E-04   -1.4344    
  15  norm          3.4201        4.5705        .16605E-03   -1.5338    
  16  Prefactor     82.659        88.916        .44179E-04   -1.3887    
  17  Prefactor     79.492        52.754        .45044E-04   -1.3922    
  18  Prefactor     3.0253        7.0533        .23331E-03   -1.5360    
  19  Prefactor     .10000E-03    22.897        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .80056        .21221        .24614E-03   -1.0005    
  21  Prefactor     1.0658        .22548        .24101E-03   -.90566    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.75253e-08
Minuit parameter uncertainties:
  1  0.000159417
  2  0.000220926
  3  3.10363
  4  5.29605e-07
  5  10.1196
  6  5.11117
  7  0.519222
  8  7.95571
  9  5.65673e-06
  10  6.8561
  11  0.000747629
  12  5.25497
  13  3.79289
  14  33.6916
  15  4.57099
  16  89.06
  17  52.7856
  18  7.05524
  19  0.000564736
  20  0.212425
  21  0.225682
Done.

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

Extracting fit parameters...

4FGL J2350.6-3005
   Spectrum: PowerLaw
526    Prefactor:  7.949e+01  5.279e+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:  1.066e+00  2.257e-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.006e-01  2.124e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.07
Ra Dec: 357.665 -30.087
Photon Index (Fixed Index): 2.02 +/- 0.00
Photon Flux (Fixed Index): 4.16e-08 +/- 2.76e-08
Energy Flux (Fixed Index): 2.73e-05 +/- 1.81e-05

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) = 5277.25034183
delta logL = 0.0488954150069

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5277.23949344
delta logL = 0.059743810385

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    91.670       1.0000         .10000E-03   10000.    
     2 'Index     '    1.8682       1.0000          .0000       10.000    
     3 'Normalizat'    .80673       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0629       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=   5277.239     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      299 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     91.673        70.180        .41971E-04   -.84240E-04
   2  Index         1.8682        .45031        .61470E-02    .31945E-03
   3  Normalizat    .80679        .19887        .24531E-03   -.93106E-04
   4  Prefactor     1.0629        .22221        .24135E-03   -.89312E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 91.6728
  Index      = 1.86819
  Normalizat = 0.806789
  Prefactor  = 1.06287
 **********
 **   18 **HESSE 
 **********

 FCN=   5277.239     FROM HESSE     STATUS=OK            25 CALLS      324 TOTAL
                     EDM=   .38E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     91.673        69.058        .83943E-05   -1.3790    
   2  Index         1.8682        .44304        .12294E-02   -.67688    
   3  Normalizat    .80679        .19904        .98124E-05   -.99817    
   4  Prefactor     1.0629        .22245        .96538E-05   -.90662    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.75588e-11
Minuit parameter uncertainties:
  1  69.1184
  2  0.443995
  3  0.199224
  4  0.222647
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/156519': 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) = 5277.23949339
delta logL = 0.0597438590448

Extracting fit parameters...

4FGL J2350.6-3005
   Spectrum: PowerLaw
526    Prefactor:  9.167e+01  6.912e+01  1.000e-04  1.000e+04 ( 1.000e-14)
527        Index:  1.868e+00  4.440e-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:  1.063e+00  2.226e-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.068e-01  1.992e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.18
Ra Dec: 357.665 -30.087
Photon Index (Free Index): 1.87 +/- 0.44
Photon Flux (Free Index): 3.50e-08 +/- 3.10e-08
Energy Flux (Free Index): 3.43e-05 +/- 3.35e-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/156519/cmap_HighResolution_241920001_242179201_4FGL_J2350.6-3005_daily_bin10.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.16e-08', energy_flux2='3.43e-05', photon_flux_error='2.76e-08', dlogl='5.97e-02', energy_flux='2.73e-05', photon_flux2='3.50e-08', job_status='DONE', time_completed='2021-09-30 07:11:10.827933', photon_index_error2='0.44', photon_index2='1.87', ts='6.07', fit_tolerance='1e-08', GAL='1.07', photon_index_error='0.00', energy_flux_error2='3.35e-05', EG='0.80', time_epoch_completed='1633011070.83', return_code='0', job_id='156519', GAL2='1.06', EG2='0.81', return_code2='0', energy_flux_error='1.81e-05', photon_flux_error2='3.10e-08', ts2='6.18', photon_index='2.02' WHERE bin_id='10' AND source_name='4FGL J2350.6-3005' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 07:11:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0090>
Subject: Job 156519: <4FGL_J2350.6-3005_daily_bin10> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2350.6-3005_daily_bin10 357.665 -30.087 241920001 242179201 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 :                                   513.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             294.05 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   647 sec.
    Turnaround time :                            649 sec.

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

