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


Performing analysis on: 4FGL_J2325.4-3559_daily_bin277
RA = 351.359, Dec = -35.9878
tmin = 311126401, tmax = 311385601
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='864360', job_status='RUN', time_executed='2021-09-29 17:28:32.344234', time_epoch_executed='1632961712.34' WHERE source_name='4FGL J2325.4-3559' and cadence='daily' and bin_id='277'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/864360

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/864360/ft1_4FGL_J2325.4-3559_daily_bin277.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/864360/ft2_4FGL_J2325.4-3559_daily_bin277.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/864360/ft1_4FGL_J2325.4-3559_daily_bin277.fits outfile=/scratch/kocevski/864360/ft1_filteredMKT_4FGL_J2325.4-3559_daily_bin277.fits ra=351.359 dec=-35.9878 rad=12.0 tmin=311126401.0 tmax=311385601.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.51
user 3.32
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/864360/ft1_filtered_4FGL_J2325.4-3559_daily_bin277.fits" evtable="EVENTS" scfile=/scratch/kocevski/864360/ft2_4FGL_J2325.4-3559_daily_bin277.fits sctable="SC_DATA" outfile=/scratch/kocevski/864360/ltcube_311126401_311385601_4FGL_J2325.4-3559_daily_bin277.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/864360/ft2_4FGL_J2325.4-3559_daily_bin277.fits
.....................!
real 11.78
user 11.41
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/864360/ft1_filtered_4FGL_J2325.4-3559_daily_bin277.fits evtable="EVENTS" scfile=/scratch/kocevski/864360/ft2_4FGL_J2325.4-3559_daily_bin277.fits sctable="SC_DATA" expcube=/scratch/kocevski/864360/ltcube_311126401_311385601_4FGL_J2325.4-3559_daily_bin277.fits outfile=/scratch/kocevski/864360/expmap_311126401_311385601_4FGL_J2325.4-3559_daily_bin277.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/864360/ltcube_311126401_311385601_4FGL_J2325.4-3559_daily_bin277.fits
.....................!
real 191.72
user 185.73
sys 5.58

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/864360/ft1_filtered_4FGL_J2325.4-3559_daily_bin277.fits scfile=/scratch/kocevski/864360/ft2_4FGL_J2325.4-3559_daily_bin277.fits outfile=/scratch/kocevski/864360/cmap_311126401_311385601_4FGL_J2325.4-3559_daily_bin277.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.56
user 0.37
sys 0.16

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/864360/ft1_filtered_4FGL_J2325.4-3559_daily_bin277.fits evtable="EVENTS" scfile=/scratch/kocevski/864360/ft2_4FGL_J2325.4-3559_daily_bin277.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/864360/Model_4FGL_J2325.4-3559_daily_bin277.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/864360/ft1_filtered_4FGL_J2325.4-3559_daily_bin277.fits.....................!
real 39.52
user 38.22
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13227E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10261E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    28.172       1.0000         .10000E-03   10000.    
     5 'Prefactor '    7.3275       1.0000         .10000E-03   10000.    
     6 'Prefactor '    9.9402       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10229E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .31386       1.0000         .10000E-03   10000.    
     9 'norm      '    11.402       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    23.148       1.0000         .10000E-03   10000.    
    12 'norm      '    1.8333       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10100E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10091E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10096E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    4.5705       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10891E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10167E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .74756       1.0000         .10000E-03   10000.    
    21 'Prefactor '    41.792       1.0000         .10000E-03   10000.    
    22 'norm      '    4.1894       1.0000         .10000E-03   10000.    
    23 'Prefactor '    42.193       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .19341E-01   1.0000         .10000E-03   10000.    
    25 'Prefactor '    1.7183       1.0000         .10000E-03   10000.    
    26 'Prefactor '    19.372       1.0000         .10000E-03   10000.    
    27 'Prefactor '    4.7112       1.0000         .10000E-03   10000.    
    28 'Normalizat'    1.2907       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .60944       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=   4691.402     FROM MIGRAD    STATUS=CONVERGED    751 CALLS     3735 TOTAL
                     EDM=   .59E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    58.514        .71561E-06** at limit **
   2  Prefactor     .10000E-03    1.6006       -.40369E-08** at limit **
   3  Prefactor     .10000E-03    8.2978        .33781E-08** at limit **
   4  Prefactor     28.174        55.316        .98720E-06    .21763E-04
   5  Prefactor     7.3255        18.188       -.41595E-06    .13695E-04
   6  Prefactor     9.9460        21.765        .24749E-06    .39275E-04
   7  Prefactor     .10000E-03    15.694       -.31065E-06** at limit **
   8  Prefactor     .33763        40.141       -.15112E-04    .10475E-03
   9  norm          11.402        7.6074        .10517E-06    .13100E-03
  10  Prefactor     .10000E-03    16.318        .14951E-06** at limit **
  11  Prefactor     23.143        17.581       -.21239E-06   -.65782E-05
  12  norm          1.8330        1.1021       -.29665E-07   -.49003E-04
  13  Prefactor     .10000E-03    23.207        .49887E-06** at limit **
  14  Prefactor     .10000E-03    4.5068       -.28180E-07** at limit **
  15  norm          .10000E-03    7.7362       -.43906E-07** at limit **
  16  norm          .10000E-03    2.7521        .91374E-06** at limit **
  17  norm          4.5702        7.1736       -.60513E-06   -.52805E-04
  18  Prefactor     .10001E-03    77.652        .28114E-05** at limit **
  19  Prefactor     .10000E-03    18.468       -.47037E-06** at limit **
  20  norm          .74106        6.6320       -.20473E-05    .37266E-03
  21  Prefactor     41.797        26.630        .15072E-06    .93372E-04
  22  norm          4.1927        3.9663        .47687E-06    .56299E-03
  23  Prefactor     42.089        62.519        .47027E-05    .18651E-03
  24  Prefactor     .10001E-03    428.01       -.38016E-05** at limit **
  25  Prefactor     1.7222        5.7012       -.66464E-06    .22108E-03
  26  Prefactor     19.370        9.5150       -.58242E-07    .89887E-04
  27  Prefactor     4.6722        142.42        .67505E-07    .25680E-04
  28  Normalizat    1.2908        .20673        .11927E-05    .45602E-03
  29  Prefactor     .60950        .20876        .63162E-06    .20145E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 28.1737
  Prefactor  = 7.32553
  Prefactor  = 9.94595
  Prefactor  = 0.0001
  Prefactor  = 0.337634
  norm       = 11.4022
  Prefactor  = 0.0001
  Prefactor  = 23.1434
  norm       = 1.83304
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 4.57024
  Prefactor  = 0.000100006
  Prefactor  = 0.0001
  norm       = 0.741058
  Prefactor  = 41.7968
  norm       = 4.19275
  Prefactor  = 42.0892
  Prefactor  = 0.000100009
  Prefactor  = 1.72218
  Prefactor  = 19.3704
  Prefactor  = 4.67222
  Normalizat = 1.29076
  Prefactor  = 0.609502
 **********
 **   18 **HESSE 
 **********

 FCN=   4691.402     FROM HESSE     STATUS=OK           551 CALLS     4286 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    58.606        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    1.6044        .84599E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    8.3012        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     28.174        55.125        .75481E-04   -1.4646    
   5  Prefactor     7.3255        18.177        .14817E-03   -1.5167    
   6  Prefactor     9.9460        21.712        .12710E-03   -1.5077    
   7  Prefactor     .10000E-03    15.837        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .33763        40.891        .36827E-02   -1.5592    
   9  norm          11.402        7.6018        .11864E-03   -1.5032    
  10  Prefactor     .10000E-03    16.339        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     23.143        18.071        .83255E-04   -1.4745    
  12  norm          1.8330        1.1248        .43067E-04   -1.5437    
  13  Prefactor     .10000E-03    23.229        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    4.5130        .14196E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    7.7488        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    2.8330        .11215E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          4.5702        7.1657        .18829E-03   -1.5280    
  18  Prefactor     .10001E-03    79.060        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    18.483        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .74106        6.9276        .32686E-03   -1.5536    
  21  Prefactor     41.797        26.668        .62009E-04   -1.4414    
  22  norm          4.1927        3.9615        .12519E-03   -1.5298    
  23  Prefactor     42.089        64.067        .30858E-03   -1.4410    
  24  Prefactor     .10001E-03    443.98        .36477E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     1.7222        5.6381        .27675E-03   -1.5445    
  26  Prefactor     19.370        9.5294        .91000E-04   -1.4827    
  27  Prefactor     4.6722        141.38        .18539E-03   -1.5276    
  28  Normalizat    1.2908        .24649        .21998E-03   -.83843    
  29  Prefactor     .60950        .24580        .32110E-03   -1.0719    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.58983e-09
Minuit parameter uncertainties:
  1  0.000200286
  2  2.28524e-06
  3  1.41612e-06
  4  55.2248
  5  18.1907
  6  21.7293
  7  4.1703e-05
  8  7.43542
  9  7.60244
  10  1.09523e-05
  11  18.0756
  12  1.12477
  13  8.9898e-05
  14  4.52092e-06
  15  8.34241e-06
  16  7.4857e-05
  17  7.16707
  18  0.00142651
  19  6.13063e-05
  20  4.53195
  21  26.6756
  22  3.96173
  23  64.1717
  24  0.00402225
  25  5.63987
  26  9.5301
  27  51.5363
  28  0.246713
  29  0.246233
Done.

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

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  4.570e+00  7.167e+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:  6.095e-01  2.462e-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.291e+00  2.467e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/864360/likelihoodResults_311126401_311385601_4FGL_J2325.4-3559_daily_bin277.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) = 4691.31595574
delta logL = 0.0856473606063

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4691.31530017
delta logL = 0.0863029221136

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.5686       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6509       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2981       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .60349       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=   4691.315     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      207 TOTAL
                     EDM=   .95E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.5211        6.8902        .47083E-02    .20257E-03
   2  alpha         1.6482        1.0383        .44647E-01   -.15758E-04
   3  Normalizat    1.2980        .19671        .49634E-01    .13747E-03
   4  Prefactor     .60363        .20609        .72845E-01    .47684E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.52106
  alpha      = 1.64824
  Normalizat = 1.29802
  Prefactor  = 0.603627
 **********
 **   18 **HESSE 
 **********

 FCN=   4691.315     FROM HESSE     STATUS=OK            29 CALLS      236 TOTAL
                     EDM=   .68E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.5211        6.9771        .18833E-03   -1.5283    
   2  alpha         1.6482        1.0527        .17859E-02   -.34767    
   3  Normalizat    1.2980        .23123        .21942E-03   -.83625    
   4  Prefactor     .60363        .24172        .32248E-03   -1.0743    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.7818e-11
Minuit parameter uncertainties:
  1  6.97831
  2  1.09147
  3  0.23141
  4  0.242134
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/864360': 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) = 4691.31527707
delta logL = 0.0863260305177

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  4.521e+00  6.978e+00  1.000e-04  1.000e+04 ( 1.000e-12)
426        alpha:  1.648e+00  1.091e+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:  6.036e-01  2.421e-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.298e+00  2.314e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.64
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/864360/cmap_HighResolution_311126401_311385601_4FGL_J2325.4-3559_daily_bin277.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.17e-05', job_status='DONE', photon_flux_upper_limit='7.91e-08', time_completed='2021-09-29 17:40:06.730134', job_id='864360', GAL2='0.60', fit_tolerance='1e-08', EG2='1.30', EG='1.29', time_epoch_completed='1632962406.73', return_code2='0', ts='0.64', comment='SUCCESS', return_code='0', GAL='0.61', dlogl='8.63e-02', ts2='0.82', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='277' AND source_name='4FGL J2325.4-3559' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 17:40:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0090>
Subject: Job 864360: <4FGL_J2325.4-3559_daily_bin277> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-3559_daily_bin277 351.359 -35.9878 311126401 311385601 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 :                                   691.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             309.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   861 sec.
    Turnaround time :                            864 sec.

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

