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


Performing analysis on: 4FGL_J2328.3-4036_daily_bin1225
RA = 352.082, Dec = -40.6037
tmin = 556848001, tmax = 557107201
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='930016', job_status='RUN', time_executed='2021-09-29 20:36:26.322308', time_epoch_executed='1632972986.32' WHERE source_name='4FGL J2328.3-4036' and cadence='daily' and bin_id='1225'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/930016

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/930016/ft1_4FGL_J2328.3-4036_daily_bin1225.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/930016/ft2_4FGL_J2328.3-4036_daily_bin1225.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/930016/ft1_4FGL_J2328.3-4036_daily_bin1225.fits outfile=/scratch/kocevski/930016/ft1_filteredMKT_4FGL_J2328.3-4036_daily_bin1225.fits ra=352.082 dec=-40.6037 rad=12.0 tmin=556848001.0 tmax=557107201.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.58
user 3.38
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/930016/ft2_4FGL_J2328.3-4036_daily_bin1225.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/930016/ft2_4FGL_J2328.3-4036_daily_bin1225.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/930016/ft1_filteredMKT_4FGL_J2328.3-4036_daily_bin1225.fits evtable="EVENTS" outfile="/scratch/kocevski/930016/ft1_filtered_4FGL_J2328.3-4036_daily_bin1225.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/930016/ft1_filtered_4FGL_J2328.3-4036_daily_bin1225.fits" evtable="EVENTS" scfile=/scratch/kocevski/930016/ft2_4FGL_J2328.3-4036_daily_bin1225.fits sctable="SC_DATA" outfile=/scratch/kocevski/930016/ltcube_556848001_557107201_4FGL_J2328.3-4036_daily_bin1225.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/930016/ft2_4FGL_J2328.3-4036_daily_bin1225.fits
.....................!
real 12.01
user 11.70
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/930016/ft1_filtered_4FGL_J2328.3-4036_daily_bin1225.fits evtable="EVENTS" scfile=/scratch/kocevski/930016/ft2_4FGL_J2328.3-4036_daily_bin1225.fits sctable="SC_DATA" expcube=/scratch/kocevski/930016/ltcube_556848001_557107201_4FGL_J2328.3-4036_daily_bin1225.fits outfile=/scratch/kocevski/930016/expmap_556848001_557107201_4FGL_J2328.3-4036_daily_bin1225.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/930016/ltcube_556848001_557107201_4FGL_J2328.3-4036_daily_bin1225.fits
.....................!
real 190.11
user 185.64
sys 4.16

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

Setting source of interest to:
4FGL J2328.3-4036 @ 352.082 -40.6037

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/930016/ft1_filtered_4FGL_J2328.3-4036_daily_bin1225.fits scfile=/scratch/kocevski/930016/ft2_4FGL_J2328.3-4036_daily_bin1225.fits outfile=/scratch/kocevski/930016/cmap_556848001_557107201_4FGL_J2328.3-4036_daily_bin1225.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.082 yref=-40.6037 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.39
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/930016/ft1_filtered_4FGL_J2328.3-4036_daily_bin1225.fits scfile=/scratch/kocevski/930016/ft2_4FGL_J2328.3-4036_daily_bin1225.fits outfile=/scratch/kocevski/930016/cmap_HighResolution_556848001_557107201_4FGL_J2328.3-4036_daily_bin1225.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.082 yref=-40.6037 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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/930016/ft1_filtered_4FGL_J2328.3-4036_daily_bin1225.fits evtable="EVENTS" scfile=/scratch/kocevski/930016/ft2_4FGL_J2328.3-4036_daily_bin1225.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/930016/Model_4FGL_J2328.3-4036_daily_bin1225.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/930016/ft1_filtered_4FGL_J2328.3-4036_daily_bin1225.fits.!
real 13.19
user 12.05
sys 1.11

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/930016/ft1_filtered_4FGL_J2328.3-4036_daily_bin1225.fits', '/scratch/kocevski/930016/ft2_4FGL_J2328.3-4036_daily_bin1225.fits', expMap='/scratch/kocevski/930016/expmap_556848001_557107201_4FGL_J2328.3-4036_daily_bin1225.fits', expCube='/scratch/kocevski/930016/ltcube_556848001_557107201_4FGL_J2328.3-4036_daily_bin1225.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/930016/Model_4FGL_J2328.3-4036_daily_bin1225.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2328.3-4036'

4FGL J2328.3-4036
   Spectrum: LogParabola
455         norm:  4.981e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
456        alpha:  2.333e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
457         beta:  7.057e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
458           Eb:  7.709e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/930016/ft1_filtered_4FGL_J2328.3-4036_daily_bin1225.fits
Spacecraft file(s): /scratch/kocevski/930016/ft2_4FGL_J2328.3-4036_daily_bin1225.fits
Exposure map: /scratch/kocevski/930016/expmap_556848001_557107201_4FGL_J2328.3-4036_daily_bin1225.fits
Exposure cube: /scratch/kocevski/930016/ltcube_556848001_557107201_4FGL_J2328.3-4036_daily_bin1225.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/930016/Model_4FGL_J2328.3-4036_daily_bin1225.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 12.0323945806

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 11.7719166483

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.0459       1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.9549       1.0000         .10000E-03   10000.    
     3 'Prefactor '    8.1586       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .13982E-01   1.0000         .10000E-03   10000.    
     5 'Prefactor '    14.999       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10727E-02   1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.2705       1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.9095       1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.7682       1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.2114       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.3171       1.0000         .10000E-03   10000.    
    12 'Prefactor '    7.2101       1.0000         .10000E-03   10000.    
    13 'Prefactor '    6.8139       1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.5752       1.0000         .10000E-03   10000.    
    15 'norm      '    2.1631       1.0000         .10000E-03   10000.    
    16 'norm      '    1.1504       1.0000         .10000E-03   10000.    
    17 'norm      '    1.4023       1.0000         .10000E-03   10000.    
    18 'norm      '    7.2226       1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.2586       1.0000         .10000E-03   10000.    
    20 'Prefactor '    7.1677       1.0000         .10000E-03   10000.    
    21 'Prefactor '    7.1157       1.0000         .10000E-03   10000.    
    22 'norm      '    5.1799       1.0000         .10000E-03   10000.    
    23 'Prefactor '    3.3607       1.0000         .10000E-03   10000.    
    24 'norm      '    7.9001       1.0000         .10000E-03   10000.    
    25 'norm      '    2.1521       1.0000         .10000E-03   10000.    
    26 'Prefactor '    2.0572       1.0000         .10000E-03   10000.    
    27 'Prefactor '    2.3382       1.0000         .10000E-03   10000.    
    28 'Prefactor '    7.6981       1.0000         .10000E-03   10000.    
    29 'Prefactor '    .14463E-01   1.0000         .10000E-03   10000.    
    30 'Prefactor '    1.0892       1.0000         .10000E-03   10000.    
    31 'Prefactor '    7.2611       1.0000         .10000E-03   10000.    
    32 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    33 'Prefactor '    .81507E-08   1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5900E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8.155848     FROM MIGRAD    STATUS=CONVERGED    722 CALLS      896 TOTAL
                     EDM=   .24E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    362.04        .40823E-02** at limit **
   2  Prefactor     .10000E-03    342.58        .38031E-02** at limit **
   3  Prefactor     .10000E-03    524.97        .35091E-02** at limit **
   4  Prefactor     .10000E-03    48.102        .90250E-02** at limit **
   5  Prefactor     .10000E-03    9.9411        .25855E-02** at limit **
   6  Prefactor     .10000E-03    106.00        .10358E-01** at limit **
   7  Prefactor     .10041E-03    7000.2        .48742E-02** at limit **
   8  Prefactor     8.9095        1.0016         .0000         .0000    
   9  Prefactor     5.7682        1.0038         .0000         .0000    
  10  Prefactor     4.2114        1.0072         .0000         .0000    
  11  Prefactor     9497.2        20.960        .17002E-03   -.87241E-03
  12  Prefactor     .10004E-03    .34867E-01   -.96958E-05** at limit **
  13  Prefactor     6.8139        1.0027         .0000         .0000    
  14  Prefactor     9909.7        5.0559        .54546E-04   -.21208E-02
  15  norm          9921.5        6.1780        .16991E-03   -.64845E-03
  16  norm          9837.0        13.659        .28456E-03    .92833E-03
  17  norm         10000.0        .20967        .17256E-04   -.13843E-04
  18  norm          9980.9        1.6279        .13740E-03    .10189E-02
  19  Prefactor    10000.0        .78645E-01   -.56829E-04   -.94014E-04
  20  Prefactor     9986.2        1.3928       -.30373E-04    .13053E-02
  21  Prefactor     102.56        3.7878        .60628E-05   -.46783E-03
  22  norm         10000.0        .48747E-01    .71428E-04** at limit **
  23  Prefactor    10000.0        .76140E-01    .43319E-04    .68338E-04
  24  norm         10000.0        .31799E-01   -.62053E-05** at limit **
  25  norm          .17180E-02    .12325        .88208E-04** at limit **
  26  Prefactor     .10002E-03    .12974        .12257E-04** at limit **
  27  Prefactor     .10016E-03    .11235        .17873E-04** at limit **
  28  Prefactor     .10000E-03    .32639E-01    .55790E-06** at limit **
  29  Prefactor     .10000E-03    .20680       -.12922E-05** at limit **
  30  Prefactor     .10001E-03    .32889        .46817E-06** at limit **
  31  Prefactor     .10000E-03    .34620E-01    .18247E-05** at limit **
  32  Normalizat    .10000E-01    .25761        .11969E-05** at limit **
  33  Prefactor     .67085E-11    .25504        .24045E-05** at limit **
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Prefactor  = 0.000100001
  Prefactor  = 0.000100001
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 0.000100409
  Prefactor  = 8.90951
  Prefactor  = 5.76823
  Prefactor  = 4.21144
  Prefactor  = 9497.23
  Prefactor  = 0.000100041
  Prefactor  = 6.81391
  Prefactor  = 9909.65
  norm       = 9921.52
  norm       = 9837
  norm       = 10000
  norm       = 9980.93
  Prefactor  = 9999.99
  Prefactor  = 9986.15
  Prefactor  = 102.564
  norm       = 10000
  Prefactor  = 9999.99
  norm       = 10000
  norm       = 0.00171799
  Prefactor  = 0.000100024
  Prefactor  = 0.000100156
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 0.000100007
  Prefactor  = 0.0001
  Normalizat = 0.01
  Prefactor  = 6.70852e-12
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8.155848     FROM HESSE     STATUS=FAILED        25 CALLS      921 TOTAL
                     EDM=   .24E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    362.04        .40823E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    342.58        .38031E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    524.97        .35091E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    48.102        .90250E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    9.9411        .25855E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    106.00        .10358E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10041E-03    7000.2        .48742E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     498.40        489.47         .0000       -1.5111    
   9  Prefactor     5.7682        1.0038         .0000       -1.5228    
  10  Prefactor     4.2114        1.0072         .0000       -1.5298    
  11  Prefactor     9497.2        20.960        .17002E-03    1.1185    
  12  Prefactor     .10004E-03    .34867E-01   -.96958E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     6.8139        1.0027         .0000       -1.5186    
  14  Prefactor     9909.7        5.0559        .54546E-04    1.3804    
  15  norm          9921.5        6.1780        .16991E-03    1.3934    
  16  norm          9837.0        13.659        .28456E-03    1.8268    
  17  norm         10000.0        .20967        .17256E-04    1.5694    
  18  norm          9980.9        1.6279        .13740E-03    1.6582    
  19  Prefactor    10000.0        .78645E-01   -.56829E-04    1.5685    
  20  Prefactor     9986.2        1.3928       -.30373E-04    1.6452    
  21  Prefactor     102.56        3.7878        .60628E-05   -1.3679    
  22  norm         10000.0        .48747E-01    .71428E-04    1.5710    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor    10000.0        .76140E-01    .43319E-04    1.5726    
  24  norm         10000.0        .31799E-01   -.62053E-05    1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .17180E-02    .12325        .88208E-04    4.7132    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10002E-03    .12974        .12257E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10016E-03    .11235        .17873E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    .32639E-01    .55790E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .10000E-03    .20680       -.12922E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     .10001E-03    .32889        .46817E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .10000E-03    .34620E-01    .18247E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Normalizat    .10000E-01    .25761        .11969E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Prefactor     .67085E-11    .25504        .24045E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.37414e-10
Minuit parameter uncertainties:
  1  0.000983625
  2  0.00117617
  3  0.00137782
  4  0.000906091
  5  3.35649e-05
  6  0.00104465
  7  0.0875747
  8  1.00158
  9  1.00381
  10  1.00723
  11  20.9601
  12  7.5535e-05
  13  1.00272
  14  5.05596
  15  6.17801
  16  13.6598
  17  0.0629593
  18  1.62786
  19  0.0637061
  20  1.39285
  21  3.7878
  22  0.00431952
  23  0.0488403
  24  0.00274863
  25  0.0282435
  26  0.000110847
  27  0.00026464
  28  6.54997e-06
  29  5.79886e-05
  30  9.34809e-05
  31  8.25402e-06
  32  1.28061e-07
  33  2.62736e-06
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 8.15584824687

Extracting fit parameters...

4FGL J2328.3-4036
   Spectrum: LogParabola
455         norm:  1.000e+04  4.320e-03  1.000e-04  1.000e+04 ( 1.000e-12)
456        alpha:  2.333e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
457         beta:  7.057e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
458           Eb:  7.709e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
587    Prefactor:  6.709e-12  2.627e-06  0.000e+00  1.000e+01 ( 1.000e+00)
588        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
589        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
586   Normalization:  1.000e-02  1.281e-07  1.000e-02  1.000e+01 ( 1.000e+00)

calc_int error: parameter max 10000.0 is not large enough
delta logLike = 1.68133546197e-07

TS (Fixed Index): 0.39
Ra Dec: 352.082 -40.604
Photon Flux Upper Limit: -1.00e+00 ph cm-2 s-1
Energy Flux Upper Limit: -3.49e+02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/930016/likelihoodResults_556848001_557107201_4FGL_J2328.3-4036_daily_bin1225.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5.43657885843
delta logL = 2.71926938844

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5.43503624388
delta logL = 2.72081200299

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'alpha     '    5.0000       1.0000          .0000       5.0000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5900E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5.435036     FROM MIGRAD    STATUS=CONVERGED     11 CALLS       49 TOTAL
                     EDM=   .77E-17    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1    alpha       5.0000        .31361        .27257E-01** at limit **
                               ERR DEF=  .500    
Final values: 
  alpha      = 5
 **********
 **   18 **HESSE 
 **********

 FCN=   5.435036     FROM HESSE     STATUS=OK             5 CALLS       54 TOTAL
                     EDM=   .77E-17    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1    alpha       5.0000        .31358        .60224E-03    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.72642e-18
Minuit parameter uncertainties:
  1  1.78107e-09
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/930016': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5.43503624388
delta logL = 2.72081200299

Extracting fit parameters...

4FGL J2328.3-4036
   Spectrum: LogParabola
455         norm:  1.000e+04  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12) fixed
456        alpha:  5.000e+00  1.781e-09  0.000e+00  5.000e+00 ( 1.000e+00)
457         beta:  7.057e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
458           Eb:  7.709e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
587    Prefactor:  3.799e-10  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
588        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
589        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
586   Normalization:  1.000e-02  0.000e+00  1.000e-02  1.000e+01 ( 1.000e+00) fixed


TS (Free Index): 5.83
Ra Dec: 352.082 -40.604
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 5.44e-03 +/- 1.71e-11
Energy Flux (Free Index): 7.37e-01 +/- 2.21e-09

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/930016/cmap_HighResolution_556848001_557107201_4FGL_J2328.3-4036_daily_bin1225.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='-3.49e+02', comment='SUCCESS', energy_flux2='7.37e-01', dlogl='2.72e+00', photon_flux2='5.44e-03', job_status='DONE', time_completed='2021-09-29 20:41:53.564235', photon_index_error2='0.00', photon_index2='5.00', ts='0.39', fit_tolerance='1e-08', GAL='0.00', photon_index_error='0.00', photon_flux_upper_limit='-1.00e+00', energy_flux_error2='2.21e-09', EG='0.01', time_epoch_completed='1632973313.56', return_code='101', job_id='930016', GAL2='0.00', EG2='0.01', return_code2='0', photon_flux_error2='1.71e-11', ts2='5.83', photon_index='2.33' WHERE bin_id='1225' AND source_name='4FGL J2328.3-4036' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 20:41:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0109>
Subject: Job 930016: <4FGL_J2328.3-4036_daily_bin1225> in cluster <slac> Done

Job <4FGL_J2328.3-4036_daily_bin1225> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Sep 29 20:35:37 2021
Job was executed on host(s) <bullet0109>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 20:35:38 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 20:35:38 2021
Terminated at Wed Sep 29 20:41:54 2021
Results reported at Wed Sep 29 20:41:54 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2328.3-4036_daily_bin1225 352.082 -40.6037 556848001 557107201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2328.3-4036 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   322.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             327.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   375 sec.
    Turnaround time :                            377 sec.

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

