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


Performing analysis on: 4FGL_J2328.3-4036_daily_bin1026
RA = 352.082, Dec = -40.6037
tmin = 505267201, tmax = 505526401
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='925697', job_status='RUN', time_executed='2021-09-29 20:32:42.470426', time_epoch_executed='1632972762.47' WHERE source_name='4FGL J2328.3-4036' and cadence='daily' and bin_id='1026'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/925697

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/925697/ft1_4FGL_J2328.3-4036_daily_bin1026.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/925697/ft2_4FGL_J2328.3-4036_daily_bin1026.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/925697/ft1_4FGL_J2328.3-4036_daily_bin1026.fits outfile=/scratch/kocevski/925697/ft1_filteredMKT_4FGL_J2328.3-4036_daily_bin1026.fits ra=352.082 dec=-40.6037 rad=12.0 tmin=505267201.0 tmax=505526401.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.56
user 3.35
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/925697/ft1_filtered_4FGL_J2328.3-4036_daily_bin1026.fits" evtable="EVENTS" scfile=/scratch/kocevski/925697/ft2_4FGL_J2328.3-4036_daily_bin1026.fits sctable="SC_DATA" outfile=/scratch/kocevski/925697/ltcube_505267201_505526401_4FGL_J2328.3-4036_daily_bin1026.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/925697/ft2_4FGL_J2328.3-4036_daily_bin1026.fits
.....................!
real 11.74
user 11.31
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/925697/ft1_filtered_4FGL_J2328.3-4036_daily_bin1026.fits evtable="EVENTS" scfile=/scratch/kocevski/925697/ft2_4FGL_J2328.3-4036_daily_bin1026.fits sctable="SC_DATA" expcube=/scratch/kocevski/925697/ltcube_505267201_505526401_4FGL_J2328.3-4036_daily_bin1026.fits outfile=/scratch/kocevski/925697/expmap_505267201_505526401_4FGL_J2328.3-4036_daily_bin1026.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/925697/ltcube_505267201_505526401_4FGL_J2328.3-4036_daily_bin1026.fits
.....................!
real 190.44
user 184.94
sys 5.20

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/925697/ft1_filtered_4FGL_J2328.3-4036_daily_bin1026.fits scfile=/scratch/kocevski/925697/ft2_4FGL_J2328.3-4036_daily_bin1026.fits outfile=/scratch/kocevski/925697/cmap_505267201_505526401_4FGL_J2328.3-4036_daily_bin1026.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.56
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/925697/ft1_filtered_4FGL_J2328.3-4036_daily_bin1026.fits scfile=/scratch/kocevski/925697/ft2_4FGL_J2328.3-4036_daily_bin1026.fits outfile=/scratch/kocevski/925697/cmap_HighResolution_505267201_505526401_4FGL_J2328.3-4036_daily_bin1026.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.54
user 0.36
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/925697/ft1_filtered_4FGL_J2328.3-4036_daily_bin1026.fits evtable="EVENTS" scfile=/scratch/kocevski/925697/ft2_4FGL_J2328.3-4036_daily_bin1026.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/925697/Model_4FGL_J2328.3-4036_daily_bin1026.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/925697/ft1_filtered_4FGL_J2328.3-4036_daily_bin1026.fits.....................!
real 37.73
user 36.43
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    43.684       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10086E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    7.9333       1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.6616       1.0000         .10000E-03   10000.    
     7 'Prefactor '    58.109       1.0000         .10000E-03   10000.    
     8 'Prefactor '    35.460       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.4568       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.7099       1.0000         .10000E-03   10000.    
    12 'Prefactor '    39.446       1.0000         .10000E-03   10000.    
    13 'Prefactor '    27.408       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10163E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    4.9535       1.0000         .10000E-03   10000.    
    17 'norm      '    4.8533       1.0000         .10000E-03   10000.    
    18 'norm      '    4.8476       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    61.926       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .15077       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    .11377       1.0000         .10000E-03   10000.    
    25 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    3.3739       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10062E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    42.307       1.0000         .10000E-03   10000.    
    29 'Prefactor '    .60642E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    11.031       1.0000         .10000E-03   10000.    
    31 'Prefactor '    10.746       1.0000         .10000E-03   10000.    
    32 'Normalizat'    1.0616       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .69353       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=   4769.689     FROM MIGRAD    STATUS=CONVERGED    907 CALLS     4718 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     43.675        61.509       -.62517E-05    .15380E-05
   2  Prefactor     .10000E-03    10.695       -.39677E-06** at limit **
   3  Prefactor     .10000E-03    23.454       -.88862E-05** at limit **
   4  Prefactor     .10000E-03    33.602       -.60139E-05** at limit **
   5  Prefactor     7.9325        6.2706       -.15584E-06    .34797E-04
   6  Prefactor     1.6617        2.3220       -.58874E-07   -.72357E-04
   7  Prefactor     58.122        48.910        .11236E-05    .19142E-04
   8  Prefactor     35.453        27.723        .36278E-05   -.11163E-03
   9  Prefactor     .10000E-03    17.360       -.55022E-05** at limit **
  10  Prefactor     2.4538        12.580       -.26799E-05   -.17352E-03
  11  Prefactor     1.7056        16.697       -.47386E-05   -.28910E-03
  12  Prefactor     39.444        39.607       -.58222E-06    .18320E-04
  13  Prefactor     27.403        41.024        .16125E-05   -.32908E-04
  14  Prefactor     .10000E-03    14.512       -.44333E-05** at limit **
  15  norm          .10000E-03    24.160        .29166E-05** at limit **
  16  norm          4.9574        7.8469        .14691E-05    .67215E-04
  17  norm          4.8453        4.7547        .24306E-06   -.44712E-03
  18  norm          4.8471        5.8952        .21732E-05   -.47712E-03
  19  Prefactor     .10000E-03    1.9258       -.11275E-06** at limit **
  20  Prefactor     61.823        47.661       -.10060E-04   -.35339E-03
  21  Prefactor     .10000E-03    15.857        .93807E-05** at limit **
  22  norm          .17067        3.7965        .23296E-05   -.38773E-03
  23  Prefactor     .10000E-03    3.6098       -.20114E-07** at limit **
  24  norm          .11310        .98931       -.97028E-06   -.26451E-03
  25  norm          .10000E-03    2.5819        .11399E-06** at limit **
  26  Prefactor     3.3736        3.5199       -.17523E-06   -.30039E-03
  27  Prefactor     .10000E-03    25.679        .11159E-04** at limit **
  28  Prefactor     42.312        51.229       -.51677E-05    .95460E-05
  29  Prefactor     .10049E-03    4.1939        .28473E-05** at limit **
  30  Prefactor     11.031        5.2677       -.11729E-06   -.10981E-03
  31  Prefactor     10.777        42.078       -.26405E-04   -.76395E-04
  32  Normalizat    1.0618        .19311        .33906E-05   -.84278E-03
  33  Prefactor     .69332        .19729       -.11423E-05   -.24041E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 43.6754
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.000100001
  Prefactor  = 7.93248
  Prefactor  = 1.66171
  Prefactor  = 58.1221
  Prefactor  = 35.4526
  Prefactor  = 0.0001
  Prefactor  = 2.45384
  Prefactor  = 1.70557
  Prefactor  = 39.4441
  Prefactor  = 27.4029
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 4.95744
  norm       = 4.84526
  norm       = 4.84712
  Prefactor  = 0.0001
  Prefactor  = 61.8227
  Prefactor  = 0.000100001
  norm       = 0.17067
  Prefactor  = 0.0001
  norm       = 0.113101
  norm       = 0.0001
  Prefactor  = 3.37361
  Prefactor  = 0.000100002
  Prefactor  = 42.3124
  Prefactor  = 0.000100488
  Prefactor  = 11.0315
  Prefactor  = 10.7772
  Normalizat = 1.06184
  Prefactor  = 0.693321
 **********
 **   18 **HESSE 
 **********

 FCN=   4769.689     FROM HESSE     STATUS=OK           699 CALLS     5417 TOTAL
                     EDM=   .35E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     43.675        61.575        .60657E-04   -1.4385    
   2  Prefactor     .10000E-03    10.708        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    23.377        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    33.769        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     7.9325        6.2679        .14236E-03   -1.5145    
   6  Prefactor     1.6617        2.3024        .12095E-03   -1.5450    
   7  Prefactor     58.122        48.773        .52628E-04   -1.4182    
   8  Prefactor     35.453        27.724        .67298E-04   -1.4516    
   9  Prefactor     .10000E-03    17.368        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.4538        12.614        .26094E-03   -1.5395    
  11  Prefactor     1.7056        16.712        .32149E-03   -1.5447    
  12  Prefactor     39.444        39.599        .63819E-04   -1.4451    
  13  Prefactor     27.403        41.017        .76522E-04   -1.4661    
  14  Prefactor     .10000E-03    14.585        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    24.679        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          4.9574        7.9259        .18070E-03   -1.5263    
  17  norm          4.8453        5.3255        .13904E-03   -1.5268    
  18  norm          4.8471        5.8660        .17831E-03   -1.5268    
  19  Prefactor     .10000E-03    1.9282        .93569E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     61.823        51.236        .50990E-04   -1.4134    
  21  Prefactor     .10000E-03    15.755        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .17067        45.254        .21223E-02   -1.5625    
  23  Prefactor     .10000E-03    3.6119        .12814E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .11310        2.0034        .11658E-02   -1.5641    
  25  norm          .10000E-03    2.6231        .10825E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     3.3736        3.5008        .12647E-03   -1.5341    
  27  Prefactor     .10000E-03    25.770        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     42.312        51.184        .61632E-04   -1.4406    
  29  Prefactor     .10049E-03    80.674        .25538E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     11.031        5.2745        .10392E-03   -1.5044    
  31  Prefactor     10.777        41.398        .12222E-03   -1.5051    
  32  Normalizat    1.0618        .22341        .21529E-03   -.90987    
  33  Prefactor     .69332        .23084        .28377E-03   -1.0379    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.47565e-08
Minuit parameter uncertainties:
  1  61.6648
  2  3.43662e-06
  3  0.00031914
  4  0.000287191
  5  6.26845
  6  2.30251
  7  48.8062
  8  27.7337
  9  0.000140183
  10  11.1305
  11  10.6815
  12  39.6254
  13  41.0594
  14  0.00013406
  15  0.000145575
  16  7.92761
  17  5.32605
  18  5.86674
  19  3.35655e-06
  20  51.2721
  21  0.000305746
  22  5.56082
  23  3.94029e-06
  24  0.95164
  25  2.04221e-05
  26  3.50101
  27  0.000493007
  28  51.2374
  29  0.0125635
  30  5.2747
  31  41.5089
  32  0.223608
  33  0.231159
Done.

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

Extracting fit parameters...

4FGL J2328.3-4036
   Spectrum: LogParabola
455         norm:  1.707e-01  5.561e+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

GAL_V02
   Spectrum: PowerLaw
587    Prefactor:  6.933e-01  2.312e-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:  1.062e+00  2.236e-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: 8.52e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.98e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/925697/likelihoodResults_505267201_505526401_4FGL_J2328.3-4036_daily_bin1026.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) = 4769.43119059
delta logL = 0.257423251974

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4768.8360601
delta logL = 0.852553745657

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .16025       1.0000         .10000E-03   10000.    
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    .96527       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .75901       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=   4768.836     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      272 TOTAL
                     EDM=   .48E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .16018        4.9028        .48264E-02    .14905E-02
   2  alpha         5.0000        4.7130        .46404    ** at limit **
   3  Normalizat    .96552        .13136        .45730E-01   -.14375E-03
   4  Prefactor     .75847        .11039        .43181E-01   -.76541E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.160184
  alpha      = 5
  Normalizat = 0.965524
  Prefactor  = 0.758472
 **********
 **   18 **HESSE 
 **********

 FCN=   4768.836     FROM HESSE     STATUS=OK            29 CALLS      301 TOTAL
                     EDM=   .28E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .16018        .13690        .21743E-04   -1.5628    
   2  alpha         5.0000        3.1145        .50344E-01    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .96552        .21745        .22390E-03   -.94195    
   4  Prefactor     .75847        .22987        .27189E-03   -1.0128    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.81634e-11
Minuit parameter uncertainties:
  1  0.136903
  2  3.01038e-07
  3  0.21765
  4  0.230165
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/925697': 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) = 4768.83605542
delta logL = 0.852558426401

Extracting fit parameters...

4FGL J2328.3-4036
   Spectrum: LogParabola
455         norm:  1.602e-01  1.369e-01  1.000e-04  1.000e+04 ( 1.000e-12)
456        alpha:  5.000e+00  3.010e-07  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:  7.585e-01  2.302e-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:  9.655e-01  2.176e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.85
Ra Dec: 352.082 -40.604
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 8.72e-08 +/- 7.41e-08
Energy Flux (Free Index): 1.18e-05 +/- 1.01e-05

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/925697/cmap_HighResolution_505267201_505526401_4FGL_J2328.3-4036_daily_bin1026.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.98e-05', comment='SUCCESS', energy_flux2='1.18e-05', dlogl='8.53e-01', photon_flux2='8.72e-08', job_status='DONE', time_completed='2021-09-29 20:46:06.354469', photon_index_error2='0.00', photon_index2='5.00', ts='0.00', fit_tolerance='1e-08', GAL='0.69', photon_index_error='0.00', photon_flux_upper_limit='8.52e-08', energy_flux_error2='1.01e-05', EG='1.06', time_epoch_completed='1632973566.35', return_code='0', job_id='925697', GAL2='0.76', EG2='0.97', return_code2='0', photon_flux_error2='7.41e-08', ts2='1.85', photon_index='2.33' WHERE bin_id='1026' AND source_name='4FGL J2328.3-4036' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 20:46:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0192>
Subject: Job 925697: <4FGL_J2328.3-4036_daily_bin1026> in cluster <slac> Done

Job <4FGL_J2328.3-4036_daily_bin1026> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Sep 29 20:30:55 2021
Job was executed on host(s) <bullet0192>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 20:30:56 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:30:56 2021
Terminated at Wed Sep 29 20:46:06 2021
Results reported at Wed Sep 29 20:46:06 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2328.3-4036_daily_bin1026 352.082 -40.6037 505267201 505526401 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 :                                   802.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             270.10 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   910 sec.
    Turnaround time :                            911 sec.

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

