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


Performing analysis on: 4FGL_J2329.3-4733_daily_bin1484
RA = 352.339, Dec = -47.5558
tmin = 623980801, tmax = 624240001
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='952014', job_status='RUN', time_executed='2021-09-29 21:06:33.545975', time_epoch_executed='1632974793.55' WHERE source_name='4FGL J2329.3-4733' and cadence='daily' and bin_id='1484'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/952014

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/952014/ft1_4FGL_J2329.3-4733_daily_bin1484.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/952014/ft2_4FGL_J2329.3-4733_daily_bin1484.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/952014/ft1_4FGL_J2329.3-4733_daily_bin1484.fits outfile=/scratch/kocevski/952014/ft1_filteredMKT_4FGL_J2329.3-4733_daily_bin1484.fits ra=352.339 dec=-47.5558 rad=12.0 tmin=623980801.0 tmax=624240001.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 4.01
user 3.78
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/952014/ft2_4FGL_J2329.3-4733_daily_bin1484.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/952014/ft1_filteredMKT_4FGL_J2329.3-4733_daily_bin1484.fits evtable="EVENTS" outfile="/scratch/kocevski/952014/ft1_filtered_4FGL_J2329.3-4733_daily_bin1484.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.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/952014/ft1_filtered_4FGL_J2329.3-4733_daily_bin1484.fits" evtable="EVENTS" scfile=/scratch/kocevski/952014/ft2_4FGL_J2329.3-4733_daily_bin1484.fits sctable="SC_DATA" outfile=/scratch/kocevski/952014/ltcube_623980801_624240001_4FGL_J2329.3-4733_daily_bin1484.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/952014/ft2_4FGL_J2329.3-4733_daily_bin1484.fits
.....................!
real 11.89
user 11.55
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/952014/ft1_filtered_4FGL_J2329.3-4733_daily_bin1484.fits evtable="EVENTS" scfile=/scratch/kocevski/952014/ft2_4FGL_J2329.3-4733_daily_bin1484.fits sctable="SC_DATA" expcube=/scratch/kocevski/952014/ltcube_623980801_624240001_4FGL_J2329.3-4733_daily_bin1484.fits outfile=/scratch/kocevski/952014/expmap_623980801_624240001_4FGL_J2329.3-4733_daily_bin1484.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/952014/ltcube_623980801_624240001_4FGL_J2329.3-4733_daily_bin1484.fits
.....................!
real 189.75
user 185.24
sys 4.09

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/952014/ft1_filtered_4FGL_J2329.3-4733_daily_bin1484.fits scfile=/scratch/kocevski/952014/ft2_4FGL_J2329.3-4733_daily_bin1484.fits outfile=/scratch/kocevski/952014/cmap_623980801_624240001_4FGL_J2329.3-4733_daily_bin1484.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.53
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/952014/ft1_filtered_4FGL_J2329.3-4733_daily_bin1484.fits scfile=/scratch/kocevski/952014/ft2_4FGL_J2329.3-4733_daily_bin1484.fits outfile=/scratch/kocevski/952014/cmap_HighResolution_623980801_624240001_4FGL_J2329.3-4733_daily_bin1484.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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/952014/ft1_filtered_4FGL_J2329.3-4733_daily_bin1484.fits evtable="EVENTS" scfile=/scratch/kocevski/952014/ft2_4FGL_J2329.3-4733_daily_bin1484.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/952014/Model_4FGL_J2329.3-4733_daily_bin1484.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/952014/ft1_filtered_4FGL_J2329.3-4733_daily_bin1484.fits.....................!
real 35.35
user 34.04
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .12600E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    60.303       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    8.5212       1.0000         .10000E-03   10000.    
     7 'Prefactor '    14.893       1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.9214       1.0000         .10000E-03   10000.    
     9 'norm      '    11.322       1.0000         .10000E-03   10000.    
    10 'Prefactor '    14.791       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .11544E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    33.434       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    7.6628       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      '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    29.991       1.0000         .10000E-03   10000.    
    24 'Prefactor '    3.8342       1.0000         .10000E-03   10000.    
    25 'norm      '    5.0493       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10185E-03   1.0000         .10000E-03   10000.    
    27 'norm      '    .52960       1.0000         .10000E-03   10000.    
    28 'norm      '    .10098E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    5.8231       1.0000         .10000E-03   10000.    
    30 'Prefactor '    .93990E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10443E-03   1.0000         .10000E-03   10000.    
    32 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    33 'Prefactor '    .11412E-03   1.0000         .10000E-03   10000.    
    34 'Prefactor '    .18021       1.0000         .10000E-03   10000.    
    35 'Normalizat'    .93825       1.0000         .10000E-01   10.000    
    36 'Prefactor '    .75973       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=   4313.081     FROM MIGRAD    STATUS=CONVERGED   1045 CALLS     5357 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    32.229       -.79254E-05** at limit **
   2  Prefactor     .10000E-03    75.530        .35184E-04** at limit **
   3  Prefactor     60.279        42.208       -.27943E-05   -.36534E-04
   4  Prefactor     .10000E-03    9.5393        .20214E-05** at limit **
   5  Prefactor     .10000E-03    2.5741       -.13360E-06** at limit **
   6  Prefactor     8.5212        13.375       -.12995E-06   -.22795E-05
   7  Prefactor     14.891        11.751       -.84667E-06   -.65082E-04
   8  Prefactor     3.9212        4.2223        .45337E-06    .10573E-02
   9  norm          11.324        11.125        .37782E-06   -.16195E-04
  10  Prefactor     14.792        6.2654       -.13391E-06    .21936E-03
  11  Prefactor     .10000E-03    63.976       -.34435E-04** at limit **
  12  Prefactor     .10000E-03    2.9039       -.58941E-06** at limit **
  13  Prefactor     .10000E-03    38.785        .91285E-05** at limit **
  14  Prefactor     33.438        15.323        .24665E-06   -.11459E-03
  15  Prefactor     .10000E-03    33.988        .39415E-05** at limit **
  16  Prefactor     .10000E-03    2.2522       -.23384E-08** at limit **
  17  Prefactor     .10000E-03    11.855       -.31152E-05** at limit **
  18  Prefactor     7.6655        22.850       -.16975E-05    .17162E-04
  19  norm          .10000E-03    5.5236        .28408E-06** at limit **
  20  norm          .10000E-03    2.2791       -.63577E-07** at limit **
  21  norm          .10000E-03    3.1443       -.65023E-07** at limit **
  22  norm          .10000E-03    6.4304        .76794E-06** at limit **
  23  Prefactor     30.005        11.747        .98700E-06    .66381E-04
  24  Prefactor     3.7264        126.60       -.25537E-04   -.22364E-04
  25  norm          5.0560        6.3013        .19961E-05    .61664E-04
  26  Prefactor     .10000E-03    40.086        .51617E-05** at limit **
  27  norm          .52932        1.3228       -.42659E-06   -.12821E-02
  28  norm          .10000E-03    4.9431        .85213E-07** at limit **
  29  Prefactor     5.8210        16.461       -.21703E-06   -.46885E-04
  30  Prefactor     .10002E-03    2.0407       -.11792E-06** at limit **
  31  Prefactor     .10000E-03    42.394       -.47859E-05** at limit **
  32  norm          .10000E-03    8.5271       -.11228E-05** at limit **
  33  Prefactor     .10000E-03    3.2349        .34974E-06** at limit **
  34  Prefactor     .20996        2.7732       -.18759E-05    .89012E-03
  35  Normalizat    .93858        .21065        .22137E-05    .10663E-03
  36  Prefactor     .75922        .21171       -.73141E-06    .18154E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 60.2787
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.52121
  Prefactor  = 14.891
  Prefactor  = 3.92124
  norm       = 11.3236
  Prefactor  = 14.7919
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 33.438
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.66552
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 30.0047
  Prefactor  = 3.72637
  norm       = 5.05605
  Prefactor  = 0.0001
  norm       = 0.529318
  norm       = 0.0001
  Prefactor  = 5.82098
  Prefactor  = 0.00010002
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.209964
  Normalizat = 0.938578
  Prefactor  = 0.759223
 **********
 **   18 **HESSE 
 **********

 FCN=   4313.081     FROM HESSE     STATUS=OK           815 CALLS     6172 TOTAL
                     EDM=   .79E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    32.239        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    76.162        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     60.279        42.081        .51668E-04   -1.4154    
   4  Prefactor     .10000E-03    9.5957        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    2.5813        .10290E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     8.5212        13.371        .13732E-03   -1.5124    
   7  Prefactor     14.891        11.766        .10378E-03   -1.4936    
   8  Prefactor     3.9212        4.2472        .68578E-03   -1.5312    
   9  norm          11.324        11.126        .11906E-03   -1.5035    
  10  Prefactor     14.792        6.2619        .10286E-03   -1.4939    
  11  Prefactor     .10000E-03    63.652        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    6.2559        .21742E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    38.871        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     33.438        15.292        .69302E-04   -1.4551    
  15  Prefactor     .10000E-03    33.982        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    2.2545        .96255E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    11.853        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     7.6655        22.242        .14487E-03   -1.5154    
  19  norm          .10000E-03    5.5319        .15074E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    2.2794        .96825E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    3.1674        .11369E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    6.4887        .16263E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     30.005        11.573        .73161E-04   -1.4612    
  24  Prefactor     3.7264        121.99        .20611E-03   -1.5322    
  25  norm          5.0560        6.1214        .13571E-03   -1.5258    
  26  Prefactor     .10000E-03    40.248        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          .52932        1.1322        .10184E-02   -1.5562    
  28  norm          .10000E-03    5.0218        .28369E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     5.8210        16.433        .16643E-03   -1.5225    
  30  Prefactor     .10002E-03    21.155        .17437E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .10000E-03    42.866        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  norm          .10000E-03    8.5293        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Prefactor     .10000E-03    6.5200        .22636E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  34  Prefactor     .20996        16.433        .20360E-02   -1.5616    
  35  Normalizat    .93858        .25050        .22714E-03   -.95118    
  36  Prefactor     .75922        .25311        .26862E-03   -1.0125    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.85293e-09
Minuit parameter uncertainties:
  1  3.92811e-06
  2  0.000174081
  3  42.1019
  4  1.44893e-05
  5  1.86109e-06
  6  13.3757
  7  11.7678
  8  4.24753
  9  11.1279
  10  6.26213
  11  6.81026e-05
  12  0.000122444
  13  0.000126147
  14  15.294
  15  8.1555e-06
  16  2.03256e-07
  17  1.37308e-06
  18  22.2656
  19  4.09548e-06
  20  2.56551e-07
  21  4.01501e-06
  22  4.4274e-06
  23  11.5743
  24  42.7357
  25  6.12219
  26  0.000223398
  27  1.13223
  28  2.68865e-05
  29  16.4457
  30  0.00131535
  31  0.000133208
  32  3.77107e-07
  33  9.043e-05
  34  3.71523
  35  0.250811
  36  0.253501
Done.

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

Extracting fit parameters...

4FGL J2329.3-4733
   Spectrum: PowerLaw
460    Prefactor:  1.000e-04  2.234e-04  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:  7.592e-01  2.535e-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:  9.386e-01  2.508e-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: 1.19e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.23e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/952014/likelihoodResults_623980801_624240001_4FGL_J2329.3-4733_daily_bin1484.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) = 4313.08150439
delta logL = -0.000118364352602

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4313.08138628
delta logL = -2.55174199992e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10062E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4372       1.0000          .0000       10.000    
     3 'Normalizat'    .93862       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .75921       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.

 FCN=   4313.081     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      234 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6163.2        .90712E-02** at limit **
   2  Index         2.4814        5.1856        .50000       -.12100E-04
   3  Normalizat    .93858        .41481E-01    .45393E-01   -.22066E-03
   4  Prefactor     .75922        .44665E-01    .43184E-01   -.66029E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 2.48135
  Normalizat = 0.938577
  Prefactor  = 0.759223
 **********
 **   18 **HESSE 
 **********

 FCN=   4313.081     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      265 TOTAL
                     EDM=   .29E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6870.5        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4814        8.6571        .50000       -.52791    
   3  Normalizat    .93858        .58388E-01    .22714E-03   -.95118    
   4  Prefactor     .75922        .63009E-01    .26862E-03   -1.0125    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.85604e-08
Minuit parameter uncertainties:
  1  0.002971
  2  46.4528
  3  0.058392
  4  0.0630151
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/952014': 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) = 4313.0813861
delta logL = -7.40992618375e-08

Extracting fit parameters...

4FGL J2329.3-4733
   Spectrum: PowerLaw
460    Prefactor:  1.000e-04  2.971e-03  1.000e-04  1.000e+04 ( 1.000e-13)
461        Index:  2.481e+00  4.645e+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:  7.592e-01  6.302e-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:  9.386e-01  5.839e-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/952014/cmap_HighResolution_623980801_624240001_4FGL_J2329.3-4733_daily_bin1484.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.23e-03', job_status='DONE', photon_flux_upper_limit='1.19e-07', time_completed='2021-09-29 21:21:10.218595', job_id='952014', GAL2='0.76', fit_tolerance='1e-08', EG2='0.94', EG='0.94', time_epoch_completed='1632975670.22', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.76', dlogl='-7.41e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.51' WHERE bin_id='1484' AND source_name='4FGL J2329.3-4733' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 21:21:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0230>
Subject: Job 952014: <4FGL_J2329.3-4733_daily_bin1484> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2329.3-4733_daily_bin1484 352.339 -47.5558 623980801 624240001 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 :                                   812.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             334.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   919 sec.
    Turnaround time :                            920 sec.

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

