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


Performing analysis on: 4FGL_J2325.4-3559_daily_bin868
RA = 351.359, Dec = -35.9878
tmin = 464313601, tmax = 464572801
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='868024', job_status='RUN', time_executed='2021-09-29 17:44:07.194044', time_epoch_executed='1632962647.19' WHERE source_name='4FGL J2325.4-3559' and cadence='daily' and bin_id='868'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/868024

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/868024/ft1_4FGL_J2325.4-3559_daily_bin868.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/868024/ft2_4FGL_J2325.4-3559_daily_bin868.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/868024/ft1_4FGL_J2325.4-3559_daily_bin868.fits outfile=/scratch/kocevski/868024/ft1_filteredMKT_4FGL_J2325.4-3559_daily_bin868.fits ra=351.359 dec=-35.9878 rad=12.0 tmin=464313601.0 tmax=464572801.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.43
user 3.22
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/868024/ft1_filtered_4FGL_J2325.4-3559_daily_bin868.fits" evtable="EVENTS" scfile=/scratch/kocevski/868024/ft2_4FGL_J2325.4-3559_daily_bin868.fits sctable="SC_DATA" outfile=/scratch/kocevski/868024/ltcube_464313601_464572801_4FGL_J2325.4-3559_daily_bin868.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/868024/ft2_4FGL_J2325.4-3559_daily_bin868.fits
.....................!
real 11.67
user 11.30
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/868024/ft1_filtered_4FGL_J2325.4-3559_daily_bin868.fits evtable="EVENTS" scfile=/scratch/kocevski/868024/ft2_4FGL_J2325.4-3559_daily_bin868.fits sctable="SC_DATA" expcube=/scratch/kocevski/868024/ltcube_464313601_464572801_4FGL_J2325.4-3559_daily_bin868.fits outfile=/scratch/kocevski/868024/expmap_464313601_464572801_4FGL_J2325.4-3559_daily_bin868.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/868024/ltcube_464313601_464572801_4FGL_J2325.4-3559_daily_bin868.fits
.....................!
real 190.98
user 185.58
sys 5.09

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/868024/ft1_filtered_4FGL_J2325.4-3559_daily_bin868.fits scfile=/scratch/kocevski/868024/ft2_4FGL_J2325.4-3559_daily_bin868.fits outfile=/scratch/kocevski/868024/cmap_464313601_464572801_4FGL_J2325.4-3559_daily_bin868.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=351.359 yref=-35.9878 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.52
user 0.35
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/868024/ft1_filtered_4FGL_J2325.4-3559_daily_bin868.fits scfile=/scratch/kocevski/868024/ft2_4FGL_J2325.4-3559_daily_bin868.fits outfile=/scratch/kocevski/868024/cmap_HighResolution_464313601_464572801_4FGL_J2325.4-3559_daily_bin868.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=351.359 yref=-35.9878 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.53
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/868024/ft1_filtered_4FGL_J2325.4-3559_daily_bin868.fits evtable="EVENTS" scfile=/scratch/kocevski/868024/ft2_4FGL_J2325.4-3559_daily_bin868.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/868024/Model_4FGL_J2325.4-3559_daily_bin868.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/868024/ft1_filtered_4FGL_J2325.4-3559_daily_bin868.fits.....................!
real 33.59
user 32.29
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10121E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.0415       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    48.346       1.0000         .10000E-03   10000.    
     5 'Prefactor '    8.0163       1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.4150       1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.5659       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .46886       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    1.6977       1.0000         .10000E-03   10000.    
    16 'norm      '    6.8794       1.0000         .10000E-03   10000.    
    17 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    32.068       1.0000         .10000E-03   10000.    
    19 'Prefactor '    31.331       1.0000         .10000E-03   10000.    
    20 'norm      '    .30391E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    20.015       1.0000         .10000E-03   10000.    
    22 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10071E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    1.2401       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    53.950       1.0000         .10000E-03   10000.    
    28 'Normalizat'    .91469       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .66881       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=   4036.351     FROM MIGRAD    STATUS=CONVERGED    733 CALLS     3706 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    17.626       -.32959E-06** at limit **
   2  Prefactor     2.0451        3.9811        .22935E-06   -.37242E-04
   3  Prefactor     .10000E-03    8.7785       -.89535E-07** at limit **
   4  Prefactor     48.332        47.059       -.68227E-06   -.11594E-04
   5  Prefactor     8.0191        18.866       -.36289E-06   -.13337E-04
   6  Prefactor     1.4232        68.059        .10107E-05   -.25367E-04
   7  Prefactor     5.5661        7.8253        .48017E-07   -.18775E-04
   8  Prefactor     .10000E-03    3.5315        .51886E-07** at limit **
   9  norm          .10000E-03    1.4226        .13976E-07** at limit **
  10  Prefactor     .10000E-03    13.446        .14399E-06** at limit **
  11  Prefactor     .10000E-03    4.4589        .51827E-08** at limit **
  12  norm          .46899        .51137        .53271E-07   -.14530E-03
  13  Prefactor     .10000E-03    44.514        .13320E-05** at limit **
  14  Prefactor     .10000E-03    7.2727        .71996E-07** at limit **
  15  norm          1.6983        8.6115        .11708E-05   -.94382E-04
  16  norm          6.8685        6.2768       -.65090E-06   -.80779E-03
  17  norm          .10000E-03    2.3755       -.54914E-07** at limit **
  18  Prefactor     31.974        31.886       -.46566E-05   -.61638E-03
  19  Prefactor     31.238        48.420       -.30223E-05   -.86094E-04
  20  norm          .10001E-03    4.6209        .44506E-05** at limit **
  21  Prefactor     20.020        19.761       -.50562E-06   -.85244E-04
  22  norm          .10000E-03    1.4295        .18917E-06** at limit **
  23  Prefactor     .10000E-03    41.842       -.14948E-05** at limit **
  24  Prefactor     .10000E-03    21.223        .17988E-06** at limit **
  25  Prefactor     1.2466        9.6227        .10011E-05   -.61961E-05
  26  Prefactor     .10000E-03    7.7174        .43487E-06** at limit **
  27  Prefactor     53.873        59.897       -.18107E-05   -.16329E-03
  28  Normalizat    .91458        .18313        .12054E-05   -.67481E-03
  29  Prefactor     .66876        .19356       -.17871E-05   -.29828E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 2.04513
  Prefactor  = 0.0001
  Prefactor  = 48.3318
  Prefactor  = 8.01912
  Prefactor  = 1.42324
  Prefactor  = 5.56612
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.468986
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.69831
  norm       = 6.86851
  norm       = 0.0001
  Prefactor  = 31.9742
  Prefactor  = 31.2375
  norm       = 0.000100013
  Prefactor  = 20.0202
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.2466
  Prefactor  = 0.0001
  Prefactor  = 53.8727
  Normalizat = 0.914582
  Prefactor  = 0.668763
 **********
 **   18 **HESSE 
 **********

 FCN=   4036.351     FROM HESSE     STATUS=OK           545 CALLS     4251 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    17.638        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.0451        3.9410        .16198E-03   -1.5422    
   3  Prefactor     .10000E-03    8.7804        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     48.332        46.888        .28835E-03   -1.4316    
   5  Prefactor     8.0191        18.830        .14161E-03   -1.5142    
   6  Prefactor     1.4232        68.715        .36398E-03   -1.5469    
   7  Prefactor     5.5661        7.8191        .17029E-03   -1.5236    
   8  Prefactor     .10000E-03    3.5508        .11658E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    1.4277        .73955E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    13.508        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    4.4799        .13069E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .46899        .48400        .45280E-03   -1.5571    
  13  Prefactor     .10000E-03    44.553        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    7.3160        .16714E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.6983        8.5071        .32291E-03   -1.5447    
  16  norm          6.8685        6.3082        .14092E-03   -1.5184    
  17  norm          .10000E-03    2.3774        .95622E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     31.974        33.874        .70758E-04   -1.4576    
  19  Prefactor     31.238        48.429        .71583E-04   -1.4590    
  20  norm          .10001E-03    7.0139        .23480E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     20.020        19.750        .89528E-04   -1.4813    
  22  norm          .10000E-03    1.4343        .74138E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    41.845        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    21.249        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     1.2466        9.2128        .33288E-03   -1.5485    
  26  Prefactor     .10000E-03    8.0248        .34432E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     53.873        58.856        .54608E-04   -1.4239    
  28  Normalizat    .91458        .21906        .20231E-03   -.95950    
  29  Prefactor     .66876        .23052        .25349E-03   -1.0476    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.71548e-09
Minuit parameter uncertainties:
  1  3.54645e-05
  2  3.9415
  3  2.01826e-06
  4  46.924
  5  18.8444
  6  19.8021
  7  7.82058
  8  7.56446e-07
  9  6.29443e-07
  10  2.25683e-06
  11  2.86015e-06
  12  0.484
  13  0.000122258
  14  4.38792e-06
  15  7.60353
  16  6.3088
  17  3.13331e-06
  18  33.8945
  19  48.4904
  20  0.000598065
  21  19.756
  22  6.30974e-06
  23  0.000131006
  24  7.52478e-05
  25  6.77899
  26  2.61039e-05
  27  58.9196
  28  0.219276
  29  0.230852
Done.

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

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  1.000e-04  3.133e-06  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:  6.688e-01  2.309e-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.146e-01  2.193e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/868024/likelihoodResults_464313601_464572801_4FGL_J2325.4-3559_daily_bin868.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) = 4036.35292287
delta logL = -0.00196005408134

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4036.35096282
delta logL = -1.59661794896e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1300       1.0000          .0000       5.0000    
     3 'Normalizat'    .91460       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .66875       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   4036.351     FROM MIGRAD    STATUS=FAILED        81 CALLS      220 TOTAL
                     EDM=   .24E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10004E-03    3.0481        .95628E-03** at limit **
   2  alpha         2.1621        2.7971        .16694       -.13258E-05
   3  Normalizat    .91459        .20623        .20230E-03    .85137E-05
   4  Prefactor     .66876        .22505        .25349E-03    .10338E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   4036.351     FROM SIMPLEX   STATUS=UNCHANGED    121 CALLS      341 TOTAL
                     EDM=   .15E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10004E-03    3.0481        .30803E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.1621        2.7971        .10385E-02   -.13556    
   3  Normalizat    .91459        .20623        .11008E-03   -.95949    
   4  Prefactor     .66876        .22505        .14245E-03   -1.0476    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4036.351     FROM MIGRAD    STATUS=CONVERGED     27 CALLS      368 TOTAL
                     EDM=   .42E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2.3816        .19126E-03** at limit **
   2  alpha         2.1988        3.5930        .66777E-02    .37965E-07
   3  Normalizat    .91459        .20647        .80922E-05   -.94128E-05
   4  Prefactor     .66876        .22530        .10139E-04   -.84092E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.19876
  Normalizat = 0.914587
  Prefactor  = 0.668759
 **********
 **   18 **HESSE 
 **********

 FCN=   4036.351     FROM HESSE     STATUS=OK            23 CALLS      391 TOTAL
                     EDM=   .42E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.3815        .38251E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.1988        3.5725        .13355E-02   -.12079    
   3  Normalizat    .91459        .20612        .16184E-05   -.95949    
   4  Prefactor     .66876        .22494        .20279E-05   -1.0476    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.17878e-11
Minuit parameter uncertainties:
  1  2.44645e-05
  2  259.051
  3  0.206299
  4  0.225244
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/868024': 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) = 4036.35096278
delta logL = 3.6080564314e-08

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  1.000e-04  2.446e-05  1.000e-04  1.000e+04 ( 1.000e-12)
426        alpha:  2.199e+00  2.591e+02  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:  6.688e-01  2.252e-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.146e-01  2.063e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 351.359 -35.988

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

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.62e-05', job_status='DONE', photon_flux_upper_limit='4.05e-08', time_completed='2021-09-29 17:54:42.024265', job_id='868024', GAL2='0.67', fit_tolerance='1e-08', EG2='0.91', EG='0.91', time_epoch_completed='1632963282.02', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.67', dlogl='3.61e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='868' AND source_name='4FGL J2325.4-3559' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 17:54:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0289>
Subject: Job 868024: <4FGL_J2325.4-3559_daily_bin868> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-3559_daily_bin868 351.359 -35.9878 464313601 464572801 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 :                                   633.38 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             254.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   858 sec.
    Turnaround time :                            859 sec.

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

