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


Performing analysis on: 4FGL_J2325.4-4800_daily_bin1430
RA = 351.35, Dec = -48.0022
tmin = 609984001, tmax = 610243201
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='877653', job_status='RUN', time_executed='2021-09-29 18:13:54.493652', time_epoch_executed='1632964434.49' WHERE source_name='4FGL J2325.4-4800' and cadence='daily' and bin_id='1430'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/877653

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/877653/ft1_4FGL_J2325.4-4800_daily_bin1430.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/877653/ft2_4FGL_J2325.4-4800_daily_bin1430.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/877653/ft1_4FGL_J2325.4-4800_daily_bin1430.fits outfile=/scratch/kocevski/877653/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin1430.fits ra=351.35 dec=-48.0022 rad=12.0 tmin=609984001.0 tmax=610243201.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 5.17
user 4.90
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/877653/ft2_4FGL_J2325.4-4800_daily_bin1430.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/877653/ft2_4FGL_J2325.4-4800_daily_bin1430.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/877653/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin1430.fits evtable="EVENTS" outfile="/scratch/kocevski/877653/ft1_filtered_4FGL_J2325.4-4800_daily_bin1430.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.50
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/877653/ft1_filtered_4FGL_J2325.4-4800_daily_bin1430.fits" evtable="EVENTS" scfile=/scratch/kocevski/877653/ft2_4FGL_J2325.4-4800_daily_bin1430.fits sctable="SC_DATA" outfile=/scratch/kocevski/877653/ltcube_609984001_610243201_4FGL_J2325.4-4800_daily_bin1430.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/877653/ft2_4FGL_J2325.4-4800_daily_bin1430.fits
.....................!
real 12.86
user 12.51
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/877653/ft1_filtered_4FGL_J2325.4-4800_daily_bin1430.fits evtable="EVENTS" scfile=/scratch/kocevski/877653/ft2_4FGL_J2325.4-4800_daily_bin1430.fits sctable="SC_DATA" expcube=/scratch/kocevski/877653/ltcube_609984001_610243201_4FGL_J2325.4-4800_daily_bin1430.fits outfile=/scratch/kocevski/877653/expmap_609984001_610243201_4FGL_J2325.4-4800_daily_bin1430.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/877653/ltcube_609984001_610243201_4FGL_J2325.4-4800_daily_bin1430.fits
.....................!
real 192.53
user 186.70
sys 5.34

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 179 point sources and 0 extended sources

Setting source of interest to:
4FGL J2325.4-4800 @ 351.35 -48.0022

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/877653/ft1_filtered_4FGL_J2325.4-4800_daily_bin1430.fits scfile=/scratch/kocevski/877653/ft2_4FGL_J2325.4-4800_daily_bin1430.fits outfile=/scratch/kocevski/877653/cmap_609984001_610243201_4FGL_J2325.4-4800_daily_bin1430.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.35 yref=-48.0022 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/877653/ft1_filtered_4FGL_J2325.4-4800_daily_bin1430.fits scfile=/scratch/kocevski/877653/ft2_4FGL_J2325.4-4800_daily_bin1430.fits outfile=/scratch/kocevski/877653/cmap_HighResolution_609984001_610243201_4FGL_J2325.4-4800_daily_bin1430.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.35 yref=-48.0022 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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/877653/ft1_filtered_4FGL_J2325.4-4800_daily_bin1430.fits evtable="EVENTS" scfile=/scratch/kocevski/877653/ft2_4FGL_J2325.4-4800_daily_bin1430.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/877653/Model_4FGL_J2325.4-4800_daily_bin1430.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/877653/ft1_filtered_4FGL_J2325.4-4800_daily_bin1430.fits.....................!
real 37.57
user 36.20
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/877653/ft1_filtered_4FGL_J2325.4-4800_daily_bin1430.fits', '/scratch/kocevski/877653/ft2_4FGL_J2325.4-4800_daily_bin1430.fits', expMap='/scratch/kocevski/877653/expmap_609984001_610243201_4FGL_J2325.4-4800_daily_bin1430.fits', expCube='/scratch/kocevski/877653/ltcube_609984001_610243201_4FGL_J2325.4-4800_daily_bin1430.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/877653/Model_4FGL_J2325.4-4800_daily_bin1430.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2325.4-4800'

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  3.164e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
440        Index:  2.106e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
441        Scale:  1.869e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/877653/ft1_filtered_4FGL_J2325.4-4800_daily_bin1430.fits
Spacecraft file(s): /scratch/kocevski/877653/ft2_4FGL_J2325.4-4800_daily_bin1430.fits
Exposure map: /scratch/kocevski/877653/expmap_609984001_610243201_4FGL_J2325.4-4800_daily_bin1430.fits
Exposure cube: /scratch/kocevski/877653/ltcube_609984001_610243201_4FGL_J2325.4-4800_daily_bin1430.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/877653/Model_4FGL_J2325.4-4800_daily_bin1430.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) = 4716.41903079

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    14.016       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10092E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.3202       1.0000         .10000E-03   10000.    
     8 'norm      '    9.5136       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.9428       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .15141E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .64445       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    1.3355       1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    24.139       1.0000         .10000E-03   10000.    
    22 'Prefactor '    33.645       1.0000         .10000E-03   10000.    
    23 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    19.867       1.0000         .10000E-03   10000.    
    25 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    6.9985       1.0000         .10000E-03   10000.    
    29 'Prefactor '    .36112       1.0000         .10000E-03   10000.    
    30 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    11.826       1.0000         .10000E-03   10000.    
    32 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    33 'Normalizat'    .96060       1.0000         .10000E-01   10.000    
    34 'Prefactor '    .91742       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4716.413     FROM MIGRAD    STATUS=CONVERGED    970 CALLS     4859 TOTAL
                     EDM=   .84E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    34.703        .27587E-07** at limit **
   2  Prefactor     .10000E-03    14.450       -.85732E-06** at limit **
   3  Prefactor     13.972        37.338        .21903E-05   -.17353E-05
   4  Prefactor     .10000E-03    14.931       -.32551E-06** at limit **
   5  Prefactor     .10000E-03    4.0234       -.17044E-05** at limit **
   6  Prefactor     .10000E-03    9.9567       -.21931E-07** at limit **
   7  Prefactor     2.3235        8.8948       -.30242E-07    .12297E-03
   8  norm          9.5109        9.6280       -.82642E-08   -.17174E-04
   9  Prefactor     .10000E-03    5.0248        .61057E-06** at limit **
  10  Prefactor     .10000E-03    17.850       -.66173E-07** at limit **
  11  Prefactor     2.9366        5.4004       -.11943E-06   -.22615E-04
  12  Prefactor     .10000E-03    61.587        .33562E-05** at limit **
  13  Prefactor     .10000E-03    4.3500        .18851E-06** at limit **
  14  Prefactor     .10000E-03    27.818        .31581E-07** at limit **
  15  Prefactor     .64587        13.489        .72140E-05   -.51062E-04
  16  Prefactor     .10000E-03    15.091        .11641E-06** at limit **
  17  Prefactor     .10000E-03    7.7905        .12139E-06** at limit **
  18  norm          .10000E-03    8.7943        .62895E-07** at limit **
  19  norm          1.3364        9.1532       -.28357E-06    .92659E-04
  20  norm          .10000E-03    2.5350        .50970E-06** at limit **
  21  Prefactor     24.140        12.725       -.11604E-07    .48194E-03
  22  Prefactor     33.644        33.728       -.60969E-06   -.22044E-05
  23  norm          .10000E-03    1.9710        .89907E-06** at limit **
  24  Prefactor     19.882        24.111        .16705E-05    .26983E-03
  25  norm          .10000E-03    .82807       -.37080E-06** at limit **
  26  norm          .10000E-03    3.0293        .72477E-06** at limit **
  27  Prefactor     .10000E-03    15.377       -.21482E-06** at limit **
  28  Prefactor     7.0096        4.3199        .14297E-05    .11683E-02
  29  Prefactor     .11503E-03    32.314       -.77596E-05** at limit **
  30  norm          .10000E-03    19.347        .26410E-06** at limit **
  31  Prefactor     11.828        7.3264        .10951E-06    .37511E-03
  32  Prefactor     .10000E-03    3.1420       -.50217E-06** at limit **
  33  Normalizat    .96073        .20955        .16345E-05    .29880E-03
  34  Prefactor     .91732        .21410       -.10036E-05    .42136E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 13.9722
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.32347
  norm       = 9.51093
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.93658
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.645868
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 1.33637
  norm       = 0.0001
  Prefactor  = 24.1401
  Prefactor  = 33.6439
  norm       = 0.0001
  Prefactor  = 19.8823
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.00961
  Prefactor  = 0.000115026
  norm       = 0.0001
  Prefactor  = 11.8283
  Prefactor  = 0.000100002
  Normalizat = 0.960728
  Prefactor  = 0.917316
 **********
 **   18 **HESSE 
 **********

 FCN=   4716.413     FROM HESSE     STATUS=OK           732 CALLS     5591 TOTAL
                     EDM=   .84E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    34.730        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    14.488        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     13.972        37.296        .10699E-03   -1.4960    
   4  Prefactor     .10000E-03    15.091        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    3.9925        .13382E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    9.9580        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.3235        8.8787        .13465E-02   -1.5403    
   8  norm          9.5109        9.6361        .12993E-03   -1.5091    
   9  Prefactor     .10000E-03    5.2244        .29934E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    17.856        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.9366        5.3938        .20586E-03   -1.5365    
  12  Prefactor     .10000E-03    62.619        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    4.3659        .13984E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    27.819        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .64587        13.551        .23694E-02   -1.5547    
  16  Prefactor     .10000E-03    15.095        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    7.8056        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    8.8299        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          1.3364        8.6571        .37950E-03   -1.5477    
  20  norm          .10000E-03    2.5375        .10663E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     24.140        12.648        .81530E-04   -1.4725    
  22  Prefactor     33.644        33.792        .69084E-04   -1.4547    
  23  norm          .10000E-03    1.9541        .93490E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     19.882        24.308        .89861E-04   -1.4816    
  25  norm          .10000E-03    1.2033        .11701E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .10000E-03    3.0376        .11623E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    15.599        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     7.0096        4.5258        .10473E-03   -1.5178    
  29  Prefactor     .11503E-03    37.789        .92849E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  norm          .10000E-03    19.363        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     11.828        7.3270        .11649E-03   -1.5020    
  32  Prefactor     .10000E-03    6.3715        .23202E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Normalizat    .96073        .25317        .23584E-03   -.94358    
  34  Prefactor     .91732        .25940        .25796E-03   -.95539    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.38378e-09
Minuit parameter uncertainties:
  1  5.76325e-05
  2  9.09582e-05
  3  37.3587
  4  4.13437e-05
  5  4.98195e-05
  6  2.69662e-06
  7  8.88372
  8  9.63763
  9  7.321e-05
  10  2.85009e-05
  11  5.39473
  12  0.000801561
  13  1.60341e-05
  14  1.93401e-05
  15  5.9178
  16  2.68346e-05
  17  2.4532e-05
  18  1.64582e-05
  19  6.80386
  20  1.50183e-05
  21  12.6492
  22  33.8113
  23  2.64339e-05
  24  24.3198
  25  3.8886e-05
  26  3.57966e-05
  27  9.85289e-05
  28  4.52604
  29  0.0476873
  30  2.26488e-05
  31  7.3276
  32  0.000250647
  33  0.253489
  34  0.259746
Done.

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

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  2.414e+01  1.265e+01  1.000e-04  1.000e+04 ( 1.000e-13)
440        Index:  2.106e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
441        Scale:  1.869e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
568    Prefactor:  9.173e-01  2.597e-01  0.000e+00  1.000e+01 ( 1.000e+00)
569        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
570        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
567   Normalization:  9.607e-01  2.535e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 21.70
Ra Dec: 351.350 -48.002
Photon Index (Fixed Index): 2.11 +/- 0.00
Photon Flux (Fixed Index): 1.04e-07 +/- 5.44e-08
Energy Flux (Fixed Index): 5.64e-05 +/- 2.95e-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) = 4714.9193827
delta logL = 1.49381088195

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4714.72404628
delta logL = 1.68914729276

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    31.507       1.0000         .10000E-03   10000.    
     2 'Index     '    1.5512       1.0000          .0000       10.000    
     3 'Normalizat'    1.0052       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89704       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4714.724     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      209 TOTAL
                     EDM=   .37E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     31.500        15.485       -.36845E-05    .12630E-03
   2  Index         1.5510        .31418       -.20269E-04    .74227E-04
   3  Normalizat    1.0055        .19629        .24477E-05    .72305E-03
   4  Prefactor     .89665        .21086        .33343E-06    .58144E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 31.5002
  Index      = 1.55104
  Normalizat = 1.00555
  Prefactor  = 0.896648
 **********
 **   18 **HESSE 
 **********

 FCN=   4714.724     FROM HESSE     STATUS=OK            29 CALLS      238 TOTAL
                     EDM=   .64E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     31.500        15.397        .35692E-03   -1.4585    
   2  Index         1.5510        .31258        .51664E-02   -.76120    
   3  Normalizat    1.0055        .23757        .23160E-03   -.92845    
   4  Prefactor     .89665        .25524        .26109E-03   -.96258    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.35746e-10
Minuit parameter uncertainties:
  1  15.3993
  2  0.312974
  3  0.237824
  4  0.255578
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/877653': 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) = 4714.72404495
delta logL = 1.68914863159

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  3.150e+01  1.540e+01  1.000e-04  1.000e+04 ( 1.000e-13)
440        Index:  1.551e+00  3.130e-01  0.000e+00  1.000e+01 (-1.000e+00)
441        Scale:  1.869e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
568    Prefactor:  8.966e-01  2.556e-01  0.000e+00  1.000e+01 ( 1.000e+00)
569        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
570        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
567   Normalization:  1.006e+00  2.378e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 25.29
Ra Dec: 351.350 -48.002
Photon Index (Free Index): 1.55 +/- 0.31
Photon Flux (Free Index): 5.25e-08 +/- 3.66e-08
Energy Flux (Free Index): 1.40e-04 +/- 1.00e-04

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/877653/cmap_HighResolution_609984001_610243201_4FGL_J2325.4-4800_daily_bin1430.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.04e-07', energy_flux2='1.40e-04', photon_flux_error='5.44e-08', dlogl='1.69e+00', energy_flux='5.64e-05', photon_flux2='5.25e-08', job_status='DONE', time_completed='2021-09-29 18:26:48.126568', photon_index_error2='0.31', photon_index2='1.55', ts='21.70', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', energy_flux_error2='1.00e-04', EG='0.96', time_epoch_completed='1632965208.13', return_code='0', job_id='877653', GAL2='0.90', EG2='1.01', return_code2='0', energy_flux_error='2.95e-05', photon_flux_error2='3.66e-08', ts2='25.29', photon_index='2.11' WHERE bin_id='1430' AND source_name='4FGL J2325.4-4800' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:26:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0088>
Subject: Job 877653: <4FGL_J2325.4-4800_daily_bin1430> in cluster <slac> Done

Job <4FGL_J2325.4-4800_daily_bin1430> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 18:10:57 2021
Job was executed on host(s) <bullet0088>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 18:10:58 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 18:10:58 2021
Terminated at Wed Sep 29 18:26:48 2021
Results reported at Wed Sep 29 18:26:48 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-4800_daily_bin1430 351.35 -48.0022 609984001 610243201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2325.4-4800 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   704.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             259.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   950 sec.
    Turnaround time :                            951 sec.

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

