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


Performing analysis on: 4FGL_J2325.4-3559_daily_bin1090
RA = 351.359, Dec = -35.9878
tmin = 521856001, tmax = 522115201
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='868341', job_status='RUN', time_executed='2021-09-29 17:44:37.174524', time_epoch_executed='1632962677.17' WHERE source_name='4FGL J2325.4-3559' and cadence='daily' and bin_id='1090'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/868341

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/868341/ft1_4FGL_J2325.4-3559_daily_bin1090.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/868341/ft2_4FGL_J2325.4-3559_daily_bin1090.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/868341/ft1_4FGL_J2325.4-3559_daily_bin1090.fits outfile=/scratch/kocevski/868341/ft1_filteredMKT_4FGL_J2325.4-3559_daily_bin1090.fits ra=351.359 dec=-35.9878 rad=12.0 tmin=521856001.0 tmax=522115201.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 2.87
user 2.68
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/868341/ft2_4FGL_J2325.4-3559_daily_bin1090.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/868341/ft1_filteredMKT_4FGL_J2325.4-3559_daily_bin1090.fits evtable="EVENTS" outfile="/scratch/kocevski/868341/ft1_filtered_4FGL_J2325.4-3559_daily_bin1090.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.41
user 0.27
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/868341/ft1_filtered_4FGL_J2325.4-3559_daily_bin1090.fits" evtable="EVENTS" scfile=/scratch/kocevski/868341/ft2_4FGL_J2325.4-3559_daily_bin1090.fits sctable="SC_DATA" outfile=/scratch/kocevski/868341/ltcube_521856001_522115201_4FGL_J2325.4-3559_daily_bin1090.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/868341/ft2_4FGL_J2325.4-3559_daily_bin1090.fits
.....................!
real 9.16
user 8.85
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/868341/ft1_filtered_4FGL_J2325.4-3559_daily_bin1090.fits evtable="EVENTS" scfile=/scratch/kocevski/868341/ft2_4FGL_J2325.4-3559_daily_bin1090.fits sctable="SC_DATA" expcube=/scratch/kocevski/868341/ltcube_521856001_522115201_4FGL_J2325.4-3559_daily_bin1090.fits outfile=/scratch/kocevski/868341/expmap_521856001_522115201_4FGL_J2325.4-3559_daily_bin1090.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/868341/ltcube_521856001_522115201_4FGL_J2325.4-3559_daily_bin1090.fits
.....................!
real 145.12
user 141.35
sys 3.53

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/868341/ft1_filtered_4FGL_J2325.4-3559_daily_bin1090.fits scfile=/scratch/kocevski/868341/ft2_4FGL_J2325.4-3559_daily_bin1090.fits outfile=/scratch/kocevski/868341/cmap_521856001_522115201_4FGL_J2325.4-3559_daily_bin1090.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.45
user 0.29
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/868341/ft1_filtered_4FGL_J2325.4-3559_daily_bin1090.fits scfile=/scratch/kocevski/868341/ft2_4FGL_J2325.4-3559_daily_bin1090.fits outfile=/scratch/kocevski/868341/cmap_HighResolution_521856001_522115201_4FGL_J2325.4-3559_daily_bin1090.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.45
user 0.29
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/868341/ft1_filtered_4FGL_J2325.4-3559_daily_bin1090.fits evtable="EVENTS" scfile=/scratch/kocevski/868341/ft2_4FGL_J2325.4-3559_daily_bin1090.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/868341/Model_4FGL_J2325.4-3559_daily_bin1090.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/868341/ft1_filtered_4FGL_J2325.4-3559_daily_bin1090.fits.....................!
real 31.87
user 30.89
sys 0.92

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    183.96       1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.3200       1.0000         .10000E-03   10000.    
     3 'Prefactor '    8.5418       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .26598E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .18613E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    26.432       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    5.8803       1.0000         .10000E-03   10000.    
    10 'Prefactor '    8.2202       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .87665E-02   1.0000         .10000E-03   10000.    
    12 'norm      '    .67056       1.0000         .10000E-03   10000.    
    13 'Prefactor '    45.615       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    3.1551       1.0000         .10000E-03   10000.    
    17 'norm      '    6.6071       1.0000         .10000E-03   10000.    
    18 'Prefactor '    17.820       1.0000         .10000E-03   10000.    
    19 'Prefactor '    39.260       1.0000         .10000E-03   10000.    
    20 'norm      '    .11425E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10512E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    5.4198       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10073E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    20.392       1.0000         .10000E-03   10000.    
    28 'Normalizat'    1.0677       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .84577       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=   5332.183     FROM MIGRAD    STATUS=CONVERGED    712 CALLS     3677 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     183.97        74.216        .11916E-05    .73193E-04
   2  Prefactor     2.3183        5.3132       -.46373E-06   -.23677E-03
   3  Prefactor     8.5464        20.525        .67952E-06   -.13819E-03
   4  Prefactor     .10000E-03    111.06       -.12716E-05** at limit **
   5  Prefactor     .10000E-03    79.774       -.87615E-05** at limit **
   6  Prefactor     26.420        21.462       -.41026E-06   -.62245E-05
   7  Prefactor     .10000E-03    4.7210       -.52750E-07** at limit **
   8  Prefactor     .10000E-03    1.3303        .15785E-08** at limit **
   9  norm          5.8805        4.9682       -.14025E-06   -.61984E-03
  10  Prefactor     8.2130        21.183        .33038E-06   -.27750E-03
  11  Prefactor     .10075E-03    7.4644        .13710E-05** at limit **
  12  norm          .67033        .58540       -.46731E-07   -.23279E-02
  13  Prefactor     45.616        49.729        .83721E-06    .28212E-04
  14  Prefactor     .10000E-03    4.1050        .92985E-08** at limit **
  15  norm          .10000E-03    5.3248        .68869E-07** at limit **
  16  norm          3.1560        3.9032        .52620E-06   -.12525E-03
  17  norm          6.6077        7.4559       -.43592E-06   -.15710E-03
  18  Prefactor     17.808        31.621       -.57380E-05   -.21746E-03
  19  Prefactor     39.263        41.951        .93118E-06    .29469E-04
  20  norm          .10000E-03    3.5371        .49679E-07** at limit **
  21  Prefactor     .10000E-03    7.0779       -.83120E-06** at limit **
  22  norm          .10000E-03    3.2207        .51702E-07** at limit **
  23  Prefactor     .10000E-03    48.642       -.13442E-05** at limit **
  24  Prefactor     .10000E-03    19.640       -.22944E-08** at limit **
  25  Prefactor     5.4200        4.5527        .11084E-05   -.16057E-02
  26  Prefactor     .10000E-03    6.8886        .86135E-06** at limit **
  27  Prefactor     20.399        44.264        .39207E-05    .10061E-03
  28  Normalizat    1.0677        .19719        .16677E-07   -.17826E-03
  29  Prefactor     .84570        .20729       -.14406E-06   -.10043E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 183.968
  Prefactor  = 2.31832
  Prefactor  = 8.54636
  Prefactor  = 0.0001
  Prefactor  = 0.000100005
  Prefactor  = 26.4203
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.88052
  Prefactor  = 8.21299
  Prefactor  = 0.00010075
  norm       = 0.670329
  Prefactor  = 45.6161
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 3.15604
  norm       = 6.60768
  Prefactor  = 17.808
  Prefactor  = 39.2626
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.41997
  Prefactor  = 0.0001
  Prefactor  = 20.3991
  Normalizat = 1.06771
  Prefactor  = 0.845695
 **********
 **   18 **HESSE 
 **********

 FCN=   5332.183     FROM HESSE     STATUS=OK           547 CALLS     4224 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     183.97        74.376        .14883E-03   -1.2987    
   2  Prefactor     2.3183        5.2414        .21385E-03   -1.5403    
   3  Prefactor     8.5464        20.411        .68579E-03   -1.5123    
   4  Prefactor     .10000E-03    115.11        .42880E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    82.064        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     26.420        21.465        .77921E-04   -1.4679    
   7  Prefactor     .10000E-03    4.7333        .15493E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    1.3309        .82250E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          5.8805        4.9385        .12638E-03   -1.5223    
  10  Prefactor     8.2130        20.346        .13983E-03   -1.5135    
  11  Prefactor     .10075E-03    74.362        .31351E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .67033        .56542        .44476E-04   -1.5544    
  13  Prefactor     45.616        49.745        .59365E-04   -1.4356    
  14  Prefactor     .10000E-03    4.1114        .14441E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    5.3404        .16457E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          3.1560        3.8992        .75363E-03   -1.5353    
  17  norm          6.6077        7.4640        .15612E-03   -1.5194    
  18  Prefactor     17.808        32.387        .94877E-04   -1.4864    
  19  Prefactor     39.263        42.041        .63970E-04   -1.4454    
  20  norm          .10000E-03    3.6169        .26741E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    7.0967        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    3.3023        .25577E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    48.687        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    19.647        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     5.4200        6.4172        .86304E-03   -1.5242    
  26  Prefactor     .10000E-03    7.1282        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     20.399        45.606        .88697E-04   -1.4804    
  28  Normalizat    1.0677        .23321        .22814E-03   -.90795    
  29  Prefactor     .84570        .24465        .27539E-03   -.98065    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.26727e-08
Minuit parameter uncertainties:
  1  74.4139
  2  5.24248
  3  20.4281
  4  0.000169883
  5  0.00126649
  6  21.4718
  7  5.15737e-06
  8  4.20549e-07
  9  4.93884
  10  20.3631
  11  0.0149587
  12  0.565423
  13  49.7901
  14  6.45732e-06
  15  5.06873e-06
  16  3.89955
  17  7.46508
  18  32.4187
  19  42.0726
  20  7.20111e-05
  21  3.98959e-05
  22  3.37367e-05
  23  0.000195831
  24  1.84776e-05
  25  6.41801
  26  4.19299e-05
  27  45.6844
  28  0.233432
  29  0.244962
Done.

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

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  6.608e+00  7.465e+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:  8.457e-01  2.450e-01  0.000e+00  1.000e+01 ( 1.000e+00)
594        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
595        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
592   Normalization:  1.068e+00  2.334e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.17
Ra Dec: 351.359 -35.988
Photon Index (Fixed Index): 2.13 +/- 0.00
Photon Flux (Fixed Index): 2.06e-08 +/- 2.32e-08
Energy Flux (Fixed Index): 8.26e-06 +/- 9.33e-06

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

Saving results to:
/scratch/kocevski/868341/likelihoodResults_521856001_522115201_4FGL_J2325.4-3559_daily_bin1090.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) = 5331.84609621
delta logL = 0.336571172201

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5331.76130777
delta logL = 0.421359612856

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .48935       1.0000         .10000E-03   10000.    
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    .98143       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92390       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=   5331.761     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      309 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .48962        14.573        .89728E-02    .61031E-03
   2  alpha         5.0000        2.5054        .46267    ** at limit **
   3  Normalizat    .98100        .93106E-01    .45934E-01    .95455E-05
   4  Prefactor     .92434        .97935E-01    .45309E-01    .32438E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.489615
  alpha      = 5
  Normalizat = 0.981005
  Prefactor  = 0.924336
 **********
 **   18 **HESSE 
 **********

 FCN=   5331.761     FROM HESSE     STATUS=OK            37 CALLS      346 TOTAL
                     EDM=   .41E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .48962        .51939        .40950E-03   -1.5568    
   2  alpha         5.0000        3.3280        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .98100        .23135        .23672E-03   -.93670    
   4  Prefactor     .92434        .24766        .26489E-03   -.95296    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.14794e-12
Minuit parameter uncertainties:
  1  0.519399
  2  4.44893e-06
  3  0.231585
  4  0.24796
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/868341': 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) = 5331.76130513
delta logL = 0.421362255402

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  4.896e-01  5.194e-01  1.000e-04  1.000e+04 ( 1.000e-12)
426        alpha:  5.000e+00  4.449e-06  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.243e-01  2.480e-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:  9.810e-01  2.316e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.12
Ra Dec: 351.359 -35.988
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 6.33e-08 +/- 6.68e-08
Energy Flux (Free Index): 8.76e-06 +/- 9.27e-06

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/868341/cmap_HighResolution_521856001_522115201_4FGL_J2325.4-3559_daily_bin1090.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.13e-05', comment='SUCCESS', photon_flux='2.06e-08', energy_flux2='8.76e-06', photon_flux_error='2.32e-08', dlogl='4.21e-01', energy_flux='8.26e-06', photon_flux2='6.33e-08', job_status='DONE', time_completed='2021-09-29 17:54:25.424463', photon_index_error2='0.00', photon_index2='5.00', ts='1.17', fit_tolerance='1e-08', GAL='0.85', photon_index_error='0.00', photon_flux_upper_limit='7.81e-08', energy_flux_error2='9.27e-06', EG='1.07', time_epoch_completed='1632963265.42', return_code='0', job_id='868341', GAL2='0.92', EG2='0.98', return_code2='0', energy_flux_error='9.33e-06', photon_flux_error2='6.68e-08', ts2='2.12', photon_index='2.13' WHERE bin_id='1090' AND source_name='4FGL J2325.4-3559' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 17:54:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0086>
Subject: Job 868341: <4FGL_J2325.4-3559_daily_bin1090> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-3559_daily_bin1090 351.359 -35.9878 521856001 522115201 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 :                                   573.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             261.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   817 sec.
    Turnaround time :                            820 sec.

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

