/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 132 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 = 7169
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2325.4-3559_daily_bin260
RA = 351.359, Dec = -35.9878
tmin = 306720001, tmax = 306979201
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='864335', job_status='RUN', time_executed='2021-09-29 17:28:04.009575', time_epoch_executed='1632961684.01' WHERE source_name='4FGL J2325.4-3559' and cadence='daily' and bin_id='260'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/864335

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/864335/ft1_4FGL_J2325.4-3559_daily_bin260.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/864335/ft2_4FGL_J2325.4-3559_daily_bin260.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/864335/ft1_4FGL_J2325.4-3559_daily_bin260.fits outfile=/scratch/kocevski/864335/ft1_filteredMKT_4FGL_J2325.4-3559_daily_bin260.fits ra=351.359 dec=-35.9878 rad=12.0 tmin=306720001.0 tmax=306979201.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 4.95
user 4.70
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/864335/ft1_filtered_4FGL_J2325.4-3559_daily_bin260.fits" evtable="EVENTS" scfile=/scratch/kocevski/864335/ft2_4FGL_J2325.4-3559_daily_bin260.fits sctable="SC_DATA" outfile=/scratch/kocevski/864335/ltcube_306720001_306979201_4FGL_J2325.4-3559_daily_bin260.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/864335/ft2_4FGL_J2325.4-3559_daily_bin260.fits
.....................!
real 11.22
user 10.80
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/864335/ft1_filtered_4FGL_J2325.4-3559_daily_bin260.fits evtable="EVENTS" scfile=/scratch/kocevski/864335/ft2_4FGL_J2325.4-3559_daily_bin260.fits sctable="SC_DATA" expcube=/scratch/kocevski/864335/ltcube_306720001_306979201_4FGL_J2325.4-3559_daily_bin260.fits outfile=/scratch/kocevski/864335/expmap_306720001_306979201_4FGL_J2325.4-3559_daily_bin260.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/864335/ltcube_306720001_306979201_4FGL_J2325.4-3559_daily_bin260.fits
.....................!
real 190.18
user 184.94
sys 4.01

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/864335/ft1_filtered_4FGL_J2325.4-3559_daily_bin260.fits scfile=/scratch/kocevski/864335/ft2_4FGL_J2325.4-3559_daily_bin260.fits outfile=/scratch/kocevski/864335/cmap_306720001_306979201_4FGL_J2325.4-3559_daily_bin260.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.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/864335/ft1_filtered_4FGL_J2325.4-3559_daily_bin260.fits scfile=/scratch/kocevski/864335/ft2_4FGL_J2325.4-3559_daily_bin260.fits outfile=/scratch/kocevski/864335/cmap_HighResolution_306720001_306979201_4FGL_J2325.4-3559_daily_bin260.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.53
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/864335/ft1_filtered_4FGL_J2325.4-3559_daily_bin260.fits evtable="EVENTS" scfile=/scratch/kocevski/864335/ft2_4FGL_J2325.4-3559_daily_bin260.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/864335/Model_4FGL_J2325.4-3559_daily_bin260.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/864335/ft1_filtered_4FGL_J2325.4-3559_daily_bin260.fits......................!
real 30.82
user 29.40
sys 1.14

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10310E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10124E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .58908E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    19.696       1.0000         .10000E-03   10000.    
     5 'Prefactor '    22.058       1.0000         .10000E-03   10000.    
     6 'Prefactor '    63.544       1.0000         .10000E-03   10000.    
     7 'Prefactor '    8.4185       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10570E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    3.4387       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    162.68       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    26.927       1.0000         .10000E-03   10000.    
    16 'norm      '    2.4008       1.0000         .10000E-03   10000.    
    17 'norm      '    47.819       1.0000         .10000E-03   10000.    
    18 'Prefactor '    42.250       1.0000         .10000E-03   10000.    
    19 'Prefactor '    31.830       1.0000         .10000E-03   10000.    
    20 'norm      '    .10074E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    20.584       1.0000         .10000E-03   10000.    
    22 'norm      '    3.4362       1.0000         .10000E-03   10000.    
    23 'Prefactor '    5.5806       1.0000         .10000E-03   10000.    
    24 'Prefactor '    86.345       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10075E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .15112E-02   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .58912E-02   1.0000         .10000E-03   10000.    
    28 'Normalizat'    1.2463       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .54003       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=   3361.725     FROM MIGRAD    STATUS=CONVERGED    727 CALLS     3738 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    41.444        .14823E-07** at limit **
   2  Prefactor     .10000E-03    3.3125       -.11071E-05** at limit **
   3  Prefactor     .10004E-03    230.52        .36823E-04** at limit **
   4  Prefactor     19.743        66.778       -.25967E-05   -.97988E-05
   5  Prefactor     22.058        32.069       -.65460E-06   -.96676E-05
   6  Prefactor     63.546        35.737       -.90192E-07   -.31556E-05
   7  Prefactor     8.4197        15.732       -.81848E-06   -.16574E-04
   8  Prefactor     .10000E-03    16.768       -.19366E-05** at limit **
   9  norm          3.4384        3.3554        .64941E-07    .14333E-04
  10  Prefactor     .10000E-03    4.3917       -.11919E-07** at limit **
  11  Prefactor     .10000E-03    3.5216       -.19423E-07** at limit **
  12  norm          .10000E-03    .23855       -.48401E-07** at limit **
  13  Prefactor     162.56        112.10        .20499E-05    .46695E-04
  14  Prefactor     .10000E-03    4.0560       -.29573E-07** at limit **
  15  norm          26.912        20.272       -.59690E-06   -.66913E-04
  16  norm          2.3996        5.5197       -.19237E-05   -.34450E-03
  17  norm          47.819        19.947       -.29024E-06   -.96636E-04
  18  Prefactor     42.231        54.281        .10517E-06   -.17993E-03
  19  Prefactor     31.832        75.978       -.51999E-06   -.16095E-04
  20  norm          .10000E-03    5.6262        .28609E-05** at limit **
  21  Prefactor     20.578        27.703       -.60699E-06   -.38647E-04
  22  norm          3.4364        5.9130       -.11235E-05   -.25066E-03
  23  Prefactor     5.5724        341.74       -.44331E-05   -.24157E-05
  24  Prefactor     86.425        61.842       -.10541E-05   -.21234E-04
  25  Prefactor     .10000E-03    3.3815       -.57231E-06** at limit **
  26  Prefactor     .10000E-03    5.4185        .10244E-05** at limit **
  27  Prefactor     .10000E-03    271.67       -.20561E-04** at limit **
  28  Normalizat    1.2469        .27536       -.85965E-06    .42821E-03
  29  Prefactor     .53964        .28037        .46569E-05   -.14805E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100044
  Prefactor  = 19.7426
  Prefactor  = 22.0579
  Prefactor  = 63.5457
  Prefactor  = 8.4197
  Prefactor  = 0.0001
  norm       = 3.43839
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 162.561
  Prefactor  = 0.0001
  norm       = 26.9116
  norm       = 2.39958
  norm       = 47.8194
  Prefactor  = 42.2309
  Prefactor  = 31.8325
  norm       = 0.0001
  Prefactor  = 20.5779
  norm       = 3.43637
  Prefactor  = 5.57238
  Prefactor  = 86.4245
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.000100002
  Normalizat = 1.24691
  Prefactor  = 0.539637
 **********
 **   18 **HESSE 
 **********

 FCN=   3361.725     FROM HESSE     STATUS=OK           553 CALLS     4291 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    41.472        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    3.3412        .10295E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10004E-03    227.17        .57900E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     19.743        66.687        .90249E-04   -1.4819    
   5  Prefactor     22.058        32.054        .85285E-04   -1.4768    
   6  Prefactor     63.546        35.744        .50341E-04   -1.4112    
   7  Prefactor     8.4197        15.717        .13816E-03   -1.5128    
   8  Prefactor     .10000E-03    17.509        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          3.4384        3.3598        .10198E-03   -1.5337    
  10  Prefactor     .10000E-03    4.3925        .11867E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    3.5302        .10624E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    .28749        .55164E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     162.56        112.07        .15810E-03   -1.3151    
  14  Prefactor     .10000E-03    4.0633        .11404E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          26.912        20.276        .38601E-03   -1.4670    
  16  norm          2.3996        5.5516        .19117E-03   -1.5398    
  17  norm          47.819        19.948        .57986E-04   -1.4324    
  18  Prefactor     42.231        54.513        .61673E-04   -1.4407    
  19  Prefactor     31.832        76.738        .71021E-04   -1.4579    
  20  norm          .10000E-03    5.8055        .13534E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     20.578        27.706        .88282E-04   -1.4800    
  22  norm          3.4364        5.8995        .17158E-03   -1.5337    
  23  Prefactor     5.5724        343.11        .17006E-03   -1.5236    
  24  Prefactor     86.425        61.954        .21617E-03   -1.3846    
  25  Prefactor     .10000E-03    3.4013        .10412E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    30.291        .25642E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    275.33        .18967E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    1.2469        .32189        .22302E-03   -.85165    
  29  Prefactor     .53964        .31809        .33637E-03   -1.1019    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.80358e-09
Minuit parameter uncertainties:
  1  6.83885e-07
  2  1.02697e-05
  3  0.00636789
  4  66.9406
  5  32.0789
  6  35.7556
  7  15.7248
  8  4.89851e-05
  9  3.36001
  10  1.62504e-06
  11  1.46549e-06
  12  2.61823e-06
  13  112.219
  14  3.67311e-06
  15  20.2811
  16  5.55284
  17  19.9505
  18  54.577
  19  76.9773
  20  0.000107379
  21  27.7235
  22  5.90046
  23  87.9837
  24  61.9999
  25  4.19942e-06
  26  0.000268468
  27  0.00152692
  28  0.322406
  29  0.319152
Done.

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

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  4.782e+01  1.995e+01  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:  5.396e-01  3.192e-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.247e+00  3.224e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 18.40
Ra Dec: 351.359 -35.988
Photon Index (Fixed Index): 2.13 +/- 0.00
Photon Flux (Fixed Index): 1.49e-07 +/- 6.21e-08
Energy Flux (Fixed Index): 5.97e-05 +/- 2.49e-05

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) = 3360.81578738
delta logL = 0.909095935025

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3360.45119205
delta logL = 1.27369126662

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    22.883       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.0719       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3377       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .50936       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=   3360.451     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      215 TOTAL
                     EDM=   .39E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          22.883        14.491        .20934E-02    .21399E-02
   2  alpha         1.0714        .38096        .18958       -.22437E-04
   3  Normalizat    1.3379        .25274        .49100E-01    .69869E-06
   4  Prefactor     .50916        .26217        .78365E-01    .20477E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 22.8828
  alpha      = 1.07144
  Normalizat = 1.33793
  Prefactor  = 0.509159
 **********
 **   18 **HESSE 
 **********

 FCN=   3360.451     FROM HESSE     STATUS=OK            27 CALLS      242 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          22.883        25.330        .83735E-04   -1.4751    
   2  alpha         1.0714        .66477        .83006E-03   -.60824    
   3  Normalizat    1.3379        .30004        .21706E-03   -.82441    
   4  Prefactor     .50916        .31093        .34707E-03   -1.1156    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.29637e-08
Minuit parameter uncertainties:
  1  25.342
  2  0.676988
  3  0.300434
  4  0.311976
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/864335': 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) = 3360.45119068
delta logL = 1.2736926355

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  2.288e+01  2.534e+01  1.000e-04  1.000e+04 ( 1.000e-12)
426        alpha:  1.071e+00  6.770e-01  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:  5.092e-01  3.120e-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.338e+00  3.004e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 20.93
Ra Dec: 351.359 -35.988
Photon Index (Free Index): 1.07 +/- 0.68
Photon Flux (Free Index): 4.81e-08 +/- 4.48e-08
Energy Flux (Free Index): 1.06e-04 +/- 8.35e-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/864335/cmap_HighResolution_306720001_306979201_4FGL_J2325.4-3559_daily_bin260.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.49e-07', energy_flux2='1.06e-04', photon_flux_error='6.21e-08', dlogl='1.27e+00', energy_flux='5.97e-05', photon_flux2='4.81e-08', job_status='DONE', time_completed='2021-09-29 17:37:00.890560', photon_index_error2='0.68', photon_index2='1.07', ts='18.40', fit_tolerance='1e-08', GAL='0.54', photon_index_error='0.00', energy_flux_error2='8.35e-05', EG='1.25', time_epoch_completed='1632962220.89', return_code='0', job_id='864335', GAL2='0.51', EG2='1.34', return_code2='0', energy_flux_error='2.49e-05', photon_flux_error2='4.48e-08', ts2='20.93', photon_index='2.13' WHERE bin_id='260' AND source_name='4FGL J2325.4-3559' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 17:37:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0083>
Subject: Job 864335: <4FGL_J2325.4-3559_daily_bin260> in cluster <slac> Done

Job <4FGL_J2325.4-3559_daily_bin260> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 17:25:41 2021
Job was executed on host(s) <bullet0083>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 17:25:43 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:25:43 2021
Terminated at Wed Sep 29 17:37:01 2021
Results reported at Wed Sep 29 17:37:01 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-3559_daily_bin260 351.359 -35.9878 306720001 306979201 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 :                                   530.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             311.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   678 sec.
    Turnaround time :                            680 sec.

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

