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


Performing analysis on: 4FGL_J2325.4-3559_daily_bin1071
RA = 351.359, Dec = -35.9878
tmin = 516931201, tmax = 517190401
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='868315', job_status='RUN', time_executed='2021-09-29 17:42:21.610522', time_epoch_executed='1632962541.61' WHERE source_name='4FGL J2325.4-3559' and cadence='daily' and bin_id='1071'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/868315

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/868315/ft1_4FGL_J2325.4-3559_daily_bin1071.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/868315/ft2_4FGL_J2325.4-3559_daily_bin1071.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/868315/ft1_4FGL_J2325.4-3559_daily_bin1071.fits outfile=/scratch/kocevski/868315/ft1_filteredMKT_4FGL_J2325.4-3559_daily_bin1071.fits ra=351.359 dec=-35.9878 rad=12.0 tmin=516931201.0 tmax=517190401.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.95
user 3.71
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/868315/ft2_4FGL_J2325.4-3559_daily_bin1071.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/868315/ft2_4FGL_J2325.4-3559_daily_bin1071.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/868315/ft1_filteredMKT_4FGL_J2325.4-3559_daily_bin1071.fits evtable="EVENTS" outfile="/scratch/kocevski/868315/ft1_filtered_4FGL_J2325.4-3559_daily_bin1071.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.50
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/868315/ft1_filtered_4FGL_J2325.4-3559_daily_bin1071.fits" evtable="EVENTS" scfile=/scratch/kocevski/868315/ft2_4FGL_J2325.4-3559_daily_bin1071.fits sctable="SC_DATA" outfile=/scratch/kocevski/868315/ltcube_516931201_517190401_4FGL_J2325.4-3559_daily_bin1071.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/868315/ft2_4FGL_J2325.4-3559_daily_bin1071.fits
.....................!
real 11.86
user 11.49
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/868315/ft1_filtered_4FGL_J2325.4-3559_daily_bin1071.fits evtable="EVENTS" scfile=/scratch/kocevski/868315/ft2_4FGL_J2325.4-3559_daily_bin1071.fits sctable="SC_DATA" expcube=/scratch/kocevski/868315/ltcube_516931201_517190401_4FGL_J2325.4-3559_daily_bin1071.fits outfile=/scratch/kocevski/868315/expmap_516931201_517190401_4FGL_J2325.4-3559_daily_bin1071.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/868315/ltcube_516931201_517190401_4FGL_J2325.4-3559_daily_bin1071.fits
.....................!
real 192.34
user 187.07
sys 4.81

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

Setting source of interest to:
4FGL J2325.4-3559 @ 351.359 -35.9878

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/868315/ft1_filtered_4FGL_J2325.4-3559_daily_bin1071.fits scfile=/scratch/kocevski/868315/ft2_4FGL_J2325.4-3559_daily_bin1071.fits outfile=/scratch/kocevski/868315/cmap_516931201_517190401_4FGL_J2325.4-3559_daily_bin1071.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=351.359 yref=-35.9878 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.39
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/868315/ft1_filtered_4FGL_J2325.4-3559_daily_bin1071.fits scfile=/scratch/kocevski/868315/ft2_4FGL_J2325.4-3559_daily_bin1071.fits outfile=/scratch/kocevski/868315/cmap_HighResolution_516931201_517190401_4FGL_J2325.4-3559_daily_bin1071.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=351.359 yref=-35.9878 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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/868315/ft1_filtered_4FGL_J2325.4-3559_daily_bin1071.fits evtable="EVENTS" scfile=/scratch/kocevski/868315/ft2_4FGL_J2325.4-3559_daily_bin1071.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/868315/Model_4FGL_J2325.4-3559_daily_bin1071.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/868315/ft1_filtered_4FGL_J2325.4-3559_daily_bin1071.fits.....................!
real 42.09
user 40.72
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/868315/ft1_filtered_4FGL_J2325.4-3559_daily_bin1071.fits', '/scratch/kocevski/868315/ft2_4FGL_J2325.4-3559_daily_bin1071.fits', expMap='/scratch/kocevski/868315/expmap_516931201_517190401_4FGL_J2325.4-3559_daily_bin1071.fits', expCube='/scratch/kocevski/868315/ltcube_516931201_517190401_4FGL_J2325.4-3559_daily_bin1071.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/868315/Model_4FGL_J2325.4-3559_daily_bin1071.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2325.4-3559'

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  7.197e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
426        alpha:  2.129e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
427         beta:  1.815e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
428           Eb:  6.031e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/868315/ft1_filtered_4FGL_J2325.4-3559_daily_bin1071.fits
Spacecraft file(s): /scratch/kocevski/868315/ft2_4FGL_J2325.4-3559_daily_bin1071.fits
Exposure map: /scratch/kocevski/868315/expmap_516931201_517190401_4FGL_J2325.4-3559_daily_bin1071.fits
Exposure cube: /scratch/kocevski/868315/ltcube_516931201_517190401_4FGL_J2325.4-3559_daily_bin1071.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/868315/Model_4FGL_J2325.4-3559_daily_bin1071.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) = 5232.08548817

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.1799       1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.1007       1.0000         .10000E-03   10000.    
     4 'Prefactor '    14.773       1.0000         .10000E-03   10000.    
     5 'Prefactor '    20.859       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    8.7926       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    7.9138       1.0000         .10000E-03   10000.    
    10 'Prefactor '    16.444       1.0000         .10000E-03   10000.    
    11 'Prefactor '    29.948       1.0000         .10000E-03   10000.    
    12 'norm      '    1.3829       1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.7689       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    3.7519       1.0000         .10000E-03   10000.    
    18 'Prefactor '    39.565       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    1.5079       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    46.732       1.0000         .10000E-03   10000.    
    25 'Prefactor '    3.3300       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    8.8444       1.0000         .10000E-03   10000.    
    28 'Normalizat'    .77674       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .93295       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5960E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5232.025     FROM MIGRAD    STATUS=CONVERGED    714 CALLS     3725 TOTAL
                     EDM=   .66E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    14.023       -.18421E-06** at limit **
   2  Prefactor     3.1797        4.7592        .36339E-06    .57542E-04
   3  Prefactor     3.1003        40.757        .42895E-06    .63625E-05
   4  Prefactor     14.772        21.731        .32525E-07    .20855E-06
   5  Prefactor     20.860        16.383        .44538E-07    .43167E-06
   6  Prefactor     .10000E-03    5.5287       -.38286E-08** at limit **
   7  Prefactor     8.7937        8.8967        .30247E-06   -.29101E-05
   8  Prefactor     .10000E-03    3.7053       -.67963E-07** at limit **
   9  norm          7.9137        3.9917        .11076E-07   -.24264E-05
  10  Prefactor     16.441        18.403        .53291E-07   -.20736E-05
  11  Prefactor     29.953        14.382        .68482E-07   -.30299E-05
  12  norm          1.3827        .95432       -.15161E-07   -.10941E-04
  13  Prefactor     3.7673        46.873        .26453E-06   -.46533E-06
  14  Prefactor     .10000E-03    20.052       -.81110E-07** at limit **
  15  norm          .10000E-03    19.190        .52921E-06** at limit **
  16  norm          .10000E-03    6.1026        .10211E-06** at limit **
  17  norm          3.7518        7.6411        .17852E-05   -.12592E-04
  18  Prefactor     39.558        44.802        .88917E-06    .48192E-05
  19  Prefactor     .10000E-03    21.429       -.61464E-06** at limit **
  20  norm          1.5086        4.9058       -.32520E-06   -.48260E-04
  21  Prefactor     .10000E-03    8.0747       -.20552E-07** at limit **
  22  norm          .10000E-03    1.8593       -.56429E-07** at limit **
  23  Prefactor     .10000E-03    74.347       -.32129E-06** at limit **
  24  Prefactor     46.722        49.809        .13975E-05    .34226E-05
  25  Prefactor     3.3289        5.6948        .73371E-06    .62631E-04
  26  Prefactor     .10000E-03    1.9840       -.37405E-07** at limit **
  27  Prefactor     8.8904        56.715       -.90624E-05    .63810E-05
  28  Normalizat    .77641        .17659       -.62308E-06    .19949E-04
  29  Prefactor     .93331        .18821        .32075E-06    .10353E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 3.17968
  Prefactor  = 3.10026
  Prefactor  = 14.7723
  Prefactor  = 20.8604
  Prefactor  = 0.0001
  Prefactor  = 8.79367
  Prefactor  = 0.0001
  norm       = 7.91371
  Prefactor  = 16.4409
  Prefactor  = 29.953
  norm       = 1.3827
  Prefactor  = 3.76731
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 3.75184
  Prefactor  = 39.558
  Prefactor  = 0.0001
  norm       = 1.50861
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 46.7218
  Prefactor  = 3.32889
  Prefactor  = 0.0001
  Prefactor  = 8.8904
  Normalizat = 0.776407
  Prefactor  = 0.933307
 **********
 **   18 **HESSE 
 **********

 FCN=   5232.025     FROM HESSE     STATUS=OK           555 CALLS     4280 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    14.024        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.1797        4.6675        .15739E-03   -1.5351    
   3  Prefactor     3.1003        39.376        .23030E-03   -1.5356    
   4  Prefactor     14.772        21.730        .10421E-03   -1.4939    
   5  Prefactor     20.860        16.391        .87699E-04   -1.4794    
   6  Prefactor     .10000E-03    5.5349        .16611E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     8.7937        8.8954        .67588E-03   -1.5115    
   8  Prefactor     .10000E-03    3.7324        .13594E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          7.9137        3.9899        .97850E-04   -1.5145    
  10  Prefactor     16.441        18.405        .98769E-04   -1.4897    
  11  Prefactor     29.953        14.444        .73213E-04   -1.4613    
  12  norm          1.3827        .94258        .44695E-04   -1.5473    
  13  Prefactor     3.7673        46.878        .20795E-03   -1.5320    
  14  Prefactor     .10000E-03    20.646        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    19.721        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    6.1475        .34509E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          3.7518        7.6573        .10422E-02   -1.5321    
  18  Prefactor     39.558        43.249        .63723E-04   -1.4449    
  19  Prefactor     .10000E-03    21.452        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          1.5086        4.6394        .19836E-03   -1.5462    
  21  Prefactor     .10000E-03    8.1106        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    1.8815        .96198E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    74.410        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     46.722        49.794        .58654E-04   -1.4340    
  25  Prefactor     3.3289        5.6795        .20830E-03   -1.5343    
  26  Prefactor     .10000E-03    1.9941        .99489E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     8.8904        56.856        .13478E-03   -1.5112    
  28  Normalizat    .77641        .20944        .23963E-03   -1.0095    
  29  Prefactor     .93331        .22390        .24412E-03   -.94987    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.16975e-10
Minuit parameter uncertainties:
  1  2.3573e-06
  2  4.66799
  3  22.1153
  4  21.7419
  5  16.3945
  6  8.76391e-07
  7  8.89675
  8  1.60193e-06
  9  3.99005
  10  18.4115
  11  14.446
  12  0.94259
  13  26.6041
  14  1.53859e-05
  15  4.00897e-05
  16  8.14091e-06
  17  7.65926
  18  43.2833
  19  1.36163e-05
  20  4.64049
  21  3.21331e-06
  22  2.49019e-06
  23  7.56533e-06
  24  49.8381
  25  5.68038
  26  6.4537e-07
  27  45.0278
  28  0.209654
  29  0.224126
Done.

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

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  3.752e+00  7.659e+00  1.000e-04  1.000e+04 ( 1.000e-12)
426        alpha:  2.129e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
427         beta:  1.815e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
428           Eb:  6.031e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
593    Prefactor:  9.333e-01  2.241e-01  0.000e+00  1.000e+01 ( 1.000e+00)
594        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
595        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
592   Normalization:  7.764e-01  2.097e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.29
Ra Dec: 351.359 -35.988
Photon Flux Upper Limit: 7.04e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.83e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/868315/likelihoodResults_516931201_517190401_4FGL_J2325.4-3559_daily_bin1071.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) = 5231.85428981
delta logL = 0.17030980559

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5231.84510879
delta logL = 0.179490829132

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.0220       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.9252       1.0000          .0000       5.0000    
     3 'Normalizat'    .76234       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94291       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5960E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5231.845     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      205 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.0138        165.23        .58362E-02   -.25964E-03
   2  alpha         2.9279        2.7195        .41930       -.21237E-04
   3  Normalizat    .76255        .51300E-01    .43117E-01   -.55566E-04
   4  Prefactor     .94250        .58650E-01    .45550E-01   -.60468E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.0138
  alpha      = 2.92788
  Normalizat = 0.762546
  Prefactor  = 0.942504
 **********
 **   18 **HESSE 
 **********

 FCN=   5231.845     FROM HESSE     STATUS=OK            33 CALLS      238 TOTAL
                     EDM=   .41E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.0138        7.7536        .17033E-03   -1.5361    
   2  alpha         2.9279        1.6618        .24236E-01    .17200    
   3  Normalizat    .76255        .19816        .24158E-03   -1.0147    
   4  Prefactor     .94250        .22003        .24301E-03   -.94671    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.11474e-10
Minuit parameter uncertainties:
  1  7.75615
  2  1.824
  3  0.198348
  4  0.220238
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/868315': 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) = 5231.84510424
delta logL = 0.179495378632

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  3.014e+00  7.756e+00  1.000e-04  1.000e+04 ( 1.000e-12)
426        alpha:  2.928e+00  1.824e+00  0.000e+00  5.000e+00 ( 1.000e+00)
427         beta:  1.815e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
428           Eb:  6.031e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
593    Prefactor:  9.425e-01  2.202e-01  0.000e+00  1.000e+01 ( 1.000e+00)
594        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
595        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
592   Normalization:  7.625e-01  1.983e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.29
Ra Dec: 351.359 -35.988

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/868315/cmap_HighResolution_516931201_517190401_4FGL_J2325.4-3559_daily_bin1071.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.83e-05', job_status='DONE', photon_flux_upper_limit='7.04e-08', time_completed='2021-09-29 17:54:42.908045', job_id='868315', GAL2='0.94', fit_tolerance='1e-08', EG2='0.76', EG='0.78', time_epoch_completed='1632963282.91', return_code2='0', ts='0.29', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='1.79e-01', ts2='0.65', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='1071' AND source_name='4FGL J2325.4-3559' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 17:54:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0214>
Subject: Job 868315: <4FGL_J2325.4-3559_daily_bin1071> in cluster <slac> Done

Job <4FGL_J2325.4-3559_daily_bin1071> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep 29 17:40:44 2021
Job was executed on host(s) <bullet0214>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 17:40:46 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 17:40:46 2021
Terminated at Wed Sep 29 17:54:43 2021
Results reported at Wed Sep 29 17:54:43 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-3559_daily_bin1071 351.359 -35.9878 516931201 517190401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2325.4-3559 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   736.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             313.28 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   837 sec.
    Turnaround time :                            839 sec.

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

