/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 188 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 = 7482
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2350.6-3005_daily_bin210
RA = 357.665, Dec = -30.087
tmin = 293760001, tmax = 294019201
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='156811', job_status='RUN', time_executed='2021-09-30 07:04:09.283960', time_epoch_executed='1633010649.28' WHERE source_name='4FGL J2350.6-3005' and cadence='daily' and bin_id='210'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/156811

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/156811/ft1_4FGL_J2350.6-3005_daily_bin210.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/156811/ft2_4FGL_J2350.6-3005_daily_bin210.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/156811/ft1_4FGL_J2350.6-3005_daily_bin210.fits outfile=/scratch/kocevski/156811/ft1_filteredMKT_4FGL_J2350.6-3005_daily_bin210.fits ra=357.665 dec=-30.087 rad=12.0 tmin=293760001.0 tmax=294019201.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.53
user 3.30
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/156811/ft1_filtered_4FGL_J2350.6-3005_daily_bin210.fits" evtable="EVENTS" scfile=/scratch/kocevski/156811/ft2_4FGL_J2350.6-3005_daily_bin210.fits sctable="SC_DATA" outfile=/scratch/kocevski/156811/ltcube_293760001_294019201_4FGL_J2350.6-3005_daily_bin210.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/156811/ft2_4FGL_J2350.6-3005_daily_bin210.fits
.....................!
real 11.51
user 11.17
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/156811/ft1_filtered_4FGL_J2350.6-3005_daily_bin210.fits evtable="EVENTS" scfile=/scratch/kocevski/156811/ft2_4FGL_J2350.6-3005_daily_bin210.fits sctable="SC_DATA" expcube=/scratch/kocevski/156811/ltcube_293760001_294019201_4FGL_J2350.6-3005_daily_bin210.fits outfile=/scratch/kocevski/156811/expmap_293760001_294019201_4FGL_J2350.6-3005_daily_bin210.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/156811/ltcube_293760001_294019201_4FGL_J2350.6-3005_daily_bin210.fits
.....................!
real 190.27
user 185.35
sys 4.62

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/156811/ft1_filtered_4FGL_J2350.6-3005_daily_bin210.fits scfile=/scratch/kocevski/156811/ft2_4FGL_J2350.6-3005_daily_bin210.fits outfile=/scratch/kocevski/156811/cmap_293760001_294019201_4FGL_J2350.6-3005_daily_bin210.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.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/156811/ft1_filtered_4FGL_J2350.6-3005_daily_bin210.fits scfile=/scratch/kocevski/156811/ft2_4FGL_J2350.6-3005_daily_bin210.fits outfile=/scratch/kocevski/156811/cmap_HighResolution_293760001_294019201_4FGL_J2350.6-3005_daily_bin210.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/156811/ft1_filtered_4FGL_J2350.6-3005_daily_bin210.fits evtable="EVENTS" scfile=/scratch/kocevski/156811/ft2_4FGL_J2350.6-3005_daily_bin210.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/156811/Model_4FGL_J2350.6-3005_daily_bin210.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/156811/ft1_filtered_4FGL_J2350.6-3005_daily_bin210.fits.....................!
real 36.10
user 34.83
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    63.653       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    8.0891       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    1.2933       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.1856       1.0000         .10000E-03   10000.    
     9 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    2.3758       1.0000         .10000E-03   10000.    
    11 'Prefactor '    138.05       1.0000         .10000E-03   10000.    
    12 'norm      '    6.0987       1.0000         .10000E-03   10000.    
    13 'norm      '    2.9643       1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.1497       1.0000         .10000E-03   10000.    
    15 'norm      '    7.7956       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10064E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    15.921       1.0000         .10000E-03   10000.    
    19 'Prefactor '    7.8927       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .91932       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0896       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=   4153.983     FROM MIGRAD    STATUS=CONVERGED    425 CALLS     2177 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          63.654        48.292        .68074E-06   -.15183E-04
   2  Prefactor     .10000E-03    22.257        .11257E-07** at limit **
   3  Prefactor     .10000E-03    2.7238        .62711E-06** at limit **
   4  Prefactor     .10000E-03    11.835        .25559E-06** at limit **
   5  Prefactor     8.0896        16.272       -.29742E-05    .14407E-04
   6  norm          .10000E-03    2.8552       -.10372E-06** at limit **
   7  norm          1.2933        1.5291        .34274E-06    .45103E-03
   8  Prefactor     1.1858        84.929       -.11090E-04   -.21432E-03
   9  norm          .10000E-03    3.2628       -.52473E-08** at limit **
  10  norm          2.3785        21.125       -.93971E-05   -.75010E-04
  11  Prefactor     138.05        80.762       -.31655E-05    .12031E-03
  12  norm          6.0990        6.7324       -.90818E-06   -.52651E-04
  13  norm          2.9639        3.9188        .29387E-05   -.27293E-03
  14  Prefactor     2.1285        89.285       -.32592E-04   -.10738E-04
  15  norm          7.7960        7.0094       -.98259E-06    .89822E-04
  16  Prefactor     .10000E-03    104.96       -.17676E-04** at limit **
  17  Prefactor     .10000E-03    100.58        .20090E-04** at limit **
  18  Prefactor     15.922        9.7848        .28088E-05    .21844E-03
  19  Prefactor     7.8606        114.42       -.90115E-04    .95234E-04
  20  Normalizat    .91928        .22126        .46133E-05    .18509E-03
  21  Prefactor     1.0896        .24108        .23427E-05    .24531E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 63.6543
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 8.08956
  norm       = 0.0001
  norm       = 1.2933
  Prefactor  = 1.1858
  norm       = 0.0001
  norm       = 2.37852
  Prefactor  = 138.047
  norm       = 6.09896
  norm       = 2.96386
  Prefactor  = 2.12848
  norm       = 7.79597
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 15.922
  Prefactor  = 7.86058
  Normalizat = 0.919278
  Prefactor  = 1.08959
 **********
 **   18 **HESSE 
 **********

 FCN=   4153.983     FROM HESSE     STATUS=OK           313 CALLS     2490 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          63.654        48.291        .50298E-04   -1.4111    
   2  Prefactor     .10000E-03    22.262        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    2.7720        .10387E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    11.849        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     8.0896        16.280        .14097E-03   -1.5139    
   6  norm          .10000E-03    2.8614        .10636E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.2933        1.4103        .59638E-04   -1.5481    
   8  Prefactor     1.1858        78.171        .41908E-03   -1.5490    
   9  norm          .10000E-03    3.2632        .11368E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.3785        21.244        .26580E-03   -1.5400    
  11  Prefactor     138.05        80.483        .34282E-04   -1.3353    
  12  norm          6.0990        6.7224        .16035E-03   -1.5214    
  13  norm          2.9639        3.8855        .13782E-03   -1.5364    
  14  Prefactor     2.1285        89.821        .28103E-03   -1.5416    
  15  norm          7.7960        7.0037        .14362E-03   -1.5149    
  16  Prefactor     .10000E-03    104.85        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    101.44        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     15.922        9.7723        .10038E-03   -1.4910    
  19  Prefactor     7.8606        113.25        .14272E-03   -1.5147    
  20  Normalizat    .91928        .26741        .25536E-03   -.95786    
  21  Prefactor     1.0896        .29265        .26018E-03   -.89800    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.71612e-09
Minuit parameter uncertainties:
  1  48.3203
  2  2.04694e-05
  3  8.64966e-05
  4  8.97986e-05
  5  16.2886
  6  3.54964e-06
  7  1.41034
  8  19.2812
  9  6.26606e-06
  10  14.2231
  11  80.5467
  12  6.72318
  13  3.8858
  14  27.6976
  15  7.00442
  16  0.00109045
  17  0.000170881
  18  9.77328
  19  59.809
  20  0.267799
  21  0.293077
Done.

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

Extracting fit parameters...

4FGL J2350.6-3005
   Spectrum: PowerLaw
526    Prefactor:  1.000e-04  1.709e-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.090e+00  2.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:  9.193e-01  2.678e-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: 7.77e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.84e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/156811/likelihoodResults_293760001_294019201_4FGL_J2350.6-3005_daily_bin210.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) = 4153.9832557
delta logL = -4.6849591854e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4153.98320885
delta logL = -1.88992999028e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12130E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.0641       1.0000          .0000       10.000    
     3 'Normalizat'    .91928       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0896       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=   4153.983     FROM MIGRAD    STATUS=CONVERGED     71 CALLS      260 TOTAL
                     EDM=   .24E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10215E-03    11.153        .13680    ** at limit **
   2  Index         2.1937        1.9726        .50000       -.11086E-04
   3  Normalizat    .91928        .25870E-02    .45147E-01    .80619E-04
   4  Prefactor     1.0896        .28581E-02    .58834E-01    .71914E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000102148
  Index      = 2.19366
  Normalizat = 0.919279
  Prefactor  = 1.08959
 **********
 **   18 **HESSE 
 **********

 FCN=   4153.983     FROM HESSE     STATUS=NOT POSDEF    43 CALLS      303 TOTAL
                     EDM=   .25E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10215E-03    11.566        .13415       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1937        1.9835        .50000       -.59592    
   3  Normalizat    .91928        .26004E-02    .25536E-03   -.95786    
   4  Prefactor     1.0896        .28721E-02    .26018E-03   -.89800    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.50839e-11
Minuit parameter uncertainties:
  1  0.00997016
  2  2.06855
  3  0.00260042
  4  0.00287211
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/156811': 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) = 4153.98320846
delta logL = 3.83349288313e-07

Extracting fit parameters...

4FGL J2350.6-3005
   Spectrum: PowerLaw
526    Prefactor:  1.021e-04  9.970e-03  1.000e-04  1.000e+04 ( 1.000e-14)
527        Index:  2.194e+00  2.069e+00  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.090e+00  2.872e-03  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.193e-01  2.600e-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/156811/cmap_HighResolution_293760001_294019201_4FGL_J2350.6-3005_daily_bin210.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.84e-03', job_status='DONE', photon_flux_upper_limit='7.77e-08', time_completed='2021-09-30 07:12:41.454256', job_id='156811', GAL2='1.09', fit_tolerance='1e-08', EG2='0.92', EG='0.92', time_epoch_completed='1633011161.45', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='3.83e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.02' WHERE bin_id='210' AND source_name='4FGL J2350.6-3005' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 07:12:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0104>
Subject: Job 156811: <4FGL_J2350.6-3005_daily_bin210> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2350.6-3005_daily_bin210 357.665 -30.087 293760001 294019201 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 :                                   506.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             240.09 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   710 sec.
    Turnaround time :                            714 sec.

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

