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


Performing analysis on: 4FGL_J2325.4-3559_daily_bin454
RA = 351.359, Dec = -35.9878
tmin = 357004801, tmax = 357264001
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='865165', job_status='RUN', time_executed='2021-09-29 17:32:45.150149', time_epoch_executed='1632961965.15' WHERE source_name='4FGL J2325.4-3559' and cadence='daily' and bin_id='454'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/865165

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/865165/ft1_4FGL_J2325.4-3559_daily_bin454.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/865165/ft2_4FGL_J2325.4-3559_daily_bin454.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/865165/ft1_4FGL_J2325.4-3559_daily_bin454.fits outfile=/scratch/kocevski/865165/ft1_filteredMKT_4FGL_J2325.4-3559_daily_bin454.fits ra=351.359 dec=-35.9878 rad=12.0 tmin=357004801.0 tmax=357264001.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.09
user 3.78
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/865165/ft1_filtered_4FGL_J2325.4-3559_daily_bin454.fits" evtable="EVENTS" scfile=/scratch/kocevski/865165/ft2_4FGL_J2325.4-3559_daily_bin454.fits sctable="SC_DATA" outfile=/scratch/kocevski/865165/ltcube_357004801_357264001_4FGL_J2325.4-3559_daily_bin454.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/865165/ft2_4FGL_J2325.4-3559_daily_bin454.fits
.....................!
real 11.89
user 11.54
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/865165/ft1_filtered_4FGL_J2325.4-3559_daily_bin454.fits evtable="EVENTS" scfile=/scratch/kocevski/865165/ft2_4FGL_J2325.4-3559_daily_bin454.fits sctable="SC_DATA" expcube=/scratch/kocevski/865165/ltcube_357004801_357264001_4FGL_J2325.4-3559_daily_bin454.fits outfile=/scratch/kocevski/865165/expmap_357004801_357264001_4FGL_J2325.4-3559_daily_bin454.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/865165/ltcube_357004801_357264001_4FGL_J2325.4-3559_daily_bin454.fits
.....................!
real 190.85
user 185.32
sys 4.96

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/865165/ft1_filtered_4FGL_J2325.4-3559_daily_bin454.fits scfile=/scratch/kocevski/865165/ft2_4FGL_J2325.4-3559_daily_bin454.fits outfile=/scratch/kocevski/865165/cmap_357004801_357264001_4FGL_J2325.4-3559_daily_bin454.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/865165/ft1_filtered_4FGL_J2325.4-3559_daily_bin454.fits scfile=/scratch/kocevski/865165/ft2_4FGL_J2325.4-3559_daily_bin454.fits outfile=/scratch/kocevski/865165/cmap_HighResolution_357004801_357264001_4FGL_J2325.4-3559_daily_bin454.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.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.645       1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.3707       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    31.463       1.0000         .10000E-03   10000.    
     5 'Prefactor '    14.800       1.0000         .10000E-03   10000.    
     6 'Prefactor '    10.474       1.0000         .10000E-03   10000.    
     7 'Prefactor '    17.836       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    7.6651       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10846E-02   1.0000         .10000E-03   10000.    
    11 'Prefactor '    17.527       1.0000         .10000E-03   10000.    
    12 'norm      '    2.1872       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .11827E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    9.3130       1.0000         .10000E-03   10000.    
    16 'norm      '    1.5060       1.0000         .10000E-03   10000.    
    17 'norm      '    19.769       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    109.57       1.0000         .10000E-03   10000.    
    20 'norm      '    57.836       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    181.02       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10163E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    5.1271       1.0000         .10000E-03   10000.    
    26 'Prefactor '    19.310       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    28 'Normalizat'    .61053       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.3294       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=   5890.186     FROM MIGRAD    STATUS=CONVERGED    701 CALLS     3743 TOTAL
                     EDM=   .55E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.635        82.733        .44712E-05    .10023E-04
   2  Prefactor     2.3715        4.2533        .16595E-06    .57661E-04
   3  Prefactor     .10000E-03    32.035        .16739E-06** at limit **
   4  Prefactor     31.463        30.730       -.47520E-07   -.54819E-05
   5  Prefactor     14.798        21.527        .24484E-06   -.25689E-05
   6  Prefactor     10.472        23.726        .14087E-05    .43436E-04
   7  Prefactor     17.837        16.254        .56679E-06    .24826E-05
   8  Prefactor     .10000E-03    1.9865        .71900E-07** at limit **
   9  norm          7.6573        6.6714       -.15991E-06    .12755E-03
  10  Prefactor     .10030E-03    40.244       -.51844E-05** at limit **
  11  Prefactor     17.544        18.507       -.36895E-06    .95401E-04
  12  norm          2.1842        1.2010       -.26641E-07    .15753E-03
  13  Prefactor     .10000E-03    30.849        .63842E-06** at limit **
  14  Prefactor     .10000E-03    9.8488        .75016E-07** at limit **
  15  norm          9.3121        12.200        .33441E-06    .37463E-04
  16  norm          1.5051        5.9030        .84979E-06    .99330E-04
  17  norm          19.769        10.209        .87543E-07   -.11244E-05
  18  Prefactor     .10000E-03    25.114       -.15717E-06** at limit **
  19  Prefactor     109.57        59.063       -.64435E-07   -.82111E-05
  20  norm          57.839        9.9424        .77504E-07    .70123E-05
  21  Prefactor     .10000E-03    6.0697        .83917E-07** at limit **
  22  norm          .10000E-03    1.6878       -.24808E-07** at limit **
  23  Prefactor     180.97        145.19        .51650E-05    .35733E-04
  24  Prefactor     .10000E-03    56.380       -.93474E-06** at limit **
  25  Prefactor     5.1299        9.1038        .26693E-05    .44413E-03
  26  Prefactor     19.311        8.6968        .16815E-06   -.42915E-06
  27  Prefactor     .10000E-03    32.561       -.70243E-08** at limit **
  28  Normalizat    .61010        .23953       -.30102E-05    .50948E-05
  29  Prefactor     1.3299        .23438        .34504E-06   -.14714E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.6347
  Prefactor  = 2.37152
  Prefactor  = 0.0001
  Prefactor  = 31.4634
  Prefactor  = 14.7977
  Prefactor  = 10.472
  Prefactor  = 17.8372
  Prefactor  = 0.0001
  norm       = 7.65733
  Prefactor  = 0.000100295
  Prefactor  = 17.5439
  norm       = 2.18424
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 9.31209
  norm       = 1.50507
  norm       = 19.7688
  Prefactor  = 0.0001
  Prefactor  = 109.566
  norm       = 57.8393
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 180.975
  Prefactor  = 0.0001
  Prefactor  = 5.12988
  Prefactor  = 19.311
  Prefactor  = 0.0001
  Normalizat = 0.610104
  Prefactor  = 1.32991
 **********
 **   18 **HESSE 
 **********

 FCN=   5890.186     FROM HESSE     STATUS=OK           561 CALLS     4304 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.635        82.840        .11739E-03   -1.5026    
   2  Prefactor     2.3715        4.2395        .20113E-03   -1.5400    
   3  Prefactor     .10000E-03    32.141        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     31.463        30.728        .71433E-04   -1.4586    
   5  Prefactor     14.798        21.517        .10411E-03   -1.4938    
   6  Prefactor     10.472        23.779        .61902E-03   -1.5061    
   7  Prefactor     17.837        16.309        .94836E-04   -1.4863    
   8  Prefactor     .10000E-03    1.9910        .10565E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          7.6573        6.4481        .14484E-03   -1.5154    
  10  Prefactor     .10030E-03    91.370        .60177E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     17.544        18.372        .95666E-04   -1.4870    
  12  norm          2.1842        1.2414        .44627E-04   -1.5412    
  13  Prefactor     .10000E-03    30.893        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    9.8803        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          9.3121        12.210        .65663E-03   -1.5098    
  16  norm          1.5051        5.8647        .34669E-03   -1.5463    
  17  norm          19.769        10.208        .90081E-04   -1.4818    
  18  Prefactor     .10000E-03    25.134        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     109.57        59.126        .38426E-04   -1.3611    
  20  norm          57.839        9.8851        .52752E-04   -1.4185    
  21  Prefactor     .10000E-03    6.0744        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    1.6920        .97334E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     180.97        145.12        .15002E-03   -1.3009    
  24  Prefactor     .10000E-03    56.624        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     5.1299        9.4955        .88778E-03   -1.5255    
  26  Prefactor     19.311        8.7115        .91146E-04   -1.4829    
  27  Prefactor     .10000E-03    32.592        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    .61010        .28292        .34513E-03   -1.0756    
  29  Prefactor     1.3299        .28333        .26680E-03   -.82422    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.59564e-09
Minuit parameter uncertainties:
  1  62.2129
  2  4.24004
  3  3.65099e-05
  4  30.7437
  5  21.5287
  6  23.8007
  7  16.3131
  8  3.36732e-06
  9  6.4487
  10  0.0104041
  11  18.3778
  12  1.24141
  13  5.33078e-05
  14  5.14316e-05
  15  12.2134
  16  5.8669
  17  10.2087
  18  1.09333e-05
  19  59.1582
  20  9.88539
  21  5.60424e-06
  22  9.88494e-07
  23  145.404
  24  7.80903e-05
  25  9.49831
  26  8.71208
  27  2.25076e-05
  28  0.283595
  29  0.283662
Done.

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

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  1.977e+01  1.021e+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:  1.330e+00  2.837e-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:  6.101e-01  2.836e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 11.80
Ra Dec: 351.359 -35.988
Photon Index (Fixed Index): 2.13 +/- 0.00
Photon Flux (Fixed Index): 6.15e-08 +/- 3.18e-08
Energy Flux (Fixed Index): 2.47e-05 +/- 1.28e-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) = 5889.96859408
delta logL = 0.217177441272

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5889.96548369
delta logL = 0.220287837141

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    19.071       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7835       1.0000          .0000       5.0000    
     3 'Normalizat'    .62459       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3222       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=   5889.965     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      211 TOTAL
                     EDM=   .94E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          19.071        10.648        .22929E-02    .12001E-02
   2  alpha         1.7835        .47701        .35130        .31693E-06
   3  Normalizat    .62459        .20722        .77132E-01    .66792E-04
   4  Prefactor     1.3222        .22853        .60502E-01   -.48429E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 19.0708
  alpha      = 1.78346
  Normalizat = 0.624592
  Prefactor  = 1.32224
 **********
 **   18 **HESSE 
 **********

 FCN=   5889.965     FROM HESSE     STATUS=OK            31 CALLS      242 TOTAL
                     EDM=   .96E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          19.071        10.686        .91715E-04   -1.4834    
   2  alpha         1.7835        .51950        .14248E-01   -.29069    
   3  Normalizat    .62459        .24621        .34152E-03   -1.0695    
   4  Prefactor     1.3222        .27228        .26755E-03   -.82648    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.62085e-10
Minuit parameter uncertainties:
  1  10.687
  2  0.523658
  3  0.246643
  4  0.272571
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/865165': 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) = 5889.96548368
delta logL = 0.220287841249

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  1.907e+01  1.069e+01  1.000e-04  1.000e+04 ( 1.000e-12)
426        alpha:  1.783e+00  5.237e-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:  1.322e+00  2.726e-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:  6.246e-01  2.466e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 12.23
Ra Dec: 351.359 -35.988
Photon Index (Free Index): 1.78 +/- 0.52
Photon Flux (Free Index): 4.61e-08 +/- 3.32e-08
Energy Flux (Free Index): 2.84e-05 +/- 1.69e-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/865165/cmap_HighResolution_357004801_357264001_4FGL_J2325.4-3559_daily_bin454.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.15e-08', energy_flux2='2.84e-05', photon_flux_error='3.18e-08', dlogl='2.20e-01', energy_flux='2.47e-05', photon_flux2='4.61e-08', job_status='DONE', time_completed='2021-09-29 17:44:34.564047', photon_index_error2='0.52', photon_index2='1.78', ts='11.80', fit_tolerance='1e-08', GAL='1.33', photon_index_error='0.00', energy_flux_error2='1.69e-05', EG='0.61', time_epoch_completed='1632962674.56', return_code='0', job_id='865165', GAL2='1.32', EG2='0.62', return_code2='0', energy_flux_error='1.28e-05', photon_flux_error2='3.32e-08', ts2='12.23', photon_index='2.13' WHERE bin_id='454' AND source_name='4FGL J2325.4-3559' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 17:44:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0031>
Subject: Job 865165: <4FGL_J2325.4-3559_daily_bin454> in cluster <slac> Done

Job <4FGL_J2325.4-3559_daily_bin454> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Wed Sep 29 17:30:24 2021
Job was executed on host(s) <bullet0031>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 17:30:25 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:30:25 2021
Terminated at Wed Sep 29 17:44:35 2021
Results reported at Wed Sep 29 17:44:35 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-3559_daily_bin454 351.359 -35.9878 357004801 357264001 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 :                                   708.22 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             306.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   849 sec.
    Turnaround time :                            851 sec.

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

