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


Performing analysis on: 4FGL_J2325.4-3559_daily_bin1015
RA = 351.359, Dec = -35.9878
tmin = 502416001, tmax = 502675201
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='868234', job_status='RUN', time_executed='2021-09-29 17:41:07.774583', time_epoch_executed='1632962467.77' WHERE source_name='4FGL J2325.4-3559' and cadence='daily' and bin_id='1015'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/868234

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/868234/ft1_4FGL_J2325.4-3559_daily_bin1015.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/868234/ft2_4FGL_J2325.4-3559_daily_bin1015.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/868234/ft1_4FGL_J2325.4-3559_daily_bin1015.fits outfile=/scratch/kocevski/868234/ft1_filteredMKT_4FGL_J2325.4-3559_daily_bin1015.fits ra=351.359 dec=-35.9878 rad=12.0 tmin=502416001.0 tmax=502675201.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.49
user 3.30
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/868234/ft1_filtered_4FGL_J2325.4-3559_daily_bin1015.fits" evtable="EVENTS" scfile=/scratch/kocevski/868234/ft2_4FGL_J2325.4-3559_daily_bin1015.fits sctable="SC_DATA" outfile=/scratch/kocevski/868234/ltcube_502416001_502675201_4FGL_J2325.4-3559_daily_bin1015.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/868234/ft2_4FGL_J2325.4-3559_daily_bin1015.fits
.....................!
real 11.80
user 11.46
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/868234/ft1_filtered_4FGL_J2325.4-3559_daily_bin1015.fits evtable="EVENTS" scfile=/scratch/kocevski/868234/ft2_4FGL_J2325.4-3559_daily_bin1015.fits sctable="SC_DATA" expcube=/scratch/kocevski/868234/ltcube_502416001_502675201_4FGL_J2325.4-3559_daily_bin1015.fits outfile=/scratch/kocevski/868234/expmap_502416001_502675201_4FGL_J2325.4-3559_daily_bin1015.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/868234/ltcube_502416001_502675201_4FGL_J2325.4-3559_daily_bin1015.fits
.....................!
real 190.64
user 185.67
sys 4.60

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/868234/ft1_filtered_4FGL_J2325.4-3559_daily_bin1015.fits scfile=/scratch/kocevski/868234/ft2_4FGL_J2325.4-3559_daily_bin1015.fits outfile=/scratch/kocevski/868234/cmap_502416001_502675201_4FGL_J2325.4-3559_daily_bin1015.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/868234/ft1_filtered_4FGL_J2325.4-3559_daily_bin1015.fits scfile=/scratch/kocevski/868234/ft2_4FGL_J2325.4-3559_daily_bin1015.fits outfile=/scratch/kocevski/868234/cmap_HighResolution_502416001_502675201_4FGL_J2325.4-3559_daily_bin1015.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.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.9617       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .47127E-02   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.7094       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .29198       1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.4802       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .46759       1.0000         .10000E-03   10000.    
    10 'Prefactor '    27.820       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.3531       1.0000         .10000E-03   10000.    
    12 'norm      '    .10036E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.0146       1.0000         .10000E-03   10000.    
    14 'Prefactor '    15.675       1.0000         .10000E-03   10000.    
    15 'norm      '    .58128       1.0000         .10000E-03   10000.    
    16 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    4.3980       1.0000         .10000E-03   10000.    
    18 'Prefactor '    41.149       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .13326       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 '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    6.2736       1.0000         .10000E-03   10000.    
    25 'Prefactor '    3.3965       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    26.197       1.0000         .10000E-03   10000.    
    28 'Normalizat'    .63156       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.1595       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=   6987.600     FROM MIGRAD    STATUS=CONVERGED    732 CALLS     3736 TOTAL
                     EDM=   .68E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    25.508       -.59958E-05** at limit **
   2  Prefactor     2.9610        2.8110        .10079E-06   -.21192E-03
   3  Prefactor     .10001E-03    16.197        .89667E-06** at limit **
   4  Prefactor     .10000E-03    13.553        .66548E-06** at limit **
   5  Prefactor     2.7010        33.918       -.16145E-04   -.43387E-04
   6  Prefactor     .32857        8.0947        .17509E-05   -.26242E-03
   7  Prefactor     3.4791        5.8611       -.31999E-05    .26817E-04
   8  Prefactor     .10000E-03    .85604       -.15414E-07** at limit **
   9  norm          .46661        2.7192       -.61708E-06    .14052E-03
  10  Prefactor     27.805        15.179        .66140E-06    .29510E-03
  11  Prefactor     1.3646        1.2542        .13908E-06   -.21790E-03
  12  norm          .10000E-03    .15792       -.10304E-06** at limit **
  13  Prefactor     7.0155        20.696        .33079E-06   -.35437E-05
  14  Prefactor     15.667        9.6841       -.28869E-06    .22689E-03
  15  norm          .59043        6.4054        .52074E-07   -.90092E-04
  16  norm          .10000E-03    3.2324        .84915E-07** at limit **
  17  norm          4.3982        5.3317        .63608E-06   -.14537E-03
  18  Prefactor     41.138        28.283       -.67497E-05   -.69078E-03
  19  Prefactor     .10000E-03    26.731        .48315E-05** at limit **
  20  norm          .13659        2.1036        .17650E-05   -.80378E-03
  21  Prefactor     .10000E-03    3.9557        .18079E-07** at limit **
  22  norm          .10000E-03    1.1097        .42181E-07** at limit **
  23  Prefactor     .10000E-03    16.480       -.40127E-06** at limit **
  24  Prefactor     6.2686        49.046       -.63435E-05    .41993E-05
  25  Prefactor     3.3953        4.3688       -.24073E-05   -.72515E-04
  26  Prefactor     .10000E-03    1.6325       -.33860E-07** at limit **
  27  Prefactor     26.185        27.221       -.61102E-05   -.79828E-05
  28  Normalizat    .63167        .14885        .37709E-05   -.43761E-03
  29  Prefactor     1.1593        .16527       -.16561E-06   -.25876E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 2.96098
  Prefactor  = 0.000100009
  Prefactor  = 0.0001
  Prefactor  = 2.70103
  Prefactor  = 0.328568
  Prefactor  = 3.47911
  Prefactor  = 0.0001
  norm       = 0.46661
  Prefactor  = 27.8053
  Prefactor  = 1.36459
  norm       = 0.0001
  Prefactor  = 7.0155
  Prefactor  = 15.667
  norm       = 0.590428
  norm       = 0.0001
  norm       = 4.39819
  Prefactor  = 41.1384
  Prefactor  = 0.0001
  norm       = 0.136593
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.26863
  Prefactor  = 3.39531
  Prefactor  = 0.0001
  Prefactor  = 26.1853
  Normalizat = 0.631667
  Prefactor  = 1.15928
 **********
 **   18 **HESSE 
 **********

 FCN=   6987.600     FROM HESSE     STATUS=OK           565 CALLS     4301 TOTAL
                     EDM=   .50E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    25.554        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.9610        2.6325        .12290E-03   -1.5364    
   3  Prefactor     .10001E-03    76.312        .60833E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    13.569        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.7010        33.302        .24745E-03   -1.5379    
   6  Prefactor     .32857        90.471        .44980E-02   -1.5593    
   7  Prefactor     3.4791        5.8212        .21675E-03   -1.5335    
   8  Prefactor     .10000E-03    .85640        .75531E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .46661        4.6924        .23259E-02   -1.5571    
  10  Prefactor     27.805        17.334        .75955E-04   -1.4653    
  11  Prefactor     1.3646        14.346        .18797E-02   -1.5474    
  12  norm          .10000E-03    .17762        .62441E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     7.0155        20.698        .15147E-03   -1.5178    
  14  Prefactor     15.667        10.797        .10116E-03   -1.4916    
  15  norm          .59043        20.961        .41050E-02   -1.5554    
  16  norm          .10000E-03    3.2829        .14659E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          4.3982        5.3197        .19204E-03   -1.5288    
  18  Prefactor     41.138        30.891        .62490E-04   -1.4424    
  19  Prefactor     .10000E-03    26.801        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .13659        29.090        .19921E-02   -1.5634    
  21  Prefactor     .10000E-03    3.9600        .16237E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    1.1138        .85910E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    16.482        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     6.2686        48.829        .16026E-03   -1.5207    
  25  Prefactor     3.3953        4.3436        .18566E-03   -1.5339    
  26  Prefactor     .10000E-03    1.6434        .10429E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     26.185        27.036        .78267E-04   -1.4684    
  28  Normalizat    .63167        .17384        .24857E-03   -1.0666    
  29  Prefactor     1.1593        .19526        .21745E-03   -.87594    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.02302e-08
Minuit parameter uncertainties:
  1  2.89778e-05
  2  2.63256
  3  0.00161633
  4  9.37619e-06
  5  18.9811
  6  10.9193
  7  5.82211
  8  5.74623e-07
  9  2.9594
  10  17.3376
  11  8.85149
  12  1.36165e-06
  13  20.719
  14  10.7986
  15  7.03797
  16  2.02519e-05
  17  5.32031
  18  30.9032
  19  7.71109e-05
  20  3.98723
  21  3.06295e-06
  22  4.70057e-06
  23  4.766e-06
  24  35.0301
  25  4.34405
  26  4.37033e-06
  27  27.0489
  28  0.17399
  29  0.195381
Done.

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

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  4.398e+00  5.320e+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.159e+00  1.954e-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.317e-01  1.740e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.11
Ra Dec: 351.359 -35.988
Photon Index (Fixed Index): 2.13 +/- 0.00
Photon Flux (Fixed Index): 1.37e-08 +/- 1.66e-08
Energy Flux (Fixed Index): 5.49e-06 +/- 6.65e-06

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

Saving results to:
/scratch/kocevski/868234/likelihoodResults_502416001_502675201_4FGL_J2325.4-3559_daily_bin1015.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) = 6987.49153833
delta logL = 0.108360477444

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6987.37812114
delta logL = 0.221777662693

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.5325       1.0000         .10000E-03   10000.    
     2 'alpha     '    .97707       1.0000          .0000       5.0000    
     3 'Normalizat'    .64192       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1564       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=   6987.378     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      201 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5325        2.0831        .86176E-02   -.23633E-02
   2  alpha         .97720        .73008        .50000       -.53034E-04
   3  Normalizat    .64196        .14096        .41510E-01    .27506E-04
   4  Prefactor     1.1563        .16356        .35754E-01    .41244E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.53247
  alpha      = 0.977203
  Normalizat = 0.641962
  Prefactor  = 1.15634
 **********
 **   18 **HESSE 
 **********

 FCN=   6987.378     FROM HESSE     STATUS=OK            29 CALLS      230 TOTAL
                     EDM=   .50E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5325        3.6112        .12787E-03   -1.5460    
   2  alpha         .97720        1.2214        .28659E-02   -.65495    
   3  Normalizat    .64196        .16471        .24669E-03   -1.0623    
   4  Prefactor     1.1563        .19130        .21765E-03   -.87686    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.96614e-09
Minuit parameter uncertainties:
  1  3.61176
  2  1.31585
  3  0.164833
  4  0.19141
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/868234': 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) = 6987.37812108
delta logL = 0.221777721822

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  1.532e+00  3.612e+00  1.000e-04  1.000e+04 ( 1.000e-12)
426        alpha:  9.772e-01  1.316e+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.156e+00  1.914e-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.420e-01  1.648e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.55
Ra Dec: 351.359 -35.988
Photon Index (Free Index): 0.98 +/- 1.32
Photon Flux (Free Index): 3.34e-09 +/- 6.24e-09
Energy Flux (Free Index): 8.95e-06 +/- 1.66e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/868234/cmap_HighResolution_502416001_502675201_4FGL_J2325.4-3559_daily_bin1015.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.25e-05', comment='SUCCESS', photon_flux='1.37e-08', energy_flux2='8.95e-06', photon_flux_error='1.66e-08', dlogl='2.22e-01', energy_flux='5.49e-06', photon_flux2='3.34e-09', job_status='DONE', time_completed='2021-09-29 17:56:00.448642', photon_index_error2='1.32', photon_index2='0.98', ts='1.11', fit_tolerance='1e-08', GAL='1.16', photon_index_error='0.00', photon_flux_upper_limit='5.61e-08', energy_flux_error2='1.66e-05', EG='0.63', time_epoch_completed='1632963360.45', return_code='0', job_id='868234', GAL2='1.16', EG2='0.64', return_code2='0', energy_flux_error='6.65e-06', photon_flux_error2='6.24e-09', ts2='1.55', photon_index='2.13' WHERE bin_id='1015' AND source_name='4FGL J2325.4-3559' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 17:56:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0065>
Subject: Job 868234: <4FGL_J2325.4-3559_daily_bin1015> in cluster <slac> Done

Job <4FGL_J2325.4-3559_daily_bin1015> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep 29 17:40:38 2021
Job was executed on host(s) <bullet0065>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 17:40:40 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:40 2021
Terminated at Wed Sep 29 17:56:01 2021
Results reported at Wed Sep 29 17:56:01 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-3559_daily_bin1015 351.359 -35.9878 502416001 502675201 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 :                                   880.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             335.31 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   920 sec.
    Turnaround time :                            923 sec.

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

