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


Performing analysis on: 4FGL_J2325.4-3559_daily_bin759
RA = 351.359, Dec = -35.9878
tmin = 436060801, tmax = 436320001
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='866741', job_status='RUN', time_executed='2021-09-29 17:38:08.379265', time_epoch_executed='1632962288.38' WHERE source_name='4FGL J2325.4-3559' and cadence='daily' and bin_id='759'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/866741

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/866741/ft1_4FGL_J2325.4-3559_daily_bin759.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/866741/ft2_4FGL_J2325.4-3559_daily_bin759.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/866741/ft1_4FGL_J2325.4-3559_daily_bin759.fits outfile=/scratch/kocevski/866741/ft1_filteredMKT_4FGL_J2325.4-3559_daily_bin759.fits ra=351.359 dec=-35.9878 rad=12.0 tmin=436060801.0 tmax=436320001.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.72
user 5.50
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/866741/ft2_4FGL_J2325.4-3559_daily_bin759.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/866741/ft1_filteredMKT_4FGL_J2325.4-3559_daily_bin759.fits evtable="EVENTS" outfile="/scratch/kocevski/866741/ft1_filtered_4FGL_J2325.4-3559_daily_bin759.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.35
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/866741/ft1_filtered_4FGL_J2325.4-3559_daily_bin759.fits" evtable="EVENTS" scfile=/scratch/kocevski/866741/ft2_4FGL_J2325.4-3559_daily_bin759.fits sctable="SC_DATA" outfile=/scratch/kocevski/866741/ltcube_436060801_436320001_4FGL_J2325.4-3559_daily_bin759.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/866741/ft2_4FGL_J2325.4-3559_daily_bin759.fits
.....................!
real 12.17
user 11.79
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/866741/ft1_filtered_4FGL_J2325.4-3559_daily_bin759.fits evtable="EVENTS" scfile=/scratch/kocevski/866741/ft2_4FGL_J2325.4-3559_daily_bin759.fits sctable="SC_DATA" expcube=/scratch/kocevski/866741/ltcube_436060801_436320001_4FGL_J2325.4-3559_daily_bin759.fits outfile=/scratch/kocevski/866741/expmap_436060801_436320001_4FGL_J2325.4-3559_daily_bin759.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/866741/ltcube_436060801_436320001_4FGL_J2325.4-3559_daily_bin759.fits
.....................!
real 191.87
user 186.35
sys 5.18

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/866741/ft1_filtered_4FGL_J2325.4-3559_daily_bin759.fits scfile=/scratch/kocevski/866741/ft2_4FGL_J2325.4-3559_daily_bin759.fits outfile=/scratch/kocevski/866741/cmap_436060801_436320001_4FGL_J2325.4-3559_daily_bin759.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.53
user 0.35
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/866741/ft1_filtered_4FGL_J2325.4-3559_daily_bin759.fits scfile=/scratch/kocevski/866741/ft2_4FGL_J2325.4-3559_daily_bin759.fits outfile=/scratch/kocevski/866741/cmap_HighResolution_436060801_436320001_4FGL_J2325.4-3559_daily_bin759.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.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/866741/ft1_filtered_4FGL_J2325.4-3559_daily_bin759.fits evtable="EVENTS" scfile=/scratch/kocevski/866741/ft2_4FGL_J2325.4-3559_daily_bin759.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/866741/Model_4FGL_J2325.4-3559_daily_bin759.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/866741/ft1_filtered_4FGL_J2325.4-3559_daily_bin759.fits.......................!
real 23.99
user 22.59
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/866741/ft1_filtered_4FGL_J2325.4-3559_daily_bin759.fits', '/scratch/kocevski/866741/ft2_4FGL_J2325.4-3559_daily_bin759.fits', expMap='/scratch/kocevski/866741/expmap_436060801_436320001_4FGL_J2325.4-3559_daily_bin759.fits', expCube='/scratch/kocevski/866741/ltcube_436060801_436320001_4FGL_J2325.4-3559_daily_bin759.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/866741/Model_4FGL_J2325.4-3559_daily_bin759.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/866741/ft1_filtered_4FGL_J2325.4-3559_daily_bin759.fits
Spacecraft file(s): /scratch/kocevski/866741/ft2_4FGL_J2325.4-3559_daily_bin759.fits
Exposure map: /scratch/kocevski/866741/expmap_436060801_436320001_4FGL_J2325.4-3559_daily_bin759.fits
Exposure cube: /scratch/kocevski/866741/ltcube_436060801_436320001_4FGL_J2325.4-3559_daily_bin759.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/866741/Model_4FGL_J2325.4-3559_daily_bin759.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) = 1853.17386386

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .25827E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10114E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    35.124       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    10.148       1.0000         .10000E-03   10000.    
     8 'Prefactor '    9.2724       1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .37788       1.0000         .10000E-03   10000.    
    13 'Prefactor '    89.767       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10165E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .35285       1.0000         .10000E-03   10000.    
    19 'Prefactor '    72.115       1.0000         .10000E-03   10000.    
    20 'norm      '    .32941E-01   1.0000         .10000E-03   10000.    
    21 'Prefactor '    17.730       1.0000         .10000E-03   10000.    
    22 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    11.479       1.0000         .10000E-03   10000.    
    24 'Prefactor '    139.23       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    83.827       1.0000         .10000E-03   10000.    
    28 'Normalizat'    1.3011       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .41813       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5960E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   1853.144     FROM MIGRAD    STATUS=CONVERGED    171 CALLS     3678 TOTAL
                     EDM=   .94E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10430E-03    38.872       -.78512E-05** at limit **
   2  Prefactor     .10014E-03    22.549        .85695E-06** at limit **
   3  Prefactor     .10159E-03    66.145       -.88873E-05** at limit **
   4  Prefactor     .10001E-03    53.262        .57416E-05** at limit **
   5  Prefactor     35.186        10.271       -.31050E-06    .65880E-02
   6  Prefactor     .10000E-03    17.413        .40869E-06** at limit **
   7  Prefactor     10.193        25.756       -.18178E-05   -.73813E-03
   8  Prefactor     9.2741        3.2181        .15119E-06   -.85180E-02
   9  norm          .10000E-03    2.2684        .18838E-06** at limit **
  10  Prefactor     .10000E-03    8.4970       -.44266E-06** at limit **
  11  Prefactor     .10000E-03    6.0335        .10132E-05** at limit **
  12  norm          .37790        .51197       -.16869E-07   -.85325E-04
  13  Prefactor     89.787        1.7070       -.87454E-08   -.90053E-03
  14  Prefactor     .10000E-03    6.5021       -.19090E-06** at limit **
  15  norm          .10000E-03    10.821       -.11628E-05** at limit **
  16  norm          .10000E-03    5.4211        .31986E-06** at limit **
  17  norm          .10000E-03    20.619        .61475E-06** at limit **
  18  Prefactor     .11054E-03    1661.1       -.19142E-05** at limit **
  19  Prefactor     72.150        3.0492        .34832E-07   -.16478E-02
  20  norm          .22030        66.598        .24905E-05   -.47135E-04
  21  Prefactor     17.765        2.8303        .35074E-07    .20650E-02
  22  norm          .10000E-03    5.0433       -.13930E-05** at limit **
  23  Prefactor     11.536        4.9480        .17081E-06   -.18878E-02
  24  Prefactor     139.29        4.7697        .39564E-07   -.37814E-02
  25  Prefactor     .10000E-03    7.5549       -.19911E-06** at limit **
  26  Prefactor     .10000E-03    4.0860       -.10635E-06** at limit **
  27  Prefactor     83.954        10.370        .12783E-06   -.94305E-02
  28  Normalizat    1.2996        .38587       -.14779E-05   -.97278E-04
  29  Prefactor     .41885        .36786        .12657E-05   -.43807E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000104302
  Prefactor  = 0.000100141
  Prefactor  = 0.000101586
  Prefactor  = 0.000100011
  Prefactor  = 35.1863
  Prefactor  = 0.000100002
  Prefactor  = 10.193
  Prefactor  = 9.27412
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.377903
  Prefactor  = 89.7874
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.000100001
  Prefactor  = 0.00011054
  Prefactor  = 72.1496
  norm       = 0.220297
  Prefactor  = 17.7647
  norm       = 0.0001
  Prefactor  = 11.5358
  Prefactor  = 139.292
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 83.9543
  Normalizat = 1.29957
  Prefactor  = 0.418854
 **********
 **   18 **HESSE 
 **********

 FCN=   1853.144     FROM HESSE     STATUS=OK           615 CALLS     4293 TOTAL
                     EDM=   .35E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10430E-03    103.47        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10014E-03    23.238        .10726E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10159E-03    93.436        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10001E-03    53.157        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     35.186        43.976        .16905E-02   -1.4521    
   6  Prefactor     .10000E-03    17.380        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     10.193        29.071        .31446E-02   -1.5069    
   8  Prefactor     9.2741        10.196        .32903E-02   -1.5099    
   9  norm          .10000E-03    2.2649        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    8.4781        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    6.0032        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .37790        .53357        .78772E-02   -1.5585    
  13  Prefactor     89.787        98.009        .10602E-02   -1.3810    
  14  Prefactor     .10000E-03    6.4784        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    10.771        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    5.3896        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    20.496        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .11054E-03    143.74        .13219       -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     72.150        97.177        .11819E-02   -1.4007    
  20  norm          .22030        11.146        .68582E-01   -1.5614    
  21  Prefactor     17.765        42.416        .23780E-02   -1.4865    
  22  norm          .10000E-03    5.0269        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     11.536        585.05        .29560E-02   -1.5029    
  24  Prefactor     139.29        145.85        .85345E-03   -1.3342    
  25  Prefactor     .10000E-03    7.5231        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    4.0770        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     83.954        152.34        .10968E-02   -1.3873    
  28  Normalizat    1.2996        .35556        .32785E-01   -.83579    
  29  Prefactor     .41885        .33127        .77482E-01   -1.1586    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.50098e-06
Minuit parameter uncertainties:
  1  0.042271
  2  0.00362346
  3  0.0243832
  4  0.00152051
  5  44.016
  6  0.000332513
  7  29.1117
  8  10.1974
  9  5.20372e-06
  10  2.8898e-05
  11  5.10823e-05
  12  0.533581
  13  98.1862
  14  1.07693e-05
  15  7.33726e-05
  16  1.73953e-05
  17  0.000233471
  18  0.0780336
  19  97.3919
  20  3.13381
  21  42.4878
  22  6.2761e-05
  23  166.05
  24  146.227
  25  7.47933e-06
  26  3.14467e-06
  27  153.061
  28  0.356234
  29  0.332799
Done.

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

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  1.000e-04  2.335e-04  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:  4.189e-01  3.328e-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:  1.300e+00  3.562e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 351.359 -35.988
Photon Flux Upper Limit: 1.59e-07 ph cm-2 s-1
Energy Flux Upper Limit: 6.40e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/866741/likelihoodResults_436060801_436320001_4FGL_J2325.4-3559_daily_bin759.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) = 1853.14457727
delta logL = -0.000231016705811

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1853.10268857
delta logL = 0.041657684005

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.0898       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.9893       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2685       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .43711       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=   1853.103     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      263 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.0869        256.92        .11461E-01    .28429E-03
   2  alpha         3.9917        3.7017        .50000        .89656E-05
   3  Normalizat    1.2688        .72586E-01    .33395E-01    .44149E-03
   4  Prefactor     .43688        .72614E-01    .75954E-01    .18010E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.08687
  alpha      = 3.99174
  Normalizat = 1.26876
  Prefactor  = 0.436877
 **********
 **   18 **HESSE 
 **********

 FCN=   1853.103     FROM HESSE     STATUS=OK            29 CALLS      292 TOTAL
                     EDM=   .86E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.0869        15.823        .15367E-03   -1.5499    
   2  alpha         3.9917        4.4818        .46283E-02    .63938    
   3  Normalizat    1.2688        .38471        .20852E-03   -.84504    
   4  Prefactor     .43688        .37137        .33640E-03   -1.1497    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.64525e-10
Minuit parameter uncertainties:
  1  8.29614
  2  4.73563
  3  0.385583
  4  0.373448
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/866741': 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) = 1853.10268803
delta logL = 0.0416582277751

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  1.087e+00  8.296e+00  1.000e-04  1.000e+04 ( 1.000e-12)
426        alpha:  3.992e+00  4.736e+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:  4.369e-01  3.734e-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:  1.269e+00  3.856e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/866741/cmap_HighResolution_436060801_436320001_4FGL_J2325.4-3559_daily_bin759.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.40e-05', job_status='DONE', photon_flux_upper_limit='1.59e-07', time_completed='2021-09-29 17:46:03.739681', job_id='866741', GAL2='0.44', fit_tolerance='1e-08', EG2='1.27', EG='1.30', time_epoch_completed='1632962763.74', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.42', dlogl='4.17e-02', ts2='0.09', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='759' AND source_name='4FGL J2325.4-3559' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 17:46:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0223>
Subject: Job 866741: <4FGL_J2325.4-3559_daily_bin759> in cluster <slac> Done

Job <4FGL_J2325.4-3559_daily_bin759> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 17:35:31 2021
Job was executed on host(s) <bullet0223>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 17:35:33 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:35:33 2021
Terminated at Wed Sep 29 17:46:04 2021
Results reported at Wed Sep 29 17:46:04 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-3559_daily_bin759 351.359 -35.9878 436060801 436320001 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 :                                   473.26 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             298.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   631 sec.
    Turnaround time :                            633 sec.

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

