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


Performing analysis on: 4FGL_J2328.3-4036_daily_bin1411
RA = 352.082, Dec = -40.6037
tmin = 605059201, tmax = 605318401
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='934554', job_status='RUN', time_executed='2021-09-29 20:40:57.896052', time_epoch_executed='1632973257.9' WHERE source_name='4FGL J2328.3-4036' and cadence='daily' and bin_id='1411'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/934554

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/934554/ft1_4FGL_J2328.3-4036_daily_bin1411.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/934554/ft2_4FGL_J2328.3-4036_daily_bin1411.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/934554/ft1_4FGL_J2328.3-4036_daily_bin1411.fits outfile=/scratch/kocevski/934554/ft1_filteredMKT_4FGL_J2328.3-4036_daily_bin1411.fits ra=352.082 dec=-40.6037 rad=12.0 tmin=605059201.0 tmax=605318401.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 5.37
user 5.12
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/934554/ft1_filtered_4FGL_J2328.3-4036_daily_bin1411.fits" evtable="EVENTS" scfile=/scratch/kocevski/934554/ft2_4FGL_J2328.3-4036_daily_bin1411.fits sctable="SC_DATA" outfile=/scratch/kocevski/934554/ltcube_605059201_605318401_4FGL_J2328.3-4036_daily_bin1411.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/934554/ft2_4FGL_J2328.3-4036_daily_bin1411.fits
.....................!
real 12.50
user 12.12
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/934554/ft1_filtered_4FGL_J2328.3-4036_daily_bin1411.fits evtable="EVENTS" scfile=/scratch/kocevski/934554/ft2_4FGL_J2328.3-4036_daily_bin1411.fits sctable="SC_DATA" expcube=/scratch/kocevski/934554/ltcube_605059201_605318401_4FGL_J2328.3-4036_daily_bin1411.fits outfile=/scratch/kocevski/934554/expmap_605059201_605318401_4FGL_J2328.3-4036_daily_bin1411.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/934554/ltcube_605059201_605318401_4FGL_J2328.3-4036_daily_bin1411.fits
.....................!
real 190.88
user 185.14
sys 5.42

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/934554/ft1_filtered_4FGL_J2328.3-4036_daily_bin1411.fits scfile=/scratch/kocevski/934554/ft2_4FGL_J2328.3-4036_daily_bin1411.fits outfile=/scratch/kocevski/934554/cmap_605059201_605318401_4FGL_J2328.3-4036_daily_bin1411.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.55
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/934554/ft1_filtered_4FGL_J2328.3-4036_daily_bin1411.fits scfile=/scratch/kocevski/934554/ft2_4FGL_J2328.3-4036_daily_bin1411.fits outfile=/scratch/kocevski/934554/cmap_HighResolution_605059201_605318401_4FGL_J2328.3-4036_daily_bin1411.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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/934554/ft1_filtered_4FGL_J2328.3-4036_daily_bin1411.fits evtable="EVENTS" scfile=/scratch/kocevski/934554/ft2_4FGL_J2328.3-4036_daily_bin1411.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/934554/Model_4FGL_J2328.3-4036_daily_bin1411.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/934554/ft1_filtered_4FGL_J2328.3-4036_daily_bin1411.fits.....................!
real 31.37
user 30.13
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.815       1.0000         .10000E-03   10000.    
     2 'Prefactor '    27.114       1.0000         .10000E-03   10000.    
     3 'Prefactor '    120.32       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .50239E-02   1.0000         .10000E-03   10000.    
     5 'Prefactor '    19.390       1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.4725       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10061E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10053E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    26.020       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10170E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .40702E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    8.2246       1.0000         .10000E-03   10000.    
    19 'Prefactor '    11.215       1.0000         .10000E-03   10000.    
    20 'Prefactor '    108.70       1.0000         .10000E-03   10000.    
    21 'Prefactor '    2.5706       1.0000         .10000E-03   10000.    
    22 'norm      '    .10112E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10385E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    1.2627       1.0000         .10000E-03   10000.    
    25 'norm      '    3.0865       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10349E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    11.385       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10100E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    3.9980       1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    16.115       1.0000         .10000E-03   10000.    
    32 'Normalizat'    .79424       1.0000         .10000E-01   10.000    
    33 'Prefactor '    1.2484       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3466.763     FROM MIGRAD    STATUS=CONVERGED   1611 CALLS     5345 TOTAL
                     EDM=   .52E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.746        48.190        .10406E-03   -.34960E-05
   2  Prefactor     27.084        29.624        .76936E-04   -.15294E-04
   3  Prefactor     120.35        97.130        .18344E-03   -.54227E-05
   4  Prefactor     .10000E-03    67.071        .12161    ** at limit **
   5  Prefactor     19.362        14.013        .90958E-04    .10130E-03
   6  Prefactor     2.4729        4.4715        .16153E-03   -.67353E-04
   7  Prefactor     .10000E-03    18.156        .18142E-02** at limit **
   8  Prefactor     .10000E-03    44.725        .18142E-02** at limit **
   9  Prefactor     .10000E-03    48.355        .18142E-02** at limit **
  10  Prefactor     26.015        27.944        .78532E-04   -.78173E-05
  11  Prefactor     .10000E-03    8.7327        .16920E-02** at limit **
  12  Prefactor     .10000E-03    13.777        .18142E-02** at limit **
  13  Prefactor     .10000E-03    56.820        .18142E-02** at limit **
  14  Prefactor     .10000E-03    11.933        .18142E-02** at limit **
  15  norm          .10000E-03    5.5006        .13487E-02** at limit **
  16  norm          .10001E-03    17.269        .30064E-02** at limit **
  17  norm          .10000E-03    2.6803        .94125E-03** at limit **
  18  norm          8.2258        11.393        .13979E-03   -.10003E-04
  19  Prefactor     11.216        8.6276        .11963E-03   -.12981E-03
  20  Prefactor     108.68        80.771        .38577E-04   -.89294E-05
  21  Prefactor     2.5693        163.54        .25458E-03   -.22551E-05
  22  norm          .10000E-03    7.8128        .15926E-02** at limit **
  23  Prefactor     .10000E-03    13.179        .18142E-02** at limit **
  24  norm          1.2620        1.2681        .63291E-04   -.22238E-03
  25  norm          3.0942        8.0283        .22852E-03   -.78630E-04
  26  Prefactor     .10000E-03    2.9682        .98404E-03** at limit **
  27  Prefactor     11.383        29.001        .11873E-03    .64155E-05
  28  Prefactor     .10000E-03    62.082        .18142E-02** at limit **
  29  Prefactor     3.9968        6.3588        .18058E-03   -.40418E-04
  30  Prefactor     .10000E-03    2.7030        .94208E-03** at limit **
  31  Prefactor     16.078        47.049        .99773E-04   -.44439E-05
  32  Normalizat    .79431        .33428        .28391E-03    .16998E-04
  33  Prefactor     1.2484        .34655        .25634E-03   -.19603E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.7462
  Prefactor  = 27.0839
  Prefactor  = 120.35
  Prefactor  = 0.000100003
  Prefactor  = 19.3619
  Prefactor  = 2.47291
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 26.0153
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.000100008
  norm       = 0.0001
  norm       = 8.2258
  Prefactor  = 11.216
  Prefactor  = 108.685
  Prefactor  = 2.56935
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 1.26201
  norm       = 3.09423
  Prefactor  = 0.0001
  Prefactor  = 11.3834
  Prefactor  = 0.0001
  Prefactor  = 3.99685
  Prefactor  = 0.0001
  Prefactor  = 16.0776
  Normalizat = 0.79431
  Prefactor  = 1.24836
 **********
 **   18 **HESSE 
 **********

 FCN=   3466.763     FROM HESSE     STATUS=OK           671 CALLS     6016 TOTAL
                     EDM=   .53E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.746        48.187        .41624E-05   -1.4940    
   2  Prefactor     27.084        29.618        .30774E-05   -1.4667    
   3  Prefactor     120.35        97.116        .73377E-05   -1.3509    
   4  Prefactor     .10000E-03    65.495        .12375       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     19.362        14.015        .36383E-05   -1.4828    
   6  Prefactor     2.4729        4.4714        .64614E-05   -1.5393    
   7  Prefactor     .10000E-03    18.156        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    44.736        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    48.369        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     26.015        27.943        .31413E-05   -1.4687    
  11  Prefactor     .10000E-03    8.7351        .33840E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    13.777        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    56.820        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    11.934        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    5.5006        .26973E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10001E-03    17.384        .60127E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    2.6803        .18825E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          8.2258        11.392        .55918E-05   -1.5134    
  19  Prefactor     11.216        8.6253        .47852E-05   -1.5038    
  20  Prefactor     108.68        80.738        .77154E-05   -1.3619    
  21  Prefactor     2.5693        163.54        .10183E-04   -1.5387    
  22  norm          .10000E-03    7.8145        .31851E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    13.181        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          1.2620        1.2680        .25316E-05   -1.5483    
  25  norm          3.0942        8.0237        .91406E-05   -1.5356    
  26  Prefactor     .10000E-03    2.9686        .19681E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     11.383        28.997        .47491E-05   -1.5033    
  28  Prefactor     .10000E-03    62.084        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     3.9968        6.3586        .72233E-05   -1.5308    
  30  Prefactor     .10000E-03    2.7032        .18842E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     16.078        47.046        .39909E-05   -1.4906    
  32  Normalizat    .79431        .33470        .11357E-04   -1.0028    
  33  Prefactor     1.2484        .34699        .10254E-04   -.84856    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.26423e-10
Minuit parameter uncertainties:
  1  48.3148
  2  29.6344
  3  97.2444
  4  0.000895033
  5  14.0173
  6  4.47196
  7  4.24039e-06
  8  1.41459e-05
  9  2.85229e-05
  10  27.9566
  11  8.34787e-06
  12  7.39395e-06
  13  4.26791e-05
  14  3.36847e-06
  15  4.03895e-07
  16  0.000745056
  17  1.60507e-06
  18  11.3951
  19  8.62624
  20  80.8196
  21  41.1147
  22  3.58728e-05
  23  1.17195e-05
  24  1.26799
  25  8.02652
  26  2.78172e-06
  27  29.0326
  28  2.16996e-05
  29  6.35968
  30  8.65217e-06
  31  47.1552
  32  0.335575
  33  0.347627
Done.

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

Extracting fit parameters...

4FGL J2328.3-4036
   Spectrum: LogParabola
455         norm:  1.000e-04  3.587e-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.248e+00  3.476e-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.943e-01  3.356e-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: 1.32e-07 ph cm-2 s-1
Energy Flux Upper Limit: 4.61e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/934554/likelihoodResults_605059201_605318401_4FGL_J2328.3-4036_daily_bin1411.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) = 3466.76350597
delta logL = -0.000609825175161

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3466.76289529
delta logL = 8.57505710883e-07

Fit tolerance = 1e-08

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

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

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3466.763     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      239 TOTAL
                     EDM=   .45E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10003E-03    13.445        .36285E-03** at limit **
   2  alpha         2.4842        3.5485        .16477E-01   -.46792E-04
   3  Normalizat    .79431        .30115        .28392E-03   -.14726E-03
   4  Prefactor     1.2484        .33497        .25634E-03   -.18857E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100032
  alpha      = 2.48416
  Normalizat = 0.794309
  Prefactor  = 1.24836
 **********
 **   18 **HESSE 
 **********

 FCN=   3466.763     FROM HESSE     STATUS=OK            23 CALLS      262 TOTAL
                     EDM=   .46E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10003E-03    13.432        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.4842        3.5482        .32954E-02   -.63370E-02
   3  Normalizat    .79431        .30147        .11357E-04   -1.0028    
   4  Prefactor     1.2484        .33532        .51268E-04   -.84856    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.6151e-09
Minuit parameter uncertainties:
  1  0.00131977
  2  2.50001
  3  0.302104
  4  0.3359
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/934554': 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) = 3466.76289346
delta logL = 2.69446309176e-06

Extracting fit parameters...

4FGL J2328.3-4036
   Spectrum: LogParabola
455         norm:  1.000e-04  1.320e-03  1.000e-04  1.000e+04 ( 1.000e-12)
456        alpha:  2.484e+00  2.500e+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.248e+00  3.359e-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.943e-01  3.021e-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/934554/cmap_HighResolution_605059201_605318401_4FGL_J2328.3-4036_daily_bin1411.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.61e-05', job_status='DONE', photon_flux_upper_limit='1.32e-07', time_completed='2021-09-29 20:52:56.141990', job_id='934554', GAL2='1.25', fit_tolerance='1e-08', EG2='0.79', EG='0.79', time_epoch_completed='1632973976.14', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.25', dlogl='2.69e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.33' WHERE bin_id='1411' AND source_name='4FGL J2328.3-4036' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 20:52:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0131>
Subject: Job 934554: <4FGL_J2328.3-4036_daily_bin1411> in cluster <slac> Done

Job <4FGL_J2328.3-4036_daily_bin1411> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 20:40:25 2021
Job was executed on host(s) <bullet0131>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 20:40:27 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:40:27 2021
Terminated at Wed Sep 29 20:52:56 2021
Results reported at Wed Sep 29 20:52:56 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2328.3-4036_daily_bin1411 352.082 -40.6037 605059201 605318401 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 :                                   697.17 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             342.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   749 sec.
    Turnaround time :                            751 sec.

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

