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


Performing analysis on: 4FGL_J2329.3-4733_daily_bin1132
RA = 352.339, Dec = -47.5558
tmin = 532742401, tmax = 533001601
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='950472', job_status='RUN', time_executed='2021-09-29 21:01:55.854120', time_epoch_executed='1632974515.85' WHERE source_name='4FGL J2329.3-4733' and cadence='daily' and bin_id='1132'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/950472

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/950472/ft1_4FGL_J2329.3-4733_daily_bin1132.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/950472/ft2_4FGL_J2329.3-4733_daily_bin1132.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/950472/ft1_4FGL_J2329.3-4733_daily_bin1132.fits outfile=/scratch/kocevski/950472/ft1_filteredMKT_4FGL_J2329.3-4733_daily_bin1132.fits ra=352.339 dec=-47.5558 rad=12.0 tmin=532742401.0 tmax=533001601.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.66
user 3.42
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/950472/ft2_4FGL_J2329.3-4733_daily_bin1132.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/950472/ft2_4FGL_J2329.3-4733_daily_bin1132.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/950472/ft1_filteredMKT_4FGL_J2329.3-4733_daily_bin1132.fits evtable="EVENTS" outfile="/scratch/kocevski/950472/ft1_filtered_4FGL_J2329.3-4733_daily_bin1132.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/950472/ft1_filtered_4FGL_J2329.3-4733_daily_bin1132.fits" evtable="EVENTS" scfile=/scratch/kocevski/950472/ft2_4FGL_J2329.3-4733_daily_bin1132.fits sctable="SC_DATA" outfile=/scratch/kocevski/950472/ltcube_532742401_533001601_4FGL_J2329.3-4733_daily_bin1132.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/950472/ft2_4FGL_J2329.3-4733_daily_bin1132.fits
.....................!
real 12.28
user 11.85
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/950472/ft1_filtered_4FGL_J2329.3-4733_daily_bin1132.fits evtable="EVENTS" scfile=/scratch/kocevski/950472/ft2_4FGL_J2329.3-4733_daily_bin1132.fits sctable="SC_DATA" expcube=/scratch/kocevski/950472/ltcube_532742401_533001601_4FGL_J2329.3-4733_daily_bin1132.fits outfile=/scratch/kocevski/950472/expmap_532742401_533001601_4FGL_J2329.3-4733_daily_bin1132.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/950472/ltcube_532742401_533001601_4FGL_J2329.3-4733_daily_bin1132.fits
.....................!
real 190.99
user 186.14
sys 4.37

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 181 point sources and 0 extended sources

Setting source of interest to:
4FGL J2329.3-4733 @ 352.339 -47.5558

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/950472/ft1_filtered_4FGL_J2329.3-4733_daily_bin1132.fits scfile=/scratch/kocevski/950472/ft2_4FGL_J2329.3-4733_daily_bin1132.fits outfile=/scratch/kocevski/950472/cmap_532742401_533001601_4FGL_J2329.3-4733_daily_bin1132.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=352.339 yref=-47.5558 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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/950472/ft1_filtered_4FGL_J2329.3-4733_daily_bin1132.fits scfile=/scratch/kocevski/950472/ft2_4FGL_J2329.3-4733_daily_bin1132.fits outfile=/scratch/kocevski/950472/cmap_HighResolution_532742401_533001601_4FGL_J2329.3-4733_daily_bin1132.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=352.339 yref=-47.5558 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/950472/ft1_filtered_4FGL_J2329.3-4733_daily_bin1132.fits evtable="EVENTS" scfile=/scratch/kocevski/950472/ft2_4FGL_J2329.3-4733_daily_bin1132.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/950472/Model_4FGL_J2329.3-4733_daily_bin1132.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/950472/ft1_filtered_4FGL_J2329.3-4733_daily_bin1132.fits.....................!
real 36.13
user 34.81
sys 1.14

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/950472/ft1_filtered_4FGL_J2329.3-4733_daily_bin1132.fits', '/scratch/kocevski/950472/ft2_4FGL_J2329.3-4733_daily_bin1132.fits', expMap='/scratch/kocevski/950472/expmap_532742401_533001601_4FGL_J2329.3-4733_daily_bin1132.fits', expCube='/scratch/kocevski/950472/ltcube_532742401_533001601_4FGL_J2329.3-4733_daily_bin1132.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/950472/Model_4FGL_J2329.3-4733_daily_bin1132.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2329.3-4733'

4FGL J2329.3-4733
   Spectrum: PowerLaw
460    Prefactor:  3.273e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
461        Index:  2.507e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
462        Scale:  1.077e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/950472/ft1_filtered_4FGL_J2329.3-4733_daily_bin1132.fits
Spacecraft file(s): /scratch/kocevski/950472/ft2_4FGL_J2329.3-4733_daily_bin1132.fits
Exposure map: /scratch/kocevski/950472/expmap_532742401_533001601_4FGL_J2329.3-4733_daily_bin1132.fits
Exposure cube: /scratch/kocevski/950472/ltcube_532742401_533001601_4FGL_J2329.3-4733_daily_bin1132.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/950472/Model_4FGL_J2329.3-4733_daily_bin1132.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) = 4485.33658803

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.8685       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.5757       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    7.1523       1.0000         .10000E-03   10000.    
    10 'Prefactor '    9.9631       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.0453       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10141E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    7.3191       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10019E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    8.6713       1.0000         .10000E-03   10000.    
    24 'Prefactor '    73.416       1.0000         .10000E-03   10000.    
    25 'norm      '    .10183E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    4.7631       1.0000         .10000E-03   10000.    
    27 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    .10321E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    32 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    33 'Prefactor '    2.9838       1.0000         .10000E-03   10000.    
    34 'Prefactor '    6.0891       1.0000         .10000E-03   10000.    
    35 'Normalizat'    1.2940       1.0000         .10000E-01   10.000    
    36 'Prefactor '    .59508       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5760E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4485.320     FROM MIGRAD    STATUS=CONVERGED    973 CALLS     5229 TOTAL
                     EDM=   .70E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    30.175       -.23936E-05** at limit **
   2  Prefactor     .10000E-03    12.564        .22679E-05** at limit **
   3  Prefactor     .10000E-03    52.127       -.76372E-05** at limit **
   4  Prefactor     .10000E-03    10.596       -.43227E-05** at limit **
   5  Prefactor     1.8686        6.3703       -.10757E-05   -.53568E-03
   6  Prefactor     .10000E-03    29.430       -.37203E-05** at limit **
   7  Prefactor     2.5766        6.6966       -.48232E-06   -.34672E-03
   8  Prefactor     .10000E-03    5.1340       -.17696E-05** at limit **
   9  norm          7.1521        9.6807       -.15812E-07   -.19305E-04
  10  Prefactor     9.9639        5.8851       -.20020E-07   -.15094E-03
  11  Prefactor     .10000E-03    36.146        .89849E-05** at limit **
  12  Prefactor     .10000E-03    1.5862       -.42558E-07** at limit **
  13  Prefactor     7.0443        20.688       -.26607E-06   -.39690E-04
  14  Prefactor     .10000E-03    8.7057        .13598E-05** at limit **
  15  Prefactor     .10000E-03    32.305        .23828E-05** at limit **
  16  Prefactor     7.3201        10.694       -.17468E-06   -.99840E-04
  17  Prefactor     .10000E-03    48.110        .34272E-05** at limit **
  18  Prefactor     .10000E-03    4.9996        .30224E-06** at limit **
  19  norm          .10000E-03    6.0827        .44663E-06** at limit **
  20  norm          .10000E-03    2.1136       -.85730E-08** at limit **
  21  norm          .10000E-03    2.3013       -.48957E-07** at limit **
  22  norm          .10000E-03    3.7682        .47013E-07** at limit **
  23  Prefactor     8.6716        6.6486       -.10626E-07   -.18973E-04
  24  Prefactor     73.421        51.582        .43051E-05   -.47310E-04
  25  norm          .10000E-03    2.2833       -.12440E-06** at limit **
  26  Prefactor     4.7636        12.527       -.37746E-06   -.81170E-04
  27  norm          .10000E-03    .31021       -.11632E-08** at limit **
  28  norm          .10000E-03    4.4264       -.88244E-06** at limit **
  29  Prefactor     .10000E-03    4.8445        .20499E-05** at limit **
  30  Prefactor     .10000E-03    1.3595       -.51189E-07** at limit **
  31  Prefactor     .10000E-03    18.276       -.19765E-05** at limit **
  32  norm          .10000E-03    12.691        .26543E-05** at limit **
  33  Prefactor     2.9849        4.8953       -.16673E-06   -.36853E-03
  34  Prefactor     6.0918        5.8372       -.17295E-06   -.20453E-03
  35  Normalizat    1.2937        .21326       -.38541E-06    .11526E-03
  36  Prefactor     .59534        .21037       -.70786E-07    .32605E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 1.86861
  Prefactor  = 0.0001
  Prefactor  = 2.57657
  Prefactor  = 0.0001
  norm       = 7.15212
  Prefactor  = 9.96395
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 7.04429
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.32015
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 8.67162
  Prefactor  = 73.4212
  norm       = 0.0001
  Prefactor  = 4.76361
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 2.98494
  Prefactor  = 6.09177
  Normalizat = 1.29368
  Prefactor  = 0.595337
 **********
 **   18 **HESSE 
 **********

 FCN=   4485.320     FROM HESSE     STATUS=OK           797 CALLS     6026 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    30.163        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    12.563        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    51.949        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    10.605        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.8686        6.5490        .30473E-03   -1.5435    
   6  Prefactor     .10000E-03    29.531        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.5766        6.7475        .25431E-03   -1.5387    
   8  Prefactor     .10000E-03    5.1776        .14775E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          7.1521        9.6797        .14999E-03   -1.5173    
  10  Prefactor     9.9639        5.8947        .11948E-03   -1.5077    
  11  Prefactor     .10000E-03    35.715        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    1.5888        .82365E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     7.0443        20.720        .15114E-03   -1.5177    
  14  Prefactor     .10000E-03    8.7518        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    32.274        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     7.3201        10.706        .14826E-03   -1.5167    
  17  Prefactor     .10000E-03    48.231        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    5.0048        .14624E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    6.0886        .16130E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    2.1139        .95089E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    2.3039        .99210E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    3.7704        .12697E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     8.6716        6.6303        .13612E-03   -1.5119    
  24  Prefactor     73.421        51.343        .46857E-04   -1.3992    
  25  norm          .10000E-03    2.2896        .98725E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     4.7636        12.498        .18436E-03   -1.5271    
  27  norm          .10000E-03    .31427        .36391E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          .10000E-03    4.5084        .13765E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .10000E-03    4.8277        .14362E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     .10000E-03    1.3701        .76193E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .10000E-03    18.333        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  norm          .10000E-03    12.676        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Prefactor     2.9849        4.9124        .18023E-03   -1.5362    
  34  Prefactor     6.0918        5.8865        .14809E-03   -1.5214    
  35  Normalizat    1.2937        .24972        .20513E-03   -.83755    
  36  Prefactor     .59534        .24284        .30701E-03   -1.0778    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.4345e-09
Minuit parameter uncertainties:
  1  8.15482e-05
  2  3.71251e-05
  3  0.000474239
  4  0.000118227
  5  6.55147
  6  0.000172685
  7  6.74944
  8  3.77271e-05
  9  9.6818
  10  5.89505
  11  0.000328425
  12  7.32583e-07
  13  20.7416
  14  2.11444e-05
  15  8.13802e-05
  16  10.7089
  17  0.0001419
  18  2.9493e-06
  19  8.88234e-06
  20  3.2719e-07
  21  7.34961e-06
  22  2.70097e-06
  23  6.63085
  24  51.3738
  25  1.94858e-05
  26  12.5044
  27  3.39681e-07
  28  2.5051e-05
  29  2.60684e-05
  30  3.02386e-06
  31  7.4743e-05
  32  5.03158e-05
  33  4.91308
  34  5.88706
  35  0.249957
  36  0.243268
Done.

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

Extracting fit parameters...

4FGL J2329.3-4733
   Spectrum: PowerLaw
460    Prefactor:  4.764e+00  1.250e+01  1.000e-04  1.000e+04 ( 1.000e-13)
461        Index:  2.507e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
462        Scale:  1.077e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
573    Prefactor:  5.953e-01  2.433e-01  0.000e+00  1.000e+01 ( 1.000e+00)
574        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
575        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
572   Normalization:  1.294e+00  2.500e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.19
Ra Dec: 352.339 -47.556
Photon Flux Upper Limit: 9.64e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.50e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/950472/likelihoodResults_532742401_533001601_4FGL_J2329.3-4733_daily_bin1132.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) = 4485.11838054
delta logL = 0.2013727136

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4485.11674519
delta logL = 0.203008061156

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.230       1.0000         .10000E-03   10000.    
     2 'Index     '    1.8068       1.0000          .0000       10.000    
     3 'Normalizat'    1.3025       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .58611       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5760E+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=   4485.117     FROM MIGRAD    STATUS=CONVERGED     80 CALLS      311 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.231        16.895        .12527E-03   -.15600E-03
   2  Index         1.8068        .91865        .11987E-01   -.36704E-04
   3  Normalizat    1.3025        .22594        .20450E-03    .30142E-04
   4  Prefactor     .58611        .23840        .30905E-03    .26044E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.2306
  Index      = 1.80683
  Normalizat = 1.30251
  Prefactor  = 0.586113
 **********
 **   18 **HESSE 
 **********

 FCN=   4485.117     FROM HESSE     STATUS=OK            23 CALLS      334 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.231        16.959        .50109E-05   -1.5068    
   2  Index         1.8068        .92243        .47949E-03   -.69272    
   3  Normalizat    1.3025        .22610        .40901E-04   -.83491    
   4  Prefactor     .58611        .23857        .12362E-04   -1.0817    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.63068e-10
Minuit parameter uncertainties:
  1  16.9672
  2  0.931504
  3  0.22627
  4  0.238978
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/950472': 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): 0
logL (Free Index) = 4485.11674519
delta logL = 0.203008061426

Extracting fit parameters...

4FGL J2329.3-4733
   Spectrum: PowerLaw
460    Prefactor:  1.023e+01  1.697e+01  1.000e-04  1.000e+04 ( 1.000e-13)
461        Index:  1.807e+00  9.315e-01  0.000e+00  1.000e+01 (-1.000e+00)
462        Scale:  1.077e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
573    Prefactor:  5.861e-01  2.390e-01  0.000e+00  1.000e+01 ( 1.000e+00)
574        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
575        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
572   Normalization:  1.303e+00  2.263e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.19
Ra Dec: 352.339 -47.556

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/950472/cmap_HighResolution_532742401_533001601_4FGL_J2329.3-4733_daily_bin1132.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.50e-03', job_status='DONE', photon_flux_upper_limit='9.64e-08', time_completed='2021-09-29 21:16:03.679104', job_id='950472', GAL2='0.59', fit_tolerance='1e-08', EG2='1.30', EG='1.29', time_epoch_completed='1632975363.68', return_code2='0', ts='0.19', comment='SUCCESS', return_code='0', GAL='0.60', dlogl='2.03e-01', ts2='0.60', photon_index_error='0.00', photon_index='2.51' WHERE bin_id='1132' AND source_name='4FGL J2329.3-4733' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 21:16:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0051>
Subject: Job 950472: <4FGL_J2329.3-4733_daily_bin1132> in cluster <slac> Done

Job <4FGL_J2329.3-4733_daily_bin1132> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Wed Sep 29 21:00:48 2021
Job was executed on host(s) <bullet0051>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 21:00:50 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 21:00:50 2021
Terminated at Wed Sep 29 21:16:04 2021
Results reported at Wed Sep 29 21:16:04 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2329.3-4733_daily_bin1132 352.339 -47.5558 532742401 533001601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2329.3-4733 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   825.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             307.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   913 sec.
    Turnaround time :                            916 sec.

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

