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


Performing analysis on: 4FGL_J2350.6-3005_daily_bin445
RA = 357.665, Dec = -30.087
tmin = 354672001, tmax = 354931201
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='158141', job_status='RUN', time_executed='2021-09-30 07:08:40.487432', time_epoch_executed='1633010920.49' WHERE source_name='4FGL J2350.6-3005' and cadence='daily' and bin_id='445'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/158141

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/158141/ft1_4FGL_J2350.6-3005_daily_bin445.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/158141/ft2_4FGL_J2350.6-3005_daily_bin445.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/158141/ft1_4FGL_J2350.6-3005_daily_bin445.fits outfile=/scratch/kocevski/158141/ft1_filteredMKT_4FGL_J2350.6-3005_daily_bin445.fits ra=357.665 dec=-30.087 rad=12.0 tmin=354672001.0 tmax=354931201.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.38
user 3.15
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/158141/ft2_4FGL_J2350.6-3005_daily_bin445.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/158141/ft1_filteredMKT_4FGL_J2350.6-3005_daily_bin445.fits evtable="EVENTS" outfile="/scratch/kocevski/158141/ft1_filtered_4FGL_J2350.6-3005_daily_bin445.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.51
user 0.32
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/158141/ft1_filtered_4FGL_J2350.6-3005_daily_bin445.fits" evtable="EVENTS" scfile=/scratch/kocevski/158141/ft2_4FGL_J2350.6-3005_daily_bin445.fits sctable="SC_DATA" outfile=/scratch/kocevski/158141/ltcube_354672001_354931201_4FGL_J2350.6-3005_daily_bin445.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/158141/ft2_4FGL_J2350.6-3005_daily_bin445.fits
.....................!
real 12.15
user 11.72
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/158141/ft1_filtered_4FGL_J2350.6-3005_daily_bin445.fits evtable="EVENTS" scfile=/scratch/kocevski/158141/ft2_4FGL_J2350.6-3005_daily_bin445.fits sctable="SC_DATA" expcube=/scratch/kocevski/158141/ltcube_354672001_354931201_4FGL_J2350.6-3005_daily_bin445.fits outfile=/scratch/kocevski/158141/expmap_354672001_354931201_4FGL_J2350.6-3005_daily_bin445.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/158141/ltcube_354672001_354931201_4FGL_J2350.6-3005_daily_bin445.fits
.....................!
real 192.22
user 186.24
sys 5.56

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/158141/ft1_filtered_4FGL_J2350.6-3005_daily_bin445.fits scfile=/scratch/kocevski/158141/ft2_4FGL_J2350.6-3005_daily_bin445.fits outfile=/scratch/kocevski/158141/cmap_354672001_354931201_4FGL_J2350.6-3005_daily_bin445.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.56
user 0.37
sys 0.16

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/158141/ft1_filtered_4FGL_J2350.6-3005_daily_bin445.fits evtable="EVENTS" scfile=/scratch/kocevski/158141/ft2_4FGL_J2350.6-3005_daily_bin445.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/158141/Model_4FGL_J2350.6-3005_daily_bin445.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/158141/ft1_filtered_4FGL_J2350.6-3005_daily_bin445.fits.....................!
real 45.81
user 44.45
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    34.607       1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.9063       1.0000         .10000E-03   10000.    
     4 'Prefactor '    7.7994       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .92901E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    3.4338       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    9.3638       1.0000         .10000E-03   10000.    
    10 'norm      '    3.2804       1.0000         .10000E-03   10000.    
    11 'Prefactor '    93.741       1.0000         .10000E-03   10000.    
    12 'norm      '    4.1330       1.0000         .10000E-03   10000.    
    13 'norm      '    5.7416       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    1.2011       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    11.759       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .61694E-01   1.0000         .10000E-03   10000.    
    19 'Prefactor '    28.903       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .75333       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.1943       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=   6326.630     FROM MIGRAD    STATUS=CONVERGED    824 CALLS     2646 TOTAL
                     EDM=   .89E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    8.6305        .18142E-02** at limit **
   2  Prefactor     34.600        41.553        .68120E-04   -.11349E-04
   3  Prefactor     1.9051        3.9700        .19664E-03   -.10782E-03
   4  Prefactor     7.8012        15.512        .14358E-03   -.24071E-04
   5  Prefactor     .10000E-03    4.0118        .15539E-02** at limit **
   6  norm          .10000E-03    2.9560        .47911E-01** at limit **
   7  norm          3.4339        .89872        .37465E-04   -.14960E-03
   8  Prefactor     .10000E-03    4.3461        .16158E-02** at limit **
   9  norm          9.3639        8.1376        .13097E-03   -.13976E-04
  10  norm          3.2813        5.3638        .22357E-03   -.53242E-04
  11  Prefactor     93.742        54.274        .41510E-04   -.37577E-04
  12  norm          4.1309        5.8420        .19139E-03   -.47878E-04
  13  norm          5.7414        2.8875        .92548E-04   -.63755E-04
  14  Prefactor     .10000E-03    8.9126        .18142E-02** at limit **
  15  norm          1.2024        2.9212        .20595E-03   -.20855E-03
  16  Prefactor     .10000E-03    109.68        .18142E-02** at limit **
  17  Prefactor     11.551        43.039        .11682E-03   -.18198E-04
  18  Prefactor     .44125E-01    6.3899        .43437E-01    .34236E-03
  19  Prefactor     28.963        38.968        .74521E-04   -.39817E-04
  20  Normalizat    .75316        .19374        .25297E-03   -.34802E-03
  21  Prefactor     1.1946        .21460        .23908E-03   -.76512E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 34.6005
  Prefactor  = 1.90506
  Prefactor  = 7.80119
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 3.43387
  Prefactor  = 0.0001
  norm       = 9.36391
  norm       = 3.28135
  Prefactor  = 93.7422
  norm       = 4.13086
  norm       = 5.74141
  Prefactor  = 0.0001
  norm       = 1.20236
  Prefactor  = 0.0001
  Prefactor  = 11.5514
  Prefactor  = 0.0441254
  Prefactor  = 28.9631
  Normalizat = 0.753162
  Prefactor  = 1.19464
 **********
 **   18 **HESSE 
 **********

 FCN=   6326.630     FROM HESSE     STATUS=OK           315 CALLS     2961 TOTAL
                     EDM=   .71E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    8.6306        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     34.600        41.552        .27248E-05   -1.4531    
   3  Prefactor     1.9051        3.9674        .78657E-05   -1.5432    
   4  Prefactor     7.8012        15.507        .57433E-05   -1.5149    
   5  Prefactor     .10000E-03    4.0121        .31078E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    2.9790        .47541E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          3.4339        .89869        .14986E-05   -1.5337    
   8  Prefactor     .10000E-03    4.3466        .32315E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          9.3639        8.1375        .52387E-05   -1.5096    
  10  norm          3.2813        5.3635        .89426E-05   -1.5346    
  11  Prefactor     93.742        54.274        .83019E-05   -1.3769    
  12  norm          4.1309        5.8409        .76554E-05   -1.5301    
  13  norm          5.7414        2.8874        .37019E-05   -1.5229    
  14  Prefactor     .10000E-03    8.9129        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.2024        2.9207        .82382E-05   -1.5489    
  16  Prefactor     .10000E-03    109.70        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     11.551        43.027        .46728E-05   -1.5028    
  18  Prefactor     .44125E-01    5.1414        .50246E-01   -1.5666    
  19  Prefactor     28.963        38.928        .29809E-05   -1.4631    
  20  Normalizat    .75316        .19394        .10119E-04   -1.0183    
  21  Prefactor     1.1946        .21486        .95631E-05   -.86496    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.13171e-10
Minuit parameter uncertainties:
  1  3.79694e-06
  2  41.5872
  3  3.96799
  4  15.5155
  5  6.07678e-06
  6  2.67e-05
  7  0.898698
  8  5.07459e-06
  9  8.13843
  10  5.36428
  11  54.303
  12  5.84171
  13  2.88751
  14  1.01248e-05
  15  2.92105
  16  0.000217138
  17  43.1434
  18  0.951615
  19  38.9618
  20  0.194119
  21  0.215022
Done.

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

Extracting fit parameters...

4FGL J2350.6-3005
   Spectrum: PowerLaw
526    Prefactor:  1.155e+01  4.314e+01  1.000e-04  1.000e+04 ( 1.000e-14)
527        Index:  2.022e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
528        Scale:  2.236e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
584    Prefactor:  1.195e+00  2.150e-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:  7.532e-01  1.941e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/158141/likelihoodResults_354672001_354931201_4FGL_J2350.6-3005_daily_bin445.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) = 6326.10376083
delta logL = 0.526537132737

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6326.04951278
delta logL = 0.580785183942

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.0507       1.0000         .10000E-03   10000.    
     2 'Index     '    3.3582       1.0000          .0000       10.000    
     3 'Normalizat'    .70614       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2241       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=   6326.050     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      265 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.0411        73.620        .58070E-02    .53590E-03
   2  Index         3.3601        2.8608        .88580E-01    .20957E-03
   3  Normalizat    .70608        .49297E-01    .42372E-01    .38169E-04
   4  Prefactor     1.2241        .54066E-01    .53468E-01    .15287E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.04106
  Index      = 3.36006
  Normalizat = 0.706076
  Prefactor  = 1.2241
 **********
 **   18 **HESSE 
 **********

 FCN=   6326.050     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      298 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.0411        139.88        .13002E-03   -1.5359    
   2  Index         3.3601        6.6622        .49114E-02   -.33417    
   3  Normalizat    .70608        .17214        .26035E-03   -1.0365    
   4  Prefactor     1.2241        .19306        .23640E-03   -.85593    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.59541e-09
Minuit parameter uncertainties:
  1  41.3527
  2  5.27639
  3  0.172267
  4  0.193173
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/158141': 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) = 6326.04951102
delta logL = 0.580786944074

Extracting fit parameters...

4FGL J2350.6-3005
   Spectrum: PowerLaw
526    Prefactor:  3.041e+00  4.135e+01  1.000e-04  1.000e+04 ( 1.000e-14)
527        Index:  3.360e+00  5.276e+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.224e+00  1.932e-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:  7.061e-01  1.723e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.30
Ra Dec: 357.665 -30.087
Photon Index (Free Index): 3.36 +/- 5.28
Photon Flux (Free Index): 4.42e-08 +/- 5.05e-08
Energy Flux (Free Index): 7.65e-06 +/- 1.09e-05

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

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.69e-03', comment='SUCCESS', energy_flux2='7.65e-06', dlogl='5.81e-01', photon_flux2='4.42e-08', job_status='DONE', time_completed='2021-09-30 07:19:38.560533', photon_index_error2='5.28', photon_index2='3.36', ts='0.08', fit_tolerance='1e-08', GAL='1.19', photon_index_error='0.00', photon_flux_upper_limit='6.24e-08', energy_flux_error2='1.09e-05', EG='0.75', time_epoch_completed='1633011578.56', return_code='0', job_id='158141', GAL2='1.22', EG2='0.71', return_code2='102', photon_flux_error2='5.05e-08', ts2='1.30', photon_index='2.02' WHERE bin_id='445' AND source_name='4FGL J2350.6-3005' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 07:19:38 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0038>
Subject: Job 158141: <4FGL_J2350.6-3005_daily_bin445> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2350.6-3005_daily_bin445 357.665 -30.087 354672001 354931201 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 :                                   655.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             244.78 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   848 sec.
    Turnaround time :                            851 sec.

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

