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


Performing analysis on: 4FGL_J2329.3-4733_daily_bin1260
RA = 352.339, Dec = -47.5558
tmin = 565920001, tmax = 566179201
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='951662', job_status='RUN', time_executed='2021-09-29 21:07:34.182727', time_epoch_executed='1632974854.18' WHERE source_name='4FGL J2329.3-4733' and cadence='daily' and bin_id='1260'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/951662

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/951662/ft1_4FGL_J2329.3-4733_daily_bin1260.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/951662/ft2_4FGL_J2329.3-4733_daily_bin1260.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/951662/ft1_4FGL_J2329.3-4733_daily_bin1260.fits outfile=/scratch/kocevski/951662/ft1_filteredMKT_4FGL_J2329.3-4733_daily_bin1260.fits ra=352.339 dec=-47.5558 rad=12.0 tmin=565920001.0 tmax=566179201.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 2.78
user 2.57
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/951662/ft2_4FGL_J2329.3-4733_daily_bin1260.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/951662/ft1_filteredMKT_4FGL_J2329.3-4733_daily_bin1260.fits evtable="EVENTS" outfile="/scratch/kocevski/951662/ft1_filtered_4FGL_J2329.3-4733_daily_bin1260.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.41
user 0.24
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/951662/ft1_filtered_4FGL_J2329.3-4733_daily_bin1260.fits" evtable="EVENTS" scfile=/scratch/kocevski/951662/ft2_4FGL_J2329.3-4733_daily_bin1260.fits sctable="SC_DATA" outfile=/scratch/kocevski/951662/ltcube_565920001_566179201_4FGL_J2329.3-4733_daily_bin1260.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/951662/ft2_4FGL_J2329.3-4733_daily_bin1260.fits
.....................!
real 9.14
user 8.81
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/951662/ft1_filtered_4FGL_J2329.3-4733_daily_bin1260.fits evtable="EVENTS" scfile=/scratch/kocevski/951662/ft2_4FGL_J2329.3-4733_daily_bin1260.fits sctable="SC_DATA" expcube=/scratch/kocevski/951662/ltcube_565920001_566179201_4FGL_J2329.3-4733_daily_bin1260.fits outfile=/scratch/kocevski/951662/expmap_565920001_566179201_4FGL_J2329.3-4733_daily_bin1260.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/951662/ltcube_565920001_566179201_4FGL_J2329.3-4733_daily_bin1260.fits
.....................!
real 144.94
user 140.81
sys 3.90

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/951662/ft1_filtered_4FGL_J2329.3-4733_daily_bin1260.fits scfile=/scratch/kocevski/951662/ft2_4FGL_J2329.3-4733_daily_bin1260.fits outfile=/scratch/kocevski/951662/cmap_565920001_566179201_4FGL_J2329.3-4733_daily_bin1260.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.45
user 0.28
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/951662/ft1_filtered_4FGL_J2329.3-4733_daily_bin1260.fits scfile=/scratch/kocevski/951662/ft2_4FGL_J2329.3-4733_daily_bin1260.fits outfile=/scratch/kocevski/951662/cmap_HighResolution_565920001_566179201_4FGL_J2329.3-4733_daily_bin1260.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.46
user 0.29
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/951662/ft1_filtered_4FGL_J2329.3-4733_daily_bin1260.fits evtable="EVENTS" scfile=/scratch/kocevski/951662/ft2_4FGL_J2329.3-4733_daily_bin1260.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/951662/Model_4FGL_J2329.3-4733_daily_bin1260.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/951662/ft1_filtered_4FGL_J2329.3-4733_daily_bin1260.fits.....................!
real 24.69
user 23.60
sys 1.04

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/951662/ft1_filtered_4FGL_J2329.3-4733_daily_bin1260.fits', '/scratch/kocevski/951662/ft2_4FGL_J2329.3-4733_daily_bin1260.fits', expMap='/scratch/kocevski/951662/expmap_565920001_566179201_4FGL_J2329.3-4733_daily_bin1260.fits', expCube='/scratch/kocevski/951662/ltcube_565920001_566179201_4FGL_J2329.3-4733_daily_bin1260.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/951662/Model_4FGL_J2329.3-4733_daily_bin1260.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/951662/ft1_filtered_4FGL_J2329.3-4733_daily_bin1260.fits
Spacecraft file(s): /scratch/kocevski/951662/ft2_4FGL_J2329.3-4733_daily_bin1260.fits
Exposure map: /scratch/kocevski/951662/expmap_565920001_566179201_4FGL_J2329.3-4733_daily_bin1260.fits
Exposure cube: /scratch/kocevski/951662/ltcube_565920001_566179201_4FGL_J2329.3-4733_daily_bin1260.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/951662/Model_4FGL_J2329.3-4733_daily_bin1260.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) = 3497.86030635

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10056E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.5940       1.0000         .10000E-03   10000.    
     4 'Prefactor '    16.507       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10085E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.5241       1.0000         .10000E-03   10000.    
     9 'norm      '    .10093E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    6.9213       1.0000         .10000E-03   10000.    
    11 'Prefactor '    8.0094       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .11109E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    31.043       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10365E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .60122E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    53.504       1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.9873       1.0000         .10000E-03   10000.    
    19 'norm      '    11.245       1.0000         .10000E-03   10000.    
    20 'norm      '    1.0833       1.0000         .10000E-03   10000.    
    21 'norm      '    4.7902       1.0000         .10000E-03   10000.    
    22 'norm      '    .26013E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .26764E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    12.122       1.0000         .10000E-03   10000.    
    26 'Prefactor '    26.534       1.0000         .10000E-03   10000.    
    27 'norm      '    .10020E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    3.3088       1.0000         .10000E-03   10000.    
    29 'Prefactor '    19.744       1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10108E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
    32 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    33 'Prefactor '    12.932       1.0000         .10000E-03   10000.    
    34 'Prefactor '    .30642       1.0000         .10000E-03   10000.    
    35 'Normalizat'    .81940       1.0000         .10000E-01   10.000    
    36 'Prefactor '    .91616       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=   3497.784     FROM MIGRAD    STATUS=CONVERGED    985 CALLS     5347 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    33.153        .96126E-05** at limit **
   2  Prefactor     .10000E-03    15.429        .61430E-05** at limit **
   3  Prefactor     2.5875        92.280       -.20707E-04   -.18439E-04
   4  Prefactor     16.508        18.648       -.66060E-06    .18482E-04
   5  Prefactor     .10000E-03    9.9174       -.45202E-05** at limit **
   6  Prefactor     .10000E-03    18.402       -.98396E-05** at limit **
   7  Prefactor     .10000E-03    2.6489        .25413E-07** at limit **
   8  Prefactor     6.5248        6.6154       -.27423E-06    .65536E-04
   9  norm          .10000E-03    10.069       -.45397E-05** at limit **
  10  Prefactor     6.9223        5.2889        .20033E-05   -.31313E-04
  11  Prefactor     7.9462        55.590       -.15813E-03   -.19609E-04
  12  Prefactor     .10015E-03    3.5661       -.10218E-05** at limit **
  13  Prefactor     31.048        32.200        .60792E-05    .23121E-04
  14  Prefactor     .10000E-03    9.0598        .32944E-05** at limit **
  15  Prefactor     .10000E-03    38.859        .67397E-05** at limit **
  16  Prefactor     .10000E-03    6.8868        .40358E-05** at limit **
  17  Prefactor     53.475        51.451       -.32780E-04    .70606E-05
  18  Prefactor     2.0025        52.154        .13814E-04   -.79304E-04
  19  norm          11.246        11.121        .24072E-07    .16920E-04
  20  norm          1.0821        7.8523        .25104E-05   -.66479E-03
  21  norm          4.7900        5.3324        .19136E-06    .38979E-04
  22  norm          .10000E-03    23.703       -.13628E-05** at limit **
  23  Prefactor     .10000E-03    15.413        .41822E-06** at limit **
  24  Prefactor     .10000E-03    11.032        .20569E-05** at limit **
  25  norm          12.124        6.4919       -.25815E-06   -.85407E-04
  26  Prefactor     26.531        21.957       -.32643E-05   -.64044E-04
  27  norm          .10000E-03    .37201       -.64386E-07** at limit **
  28  norm          3.3091        4.1727        .55457E-06   -.78159E-04
  29  Prefactor     19.747        18.517       -.18703E-06    .43737E-05
  30  Prefactor     .10000E-03    3.5566       -.12800E-06** at limit **
  31  Prefactor     .10000E-03    16.060        .25006E-05** at limit **
  32  norm          .10000E-03    11.080        .25008E-05** at limit **
  33  Prefactor     12.933        7.4575       -.36916E-06    .37454E-04
  34  Prefactor     .30643        2.9761       -.98431E-06   -.40197E-03
  35  Normalizat    .81908        .22586        .45746E-06    .26534E-04
  36  Prefactor     .91635        .24045        .69302E-05   -.14558E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.58755
  Prefactor  = 16.5082
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.52477
  norm       = 0.0001
  Prefactor  = 6.92227
  Prefactor  = 7.94621
  Prefactor  = 0.000100149
  Prefactor  = 31.0478
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 53.4746
  Prefactor  = 2.00249
  norm       = 11.2456
  norm       = 1.08211
  norm       = 4.79002
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 12.1238
  Prefactor  = 26.5314
  norm       = 0.0001
  norm       = 3.30914
  Prefactor  = 19.7474
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 12.9328
  Prefactor  = 0.306429
  Normalizat = 0.81908
  Prefactor  = 0.916354
 **********
 **   18 **HESSE 
 **********

 FCN=   3497.784     FROM HESSE     STATUS=OK           815 CALLS     6162 TOTAL
                     EDM=   .77E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    33.168        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    15.510        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.5875        92.255        .25334E-03   -1.5386    
   4  Prefactor     16.508        18.641        .98579E-04   -1.4895    
   5  Prefactor     .10000E-03    10.033        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    18.447        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    2.6512        .94004E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     6.5248        6.6177        .14852E-03   -1.5197    
   9  norm          .10000E-03    10.095        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     6.9223        5.2789        .11301E-03   -1.5182    
  11  Prefactor     7.9462        55.950        .14167E-03   -1.5144    
  12  Prefactor     .10015E-03    25.073        .21470E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     31.048        32.069        .71914E-04   -1.4593    
  14  Prefactor     .10000E-03    9.1125        .17371E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    38.860        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    17.784        .29972E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     53.475        51.386        .54834E-04   -1.4244    
  18  Prefactor     2.0025        50.856        .29394E-03   -1.5425    
  19  norm          11.246        11.123        .11947E-03   -1.5037    
  20  norm          1.0821        7.5939        .31497E-03   -1.5500    
  21  norm          4.7900        5.3352        .13813E-03   -1.5270    
  22  norm          .10000E-03    24.766        .42898E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    15.628        .42874E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    11.033        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          12.124        6.4876        .10053E-03   -1.5011    
  26  Prefactor     26.531        21.738        .77770E-04   -1.4677    
  27  norm          .10000E-03    .37306        .35148E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          3.3091        4.1584        .12754E-03   -1.5344    
  29  Prefactor     19.747        18.522        .90139E-04   -1.4819    
  30  Prefactor     .10000E-03    3.6923        .21745E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .10000E-03    16.123        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  norm          .10000E-03    11.081        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Prefactor     12.933        7.4659        .11139E-03   -1.4989    
  34  Prefactor     .30643        5.3438        .19543E-02   -1.5597    
  35  Normalizat    .81908        .26877        .23605E-03   -.99365    
  36  Prefactor     .91635        .28714        .24969E-03   -.95572    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.6745e-09
Minuit parameter uncertainties:
  1  5.74731e-05
  2  4.7359e-06
  3  30.9519
  4  18.6475
  5  8.53219e-06
  6  1.75524e-05
  7  1.24547e-07
  8  6.61847
  9  4.34363e-05
  10  5.2793
  11  42.2265
  12  0.00386155
  13  32.0872
  14  7.4637e-05
  15  8.17701e-06
  16  0.000347249
  17  51.4289
  18  20.2017
  19  11.1252
  20  5.73399
  21  5.33576
  22  0.000257119
  23  1.89273e-05
  24  8.81301e-06
  25  6.48794
  26  21.7448
  27  3.89983e-06
  28  4.15879
  29  18.5273
  30  1.93397e-05
  31  6.07297e-06
  32  9.89828e-07
  33  7.46639
  34  2.55915
  35  0.269206
  36  0.287619
Done.

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

Extracting fit parameters...

4FGL J2329.3-4733
   Spectrum: PowerLaw
460    Prefactor:  2.653e+01  2.174e+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:  9.164e-01  2.876e-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:  8.191e-01  2.692e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.10
Ra Dec: 352.339 -47.556
Photon Index (Fixed Index): 2.51 +/- 0.00
Photon Flux (Fixed Index): 6.82e-08 +/- 5.59e-08
Energy Flux (Fixed Index): 1.96e-05 +/- 1.61e-05

TS (Fixed Index): 2.10
Ra Dec: 352.339 -47.556
Photon Flux Upper Limit: 1.79e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.39e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/951662/likelihoodResults_565920001_566179201_4FGL_J2329.3-4733_daily_bin1260.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) = 3497.73753513
delta logL = 0.0463449327458

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3497.73465219
delta logL = 0.04922787849

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.610       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7443       1.0000          .0000       10.000    
     3 'Normalizat'    .80357       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92965       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=   3497.735     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      282 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.606        32.129        .90447E-04    .32681E-05
   2  Index         2.7447        .92573        .45062E-02   -.17571E-04
   3  Normalizat    .80347        .26271        .23809E-03   -.16280E-03
   4  Prefactor     .92983        .28805        .24811E-03   -.21092E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.6061
  Index      = 2.74471
  Normalizat = 0.803475
  Prefactor  = 0.92983
 **********
 **   18 **HESSE 
 **********

 FCN=   3497.735     FROM HESSE     STATUS=OK            25 CALLS      307 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.606        27.744        .36179E-05   -1.4822    
   2  Index         2.7447        .79965        .18025E-03   -.46795    
   3  Normalizat    .80347        .26221        .95238E-05   -.99940    
   4  Prefactor     .92983        .28737        .49622E-04   -.95106    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.31619e-10
Minuit parameter uncertainties:
  1  27.7619
  2  0.803991
  3  0.262622
  4  0.287836
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/951662': 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) = 3497.73465159
delta logL = 0.0492284724969

Extracting fit parameters...

4FGL J2329.3-4733
   Spectrum: PowerLaw
460    Prefactor:  1.961e+01  2.776e+01  1.000e-04  1.000e+04 ( 1.000e-13)
461        Index:  2.745e+00  8.040e-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:  9.298e-01  2.878e-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:  8.035e-01  2.626e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.20
Ra Dec: 352.339 -47.556
Photon Index (Free Index): 2.74 +/- 0.80
Photon Flux (Free Index): 7.66e-08 +/- 6.30e-08
Energy Flux (Free Index): 1.78e-05 +/- 1.50e-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/951662/cmap_HighResolution_565920001_566179201_4FGL_J2329.3-4733_daily_bin1260.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.39e-02', comment='SUCCESS', photon_flux='6.82e-08', energy_flux2='1.78e-05', photon_flux_error='5.59e-08', dlogl='4.92e-02', energy_flux='1.96e-05', photon_flux2='7.66e-08', job_status='DONE', time_completed='2021-09-29 21:19:23.936190', photon_index_error2='0.80', photon_index2='2.74', ts='2.10', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', photon_flux_upper_limit='1.79e-07', energy_flux_error2='1.50e-05', EG='0.82', time_epoch_completed='1632975563.94', return_code='0', job_id='951662', GAL2='0.93', EG2='0.80', return_code2='0', energy_flux_error='1.61e-05', photon_flux_error2='6.30e-08', ts2='2.20', photon_index='2.51' WHERE bin_id='1260' AND source_name='4FGL J2329.3-4733' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 21:19:23 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0135>
Subject: Job 951662: <4FGL_J2329.3-4733_daily_bin1260> in cluster <slac> Done

Job <4FGL_J2329.3-4733_daily_bin1260> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 21:05:21 2021
Job was executed on host(s) <bullet0135>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 21:05:23 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:05:23 2021
Terminated at Wed Sep 29 21:19:24 2021
Results reported at Wed Sep 29 21:19:24 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2329.3-4733_daily_bin1260 352.339 -47.5558 565920001 566179201 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 :                                   574.30 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             283.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   841 sec.
    Turnaround time :                            843 sec.

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

