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


Performing analysis on: 4FGL_J2325.4-3559_daily_bin1646
RA = 351.359, Dec = -35.9878
tmin = 665971201, tmax = 666230401
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='677726', job_status='RUN', time_executed='2022-02-11 00:37:17.104060', time_epoch_executed='1644568637.1' WHERE source_name='4FGL J2325.4-3559' and cadence='daily' and bin_id='1646'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/677726

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/677726/ft1_4FGL_J2325.4-3559_daily_bin1646.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/677726/ft2_4FGL_J2325.4-3559_daily_bin1646.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/677726/ft1_4FGL_J2325.4-3559_daily_bin1646.fits outfile=/scratch/kocevski/677726/ft1_filteredMKT_4FGL_J2325.4-3559_daily_bin1646.fits ra=351.359 dec=-35.9878 rad=12.0 tmin=665971201.0 tmax=666230401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.63
user 4.37
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/677726/ft1_filtered_4FGL_J2325.4-3559_daily_bin1646.fits" evtable="EVENTS" scfile=/scratch/kocevski/677726/ft2_4FGL_J2325.4-3559_daily_bin1646.fits sctable="SC_DATA" outfile=/scratch/kocevski/677726/ltcube_665971201_666230401_4FGL_J2325.4-3559_daily_bin1646.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/677726/ft2_4FGL_J2325.4-3559_daily_bin1646.fits
.....................!
real 15.09
user 14.70
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/677726/ft1_filtered_4FGL_J2325.4-3559_daily_bin1646.fits evtable="EVENTS" scfile=/scratch/kocevski/677726/ft2_4FGL_J2325.4-3559_daily_bin1646.fits sctable="SC_DATA" expcube=/scratch/kocevski/677726/ltcube_665971201_666230401_4FGL_J2325.4-3559_daily_bin1646.fits outfile=/scratch/kocevski/677726/expmap_665971201_666230401_4FGL_J2325.4-3559_daily_bin1646.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/677726/ltcube_665971201_666230401_4FGL_J2325.4-3559_daily_bin1646.fits
.....................!
real 191.44
user 186.91
sys 4.20

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/677726/ft1_filtered_4FGL_J2325.4-3559_daily_bin1646.fits scfile=/scratch/kocevski/677726/ft2_4FGL_J2325.4-3559_daily_bin1646.fits outfile=/scratch/kocevski/677726/cmap_665971201_666230401_4FGL_J2325.4-3559_daily_bin1646.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.55
user 0.37
sys 0.15

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/677726/ft1_filtered_4FGL_J2325.4-3559_daily_bin1646.fits evtable="EVENTS" scfile=/scratch/kocevski/677726/ft2_4FGL_J2325.4-3559_daily_bin1646.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/677726/Model_4FGL_J2325.4-3559_daily_bin1646.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/677726/ft1_filtered_4FGL_J2325.4-3559_daily_bin1646.fits.....................!
real 45.75
user 44.55
sys 1.11

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10526E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.7566       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .26484E-02   1.0000         .10000E-03   10000.    
     4 'Prefactor '    46.346       1.0000         .10000E-03   10000.    
     5 'Prefactor '    35.944       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .17705E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    32.253       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10153E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    3.9734       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10245E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    13.533       1.0000         .10000E-03   10000.    
    12 'norm      '    .10742E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .13657       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .94551E-01   1.0000         .10000E-03   10000.    
    16 'norm      '    .10121E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    7.1326       1.0000         .10000E-03   10000.    
    18 'Prefactor '    27.860       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10382E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10146E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    2.0332       1.0000         .10000E-03   10000.    
    22 'norm      '    2.4839       1.0000         .10000E-03   10000.    
    23 'Prefactor '    51.185       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10360E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    3.4575       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10053E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    19.269       1.0000         .10000E-03   10000.    
    28 'Normalizat'    .82278       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .94887       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=   6247.345     FROM MIGRAD    STATUS=CONVERGED    813 CALLS     3837 TOTAL
                     EDM=   .45E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    20.145       -.95945E-07** at limit **
   2  Prefactor     1.7564        2.1029       -.10999E-06    .23931E-03
   3  Prefactor     .10006E-03    16.461       -.20622E-05** at limit **
   4  Prefactor     46.360        50.157       -.16191E-04   -.44211E-05
   5  Prefactor     35.950        20.355       -.99206E-05   -.46331E-05
   6  Prefactor     .10001E-03    34.573        .14866E-05** at limit **
   7  Prefactor     32.252        13.188       -.10090E-05    .37492E-05
   8  Prefactor     .10000E-03    3.5977        .17872E-06** at limit **
   9  norm          3.9745        4.3115       -.24470E-06   -.30243E-03
  10  Prefactor     .10000E-03    5.1668       -.14151E-07** at limit **
  11  Prefactor     13.555        9.0453        .13700E-06    .21582E-04
  12  norm          .10000E-03    .44924       -.36692E-07** at limit **
  13  Prefactor     .13810E-03    23.993        .23926E-06** at limit **
  14  Prefactor     .10000E-03    3.0680       -.46995E-07** at limit **
  15  norm          .67919E-01    6.9238       -.76234E-06   -.57158E-04
  16  norm          .10000E-03    2.7956       -.29576E-06** at limit **
  17  norm          7.1315        5.9650       -.22223E-06   -.13065E-04
  18  Prefactor     27.854        24.181        .56887E-05    .43455E-04
  19  Prefactor     .10000E-03    15.726       -.95090E-07** at limit **
  20  norm          .10000E-03    1.7757       -.25828E-06** at limit **
  21  Prefactor     2.0352        22.147        .24408E-05   -.15770E-03
  22  norm          2.4830        2.6079       -.55622E-06   -.20726E-03
  23  Prefactor     51.179        72.993       -.18010E-05    .45033E-05
  24  Prefactor     .10000E-03    65.994       -.15167E-05** at limit **
  25  Prefactor     3.4569        3.9439       -.65103E-06   -.29125E-03
  26  Prefactor     .10000E-03    1.7431       -.18181E-06** at limit **
  27  Prefactor     19.283        27.861        .67947E-05    .53961E-04
  28  Normalizat    .82272        .15742        .12976E-06    .24590E-03
  29  Prefactor     .94894        .17177        .21392E-05    .12832E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 1.75639
  Prefactor  = 0.000100062
  Prefactor  = 46.3603
  Prefactor  = 35.9497
  Prefactor  = 0.000100006
  Prefactor  = 32.252
  Prefactor  = 0.0001
  norm       = 3.97447
  Prefactor  = 0.0001
  Prefactor  = 13.5545
  norm       = 0.0001
  Prefactor  = 0.000138103
  Prefactor  = 0.0001
  norm       = 0.067919
  norm       = 0.0001
  norm       = 7.13152
  Prefactor  = 27.8542
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 2.03516
  norm       = 2.48301
  Prefactor  = 51.1789
  Prefactor  = 0.0001
  Prefactor  = 3.45689
  Prefactor  = 0.0001
  Prefactor  = 19.2835
  Normalizat = 0.822719
  Prefactor  = 0.948938
 **********
 **   18 **HESSE 
 **********

 FCN=   6247.345     FROM HESSE     STATUS=OK           581 CALLS     4418 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    20.163        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.7564        2.0437        .11817E-03   -1.5443    
   3  Prefactor     .10006E-03    165.16        .60053E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     46.360        50.196        .58896E-04   -1.4345    
   5  Prefactor     35.950        20.344        .66846E-04   -1.4508    
   6  Prefactor     .10001E-03    35.325        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     32.252        13.206        .70555E-04   -1.4572    
   8  Prefactor     .10000E-03    3.6359        .14637E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          3.9745        4.2977        .15515E-03   -1.5309    
  10  Prefactor     .10000E-03    5.1686        .17533E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     13.555        8.0563        .10888E-03   -1.4971    
  12  norm          .10000E-03    2.7486        .89613E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .13810E-03    25.656        .13335       -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    3.0722        .13511E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .67919E-01    9.5479        .71988E-01   -1.5656    
  16  norm          .10000E-03    2.8227        .12893E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          7.1315        5.9657        .15020E-03   -1.5174    
  18  Prefactor     27.854        24.116        .75901E-04   -1.4652    
  19  Prefactor     .10000E-03    15.746        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    1.7903        .10256E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     2.0352        22.119        .29010E-03   -1.5423    
  22  norm          2.4830        2.6001        .12484E-03   -1.5393    
  23  Prefactor     51.179        73.062        .56056E-04   -1.4276    
  24  Prefactor     .10000E-03    66.519        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     3.4569        3.9443        .15931E-03   -1.5336    
  26  Prefactor     .10000E-03    3.7044        .20318E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     19.283        27.777        .91244E-04   -1.4829    
  28  Normalizat    .82272        .18594        .23073E-03   -.99231    
  29  Prefactor     .94894        .20235        .24403E-03   -.94451    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.34738e-09
Minuit parameter uncertainties:
  1  2.20666e-05
  2  2.0438
  3  0.00639193
  4  50.2413
  5  20.3481
  6  0.000906433
  7  13.2074
  8  2.50196e-05
  9  4.29804
  10  1.91615e-06
  11  8.05698
  12  3.20561e-05
  13  0.0625583
  14  3.05209e-06
  15  1.60964
  16  4.41669e-05
  17  5.96619
  18  24.1246
  19  1.60345e-05
  20  4.05283e-05
  21  13.4248
  22  2.60025
  23  73.1907
  24  0.000280024
  25  3.94463
  26  3.85072e-05
  27  27.7953
  28  0.186083
  29  0.202507
Done.

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

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  7.132e+00  5.966e+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:  9.489e-01  2.025e-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:  8.227e-01  1.861e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.28
Ra Dec: 351.359 -35.988
Photon Index (Fixed Index): 2.13 +/- 0.00
Photon Flux (Fixed Index): 2.22e-08 +/- 1.86e-08
Energy Flux (Fixed Index): 8.91e-06 +/- 7.45e-06

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) = 6246.75942078
delta logL = 0.585617687437

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6246.72493297
delta logL = 0.620105489067

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.4426       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.2965       1.0000          .0000       5.0000    
     3 'Normalizat'    .83619       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94168       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=   6246.725     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      208 TOTAL
                     EDM=   .34E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.4224        4.8177        .43060E-02   -.10385E-03
   2  alpha         1.2944        .51509        .44829       -.19050E-04
   3  Normalizat    .83577        .14968        .44081E-01    .73812E-04
   4  Prefactor     .94204        .17008        .45534E-01    .59264E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.42236
  alpha      = 1.29443
  Normalizat = 0.835769
  Prefactor  = 0.942036
 **********
 **   18 **HESSE 
 **********

 FCN=   6246.725     FROM HESSE     STATUS=OK            33 CALLS      241 TOTAL
                     EDM=   .54E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.4224        6.1020        .15829E-03   -1.5242    
   2  alpha         1.2944        .70330        .18212E-01   -.50320    
   3  Normalizat    .83577        .17628        .22905E-03   -.98755    
   4  Prefactor     .94204        .20050        .24483E-03   -.94687    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.43992e-12
Minuit parameter uncertainties:
  1  6.10269
  2  0.715984
  3  0.176401
  4  0.20066
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/677726': 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) = 6246.72492408
delta logL = 0.620114385286

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  5.422e+00  6.103e+00  1.000e-04  1.000e+04 ( 1.000e-12)
426        alpha:  1.294e+00  7.160e-01  0.000e+00  5.000e+00 ( 1.000e+00)
427         beta:  1.815e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
428           Eb:  6.031e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
593    Prefactor:  9.420e-01  2.007e-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:  8.358e-01  1.764e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.53
Ra Dec: 351.359 -35.988
Photon Index (Free Index): 1.29 +/- 0.72
Photon Flux (Free Index): 1.11e-08 +/- 1.27e-08
Energy Flux (Free Index): 1.56e-05 +/- 1.72e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/677726/cmap_HighResolution_665971201_666230401_4FGL_J2325.4-3559_daily_bin1646.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.22e-08', energy_flux2='1.56e-05', photon_flux_error='1.86e-08', dlogl='6.20e-01', energy_flux='8.91e-06', photon_flux2='1.11e-08', job_status='DONE', time_completed='2022-02-11 00:49:45.377797', photon_index_error2='0.72', photon_index2='1.29', ts='5.28', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', energy_flux_error2='1.72e-05', EG='0.82', time_epoch_completed='1644569385.38', return_code='0', job_id='677726', GAL2='0.94', EG2='0.84', return_code2='0', energy_flux_error='7.45e-06', photon_flux_error2='1.27e-08', ts2='6.53', photon_index='2.13' WHERE bin_id='1646' AND source_name='4FGL J2325.4-3559' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb 11 00:49:45 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0235>
Subject: Job 677726: <4FGL_J2325.4-3559_daily_bin1646> in cluster <slac> Done

Job <4FGL_J2325.4-3559_daily_bin1646> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Feb 11 00:35:45 2022
Job was executed on host(s) <bullet0235>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb 11 00:35:46 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb 11 00:35:46 2022
Terminated at Fri Feb 11 00:49:46 2022
Results reported at Fri Feb 11 00:49:46 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-3559_daily_bin1646 351.359 -35.9878 665971201 666230401 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 :                                   749.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             319.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   839 sec.
    Turnaround time :                            841 sec.

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

