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


Performing analysis on: 4FGL_J2350.6-3005_daily_bin889
RA = 357.665, Dec = -30.087
tmin = 469756801, tmax = 470016001
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='159871', job_status='RUN', time_executed='2021-09-30 07:13:26.718850', time_epoch_executed='1633011206.72' WHERE source_name='4FGL J2350.6-3005' and cadence='daily' and bin_id='889'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/159871

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/159871/ft1_4FGL_J2350.6-3005_daily_bin889.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/159871/ft2_4FGL_J2350.6-3005_daily_bin889.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/159871/ft1_4FGL_J2350.6-3005_daily_bin889.fits outfile=/scratch/kocevski/159871/ft1_filteredMKT_4FGL_J2350.6-3005_daily_bin889.fits ra=357.665 dec=-30.087 rad=12.0 tmin=469756801.0 tmax=470016001.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.63
user 3.31
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/159871/ft1_filtered_4FGL_J2350.6-3005_daily_bin889.fits" evtable="EVENTS" scfile=/scratch/kocevski/159871/ft2_4FGL_J2350.6-3005_daily_bin889.fits sctable="SC_DATA" outfile=/scratch/kocevski/159871/ltcube_469756801_470016001_4FGL_J2350.6-3005_daily_bin889.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/159871/ft2_4FGL_J2350.6-3005_daily_bin889.fits
.....................!
real 12.04
user 11.57
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/159871/ft1_filtered_4FGL_J2350.6-3005_daily_bin889.fits evtable="EVENTS" scfile=/scratch/kocevski/159871/ft2_4FGL_J2350.6-3005_daily_bin889.fits sctable="SC_DATA" expcube=/scratch/kocevski/159871/ltcube_469756801_470016001_4FGL_J2350.6-3005_daily_bin889.fits outfile=/scratch/kocevski/159871/expmap_469756801_470016001_4FGL_J2350.6-3005_daily_bin889.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/159871/ltcube_469756801_470016001_4FGL_J2350.6-3005_daily_bin889.fits
.....................!
real 192.14
user 186.15
sys 5.52

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/159871/ft1_filtered_4FGL_J2350.6-3005_daily_bin889.fits scfile=/scratch/kocevski/159871/ft2_4FGL_J2350.6-3005_daily_bin889.fits outfile=/scratch/kocevski/159871/cmap_469756801_470016001_4FGL_J2350.6-3005_daily_bin889.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.52
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/159871/ft1_filtered_4FGL_J2350.6-3005_daily_bin889.fits scfile=/scratch/kocevski/159871/ft2_4FGL_J2350.6-3005_daily_bin889.fits outfile=/scratch/kocevski/159871/cmap_HighResolution_469756801_470016001_4FGL_J2350.6-3005_daily_bin889.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.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10053E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    17.364       1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.7093       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.6972       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .28358       1.0000         .10000E-03   10000.    
     8 'Prefactor '    14.962       1.0000         .10000E-03   10000.    
     9 'norm      '    2.2756       1.0000         .10000E-03   10000.    
    10 'norm      '    17.027       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    2.5108       1.0000         .10000E-03   10000.    
    13 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .11400E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10288E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    8.4673       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .31635       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .40908       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.3645       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=   6321.322     FROM MIGRAD    STATUS=CONVERGED    480 CALLS     1959 TOTAL
                     EDM=   .27E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    18.115       -.98570E-06** at limit **
   2  Prefactor     17.386        25.267       -.26817E-04    .92100E-06
   3  Prefactor     1.7113        2.3027       -.26514E-06   -.50331E-03
   4  Prefactor     .10000E-03    10.498        .11752E-07** at limit **
   5  Prefactor     5.6957        7.8726        .14699E-06   -.92411E-04
   6  norm          .10000E-03    1.0424       -.56761E-08** at limit **
   7  norm          .28371        .32061       -.81507E-08    .20306E-03
   8  Prefactor     14.955        9.3269        .84825E-07   -.19874E-04
   9  norm          2.2708        4.8453       -.40384E-06   -.50329E-03
  10  norm          17.022        9.4839        .30916E-07    .16032E-04
  11  Prefactor     .10000E-03    87.308       -.56389E-05** at limit **
  12  norm          2.5135        3.8760       -.15825E-06   -.49400E-03
  13  norm          .10000E-03    .88977       -.18045E-07** at limit **
  14  Prefactor     .10000E-03    8.4218       -.27445E-07** at limit **
  15  norm          .10000E-03    1.2550        .16133E-07** at limit **
  16  Prefactor     .10000E-03    18.014        .92503E-06** at limit **
  17  Prefactor     .10000E-03    46.472        .29075E-06** at limit **
  18  Prefactor     8.4777        5.0912        .71295E-07    .23002E-03
  19  Prefactor     .16156        29.108       -.22028E-05    .10695E-03
  20  Normalizat    .40915        .14311        .94231E-06    .13506E-03
  21  Prefactor     1.3645        .16742        .44409E-06    .16984E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 17.3863
  Prefactor  = 1.71131
  Prefactor  = 0.0001
  Prefactor  = 5.69567
  norm       = 0.0001
  norm       = 0.283709
  Prefactor  = 14.9554
  norm       = 2.27076
  norm       = 17.0218
  Prefactor  = 0.0001
  norm       = 2.51352
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.47772
  Prefactor  = 0.161558
  Normalizat = 0.409154
  Prefactor  = 1.36447
 **********
 **   18 **HESSE 
 **********

 FCN=   6321.322     FROM HESSE     STATUS=OK           327 CALLS     2286 TOTAL
                     EDM=   .97E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    18.182        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     17.386        25.236        .96116E-04   -1.4874    
   3  Prefactor     1.7113        2.2790        .13283E-03   -1.5446    
   4  Prefactor     .10000E-03    10.560        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     5.6957        7.8643        .16829E-03   -1.5231    
   6  norm          .10000E-03    1.0431        .79274E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .28371        .30592        .45767E-03   -1.5601    
   8  Prefactor     14.955        9.2573        .10355E-03   -1.4934    
   9  norm          2.2708        4.8116        .23073E-03   -1.5407    
  10  norm          17.022        9.4756        .97063E-04   -1.4883    
  11  Prefactor     .10000E-03    88.662        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          2.5135        3.8456        .17319E-03   -1.5391    
  13  norm          .10000E-03    .90663        .73210E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    8.4394        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    1.2595        .86941E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    18.016        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    46.721        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     8.4777        5.1033        .12757E-03   -1.5126    
  19  Prefactor     .16156        36.308        .11073       -1.5628    
  20  Normalizat    .40915        .16465        .29032E-03   -1.1683    
  21  Prefactor     1.3645        .19457        .20064E-03   -.81410    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.69491e-10
Minuit parameter uncertainties:
  1  8.48161e-06
  2  25.2518
  3  2.27916
  4  5.29087e-06
  5  7.86568
  6  4.92714e-07
  7  0.305919
  8  9.25815
  9  4.81238
  10  9.47644
  11  7.8436e-05
  12  3.84601
  13  1.97215e-06
  14  7.3524e-06
  15  2.26864e-06
  16  4.48705e-06
  17  6.72799e-06
  18  5.10355
  19  4.84536
  20  0.164845
  21  0.194679
Done.

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

Extracting fit parameters...

4FGL J2350.6-3005
   Spectrum: PowerLaw
526    Prefactor:  1.000e-04  6.728e-06  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.364e+00  1.947e-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:  4.092e-01  1.648e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/159871/likelihoodResults_469756801_470016001_4FGL_J2350.6-3005_daily_bin889.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6321.32226738
delta logL = -0.000101899921901

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6321.32216559
delta logL = -1.07069354272e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10220E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.0809       1.0000          .0000       10.000    
     3 'Normalizat'    .40915       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3645       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.

 FCN=   6321.322     FROM MIGRAD    STATUS=CONVERGED     61 CALLS      249 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    58.081        .90712E-02** at limit **
   2  Index         2.0512        5.9710        .50000        .55218E-05
   3  Normalizat    .40915        .13710        .65589E-01    .35918E-04
   4  Prefactor     1.3645        .16635        .45392E-01   -.23481E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100003
  Index      = 2.05121
  Normalizat = 0.409153
  Prefactor  = 1.36447
 **********
 **   18 **HESSE 
 **********

 FCN=   6321.322     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      282 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6297.6        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0512        5.2522        .50000       -.63076    
   3  Normalizat    .40915        .28289E-01    .29032E-03   -1.1683    
   4  Prefactor     1.3645        .34383E-01    .20064E-03   -.81410    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.20516e-08
Minuit parameter uncertainties:
  1  0.00590475
  2  32.4309
  3  0.0282899
  4  0.0343833
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/159871': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6321.32216552
delta logL = -4.03242665925e-08

Extracting fit parameters...

4FGL J2350.6-3005
   Spectrum: PowerLaw
526    Prefactor:  1.000e-04  5.905e-03  1.000e-04  1.000e+04 ( 1.000e-14)
527        Index:  2.051e+00  3.243e+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.364e+00  3.438e-02  0.000e+00  1.000e+01 ( 1.000e+00)
585        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
586        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
583   Normalization:  4.092e-01  2.829e-02  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/159871/cmap_HighResolution_469756801_470016001_4FGL_J2350.6-3005_daily_bin889.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.37e-03', job_status='DONE', photon_flux_upper_limit='4.48e-08', time_completed='2021-09-30 07:23:24.982413', job_id='159871', GAL2='1.36', fit_tolerance='1e-08', EG2='0.41', EG='0.41', time_epoch_completed='1633011804.98', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.36', dlogl='-4.03e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.02' WHERE bin_id='889' AND source_name='4FGL J2350.6-3005' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 07:23:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0283>
Subject: Job 159871: <4FGL_J2350.6-3005_daily_bin889> in cluster <slac> Done

Job <4FGL_J2350.6-3005_daily_bin889> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Thu Sep 30 07:10:49 2021
Job was executed on host(s) <bullet0283>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 07:10: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:10:51 2021
Terminated at Thu Sep 30 07:23:25 2021
Results reported at Thu Sep 30 07:23:25 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2350.6-3005_daily_bin889 357.665 -30.087 469756801 470016001 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 :                                   596.01 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             273.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   754 sec.
    Turnaround time :                            756 sec.

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

