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


Performing analysis on: 4FGL_J2328.3-4036_daily_bin1090
RA = 352.082, Dec = -40.6037
tmin = 521856001, tmax = 522115201
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='929600', job_status='RUN', time_executed='2021-09-29 20:37:02.699765', time_epoch_executed='1632973022.7' WHERE source_name='4FGL J2328.3-4036' and cadence='daily' and bin_id='1090'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/929600

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/929600/ft1_4FGL_J2328.3-4036_daily_bin1090.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/929600/ft2_4FGL_J2328.3-4036_daily_bin1090.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/929600/ft1_4FGL_J2328.3-4036_daily_bin1090.fits outfile=/scratch/kocevski/929600/ft1_filteredMKT_4FGL_J2328.3-4036_daily_bin1090.fits ra=352.082 dec=-40.6037 rad=12.0 tmin=521856001.0 tmax=522115201.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.74
user 3.50
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/929600/ft2_4FGL_J2328.3-4036_daily_bin1090.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/929600/ft1_filteredMKT_4FGL_J2328.3-4036_daily_bin1090.fits evtable="EVENTS" outfile="/scratch/kocevski/929600/ft1_filtered_4FGL_J2328.3-4036_daily_bin1090.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.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/929600/ft1_filtered_4FGL_J2328.3-4036_daily_bin1090.fits" evtable="EVENTS" scfile=/scratch/kocevski/929600/ft2_4FGL_J2328.3-4036_daily_bin1090.fits sctable="SC_DATA" outfile=/scratch/kocevski/929600/ltcube_521856001_522115201_4FGL_J2328.3-4036_daily_bin1090.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/929600/ft2_4FGL_J2328.3-4036_daily_bin1090.fits
.....................!
real 12.60
user 12.21
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/929600/ft1_filtered_4FGL_J2328.3-4036_daily_bin1090.fits evtable="EVENTS" scfile=/scratch/kocevski/929600/ft2_4FGL_J2328.3-4036_daily_bin1090.fits sctable="SC_DATA" expcube=/scratch/kocevski/929600/ltcube_521856001_522115201_4FGL_J2328.3-4036_daily_bin1090.fits outfile=/scratch/kocevski/929600/expmap_521856001_522115201_4FGL_J2328.3-4036_daily_bin1090.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/929600/ltcube_521856001_522115201_4FGL_J2328.3-4036_daily_bin1090.fits
.....................!
real 192.25
user 186.85
sys 5.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 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/929600/ft1_filtered_4FGL_J2328.3-4036_daily_bin1090.fits scfile=/scratch/kocevski/929600/ft2_4FGL_J2328.3-4036_daily_bin1090.fits outfile=/scratch/kocevski/929600/cmap_521856001_522115201_4FGL_J2328.3-4036_daily_bin1090.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/929600/ft1_filtered_4FGL_J2328.3-4036_daily_bin1090.fits scfile=/scratch/kocevski/929600/ft2_4FGL_J2328.3-4036_daily_bin1090.fits outfile=/scratch/kocevski/929600/cmap_HighResolution_521856001_522115201_4FGL_J2328.3-4036_daily_bin1090.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.55
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/929600/ft1_filtered_4FGL_J2328.3-4036_daily_bin1090.fits evtable="EVENTS" scfile=/scratch/kocevski/929600/ft2_4FGL_J2328.3-4036_daily_bin1090.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/929600/Model_4FGL_J2328.3-4036_daily_bin1090.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/929600/ft1_filtered_4FGL_J2328.3-4036_daily_bin1090.fits.....................!
real 39.51
user 38.16
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/929600/ft1_filtered_4FGL_J2328.3-4036_daily_bin1090.fits', '/scratch/kocevski/929600/ft2_4FGL_J2328.3-4036_daily_bin1090.fits', expMap='/scratch/kocevski/929600/expmap_521856001_522115201_4FGL_J2328.3-4036_daily_bin1090.fits', expCube='/scratch/kocevski/929600/ltcube_521856001_522115201_4FGL_J2328.3-4036_daily_bin1090.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/929600/Model_4FGL_J2328.3-4036_daily_bin1090.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/929600/ft1_filtered_4FGL_J2328.3-4036_daily_bin1090.fits
Spacecraft file(s): /scratch/kocevski/929600/ft2_4FGL_J2328.3-4036_daily_bin1090.fits
Exposure map: /scratch/kocevski/929600/expmap_521856001_522115201_4FGL_J2328.3-4036_daily_bin1090.fits
Exposure cube: /scratch/kocevski/929600/ltcube_521856001_522115201_4FGL_J2328.3-4036_daily_bin1090.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/929600/Model_4FGL_J2328.3-4036_daily_bin1090.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) = 5122.05831046

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    211.33       1.0000         .10000E-03   10000.    
     2 'Prefactor '    9.7184       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10128E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10076E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.6271       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.7944       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .97452       1.0000         .10000E-03   10000.    
     9 'Prefactor '    31.041       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    53.882       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    2.8982       1.0000         .10000E-03   10000.    
    18 'norm      '    8.1303       1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.3467       1.0000         .10000E-03   10000.    
    20 'Prefactor '    34.813       1.0000         .10000E-03   10000.    
    21 'Prefactor '    53.674       1.0000         .10000E-03   10000.    
    22 'norm      '    .15787E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    .20044       1.0000         .10000E-03   10000.    
    25 'norm      '    .11733E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    3.6169       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10206E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    8.2422       1.0000         .10000E-03   10000.    
    30 'Prefactor '    5.5672       1.0000         .10000E-03   10000.    
    31 'Prefactor '    39.933       1.0000         .10000E-03   10000.    
    32 'Normalizat'    .72871       1.0000         .10000E-01   10.000    
    33 'Prefactor '    1.0216       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5122.045     FROM MIGRAD    STATUS=CONVERGED    859 CALLS     4546 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     211.36        77.807       -.37350E-05   -.49704E-03
   2  Prefactor     9.7250        28.755       -.23001E-05   -.66603E-04
   3  Prefactor     .10000E-03    35.259        .80204E-06** at limit **
   4  Prefactor     .10000E-03    9.4957       -.10389E-05** at limit **
   5  Prefactor     .10000E-03    5.9118       -.33191E-06** at limit **
   6  Prefactor     1.6265        2.6710       -.31626E-06    .18232E-03
   7  Prefactor     2.7922        72.370       -.20666E-06    .39173E-04
   8  Prefactor     .93283        145.70       -.43354E-04    .97855E-04
   9  Prefactor     31.047        23.153        .45734E-07   -.20636E-03
  10  Prefactor     .10000E-03    3.0971       -.15100E-06** at limit **
  11  Prefactor     .10000E-03    1.3649       -.41005E-07** at limit **
  12  Prefactor     .10000E-03    29.185       -.25442E-05** at limit **
  13  Prefactor     53.871        51.776        .25196E-05    .25777E-03
  14  Prefactor     .10000E-03    4.4199       -.11380E-07** at limit **
  15  norm          .10000E-03    5.9790       -.18041E-06** at limit **
  16  norm          .10000E-03    2.7966        .42543E-06** at limit **
  17  norm          2.8984        3.7065       -.45529E-06   -.38892E-03
  18  norm          8.1321        7.9730       -.11866E-05    .96895E-03
  19  Prefactor     1.3469        3.7884       -.13140E-06    .37181E-03
  20  Prefactor     34.814        36.087        .75450E-07    .10521E-03
  21  Prefactor     53.670        46.509        .69882E-06    .15087E-03
  22  norm          .10000E-03    4.0130       -.66483E-07** at limit **
  23  Prefactor     .10000E-03    7.8589        .11657E-05** at limit **
  24  norm          .19981        .69955       -.51642E-06    .33675E-03
  25  norm          .10000E-03    4.2996       -.36214E-06** at limit **
  26  Prefactor     3.6183        3.6842        .15776E-06    .70643E-03
  27  Prefactor     .10000E-03    22.157       -.31038E-06** at limit **
  28  Prefactor     .10000E-03    18.207        .16030E-05** at limit **
  29  Prefactor     8.2473        7.2781       -.37359E-06    .93572E-04
  30  Prefactor     5.5701        5.6891        .93053E-07    .38337E-03
  31  Prefactor     39.924        53.526        .19167E-05    .17172E-03
  32  Normalizat    .72784        .19095        .34624E-06    .27321E-03
  33  Prefactor     1.0225        .20213        .23868E-05    .51706E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 211.359
  Prefactor  = 9.72504
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.62654
  Prefactor  = 2.79217
  Prefactor  = 0.932833
  Prefactor  = 31.0468
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 53.8706
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 2.8984
  norm       = 8.13207
  Prefactor  = 1.34686
  Prefactor  = 34.8135
  Prefactor  = 53.6701
  norm       = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.199814
  norm       = 0.0001
  Prefactor  = 3.61828
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 8.24729
  Prefactor  = 5.57011
  Prefactor  = 39.9239
  Normalizat = 0.72784
  Prefactor  = 1.02251
 **********
 **   18 **HESSE 
 **********

 FCN=   5122.045     FROM HESSE     STATUS=OK           687 CALLS     5233 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     211.36        79.219        .13906E-03   -1.2790    
   2  Prefactor     9.7250        28.653        .12854E-03   -1.5084    
   3  Prefactor     .10000E-03    35.307        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    9.5230        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    6.0487        .16990E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.6265        2.6462        .14401E-03   -1.5453    
   7  Prefactor     2.7922        72.334        .24339E-03   -1.5374    
   8  Prefactor     .93283        150.98        .56870E-02   -1.5515    
   9  Prefactor     31.047        23.028        .71916E-04   -1.4593    
  10  Prefactor     .10000E-03    3.1007        .12302E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    1.3658        .81657E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    29.443        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     53.871        52.067        .54643E-04   -1.4239    
  14  Prefactor     .10000E-03    4.4264        .14693E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    6.0000        .17093E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    2.8086        .11693E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.8984        3.7063        .14898E-03   -1.5367    
  18  norm          8.1321        8.0427        .70304E-03   -1.5138    
  19  Prefactor     1.3469        3.7049        .22266E-03   -1.5476    
  20  Prefactor     34.814        35.916        .67919E-04   -1.4527    
  21  Prefactor     53.670        46.610        .54748E-04   -1.4241    
  22  norm          .10000E-03    4.0724        .27793E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    7.9062        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .19981        .68913        .10634E-03   -1.5619    
  25  norm          .10000E-03    4.4419        .28912E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     3.6183        3.6734        .13215E-03   -1.5328    
  27  Prefactor     .10000E-03    22.246        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    18.254        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     8.2473        7.2831        .13964E-03   -1.5134    
  30  Prefactor     5.5701        5.6809        .14799E-03   -1.5236    
  31  Prefactor     39.924        53.729        .63430E-04   -1.4443    
  32  Normalizat    .72784        .22351        .25129E-03   -1.0280    
  33  Prefactor     1.0225        .23730        .24180E-03   -.91983    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.31394e-09
Minuit parameter uncertainties:
  1  79.2587
  2  28.6936
  3  0.000277412
  4  0.000136808
  5  9.21093e-06
  6  2.64643
  7  28.4611
  8  23.7952
  9  23.035
  10  1.73737e-05
  11  2.28057e-06
  12  0.00066227
  13  52.1114
  14  4.80279e-06
  15  2.51178e-05
  16  4.22384e-05
  17  3.70656
  18  8.04373
  19  3.70551
  20  35.9378
  21  46.6412
  22  2.47931e-05
  23  0.000136143
  24  0.689161
  25  2.04183e-05
  26  3.67364
  27  7.27269e-05
  28  0.000279072
  29  7.28392
  30  5.68148
  31  53.7939
  32  0.223788
  33  0.237543
Done.

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

Extracting fit parameters...

4FGL J2328.3-4036
   Spectrum: LogParabola
455         norm:  1.000e-04  2.479e-05  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:  1.023e+00  2.375e-01  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:  7.278e-01  2.238e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 352.082 -40.604
Photon Flux Upper Limit: 7.30e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.55e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/929600/likelihoodResults_521856001_522115201_4FGL_J2328.3-4036_daily_bin1090.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) = 5122.04628288
delta logL = -0.00117140747898

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5122.04511153
delta logL = -6.12262738287e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3421       1.0000          .0000       5.0000    
     3 'Normalizat'    .72785       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0225       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.

 FCN=   5122.045     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      199 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    4.2592        .90712E-02** at limit **
   2  alpha         2.3516        3.5365        .41256       -.11830E-04
   3  Normalizat    .72784        .17459        .42661E-01    .61913E-04
   4  Prefactor     1.0225        .19726        .41897E-01    .49524E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.35164
  Normalizat = 0.727843
  Prefactor  = 1.0225
 **********
 **   18 **HESSE 
 **********

 FCN=   5122.045     FROM HESSE     STATUS=OK            33 CALLS      232 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    4.0967        .27877E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.3516        3.5160        .50000       -.59379E-01
   3  Normalizat    .72784        .20333        .25129E-03   -1.0280    
   4  Prefactor     1.0225        .22986        .24180E-03   -.91983    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.60754e-10
Minuit parameter uncertainties:
  1  3.62056e-05
  2  2.49592
  3  0.203542
  4  0.230084
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/929600': 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) = 5122.04511138
delta logL = 8.99108272279e-08

Extracting fit parameters...

4FGL J2328.3-4036
   Spectrum: LogParabola
455         norm:  1.000e-04  3.621e-05  1.000e-04  1.000e+04 ( 1.000e-12)
456        alpha:  2.352e+00  2.496e+00  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:  1.023e+00  2.301e-01  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:  7.278e-01  2.035e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 352.082 -40.604

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/929600/cmap_HighResolution_521856001_522115201_4FGL_J2328.3-4036_daily_bin1090.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.55e-05', job_status='DONE', photon_flux_upper_limit='7.30e-08', time_completed='2021-09-29 20:51:01.592943', job_id='929600', GAL2='1.02', fit_tolerance='1e-08', EG2='0.73', EG='0.73', time_epoch_completed='1632973861.59', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='8.99e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.33' WHERE bin_id='1090' AND source_name='4FGL J2328.3-4036' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 20:51:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0255>
Subject: Job 929600: <4FGL_J2328.3-4036_daily_bin1090> in cluster <slac> Done

Job <4FGL_J2328.3-4036_daily_bin1090> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Sep 29 20:35:18 2021
Job was executed on host(s) <bullet0255>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 20:35:19 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:19 2021
Terminated at Wed Sep 29 20:51:02 2021
Results reported at Wed Sep 29 20:51:02 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2328.3-4036_daily_bin1090 352.082 -40.6037 521856001 522115201 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 :                                   813.00 sec.
    Max Memory :                                 1119 MB
    Average Memory :                             268.84 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   942 sec.
    Turnaround time :                            944 sec.

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

