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


Performing analysis on: 4FGL_J2350.6-3005_daily_bin609
RA = 357.665, Dec = -30.087
tmin = 397180801, tmax = 397440001
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='158384', job_status='RUN', time_executed='2021-09-30 07:09:07.680545', time_epoch_executed='1633010947.68' WHERE source_name='4FGL J2350.6-3005' and cadence='daily' and bin_id='609'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/158384

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

Retrieving the FT1 file...

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

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

Retrieving 41 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/158384/ft1_4FGL_J2350.6-3005_daily_bin609.fits


Retrieving the FT1 file...

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

Retrieving 41 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/158384/ft2_4FGL_J2350.6-3005_daily_bin609.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/158384/ft1_4FGL_J2350.6-3005_daily_bin609.fits outfile=/scratch/kocevski/158384/ft1_filteredMKT_4FGL_J2350.6-3005_daily_bin609.fits ra=357.665 dec=-30.087 rad=12.0 tmin=397180801.0 tmax=397440001.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.98
user 3.75
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/158384/ft1_filtered_4FGL_J2350.6-3005_daily_bin609.fits" evtable="EVENTS" scfile=/scratch/kocevski/158384/ft2_4FGL_J2350.6-3005_daily_bin609.fits sctable="SC_DATA" outfile=/scratch/kocevski/158384/ltcube_397180801_397440001_4FGL_J2350.6-3005_daily_bin609.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/158384/ft2_4FGL_J2350.6-3005_daily_bin609.fits
.....................!
real 10.43
user 10.10
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/158384/ft1_filtered_4FGL_J2350.6-3005_daily_bin609.fits evtable="EVENTS" scfile=/scratch/kocevski/158384/ft2_4FGL_J2350.6-3005_daily_bin609.fits sctable="SC_DATA" expcube=/scratch/kocevski/158384/ltcube_397180801_397440001_4FGL_J2350.6-3005_daily_bin609.fits outfile=/scratch/kocevski/158384/expmap_397180801_397440001_4FGL_J2350.6-3005_daily_bin609.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/158384/ltcube_397180801_397440001_4FGL_J2350.6-3005_daily_bin609.fits
.....................!
real 189.29
user 184.94
sys 4.04

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/158384/ft1_filtered_4FGL_J2350.6-3005_daily_bin609.fits scfile=/scratch/kocevski/158384/ft2_4FGL_J2350.6-3005_daily_bin609.fits outfile=/scratch/kocevski/158384/cmap_397180801_397440001_4FGL_J2350.6-3005_daily_bin609.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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/158384/ft1_filtered_4FGL_J2350.6-3005_daily_bin609.fits scfile=/scratch/kocevski/158384/ft2_4FGL_J2350.6-3005_daily_bin609.fits outfile=/scratch/kocevski/158384/cmap_HighResolution_397180801_397440001_4FGL_J2350.6-3005_daily_bin609.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.56
user 0.38
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/158384/ft1_filtered_4FGL_J2350.6-3005_daily_bin609.fits evtable="EVENTS" scfile=/scratch/kocevski/158384/ft2_4FGL_J2350.6-3005_daily_bin609.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/158384/Model_4FGL_J2350.6-3005_daily_bin609.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/158384/ft1_filtered_4FGL_J2350.6-3005_daily_bin609.fits.....................!
real 42.16
user 40.85
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    52.101       1.0000         .10000E-03   10000.    
     2 'Prefactor '    14.868       1.0000         .10000E-03   10000.    
     3 'Prefactor '    8.1133       1.0000         .10000E-03   10000.    
     4 'Prefactor '    16.630       1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.5928       1.0000         .10000E-03   10000.    
     6 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .57279       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    5.2245       1.0000         .10000E-03   10000.    
    11 'Prefactor '    67.276       1.0000         .10000E-03   10000.    
    12 'norm      '    4.9383       1.0000         .10000E-03   10000.    
    13 'norm      '    6.3924       1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.9656       1.0000         .10000E-03   10000.    
    15 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    132.10       1.0000         .10000E-03   10000.    
    17 'Prefactor '    13.279       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .31384E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .59041       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .97887       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=   5571.863     FROM MIGRAD    STATUS=CONVERGED    419 CALLS     2173 TOTAL
                     EDM=   .27E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          52.107        36.569       -.22698E-06   -.45740E-04
   2  Prefactor     14.866        36.289       -.45532E-07    .10273E-04
   3  Prefactor     8.1131        3.5701        .27274E-07    .51537E-04
   4  Prefactor     16.633        16.134       -.13132E-06   -.41276E-04
   5  Prefactor     1.5903        17.837       -.38442E-05    .27981E-04
   6  norm          .10000E-03    2.4171        .24793E-06** at limit **
   7  norm          .57269        .47892        .64490E-09    .14030E-04
   8  Prefactor     .10000E-03    4.9331        .15698E-06** at limit **
   9  norm          .10000E-03    1.8778       -.23800E-07** at limit **
  10  norm          5.2239        6.7098       -.37829E-06   -.35180E-05
  11  Prefactor     67.270        44.118        .12772E-06    .45864E-04
  12  norm          4.9383        3.8857       -.95556E-07   -.36772E-04
  13  norm          6.3949        3.6498       -.68949E-06   -.68147E-04
  14  Prefactor     1.9766        100.41        .15133E-05   -.74196E-06
  15  norm          .10000E-03    2.6001        .27628E-07** at limit **
  16  Prefactor     132.12        79.763       -.14575E-05   -.60290E-04
  17  Prefactor     13.277        28.218       -.87234E-08    .13388E-04
  18  Prefactor     .10000E-03    8.1122        .33112E-05** at limit **
  19  Prefactor     .10000E-03    16.032        .16444E-06** at limit **
  20  Normalizat    .59042        .14885        .46877E-06   -.28746E-05
  21  Prefactor     .97895        .16557       -.38315E-06    .39315E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 52.1074
  Prefactor  = 14.8658
  Prefactor  = 8.11314
  Prefactor  = 16.633
  Prefactor  = 1.59026
  norm       = 0.0001
  norm       = 0.572686
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 5.22393
  Prefactor  = 67.2701
  norm       = 4.93835
  norm       = 6.39487
  Prefactor  = 1.9766
  norm       = 0.0001
  Prefactor  = 132.121
  Prefactor  = 13.2769
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.59042
  Prefactor  = 0.97895
 **********
 **   18 **HESSE 
 **********

 FCN=   5571.863     FROM HESSE     STATUS=OK           321 CALLS     2494 TOTAL
                     EDM=   .53E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          52.107        36.566        .55564E-04   -1.4263    
   2  Prefactor     14.866        36.283        .10387E-03   -1.4937    
   3  Prefactor     8.1131        3.5728        .87078E-04   -1.5138    
   4  Prefactor     16.633        16.138        .98215E-04   -1.4892    
   5  Prefactor     1.5903        17.570        .33616E-03   -1.5456    
   6  norm          .10000E-03    2.4491        .11342E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .57269        .46846        .45734E-04   -1.5557    
   8  Prefactor     .10000E-03    4.9666        .16181E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    1.8786        .99882E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          5.2239        6.6956        .17586E-03   -1.5251    
  11  Prefactor     67.270        44.199        .48934E-04   -1.4066    
  12  norm          4.9383        3.8808        .12574E-03   -1.5263    
  13  norm          6.3949        3.6282        .94772E-04   -1.5202    
  14  Prefactor     1.9766        96.464        .29581E-03   -1.5427    
  15  norm          .10000E-03    2.6447        .11741E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     132.12        79.767        .17517E-03   -1.3404    
  17  Prefactor     13.277        28.231        .10992E-03   -1.4979    
  18  Prefactor     .10000E-03    8.0323        .18850E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    16.110        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .59042        .17158        .24039E-03   -1.0839    
  21  Prefactor     .97895        .19294        .21976E-03   -.93434    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.32708e-11
Minuit parameter uncertainties:
  1  36.582
  2  36.3373
  3  3.5729
  4  16.1424
  5  10.5754
  6  6.15047e-06
  7  0.468465
  8  5.84211e-06
  9  8.77591e-07
  10  6.69653
  11  44.2207
  12  3.88097
  13  3.62836
  14  27.6634
  15  1.37121e-06
  16  79.832
  17  28.2593
  18  1.44871e-05
  19  8.61696e-06
  20  0.171731
  21  0.193074
Done.

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

Extracting fit parameters...

4FGL J2350.6-3005
   Spectrum: PowerLaw
526    Prefactor:  1.328e+01  2.826e+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:  9.790e-01  1.931e-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:  5.904e-01  1.717e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/158384/likelihoodResults_397180801_397440001_4FGL_J2350.6-3005_daily_bin609.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) = 5571.78448082
delta logL = 0.0786442611961

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5571.78353206
delta logL = 0.0795930198565

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    22.807       1.0000         .10000E-03   10000.    
     2 'Index     '    1.7056       1.0000          .0000       10.000    
     3 'Normalizat'    .59327       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97537       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=   5571.784     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      297 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     22.812        42.938        .83875E-04    .90814E-05
   2  Index         1.7055        .72673        .10803E-01    .18104E-03
   3  Normalizat    .59339        .16382        .23981E-03   -.67933E-04
   4  Prefactor     .97527        .19097        .22008E-03   -.99389E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 22.8124
  Index      = 1.70553
  Normalizat = 0.593388
  Prefactor  = 0.975267
 **********
 **   18 **HESSE 
 **********

 FCN=   5571.784     FROM HESSE     STATUS=OK            25 CALLS      322 TOTAL
                     EDM=   .13E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     22.812        42.138        .33550E-05   -1.4752    
   2  Index         1.7055        .71349        .21606E-02   -.71935    
   3  Normalizat    .59339        .16396        .95925E-05   -1.0827    
   4  Prefactor     .97527        .19114        .88031E-05   -.93559    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.28134e-11
Minuit parameter uncertainties:
  1  42.1928
  2  0.717838
  3  0.164091
  4  0.191277
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/158384': 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) = 5571.78353175
delta logL = 0.0795933338177

Extracting fit parameters...

4FGL J2350.6-3005
   Spectrum: PowerLaw
526    Prefactor:  2.281e+01  4.219e+01  1.000e-04  1.000e+04 ( 1.000e-14)
527        Index:  1.706e+00  7.178e-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:  9.753e-01  1.913e-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:  5.934e-01  1.641e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.28
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/158384/cmap_HighResolution_397180801_397440001_4FGL_J2350.6-3005_daily_bin609.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.65e-03', job_status='DONE', photon_flux_upper_limit='4.85e-08', time_completed='2021-09-30 07:18:46.880956', job_id='158384', GAL2='0.98', fit_tolerance='1e-08', EG2='0.59', EG='0.59', time_epoch_completed='1633011526.88', return_code2='0', ts='0.28', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='7.96e-02', ts2='0.44', photon_index_error='0.00', photon_index='2.02' WHERE bin_id='609' AND source_name='4FGL J2350.6-3005' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 07:18:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0268>
Subject: Job 158384: <4FGL_J2350.6-3005_daily_bin609> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2350.6-3005_daily_bin609 357.665 -30.087 397180801 397440001 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 :                                   578.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             273.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   778 sec.
    Turnaround time :                            780 sec.

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

