/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 128 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_bin348
RA = 357.665, Dec = -30.087
tmin = 329529601, tmax = 329788801
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='157999', job_status='RUN', time_executed='2021-09-30 07:07:36.335940', time_epoch_executed='1633010856.34' WHERE source_name='4FGL J2350.6-3005' and cadence='daily' and bin_id='348'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/157999

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/157999/ft1_4FGL_J2350.6-3005_daily_bin348.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/157999/ft2_4FGL_J2350.6-3005_daily_bin348.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/157999/ft1_4FGL_J2350.6-3005_daily_bin348.fits outfile=/scratch/kocevski/157999/ft1_filteredMKT_4FGL_J2350.6-3005_daily_bin348.fits ra=357.665 dec=-30.087 rad=12.0 tmin=329529601.0 tmax=329788801.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.52
user 3.28
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/157999/ft1_filtered_4FGL_J2350.6-3005_daily_bin348.fits" evtable="EVENTS" scfile=/scratch/kocevski/157999/ft2_4FGL_J2350.6-3005_daily_bin348.fits sctable="SC_DATA" outfile=/scratch/kocevski/157999/ltcube_329529601_329788801_4FGL_J2350.6-3005_daily_bin348.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/157999/ft2_4FGL_J2350.6-3005_daily_bin348.fits
.....................!
real 11.72
user 11.32
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/157999/ft1_filtered_4FGL_J2350.6-3005_daily_bin348.fits evtable="EVENTS" scfile=/scratch/kocevski/157999/ft2_4FGL_J2350.6-3005_daily_bin348.fits sctable="SC_DATA" expcube=/scratch/kocevski/157999/ltcube_329529601_329788801_4FGL_J2350.6-3005_daily_bin348.fits outfile=/scratch/kocevski/157999/expmap_329529601_329788801_4FGL_J2350.6-3005_daily_bin348.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/157999/ltcube_329529601_329788801_4FGL_J2350.6-3005_daily_bin348.fits
.....................!
real 190.08
user 184.98
sys 4.80

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/157999/ft1_filtered_4FGL_J2350.6-3005_daily_bin348.fits scfile=/scratch/kocevski/157999/ft2_4FGL_J2350.6-3005_daily_bin348.fits outfile=/scratch/kocevski/157999/cmap_329529601_329788801_4FGL_J2350.6-3005_daily_bin348.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.55
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/157999/ft1_filtered_4FGL_J2350.6-3005_daily_bin348.fits scfile=/scratch/kocevski/157999/ft2_4FGL_J2350.6-3005_daily_bin348.fits outfile=/scratch/kocevski/157999/cmap_HighResolution_329529601_329788801_4FGL_J2350.6-3005_daily_bin348.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.61
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/157999/ft1_filtered_4FGL_J2350.6-3005_daily_bin348.fits evtable="EVENTS" scfile=/scratch/kocevski/157999/ft2_4FGL_J2350.6-3005_daily_bin348.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/157999/Model_4FGL_J2350.6-3005_daily_bin348.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/157999/ft1_filtered_4FGL_J2350.6-3005_daily_bin348.fits.....................!
real 36.88
user 35.64
sys 1.15

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    33.777       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10102E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10304E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    11.524       1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.8141       1.0000         .10000E-03   10000.    
     6 'norm      '    4.1329       1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    13.554       1.0000         .10000E-03   10000.    
    10 'norm      '    7.0235       1.0000         .10000E-03   10000.    
    11 'Prefactor '    23.027       1.0000         .10000E-03   10000.    
    12 'norm      '    .10322E-01   1.0000         .10000E-03   10000.    
    13 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    16.142       1.0000         .10000E-03   10000.    
    15 'norm      '    .10089E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .17068E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    25.354       1.0000         .10000E-03   10000.    
    18 'Prefactor '    11.689       1.0000         .10000E-03   10000.    
    19 'Prefactor '    89.657       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .67490       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.2640       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=   4370.708     FROM MIGRAD    STATUS=CONVERGED    474 CALLS     2282 TOTAL
                     EDM=   .22E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          33.787        32.444       -.42475E-06   -.42095E-05
   2  Prefactor     .10000E-03    40.152       -.24443E-06** at limit **
   3  Prefactor     .10000E-03    4.6016       -.46582E-06** at limit **
   4  Prefactor     11.534        17.049        .38477E-05   -.10299E-04
   5  Prefactor     6.8194        14.259       -.75594E-05   -.92299E-04
   6  norm          4.1346        7.2686        .88402E-05   -.14589E-03
   7  norm          .10000E-03    .17570        .76310E-07** at limit **
   8  Prefactor     .10000E-03    20.789        .31038E-06** at limit **
   9  norm          13.514        8.6481        .48716E-06   -.22959E-04
  10  norm          7.0221        6.7164       -.50770E-06   -.32985E-04
  11  Prefactor     23.036        45.108        .51468E-05   -.23098E-04
  12  norm          .64673E-01    3.1298        .15383E-06   -.41286E-04
  13  norm          .10000E-03    2.3152        .11117E-06** at limit **
  14  Prefactor     16.149        31.755       -.87845E-06   -.34843E-04
  15  norm          .10000E-03    5.1080        .28411E-07** at limit **
  16  Prefactor     .10000E-03    252.51        .16774E-04** at limit **
  17  Prefactor     25.445        76.687        .11308E-03   -.18077E-06
  18  Prefactor     11.691        8.7608       -.81673E-06   -.18409E-03
  19  Prefactor     89.673        72.387        .67747E-06   -.46540E-04
  20  Normalizat    .67488        .19579       -.72031E-05   -.45124E-04
  21  Prefactor     1.2638        .21480       -.10944E-05   -.20258E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 33.7873
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 11.5344
  Prefactor  = 6.81942
  norm       = 4.13458
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 13.5136
  norm       = 7.02208
  Prefactor  = 23.0361
  norm       = 0.064673
  norm       = 0.0001
  Prefactor  = 16.1492
  norm       = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 25.4446
  Prefactor  = 11.6907
  Prefactor  = 89.6731
  Normalizat = 0.674884
  Prefactor  = 1.26381
 **********
 **   18 **HESSE 
 **********

 FCN=   4370.708     FROM HESSE     STATUS=OK           323 CALLS     2605 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          33.787        32.449        .68950E-04   -1.4545    
   2  Prefactor     .10000E-03    40.235        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    4.7806        .27597E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     11.534        17.015        .11801E-03   -1.5029    
   5  Prefactor     6.8194        14.267        .15370E-03   -1.5186    
   6  norm          4.1346        7.2431        .19828E-03   -1.5301    
   7  norm          .10000E-03    .17703        .27055E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    21.689        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          13.514        8.9544        .10880E-03   -1.4973    
  10  norm          7.0221        6.7172        .15137E-03   -1.5178    
  11  Prefactor     23.036        45.136        .83472E-04   -1.4748    
  12  norm          .64673E-01    57.922        .21888E-02   -1.5657    
  13  norm          .10000E-03    2.3731        .19616E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     16.149        31.747        .99689E-04   -1.4904    
  15  norm          .10000E-03    5.3248        .29117E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    253.55        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     25.445        76.603        .79557E-04   -1.4699    
  18  Prefactor     11.691        8.7563        .11717E-03   -1.5024    
  19  Prefactor     89.673        72.419        .42436E-04   -1.3811    
  20  Normalizat    .67488        .23470        .27109E-03   -1.0489    
  21  Prefactor     1.2638        .25965        .23070E-03   -.84390    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.77991e-08
Minuit parameter uncertainties:
  1  32.4661
  2  9.72964e-05
  3  0.000128451
  4  17.0221
  5  14.2737
  6  7.2446
  7  1.09622e-06
  8  0.00020172
  9  8.95526
  10  6.71793
  11  45.2032
  12  3.87166
  13  2.84963e-05
  14  31.78
  15  3.6798e-05
  16  0.00198268
  17  76.9011
  18  8.75722
  19  72.4907
  20  0.235054
  21  0.259919
Done.

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

Extracting fit parameters...

4FGL J2350.6-3005
   Spectrum: PowerLaw
526    Prefactor:  2.544e+01  7.690e+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.264e+00  2.599e-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:  6.749e-01  2.351e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.14
Ra Dec: 357.665 -30.087
Photon Flux Upper Limit: 1.05e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.88e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/157999/likelihoodResults_329529601_329788801_4FGL_J2350.6-3005_daily_bin348.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) = 4369.27951419
delta logL = 1.42830674672

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4369.27659157
delta logL = 1.4312293583

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.1605       1.0000         .10000E-03   10000.    
     2 'Index     '    3.8539       1.0000          .0000       10.000    
     3 'Normalizat'    .54946       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3510       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=   4369.277     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      267 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.0952        23.052        .70061E-02    .12198E-02
   2  Index         3.8661        2.0638        .65512E-01    .29302E-03
   3  Normalizat    .54925        .61929E-01    .67116E-01    .17125E-04
   4  Prefactor     1.3514        .69505E-01    .50593E-01   -.28367E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.09518
  Index      = 3.86609
  Normalizat = 0.549245
  Prefactor  = 1.35143
 **********
 **   18 **HESSE 
 **********

 FCN=   4369.277     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      298 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.0952        39.153        .57197E-04   -1.5418    
   2  Index         3.8661        2.9318        .26030E-02   -.22877    
   3  Normalizat    .54925        .20646        .29705E-03   -1.1018    
   4  Prefactor     1.3514        .23262        .22366E-03   -.81790    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.37813e-10
Minuit parameter uncertainties:
  1  18.1277
  2  3.14613
  3  0.206745
  4  0.232804
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/157999': 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) = 4369.27655778
delta logL = 1.4312631474

Extracting fit parameters...

4FGL J2350.6-3005
   Spectrum: PowerLaw
526    Prefactor:  2.095e+00  1.813e+01  1.000e-04  1.000e+04 ( 1.000e-14)
527        Index:  3.866e+00  3.146e+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.351e+00  2.328e-01  0.000e+00  1.000e+01 ( 1.000e+00)
585        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
586        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
583   Normalization:  5.492e-01  2.067e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.28
Ra Dec: 357.665 -30.087
Photon Index (Free Index): 3.87 +/- 3.15
Photon Flux (Free Index): 1.21e-07 +/- 7.62e-08
Energy Flux (Free Index): 1.85e-05 +/- 1.54e-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/157999/cmap_HighResolution_329529601_329788801_4FGL_J2350.6-3005_daily_bin348.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.88e-03', comment='SUCCESS', energy_flux2='1.85e-05', dlogl='1.43e+00', photon_flux2='1.21e-07', job_status='DONE', time_completed='2021-09-30 07:16:24.904550', photon_index_error2='3.15', photon_index2='3.87', ts='0.14', fit_tolerance='1e-08', GAL='1.26', photon_index_error='0.00', photon_flux_upper_limit='1.05e-07', energy_flux_error2='1.54e-05', EG='0.67', time_epoch_completed='1633011384.9', return_code='0', job_id='157999', GAL2='1.35', EG2='0.55', return_code2='102', photon_flux_error2='7.62e-08', ts2='3.28', photon_index='2.02' WHERE bin_id='348' AND source_name='4FGL J2350.6-3005' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 07:16:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0036>
Subject: Job 157999: <4FGL_J2350.6-3005_daily_bin348> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2350.6-3005_daily_bin348 357.665 -30.087 329529601 329788801 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 :                                   521.01 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             323.91 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   668 sec.
    Turnaround time :                            670 sec.

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

