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


Performing analysis on: 4FGL_J2325.4-3559_daily_bin852
RA = 351.359, Dec = -35.9878
tmin = 460166401, tmax = 460425601
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='868001', job_status='RUN', time_executed='2021-09-29 17:40:56.307234', time_epoch_executed='1632962456.31' WHERE source_name='4FGL J2325.4-3559' and cadence='daily' and bin_id='852'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/868001

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/868001/ft1_4FGL_J2325.4-3559_daily_bin852.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/868001/ft2_4FGL_J2325.4-3559_daily_bin852.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/868001/ft1_4FGL_J2325.4-3559_daily_bin852.fits outfile=/scratch/kocevski/868001/ft1_filteredMKT_4FGL_J2325.4-3559_daily_bin852.fits ra=351.359 dec=-35.9878 rad=12.0 tmin=460166401.0 tmax=460425601.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.34
user 3.14
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/868001/ft1_filtered_4FGL_J2325.4-3559_daily_bin852.fits" evtable="EVENTS" scfile=/scratch/kocevski/868001/ft2_4FGL_J2325.4-3559_daily_bin852.fits sctable="SC_DATA" outfile=/scratch/kocevski/868001/ltcube_460166401_460425601_4FGL_J2325.4-3559_daily_bin852.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/868001/ft2_4FGL_J2325.4-3559_daily_bin852.fits
.....................!
real 11.71
user 11.37
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/868001/ft1_filtered_4FGL_J2325.4-3559_daily_bin852.fits evtable="EVENTS" scfile=/scratch/kocevski/868001/ft2_4FGL_J2325.4-3559_daily_bin852.fits sctable="SC_DATA" expcube=/scratch/kocevski/868001/ltcube_460166401_460425601_4FGL_J2325.4-3559_daily_bin852.fits outfile=/scratch/kocevski/868001/expmap_460166401_460425601_4FGL_J2325.4-3559_daily_bin852.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/868001/ltcube_460166401_460425601_4FGL_J2325.4-3559_daily_bin852.fits
.....................!
real 189.32
user 184.72
sys 4.30

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

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

This is gtbin version HEAD
real 0.53
user 0.37
sys 0.15

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

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

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    34.047       1.0000         .10000E-03   10000.    
     5 'Prefactor '    14.404       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.1096       1.0000         .10000E-03   10000.    
     9 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.9248       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .30971       1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.6174       1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.3501       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    1.4007       1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.3090       1.0000         .10000E-03   10000.    
    19 'Prefactor '    66.050       1.0000         .10000E-03   10000.    
    20 'norm      '    4.9417       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    170.56       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10120E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .17663E-02   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    28 'Normalizat'    .94744       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .70164       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=   4736.865     FROM MIGRAD    STATUS=CONVERGED    697 CALLS     3655 TOTAL
                     EDM=   .52E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    18.008       -.94733E-06** at limit **
   2  Prefactor     .10000E-03    1.1169        .28082E-07** at limit **
   3  Prefactor     .10000E-03    4.7506        .16330E-06** at limit **
   4  Prefactor     34.048        59.974        .93957E-07   -.15108E-04
   5  Prefactor     14.403        20.227        .25425E-06   -.18583E-04
   6  Prefactor     .10000E-03    7.1589        .28392E-06** at limit **
   7  Prefactor     .10000E-03    3.7597        .39038E-06** at limit **
   8  Prefactor     1.1091        7.1039        .23145E-05   -.15151E-04
   9  norm          .10000E-03    1.2065       -.51758E-07** at limit **
  10  Prefactor     3.9251        6.6048        .23694E-05   -.10148E-03
  11  Prefactor     .10000E-03    2.5023       -.23407E-06** at limit **
  12  norm          .30970        .29445       -.12854E-06   -.15947E-03
  13  Prefactor     4.6425        115.03        .18704E-04    .56201E-04
  14  Prefactor     5.3504        7.1233        .28505E-05   -.12039E-03
  15  norm          .10000E-03    4.0244       -.52466E-06** at limit **
  16  norm          .10000E-03    1.8343       -.15117E-06** at limit **
  17  norm          1.3985        8.5892        .25598E-05   -.37727E-04
  18  Prefactor     3.2707        151.09       -.52478E-05   -.78170E-04
  19  Prefactor     66.059        52.578        .17219E-05    .30423E-04
  20  norm          4.9550        6.5458       -.25634E-06    .45720E-04
  21  Prefactor     .10000E-03    10.584       -.78727E-06** at limit **
  22  norm          .10000E-03    1.8428       -.43643E-06** at limit **
  23  Prefactor     170.56        98.343        .43733E-06   -.82521E-05
  24  Prefactor     .10000E-03    15.193        .16734E-05** at limit **
  25  Prefactor     .10001E-03    2.9541        .83287E-06** at limit **
  26  Prefactor     .10002E-03    3.5071        .14147E-07** at limit **
  27  Prefactor     .10000E-03    10.493       -.62741E-06** at limit **
  28  Normalizat    .94744        .16780        .66490E-07   -.28647E-03
  29  Prefactor     .70169        .17941       -.24393E-05   -.13191E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 34.0483
  Prefactor  = 14.4034
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.10911
  norm       = 0.0001
  Prefactor  = 3.92511
  Prefactor  = 0.0001
  norm       = 0.309705
  Prefactor  = 4.64253
  Prefactor  = 5.35036
  norm       = 0.0001
  norm       = 0.0001
  norm       = 1.39848
  Prefactor  = 3.27069
  Prefactor  = 66.0593
  norm       = 4.95497
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 170.565
  Prefactor  = 0.0001
  Prefactor  = 0.000100006
  Prefactor  = 0.000100018
  Prefactor  = 0.0001
  Normalizat = 0.947436
  Prefactor  = 0.701686
 **********
 **   18 **HESSE 
 **********

 FCN=   4736.865     FROM HESSE     STATUS=OK           551 CALLS     4206 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    18.021        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    1.1290        .71020E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    4.7525        .14652E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     34.048        59.655        .68676E-04   -1.4540    
   5  Prefactor     14.403        20.208        .10554E-03   -1.4949    
   6  Prefactor     .10000E-03    7.1670        .17985E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    3.7746        .13033E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.1091        7.0364        .34711E-03   -1.5497    
   9  norm          .10000E-03    1.2152        .73819E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     3.9251        6.6130        .10182E-02   -1.5312    
  11  Prefactor     .10000E-03    2.5197        .10634E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .30970        .30645        .34649E-03   -1.5597    
  13  Prefactor     4.6425        117.59        .18731E-03   -1.5277    
  14  Prefactor     5.3504        7.1615        .86874E-03   -1.5245    
  15  norm          .10000E-03    4.0288        .13485E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    1.8343        .90962E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.3985        8.5978        .36661E-03   -1.5471    
  18  Prefactor     3.2707        151.93        .22255E-03   -1.5346    
  19  Prefactor     66.059        52.868        .49383E-04   -1.4081    
  20  norm          4.9550        6.3843        .11785E-03   -1.5263    
  21  Prefactor     .10000E-03    10.617        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    1.8655        .90964E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     170.56        98.332        .30893E-04   -1.3088    
  24  Prefactor     .10000E-03    15.226        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10001E-03    11.824        .22438E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10002E-03    22.248        .24608E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    10.501        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    .94744        .19830        .19937E-03   -.94813    
  29  Prefactor     .70169        .21285        .25190E-03   -1.0346    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.01967e-09
Minuit parameter uncertainties:
  1  5.08969e-05
  2  1.46758e-06
  3  6.06189e-06
  4  59.7596
  5  20.2173
  6  9.37294e-06
  7  8.39785e-06
  8  5.58788
  9  2.31553e-06
  10  6.61427
  11  1.88597e-05
  12  0.306448
  13  46.8312
  14  7.16264
  15  1.15334e-05
  16  6.72929e-06
  17  6.93631
  18  44.7038
  19  52.9059
  20  6.38518
  21  7.23602e-06
  22  1.64542e-05
  23  98.4271
  24  9.93957e-05
  25  0.000525508
  26  0.00125461
  27  3.10139e-05
  28  0.198451
  29  0.2131
Done.

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

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  1.398e+00  6.936e+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:  7.017e-01  2.131e-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.474e-01  1.985e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/868001/likelihoodResults_460166401_460425601_4FGL_J2325.4-3559_daily_bin852.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) = 4736.82000561
delta logL = 0.0450437270438

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4736.81587274
delta logL = 0.0491766012865

Fit tolerance = 1e-08

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

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

 FCN=   4736.816     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      272 TOTAL
                     EDM=   .26E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.9049        6.2411        .25438E-03   -.12398E-03
   2  alpha         2.6799        1.6591        .36013E-01   -.53202E-05
   3  Normalizat    .94261        .18998        .19980E-03   -.29189E-04
   4  Prefactor     .70287        .20960        .25167E-03   -.40385E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.9049
  alpha      = 2.67993
  Normalizat = 0.942609
  Prefactor  = 0.70287
 **********
 **   18 **HESSE 
 **********

 FCN=   4736.816     FROM HESSE     STATUS=OK            25 CALLS      297 TOTAL
                     EDM=   .39E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.9049        5.8083        .10175E-04   -1.5432    
   2  alpha         2.6799        1.5636        .14405E-02    .72033E-01
   3  Normalizat    .94261        .19022        .79921E-05   -.94979    
   4  Prefactor     .70287        .20973        .10067E-04   -1.0341    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.88969e-11
Minuit parameter uncertainties:
  1  5.80999
  2  1.69
  3  0.190353
  4  0.209961
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/868001': 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) = 4736.81586777
delta logL = 0.0491815729174

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
593    Prefactor:  7.029e-01  2.100e-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.426e-01  1.904e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.05
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/868001/cmap_HighResolution_460166401_460425601_4FGL_J2325.4-3559_daily_bin852.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.51e-05', job_status='DONE', photon_flux_upper_limit='6.26e-08', time_completed='2021-09-29 17:52:32.018655', job_id='868001', GAL2='0.70', fit_tolerance='1e-08', EG2='0.94', EG='0.95', time_epoch_completed='1632963152.02', return_code2='0', ts='0.05', comment='SUCCESS', return_code='0', GAL='0.70', dlogl='4.92e-02', ts2='0.15', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='852' AND source_name='4FGL J2325.4-3559' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 17:52:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0264>
Subject: Job 868001: <4FGL_J2325.4-3559_daily_bin852> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-3559_daily_bin852 351.359 -35.9878 460166401 460425601 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 :                                   688.43 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             333.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   730 sec.
    Turnaround time :                            731 sec.

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

