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


Performing analysis on: 4FGL_J2329.3-4733_daily_bin1307
RA = 352.339, Dec = -47.5558
tmin = 578102401, tmax = 578361601
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='951735', job_status='RUN', time_executed='2021-09-29 21:05:46.927187', time_epoch_executed='1632974746.93' WHERE source_name='4FGL J2329.3-4733' and cadence='daily' and bin_id='1307'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/951735

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/951735/ft1_4FGL_J2329.3-4733_daily_bin1307.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/951735/ft2_4FGL_J2329.3-4733_daily_bin1307.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/951735/ft1_4FGL_J2329.3-4733_daily_bin1307.fits outfile=/scratch/kocevski/951735/ft1_filteredMKT_4FGL_J2329.3-4733_daily_bin1307.fits ra=352.339 dec=-47.5558 rad=12.0 tmin=578102401.0 tmax=578361601.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.98
user 4.73
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/951735/ft2_4FGL_J2329.3-4733_daily_bin1307.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/951735/ft1_filteredMKT_4FGL_J2329.3-4733_daily_bin1307.fits evtable="EVENTS" outfile="/scratch/kocevski/951735/ft1_filtered_4FGL_J2329.3-4733_daily_bin1307.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.48
user 0.33
sys 0.14

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/951735/ft1_filtered_4FGL_J2329.3-4733_daily_bin1307.fits evtable="EVENTS" scfile=/scratch/kocevski/951735/ft2_4FGL_J2329.3-4733_daily_bin1307.fits sctable="SC_DATA" expcube=/scratch/kocevski/951735/ltcube_578102401_578361601_4FGL_J2329.3-4733_daily_bin1307.fits outfile=/scratch/kocevski/951735/expmap_578102401_578361601_4FGL_J2329.3-4733_daily_bin1307.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/951735/ltcube_578102401_578361601_4FGL_J2329.3-4733_daily_bin1307.fits
.....................!
real 197.42
user 192.89
sys 4.13

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/951735/ft1_filtered_4FGL_J2329.3-4733_daily_bin1307.fits scfile=/scratch/kocevski/951735/ft2_4FGL_J2329.3-4733_daily_bin1307.fits outfile=/scratch/kocevski/951735/cmap_578102401_578361601_4FGL_J2329.3-4733_daily_bin1307.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.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/951735/ft1_filtered_4FGL_J2329.3-4733_daily_bin1307.fits scfile=/scratch/kocevski/951735/ft2_4FGL_J2329.3-4733_daily_bin1307.fits outfile=/scratch/kocevski/951735/cmap_HighResolution_578102401_578361601_4FGL_J2329.3-4733_daily_bin1307.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.53
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.9955       1.0000         .10000E-03   10000.    
     6 'Prefactor '    16.488       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    30.035       1.0000         .10000E-03   10000.    
    10 'Prefactor '    16.681       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .61951E-02   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    65.389       1.0000         .10000E-03   10000.    
    16 'Prefactor '    11.331       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .23679E-02   1.0000         .10000E-03   10000.    
    22 'norm      '    9.7692       1.0000         .10000E-03   10000.    
    23 'Prefactor '    1.0550       1.0000         .10000E-03   10000.    
    24 'Prefactor '    11.519       1.0000         .10000E-03   10000.    
    25 'norm      '    1.8796       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'norm      '    1.1342       1.0000         .10000E-03   10000.    
    28 'norm      '    7.6387       1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    4.3016       1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    32 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    33 'Prefactor '    10.913       1.0000         .10000E-03   10000.    
    34 'Prefactor '    6.4090       1.0000         .10000E-03   10000.    
    35 'Normalizat'    .79083       1.0000         .10000E-01   10.000    
    36 'Prefactor '    1.1580       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=   4894.607     FROM MIGRAD    STATUS=CONVERGED   1843 CALLS     5366 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    142.45        .18142E-02** at limit **
   2  Prefactor     .10000E-03    20.608        .18142E-02** at limit **
   3  Prefactor     .10000E-03    14.177        .18142E-02** at limit **
   4  Prefactor     .10000E-03    6.6915        .17649E-02** at limit **
   5  Prefactor     2.9940        7.1683        .11727E-02   -.75442E-04
   6  Prefactor     16.487        21.742        .98637E-04    .78375E-05
   7  Prefactor     .10000E-03    2.2331        .10206E-02** at limit **
   8  Prefactor     .10000E-03    4.8891        .14987E-02** at limit **
   9  norm          30.033        18.387        .73107E-04   -.11974E-04
  10  Prefactor     16.682        6.7616        .98065E-04   -.17703E-03
  11  Prefactor     .10000E-03    33.419        .18142E-02** at limit **
  12  Prefactor     .10156E-03    8.1323        .45135E-01** at limit **
  13  Prefactor     .10000E-03    28.822        .18142E-02** at limit **
  14  Prefactor     .10000E-03    4.5384        .14530E-02** at limit **
  15  Prefactor     65.380        70.502        .49630E-04   -.19929E-04
  16  Prefactor     11.330        10.888        .11902E-03   -.11558E-04
  17  Prefactor     .10000E-03    119.39        .18142E-02** at limit **
  18  Prefactor     .10000E-03    7.5273        .18142E-02** at limit **
  19  norm          .10000E-03    5.9785        .16693E-02** at limit **
  20  norm          .10000E-03    2.7456        .11314E-02** at limit **
  21  norm          .10036E-03    6.2456        .53898E-01** at limit **
  22  norm          9.7683        9.3982        .64104E-03    .80516E-05
  23  Prefactor     1.0542        5.3284        .31122E-03   -.38356E-05
  24  Prefactor     11.568        46.083        .11803E-03    .93909E-04
  25  norm          1.8820        5.3300        .22295E-03    .64495E-03
  26  Prefactor     .10000E-03    12.528        .18142E-02** at limit **
  27  norm          1.1343        1.2186        .43788E-04    .69062E-04
  28  norm          7.6377        5.3073        .12561E-03    .58739E-04
  29  Prefactor     .10000E-03    11.106        .18142E-02** at limit **
  30  Prefactor     4.3013        4.5924        .14156E-03    .89945E-05
  31  Prefactor     .10000E-03    34.872        .18142E-02** at limit **
  32  norm          .10000E-03    12.204        .18142E-02** at limit **
  33  Prefactor     10.912        6.6254        .12128E-03   -.33746E-05
  34  Prefactor     6.4089        5.3612        .13919E-03    .62074E-05
  35  Normalizat    .79056        .24484        .26729E-03    .22415E-04
  36  Prefactor     1.1584        .25836        .24908E-03   -.68373E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.99397
  Prefactor  = 16.4867
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 30.0329
  Prefactor  = 16.6825
  Prefactor  = 0.0001
  Prefactor  = 0.000101563
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 65.3798
  Prefactor  = 11.3299
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.000100358
  norm       = 9.76826
  Prefactor  = 1.05424
  Prefactor  = 11.5677
  norm       = 1.88198
  Prefactor  = 0.0001
  norm       = 1.1343
  norm       = 7.63769
  Prefactor  = 0.0001
  Prefactor  = 4.30131
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 10.9123
  Prefactor  = 6.40893
  Normalizat = 0.790559
  Prefactor  = 1.15839
 **********
 **   18 **HESSE 
 **********

 FCN=   4894.607     FROM HESSE     STATUS=OK           797 CALLS     6163 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    142.56        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    20.610        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    14.177        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    6.6922        .35298E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.9940        7.1662        .46908E-04   -1.5362    
   6  Prefactor     16.487        21.741        .39455E-05   -1.4896    
   7  Prefactor     .10000E-03    2.2331        .20411E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    4.8911        .29973E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          30.033        18.388        .29243E-05   -1.4611    
  10  Prefactor     16.682        6.7624        .39226E-05   -1.4891    
  11  Prefactor     .10000E-03    33.422        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10156E-03    6.6408        .51835E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    28.832        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    4.5388        .29061E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     65.380        70.497        .99260E-05   -1.4089    
  16  Prefactor     11.330        10.888        .47606E-05   -1.5035    
  17  Prefactor     .10000E-03    119.45        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    7.5280        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    5.9789        .33386E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    2.7456        .22629E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10036E-03    6.2474        .53872E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          9.7683        9.3981        .25642E-04   -1.5083    
  23  Prefactor     1.0542        5.3247        .12449E-04   -1.5503    
  24  Prefactor     11.568        46.054        .47214E-05   -1.5028    
  25  norm          1.8820        5.3241        .89179E-05   -1.5434    
  26  Prefactor     .10000E-03    12.529        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          1.1343        1.2183        .17515E-05   -1.5495    
  28  norm          7.6377        5.3067        .50244E-05   -1.5155    
  29  Prefactor     .10000E-03    11.107        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     4.3013        4.5916        .56625E-05   -1.5293    
  31  Prefactor     .10000E-03    34.877        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  norm          .10000E-03    12.204        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Prefactor     10.912        6.6248        .48512E-05   -1.5047    
  34  Prefactor     6.4089        5.3610        .55677E-05   -1.5202    
  35  Normalizat    .79056        .24508        .10692E-04   -1.0042    
  36  Prefactor     1.1584        .25862        .99632E-05   -.87622    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.6675e-09
Minuit parameter uncertainties:
  1  0.00101681
  2  7.87213e-05
  3  3.53526e-05
  4  1.86494e-05
  5  7.16821
  6  21.7519
  7  2.4809e-07
  8  5.71426e-06
  9  18.391
  10  6.76272
  11  6.16639e-05
  12  0.00644449
  13  4.92085e-05
  14  6.16045e-07
  15  70.5877
  16  10.8896
  17  0.00030533
  18  1.11288e-05
  19  3.01645e-06
  20  4.45408e-07
  21  0.00298949
  22  9.39951
  23  4.73902
  24  46.1962
  25  5.32543
  26  3.25457e-05
  27  1.21837
  28  5.30702
  29  3.60595e-05
  30  4.59193
  31  3.5684e-07
  32  1.13987e-05
  33  6.62529
  34  5.36138
  35  0.245424
  36  0.2589
Done.

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

Extracting fit parameters...

4FGL J2329.3-4733
   Spectrum: PowerLaw
460    Prefactor:  1.000e-04  3.255e-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:  1.158e+00  2.589e-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:  7.906e-01  2.454e-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.09e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.29e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/951735/likelihoodResults_578102401_578361601_4FGL_J2329.3-4733_daily_bin1307.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) = 4894.60756007
delta logL = -0.000380427371056

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4894.60717978
delta logL = -1.35874870466e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10119E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4994       1.0000          .0000       10.000    
     3 'Normalizat'    .79047       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1585       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=   4894.607     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      207 TOTAL
                     EDM=   .56E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1598.6        .90712E-02** at limit **
   2  Index         2.4911        7.1679        .50000        .58295E-05
   3  Normalizat    .79056        .68012E-01    .43486E-01    .22809E-04
   4  Prefactor     1.1584        .75202E-01    .56329E-01    .11250E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.49113
  Normalizat = 0.790558
  Prefactor  = 1.15839
 **********
 **   18 **HESSE 
 **********

 FCN=   4894.607     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      240 TOTAL
                     EDM=   .66E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1866.0        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4911        5.1049        .50000       -.52565    
   3  Normalizat    .79056        .78486E-01    .26730E-03   -1.0042    
   4  Prefactor     1.1584        .87265E-01    .24908E-03   -.87622    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.58732e-09
Minuit parameter uncertainties:
  1  0.00019257
  2  54.5625
  3  0.0784975
  4  0.087276
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/951735': 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) = 4894.60717962
delta logL = 2.19997673412e-08

Extracting fit parameters...

4FGL J2329.3-4733
   Spectrum: PowerLaw
460    Prefactor:  1.000e-04  1.926e-04  1.000e-04  1.000e+04 ( 1.000e-13)
461        Index:  2.491e+00  5.456e+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:  1.158e+00  8.728e-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:  7.906e-01  7.850e-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/951735/cmap_HighResolution_578102401_578361601_4FGL_J2329.3-4733_daily_bin1307.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.29e-03', job_status='DONE', photon_flux_upper_limit='8.09e-08', time_completed='2021-09-29 21:20:29.483615', job_id='951735', GAL2='1.16', fit_tolerance='1e-08', EG2='0.79', EG='0.79', time_epoch_completed='1632975629.48', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.16', dlogl='2.20e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.51' WHERE bin_id='1307' AND source_name='4FGL J2329.3-4733' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 21:20:29 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0046>
Subject: Job 951735: <4FGL_J2329.3-4733_daily_bin1307> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2329.3-4733_daily_bin1307 352.339 -47.5558 578102401 578361601 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 :                                   876.31 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             336.39 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   900 sec.
    Turnaround time :                            902 sec.

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

