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


Performing analysis on: 4FGL_J2325.4-3559_daily_bin995
RA = 351.359, Dec = -35.9878
tmin = 497232001, tmax = 497491201
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='868206', job_status='RUN', time_executed='2021-09-29 17:43:31.286895', time_epoch_executed='1632962611.29' WHERE source_name='4FGL J2325.4-3559' and cadence='daily' and bin_id='995'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/868206

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/868206/ft1_4FGL_J2325.4-3559_daily_bin995.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/868206/ft2_4FGL_J2325.4-3559_daily_bin995.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/868206/ft1_4FGL_J2325.4-3559_daily_bin995.fits outfile=/scratch/kocevski/868206/ft1_filteredMKT_4FGL_J2325.4-3559_daily_bin995.fits ra=351.359 dec=-35.9878 rad=12.0 tmin=497232001.0 tmax=497491201.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 6.76
user 6.46
sys 0.27

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/868206/ft1_filtered_4FGL_J2325.4-3559_daily_bin995.fits" evtable="EVENTS" scfile=/scratch/kocevski/868206/ft2_4FGL_J2325.4-3559_daily_bin995.fits sctable="SC_DATA" outfile=/scratch/kocevski/868206/ltcube_497232001_497491201_4FGL_J2325.4-3559_daily_bin995.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/868206/ft2_4FGL_J2325.4-3559_daily_bin995.fits
.....................!
real 12.17
user 11.82
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/868206/ft1_filtered_4FGL_J2325.4-3559_daily_bin995.fits evtable="EVENTS" scfile=/scratch/kocevski/868206/ft2_4FGL_J2325.4-3559_daily_bin995.fits sctable="SC_DATA" expcube=/scratch/kocevski/868206/ltcube_497232001_497491201_4FGL_J2325.4-3559_daily_bin995.fits outfile=/scratch/kocevski/868206/expmap_497232001_497491201_4FGL_J2325.4-3559_daily_bin995.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/868206/ltcube_497232001_497491201_4FGL_J2325.4-3559_daily_bin995.fits
.....................!
real 191.04
user 185.72
sys 4.97

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/868206/ft1_filtered_4FGL_J2325.4-3559_daily_bin995.fits scfile=/scratch/kocevski/868206/ft2_4FGL_J2325.4-3559_daily_bin995.fits outfile=/scratch/kocevski/868206/cmap_497232001_497491201_4FGL_J2325.4-3559_daily_bin995.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.52
user 0.37
sys 0.14

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/868206/ft1_filtered_4FGL_J2325.4-3559_daily_bin995.fits evtable="EVENTS" scfile=/scratch/kocevski/868206/ft2_4FGL_J2325.4-3559_daily_bin995.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/868206/Model_4FGL_J2325.4-3559_daily_bin995.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/868206/ft1_filtered_4FGL_J2325.4-3559_daily_bin995.fits.....................!
real 31.12
user 29.83
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    8.0318       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    2.6884       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    10.330       1.0000         .10000E-03   10000.    
    12 'norm      '    .32158       1.0000         .10000E-03   10000.    
    13 'Prefactor '    71.877       1.0000         .10000E-03   10000.    
    14 'Prefactor '    26.489       1.0000         .10000E-03   10000.    
    15 'norm      '    9.2831       1.0000         .10000E-03   10000.    
    16 'norm      '    4.0856       1.0000         .10000E-03   10000.    
    17 'norm      '    1.8483       1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.7369       1.0000         .10000E-03   10000.    
    19 'Prefactor '    10.990       1.0000         .10000E-03   10000.    
    20 'norm      '    .32297E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10324E-02   1.0000         .10000E-03   10000.    
    22 'norm      '    2.9100       1.0000         .10000E-03   10000.    
    23 'Prefactor '    37.295       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    14.740       1.0000         .10000E-03   10000.    
    28 'Normalizat'    .42085       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.3840       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=   3595.789     FROM MIGRAD    STATUS=CONVERGED    708 CALLS     3680 TOTAL
                     EDM=   .28E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    25.808       -.18877E-06** at limit **
   2  Prefactor     .10000E-03    2.4228       -.96676E-08** at limit **
   3  Prefactor     .10000E-03    43.134       -.19317E-06** at limit **
   4  Prefactor     .10000E-03    17.754       -.38617E-06** at limit **
   5  Prefactor     .10000E-03    7.5256        .27533E-06** at limit **
   6  Prefactor     .10000E-03    7.8818       -.49370E-06** at limit **
   7  Prefactor     8.0336        9.4290       -.54315E-08    .63851E-07
   8  Prefactor     .10000E-03    6.2172        .10218E-08** at limit **
   9  norm          2.6888        5.7664        .19072E-06   -.46070E-04
  10  Prefactor     .10000E-03    9.8978        .89648E-07** at limit **
  11  Prefactor     10.315        21.129        .11976E-05    .21815E-04
  12  norm          .32275        1.1410       -.75564E-06   -.44166E-03
  13  Prefactor     71.898        96.258        .24591E-05    .15328E-04
  14  Prefactor     26.490        19.492        .81882E-06    .65370E-04
  15  norm          9.2696        16.081       -.25317E-07    .19740E-04
  16  norm          4.0859        4.6544        .33725E-06    .17117E-03
  17  norm          1.8498        4.4618        .39563E-06   -.70102E-04
  18  Prefactor     5.7213        50.356        .51877E-05    .64373E-04
  19  Prefactor     11.008        66.361        .45680E-05    .93748E-05
  20  norm          .10001E-03    4.7022       -.19222E-05** at limit **
  21  Prefactor     .10006E-03    12.604       -.98134E-06** at limit **
  22  norm          2.9111        4.0839        .46760E-06    .20757E-03
  23  Prefactor     37.277        87.689       -.29716E-05   -.53081E-05
  24  Prefactor     .10000E-03    28.473        .75276E-06** at limit **
  25  Prefactor     .10000E-03    3.2952        .18546E-07** at limit **
  26  Prefactor     .10000E-03    2.2183       -.29273E-07** at limit **
  27  Prefactor     14.741        43.707        .50020E-06   -.13332E-05
  28  Normalizat    .42051        .21938       -.10161E-05    .10783E-03
  29  Prefactor     1.3842        .23744        .53164E-06    .12332E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.03362
  Prefactor  = 0.0001
  norm       = 2.68882
  Prefactor  = 0.0001
  Prefactor  = 10.3154
  norm       = 0.322748
  Prefactor  = 71.8983
  Prefactor  = 26.49
  norm       = 9.26959
  norm       = 4.08593
  norm       = 1.84984
  Prefactor  = 5.72131
  Prefactor  = 11.0077
  norm       = 0.000100006
  Prefactor  = 0.000100057
  norm       = 2.91114
  Prefactor  = 37.2767
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.741
  Normalizat = 0.420508
  Prefactor  = 1.38422
 **********
 **   18 **HESSE 
 **********

 FCN=   3595.789     FROM HESSE     STATUS=OK           555 CALLS     4235 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    25.861        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    2.4454        .91053E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    43.505        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    17.756        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    7.5279        .16064E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    7.8910        .16444E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     8.0336        9.4202        .14147E-03   -1.5141    
   8  Prefactor     .10000E-03    6.3190        .14597E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          2.6888        5.7142        .16653E-03   -1.5380    
  10  Prefactor     .10000E-03    9.9137        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     10.315        19.551        .12466E-03   -1.5066    
  12  norm          .32275        .99057        .72188E-04   -1.5594    
  13  Prefactor     71.898        96.056        .47352E-04   -1.4010    
  14  Prefactor     26.490        19.430        .77836E-04   -1.4678    
  15  norm          9.2696        16.050        .13154E-03   -1.5099    
  16  norm          4.0859        4.6456        .13314E-03   -1.5304    
  17  norm          1.8498        4.4061        .19027E-03   -1.5436    
  18  Prefactor     5.7213        48.459        .16769E-03   -1.5230    
  19  Prefactor     11.008        65.975        .12085E-03   -1.5044    
  20  norm          .10001E-03    9.9920        .22305E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10006E-03    60.459        .40626E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          2.9111        4.0471        .13301E-03   -1.5367    
  23  Prefactor     37.277        87.730        .65628E-04   -1.4486    
  24  Prefactor     .10000E-03    28.488        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    3.3233        .10617E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    2.2271        .87213E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     14.741        43.726        .10433E-03   -1.4940    
  28  Normalizat    .42051        .25222        .30204E-03   -1.1625    
  29  Prefactor     1.3842        .27921        .20606E-03   -.80836    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.6562e-09
Minuit parameter uncertainties:
  1  8.89817e-08
  2  3.49801e-07
  3  7.21642e-06
  4  6.04495e-06
  5  1.21043e-06
  6  8.38784e-06
  7  9.42191
  8  1.96086e-07
  9  5.71535
  10  1.88789e-05
  11  19.563
  12  0.990617
  13  96.2637
  14  19.4351
  15  16.0574
  16  4.64606
  17  4.40691
  18  33.3379
  19  53.9866
  20  0.000484002
  21  0.0037252
  22  4.04745
  23  88.0357
  24  1.48419e-05
  25  2.84016e-06
  26  1.44967e-06
  27  43.8216
  28  0.252908
  29  0.279517
Done.

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

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  1.850e+00  4.407e+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:  1.384e+00  2.795e-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:  4.205e-01  2.529e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/868206/likelihoodResults_497232001_497491201_4FGL_J2325.4-3559_daily_bin995.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) = 3595.78920598
delta logL = 3.65297464668e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3595.7892029
delta logL = 3.96077412006e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.8545       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1127       1.0000          .0000       5.0000    
     3 'Normalizat'    .42052       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3842       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=   3595.789     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      227 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.8556        552.28        .76524E-02    .27643E-03
   2  alpha         2.1131        2.9279        .41793        .20578E-05
   3  Normalizat    .42058        .12986        .68226E-01   -.10750E-04
   4  Prefactor     1.3842        .15466        .46617E-01   -.13870E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.85564
  alpha      = 2.11312
  Normalizat = 0.420577
  Prefactor  = 1.38417
 **********
 **   18 **HESSE 
 **********

 FCN=   3595.789     FROM HESSE     STATUS=OK            33 CALLS      260 TOTAL
                     EDM=   .18E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.8556        4.5030        .19055E-03   -1.5436    
   2  alpha         2.1131        1.6321        .37967E-01   -.15538    
   3  Normalizat    .42058        .22725        .30202E-03   -1.1625    
   4  Prefactor     1.3842        .27093        .20606E-03   -.80837    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.76195e-11
Minuit parameter uncertainties:
  1  4.50385
  2  1.78304
  3  0.227751
  4  0.27121
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/868206': 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) = 3595.78920279
delta logL = 3.97212716052e-05

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  1.856e+00  4.504e+00  1.000e-04  1.000e+04 ( 1.000e-12)
426        alpha:  2.113e+00  1.783e+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:  1.384e+00  2.712e-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:  4.206e-01  2.278e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.25
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/868206/cmap_HighResolution_497232001_497491201_4FGL_J2325.4-3559_daily_bin995.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.26e-05', job_status='DONE', photon_flux_upper_limit='5.63e-08', time_completed='2021-09-29 17:53:53.154153', job_id='868206', GAL2='1.38', fit_tolerance='1e-08', EG2='0.42', EG='0.42', time_epoch_completed='1632963233.15', return_code2='0', ts='0.25', comment='SUCCESS', return_code='0', GAL='1.38', dlogl='3.97e-05', ts2='0.25', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='995' AND source_name='4FGL J2325.4-3559' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 17:53:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0211>
Subject: Job 868206: <4FGL_J2325.4-3559_daily_bin995> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-3559_daily_bin995 351.359 -35.9878 497232001 497491201 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 :                                   617.33 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             281.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   796 sec.
    Turnaround time :                            797 sec.

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

