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


Performing analysis on: 4FGL_J2329.3-4733_daily_bin1641
RA = 352.339, Dec = -47.5558
tmin = 664675201, tmax = 664934401
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='374085', job_status='RUN', time_executed='2022-01-27 00:42:34.719955', time_epoch_executed='1643272954.72' WHERE source_name='4FGL J2329.3-4733' and cadence='daily' and bin_id='1641'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/374085

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/374085/ft1_4FGL_J2329.3-4733_daily_bin1641.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/374085/ft2_4FGL_J2329.3-4733_daily_bin1641.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/374085/ft1_4FGL_J2329.3-4733_daily_bin1641.fits outfile=/scratch/kocevski/374085/ft1_filteredMKT_4FGL_J2329.3-4733_daily_bin1641.fits ra=352.339 dec=-47.5558 rad=12.0 tmin=664675201.0 tmax=664934401.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.67
user 3.46
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/374085/ft1_filtered_4FGL_J2329.3-4733_daily_bin1641.fits" evtable="EVENTS" scfile=/scratch/kocevski/374085/ft2_4FGL_J2329.3-4733_daily_bin1641.fits sctable="SC_DATA" outfile=/scratch/kocevski/374085/ltcube_664675201_664934401_4FGL_J2329.3-4733_daily_bin1641.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/374085/ft2_4FGL_J2329.3-4733_daily_bin1641.fits
.....................!
real 12.26
user 11.93
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/374085/ft1_filtered_4FGL_J2329.3-4733_daily_bin1641.fits evtable="EVENTS" scfile=/scratch/kocevski/374085/ft2_4FGL_J2329.3-4733_daily_bin1641.fits sctable="SC_DATA" expcube=/scratch/kocevski/374085/ltcube_664675201_664934401_4FGL_J2329.3-4733_daily_bin1641.fits outfile=/scratch/kocevski/374085/expmap_664675201_664934401_4FGL_J2329.3-4733_daily_bin1641.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/374085/ltcube_664675201_664934401_4FGL_J2329.3-4733_daily_bin1641.fits
.....................!
real 193.96
user 188.20
sys 5.41

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/374085/ft1_filtered_4FGL_J2329.3-4733_daily_bin1641.fits scfile=/scratch/kocevski/374085/ft2_4FGL_J2329.3-4733_daily_bin1641.fits outfile=/scratch/kocevski/374085/cmap_664675201_664934401_4FGL_J2329.3-4733_daily_bin1641.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.54
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/374085/ft1_filtered_4FGL_J2329.3-4733_daily_bin1641.fits scfile=/scratch/kocevski/374085/ft2_4FGL_J2329.3-4733_daily_bin1641.fits outfile=/scratch/kocevski/374085/cmap_HighResolution_664675201_664934401_4FGL_J2329.3-4733_daily_bin1641.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/374085/ft1_filtered_4FGL_J2329.3-4733_daily_bin1641.fits evtable="EVENTS" scfile=/scratch/kocevski/374085/ft2_4FGL_J2329.3-4733_daily_bin1641.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/374085/Model_4FGL_J2329.3-4733_daily_bin1641.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/374085/ft1_filtered_4FGL_J2329.3-4733_daily_bin1641.fits.....................!
real 37.32
user 35.99
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    100.93       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10047E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .12998E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10262E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10114E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.2826       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .92763E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    8.6483       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10198E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .86766       1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.3812       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10242E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .11123E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    18.529       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10025E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .16422       1.0000         .10000E-03   10000.    
    23 'Prefactor '    18.437       1.0000         .10000E-03   10000.    
    24 'Prefactor '    7.9414       1.0000         .10000E-03   10000.    
    25 'norm      '    3.7443       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    27 'norm      '    1.3538       1.0000         .10000E-03   10000.    
    28 'norm      '    3.7702       1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    32 'norm      '    7.1908       1.0000         .10000E-03   10000.    
    33 'Prefactor '    1.7868       1.0000         .10000E-03   10000.    
    34 'Prefactor '    .10551E-03   1.0000         .10000E-03   10000.    
    35 'Normalizat'    1.2754       1.0000         .10000E-01   10.000    
    36 'Prefactor '    .96620       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=   4692.484     FROM MIGRAD    STATUS=CONVERGED   1065 CALLS     5331 TOTAL
                     EDM=   .65E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     100.93        85.754       -.81810E-06   -.23976E-04
   2  Prefactor     .10000E-03    10.363        .35353E-06** at limit **
   3  Prefactor     .10000E-03    59.285       -.68506E-06** at limit **
   4  Prefactor     .10000E-03    11.515       -.22527E-06** at limit **
   5  Prefactor     .10000E-03    3.0619        .14394E-07** at limit **
   6  Prefactor     .10000E-03    28.694       -.22602E-06** at limit **
   7  Prefactor     5.2851        8.5522       -.32111E-07    .91777E-06
   8  Prefactor     .10003E-03    8.9542        .10541E-05** at limit **
   9  norm          8.6468        8.7069       -.20369E-07   -.29370E-04
  10  Prefactor     .10000E-03    1.8426        .88551E-07** at limit **
  11  Prefactor     .10000E-03    16.127        .18239E-06** at limit **
  12  Prefactor     .88644        7.6251        .26345E-05   -.53044E-03
  13  Prefactor     4.4077        69.209       -.33566E-05   -.96111E-04
  14  Prefactor     .10000E-03    7.8452       -.21579E-05** at limit **
  15  Prefactor     .10000E-03    38.434        .23145E-06** at limit **
  16  Prefactor     .10000E-03    2.3852        .56450E-07** at limit **
  17  Prefactor     18.525        34.006       -.68415E-07   -.50486E-04
  18  Prefactor     .10000E-03    9.3466       -.32301E-06** at limit **
  19  norm          .10000E-03    5.2022        .42262E-07** at limit **
  20  norm          .10000E-03    3.6604        .20161E-07** at limit **
  21  norm          .10000E-03    2.2375       -.12100E-07** at limit **
  22  norm          .15342E-03    13.519       -.96542E-06** at limit **
  23  Prefactor     18.437        9.4904       -.73594E-07   -.87945E-05
  24  Prefactor     7.9484        74.443        .18193E-06    .34337E-04
  25  norm          3.7424        4.4270       -.83057E-07    .30444E-04
  26  Prefactor     .10000E-03    8.0023        .16005E-06** at limit **
  27  norm          1.3540        1.4198        .10843E-07    .34100E-04
  28  norm          3.7722        4.8574        .31704E-06    .23747E-03
  29  Prefactor     .10000E-03    13.042       -.48577E-07** at limit **
  30  Prefactor     .10000E-03    1.2119       -.63276E-08** at limit **
  31  Prefactor     .10000E-03    7.1906        .12882E-07** at limit **
  32  norm          7.1731        34.798       -.12242E-05    .96978E-04
  33  Prefactor     1.7875        6.0050        .20378E-05    .51859E-03
  34  Prefactor     .10000E-03    4.8495        .30519E-06** at limit **
  35  Normalizat    1.2749        .24507        .36452E-05   -.59580E-04
  36  Prefactor     .96672        .25046       -.43088E-05   -.19240E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 100.927
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.28508
  Prefactor  = 0.000100035
  norm       = 8.64679
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.886444
  Prefactor  = 4.40769
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 18.5254
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.000153419
  Prefactor  = 18.4371
  Prefactor  = 7.94844
  norm       = 3.74239
  Prefactor  = 0.0001
  norm       = 1.35401
  norm       = 3.77224
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 7.17311
  Prefactor  = 1.78746
  Prefactor  = 0.0001
  Normalizat = 1.27487
  Prefactor  = 0.966722
 **********
 **   18 **HESSE 
 **********

 FCN=   4692.484     FROM HESSE     STATUS=OK           815 CALLS     6146 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     100.93        85.861        .40019E-04   -1.3695    
   2  Prefactor     .10000E-03    10.379        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    59.716        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    11.649        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    3.0664        .11706E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    28.773        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     5.2851        8.5488        .17487E-03   -1.5248    
   8  Prefactor     .10003E-03    46.826        .38309E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          8.6468        8.7098        .13631E-03   -1.5120    
  10  Prefactor     .10000E-03    1.8727        .90791E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    16.131        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .88644        15.851        .27575E-02   -1.5520    
  13  Prefactor     4.4077        69.784        .19242E-03   -1.5288    
  14  Prefactor     .10000E-03    8.0795        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    38.453        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    2.3874        .10332E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     18.525        34.033        .93045E-04   -1.4847    
  18  Prefactor     .10000E-03    9.3750        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    5.2052        .15260E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    3.6643        .12797E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    2.2385        .10002E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .15342E-03    20.722        .72305E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     18.437        9.4616        .93277E-04   -1.4849    
  24  Prefactor     7.9484        73.369        .14228E-03   -1.5144    
  25  norm          3.7424        4.3844        .13531E-03   -1.5321    
  26  Prefactor     .10000E-03    8.0135        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          1.3540        1.3921        .78178E-04   -1.5475    
  28  norm          3.7722        4.8340        .15902E-03   -1.5319    
  29  Prefactor     .10000E-03    13.086        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     .10000E-03    1.2157        .73619E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .10000E-03    7.1945        .17941E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  norm          7.1731        33.891        .14958E-03   -1.5172    
  33  Prefactor     1.7875        6.1003        .22541E-03   -1.5441    
  34  Prefactor     .10000E-03    5.0156        .29417E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  35  Normalizat    1.2749        .27478        .23429E-03   -.84320    
  36  Prefactor     .96672        .27899        .28292E-03   -.93847    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.58928e-09
Minuit parameter uncertainties:
  1  85.9669
  2  3.58115e-05
  3  0.000295977
  4  4.05097e-05
  5  1.104e-06
  6  7.37345e-05
  7  8.55082
  8  0.00255682
  9  8.71112
  10  1.45436e-06
  11  2.63897e-05
  12  7.49873
  13  35.1245
  14  0.000189988
  15  7.6744e-05
  16  2.15141e-06
  17  34.069
  18  4.01576e-05
  19  3.01723e-06
  20  1.68796e-06
  21  3.5415e-07
  22  0.0665636
  23  9.46232
  24  48.376
  25  4.38477
  26  1.21841e-05
  27  1.39216
  28  4.83446
  29  2.23604e-05
  30  2.97571e-06
  31  3.07833e-06
  32  31.2124
  33  6.10246
  34  8.23904e-06
  35  0.275096
  36  0.279407
Done.

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

Extracting fit parameters...

4FGL J2329.3-4733
   Spectrum: PowerLaw
460    Prefactor:  1.000e-04  1.218e-05  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.667e-01  2.794e-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.275e+00  2.751e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/374085/likelihoodResults_664675201_664934401_4FGL_J2329.3-4733_daily_bin1641.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) = 4692.48444025
delta logL = -0.000593083698732

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4692.48384726
delta logL = -9.6711119113e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10376E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4838       1.0000          .0000       10.000    
     3 'Normalizat'    1.2748       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96676       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=   4692.484     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      245 TOTAL
                     EDM=   .52E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10267E-03    5.7108        .18142E-01** at limit **
   2  Index         2.3994        6.0168        .50000        .21191E-04
   3  Normalizat    1.2749        .41910E-02    .23429E-03   -.90255E-05
   4  Prefactor     .96672        .45020E-02    .28292E-03   -.96439E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00010267
  Index      = 2.39939
  Normalizat = 1.27487
  Prefactor  = 0.966722
 **********
 **   18 **HESSE 
 **********

 FCN=   4692.484     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      274 TOTAL
                     EDM=   .71E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10267E-03    81.844        .19832E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3994        7.7243        .50000       -.54699    
   3  Normalizat    1.2749        .15962E-01    .93716E-05   -.84320    
   4  Prefactor     .96672        .17147E-01    .11317E-04   -.93847    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.08398e-09
Minuit parameter uncertainties:
  1  0.0296047
  2  343.893
  3  0.0159623
  4  0.0171469
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/374085': 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) = 4692.48384672
delta logL = 4.43415046902e-07

Extracting fit parameters...

4FGL J2329.3-4733
   Spectrum: PowerLaw
460    Prefactor:  1.027e-04  2.960e-02  1.000e-04  1.000e+04 ( 1.000e-13)
461        Index:  2.399e+00  3.439e+02  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.667e-01  1.715e-02  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.275e+00  1.596e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/374085/cmap_HighResolution_664675201_664934401_4FGL_J2329.3-4733_daily_bin1641.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.55e-03', job_status='DONE', photon_flux_upper_limit='8.42e-08', time_completed='2022-01-27 00:56:46.246475', job_id='374085', GAL2='0.97', fit_tolerance='1e-08', EG2='1.27', EG='1.27', time_epoch_completed='1643273806.25', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='4.43e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.51' WHERE bin_id='1641' AND source_name='4FGL J2329.3-4733' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jan 27 00:56:46 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0259>
Subject: Job 374085: <4FGL_J2329.3-4733_daily_bin1641> in cluster <slac> Done

Job <4FGL_J2329.3-4733_daily_bin1641> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Jan 27 00:40:46 2022
Job was executed on host(s) <bullet0259>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jan 27 00:40:48 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jan 27 00:40:48 2022
Terminated at Thu Jan 27 00:56:47 2022
Results reported at Thu Jan 27 00:56:47 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2329.3-4733_daily_bin1641 352.339 -47.5558 664675201 664934401 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 :                                   853.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             327.97 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   958 sec.
    Turnaround time :                            961 sec.

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

