/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 13 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 = 7472
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2350.6-3005_daily_bin704
RA = 357.665, Dec = -30.087
tmin = 421804801, tmax = 422064001
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='158527', job_status='RUN', time_executed='2021-09-30 07:06:31.823224', time_epoch_executed='1633010791.82' WHERE source_name='4FGL J2350.6-3005' and cadence='daily' and bin_id='704'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/158527

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/158527/ft1_4FGL_J2350.6-3005_daily_bin704.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/158527/ft2_4FGL_J2350.6-3005_daily_bin704.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/158527/ft1_4FGL_J2350.6-3005_daily_bin704.fits outfile=/scratch/kocevski/158527/ft1_filteredMKT_4FGL_J2350.6-3005_daily_bin704.fits ra=357.665 dec=-30.087 rad=12.0 tmin=421804801.0 tmax=422064001.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.56
user 3.30
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/158527/ft1_filtered_4FGL_J2350.6-3005_daily_bin704.fits" evtable="EVENTS" scfile=/scratch/kocevski/158527/ft2_4FGL_J2350.6-3005_daily_bin704.fits sctable="SC_DATA" outfile=/scratch/kocevski/158527/ltcube_421804801_422064001_4FGL_J2350.6-3005_daily_bin704.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/158527/ft2_4FGL_J2350.6-3005_daily_bin704.fits
.....................!
real 12.04
user 11.68
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/158527/ft1_filtered_4FGL_J2350.6-3005_daily_bin704.fits evtable="EVENTS" scfile=/scratch/kocevski/158527/ft2_4FGL_J2350.6-3005_daily_bin704.fits sctable="SC_DATA" expcube=/scratch/kocevski/158527/ltcube_421804801_422064001_4FGL_J2350.6-3005_daily_bin704.fits outfile=/scratch/kocevski/158527/expmap_421804801_422064001_4FGL_J2350.6-3005_daily_bin704.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/158527/ltcube_421804801_422064001_4FGL_J2350.6-3005_daily_bin704.fits
.....................!
real 189.62
user 184.90
sys 4.17

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/158527/ft1_filtered_4FGL_J2350.6-3005_daily_bin704.fits scfile=/scratch/kocevski/158527/ft2_4FGL_J2350.6-3005_daily_bin704.fits outfile=/scratch/kocevski/158527/cmap_421804801_422064001_4FGL_J2350.6-3005_daily_bin704.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/158527/ft1_filtered_4FGL_J2350.6-3005_daily_bin704.fits scfile=/scratch/kocevski/158527/ft2_4FGL_J2350.6-3005_daily_bin704.fits outfile=/scratch/kocevski/158527/cmap_HighResolution_421804801_422064001_4FGL_J2350.6-3005_daily_bin704.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/158527/ft1_filtered_4FGL_J2350.6-3005_daily_bin704.fits evtable="EVENTS" scfile=/scratch/kocevski/158527/ft2_4FGL_J2350.6-3005_daily_bin704.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/158527/Model_4FGL_J2350.6-3005_daily_bin704.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/158527/ft1_filtered_4FGL_J2350.6-3005_daily_bin704.fits.....................!
real 36.63
user 35.34
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    39.590       1.0000         .10000E-03   10000.    
     2 'Prefactor '    7.1830       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .13687E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10123E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.1784       1.0000         .10000E-03   10000.    
     9 'norm      '    5.0398       1.0000         .10000E-03   10000.    
    10 'norm      '    .25665E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .21950       1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10095E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    13.501       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10205E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.3395       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .97579       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0389       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=   4150.773     FROM MIGRAD    STATUS=CONVERGED    886 CALLS     2399 TOTAL
                     EDM=   .94E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          39.595        41.116        .63703E-04    .39869E-04
   2  Prefactor     7.2218        129.76        .14967E-03    .98748E-06
   3  Prefactor     .10000E-03    11.609        .19598E-02** at limit **
   4  Prefactor     .10000E-03    12.081        .18142E-02** at limit **
   5  Prefactor     .10000E-03    4.7349        .13686E-02** at limit **
   6  norm          .10000E-03    3.7450        .12153E-02** at limit **
   7  norm          .10000E-03    .80727        .81994E-03** at limit **
   8  Prefactor     1.1656        30.304        .21074E-02    .20575E-04
   9  norm          5.0412        5.5719        .15598E-03    .15554E-03
  10  norm          .10002E-03    24.342        .33523E-02** at limit **
  11  Prefactor     .10312E-03    81.232        .14342    ** at limit **
  12  norm          .10000E-03    3.8803        .24457E-03** at limit **
  13  norm          .10000E-03    5.5183        .21619E-02** at limit **
  14  Prefactor     13.573        37.727        .10901E-03   -.33998E-04
  15  norm          .10000E-03    2.2605        .94314E-03** at limit **
  16  Prefactor     .10000E-03    96.352        .18142E-02** at limit **
  17  Prefactor     .10000E-03    42.319        .18142E-02** at limit **
  18  Prefactor     .10000E-03    11.688        .28024E-02** at limit **
  19  Prefactor     3.3542        184.09        .22148E-03   -.22431E-04
  20  Normalizat    .97558        .24160        .22639E-03   -.16820E-03
  21  Prefactor     1.0391        .26051        .24383E-03   -.22961E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 39.5951
  Prefactor  = 7.22182
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 1.16564
  norm       = 5.04119
  norm       = 0.000100017
  Prefactor  = 0.000103125
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 13.5733
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.35423
  Normalizat = 0.975581
  Prefactor  = 1.03905
 **********
 **   18 **HESSE 
 **********

 FCN=   4150.773     FROM HESSE     STATUS=OK           307 CALLS     2706 TOTAL
                     EDM=   .94E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          39.595        41.114        .12741E-04   -1.4449    
   2  Prefactor     7.2218        129.79        .59867E-05   -1.5170    
   3  Prefactor     .10000E-03    11.671        .39197E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    12.081        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    4.7350        .27373E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    3.7453        .24305E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    .80788        .16399E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.1656        30.236        .84296E-04   -1.5492    
   9  norm          5.0412        5.5719        .62392E-05   -1.5259    
  10  norm          .10002E-03    24.630        .67046E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10312E-03    85.014        .13959       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    3.8804        .48914E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    5.5313        .43239E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     13.573        37.712        .43605E-05   -1.4971    
  15  norm          .10000E-03    2.2607        .18863E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    96.356        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    42.321        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    11.752        .56048E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     3.3542        183.51        .88592E-05   -1.5342    
  20  Normalizat    .97558        .24176        .45278E-04   -.93853    
  21  Prefactor     1.0391        .26076        .48765E-04   -.91439    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.43394e-10
Minuit parameter uncertainties:
  1  41.1435
  2  61.386
  3  0.000134989
  4  1.86539e-05
  5  3.02067e-06
  6  2.25413e-06
  7  6.09955e-08
  8  11.8795
  9  5.57252
  10  0.00131153
  11  0.0326434
  12  1.89197e-05
  13  4.40827e-05
  14  37.7784
  15  2.03996e-05
  16  3.00828e-05
  17  0.00010815
  18  3.92456e-05
  19  49.7801
  20  0.242035
  21  0.261074
Done.

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

Extracting fit parameters...

4FGL J2350.6-3005
   Spectrum: PowerLaw
526    Prefactor:  1.000e-04  1.081e-04  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.039e+00  2.611e-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:  9.756e-01  2.420e-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: 6.97e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.24e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/158527/likelihoodResults_421804801_422064001_4FGL_J2350.6-3005_daily_bin704.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) = 4150.7727695
delta logL = -0.000112495142275

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4150.77265732
delta logL = -3.16424120683e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10125E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2050       1.0000          .0000       10.000    
     3 'Normalizat'    .97558       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0391       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=   4150.773     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      233 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    23.189        .90712E-02** at limit **
   2  Index         2.1714        7.1450        .50000        .77480E-05
   3  Normalizat    .97558        .38485E-02    .45860E-01   -.10584E-04
   4  Prefactor     1.0391        .42848E-02    .40598E-01    .28255E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.17143
  Normalizat = 0.97558
  Prefactor  = 1.03906
 **********
 **   18 **HESSE 
 **********

 FCN=   4150.773     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      266 TOTAL
                     EDM=   .12E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    142.97        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1714        5.9553        .50000       -.60130    
   3  Normalizat    .97558        .95927E-02    .22638E-03   -.93853    
   4  Prefactor     1.0391        .10683E-01    .24383E-03   -.91439    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.22488e-07
Minuit parameter uncertainties:
  1  0.000298414
  2  183.999
  3  0.00959269
  4  0.0106826
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/158527': 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) = 4150.77265724
delta logL = -2.32509592024e-07

Extracting fit parameters...

4FGL J2350.6-3005
   Spectrum: PowerLaw
526    Prefactor:  1.000e-04  2.984e-04  1.000e-04  1.000e+04 ( 1.000e-14)
527        Index:  2.171e+00  1.840e+02  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.039e+00  1.068e-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:  9.756e-01  9.593e-03  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/158527/cmap_HighResolution_421804801_422064001_4FGL_J2350.6-3005_daily_bin704.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.24e-03', job_status='DONE', photon_flux_upper_limit='6.97e-08', time_completed='2021-09-30 07:15:24.247499', job_id='158527', GAL2='1.04', fit_tolerance='1e-08', EG2='0.98', EG='0.98', time_epoch_completed='1633011324.25', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='-2.33e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.02' WHERE bin_id='704' AND source_name='4FGL J2350.6-3005' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 07:15:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0073>
Subject: Job 158527: <4FGL_J2350.6-3005_daily_bin704> in cluster <slac> Done

Job <4FGL_J2350.6-3005_daily_bin704> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Sep 30 07:06:00 2021
Job was executed on host(s) <bullet0073>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 07:06:02 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:06:02 2021
Terminated at Thu Sep 30 07:15:25 2021
Results reported at Thu Sep 30 07:15:25 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2350.6-3005_daily_bin704 357.665 -30.087 421804801 422064001 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 :                                   519.37 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             285.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   562 sec.
    Turnaround time :                            565 sec.

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

