/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 159 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_bin948
RA = 351.359, Dec = -35.9878
tmin = 485049601, tmax = 485308801
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='868140', job_status='RUN', time_executed='2021-09-29 17:43:24.497153', time_epoch_executed='1632962604.5' WHERE source_name='4FGL J2325.4-3559' and cadence='daily' and bin_id='948'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/868140

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/868140/ft1_4FGL_J2325.4-3559_daily_bin948.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/868140/ft2_4FGL_J2325.4-3559_daily_bin948.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/868140/ft1_4FGL_J2325.4-3559_daily_bin948.fits outfile=/scratch/kocevski/868140/ft1_filteredMKT_4FGL_J2325.4-3559_daily_bin948.fits ra=351.359 dec=-35.9878 rad=12.0 tmin=485049601.0 tmax=485308801.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.65
user 3.37
sys 0.20

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

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

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/868140/ft1_filtered_4FGL_J2325.4-3559_daily_bin948.fits" evtable="EVENTS" scfile=/scratch/kocevski/868140/ft2_4FGL_J2325.4-3559_daily_bin948.fits sctable="SC_DATA" outfile=/scratch/kocevski/868140/ltcube_485049601_485308801_4FGL_J2325.4-3559_daily_bin948.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/868140/ft2_4FGL_J2325.4-3559_daily_bin948.fits
.....................!
real 11.54
user 11.20
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/868140/ft1_filtered_4FGL_J2325.4-3559_daily_bin948.fits evtable="EVENTS" scfile=/scratch/kocevski/868140/ft2_4FGL_J2325.4-3559_daily_bin948.fits sctable="SC_DATA" expcube=/scratch/kocevski/868140/ltcube_485049601_485308801_4FGL_J2325.4-3559_daily_bin948.fits outfile=/scratch/kocevski/868140/expmap_485049601_485308801_4FGL_J2325.4-3559_daily_bin948.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/868140/ltcube_485049601_485308801_4FGL_J2325.4-3559_daily_bin948.fits
.....................!
real 189.72
user 184.78
sys 4.61

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/868140/ft1_filtered_4FGL_J2325.4-3559_daily_bin948.fits scfile=/scratch/kocevski/868140/ft2_4FGL_J2325.4-3559_daily_bin948.fits outfile=/scratch/kocevski/868140/cmap_485049601_485308801_4FGL_J2325.4-3559_daily_bin948.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.54
user 0.37
sys 0.15

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/868140/ft1_filtered_4FGL_J2325.4-3559_daily_bin948.fits evtable="EVENTS" scfile=/scratch/kocevski/868140/ft2_4FGL_J2325.4-3559_daily_bin948.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/868140/Model_4FGL_J2325.4-3559_daily_bin948.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/868140/ft1_filtered_4FGL_J2325.4-3559_daily_bin948.fits.....................!
real 41.03
user 39.03
sys 1.27

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    29.089       1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.1835       1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.9942       1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.5310       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .17845E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    2.8372       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .40103       1.0000         .10000E-03   10000.    
    11 'Prefactor '    6.0628       1.0000         .10000E-03   10000.    
    12 'norm      '    .10085E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .20519E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.6607       1.0000         .10000E-03   10000.    
    15 'norm      '    24.365       1.0000         .10000E-03   10000.    
    16 'norm      '    1.0881       1.0000         .10000E-03   10000.    
    17 'norm      '    3.7753       1.0000         .10000E-03   10000.    
    18 'Prefactor '    53.920       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .67682       1.0000         .10000E-03   10000.    
    20 'norm      '    9.6754       1.0000         .10000E-03   10000.    
    21 'Prefactor '    3.7651       1.0000         .10000E-03   10000.    
    22 'norm      '    2.0886       1.0000         .10000E-03   10000.    
    23 'Prefactor '    107.10       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10254E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    11.728       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10144E-03   1.0000         .10000E-03   10000.    
    28 'Normalizat'    .86536       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .90928       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=   5113.083     FROM MIGRAD    STATUS=CONVERGED   1318 CALLS     4331 TOTAL
                     EDM=   .55E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    20.451        .18142E-02** at limit **
   2  Prefactor     .10000E-03    .80311        .62560E-03** at limit **
   3  Prefactor     .10000E-03    4.8560        .15390E-02** at limit **
   4  Prefactor     29.091        27.090        .74283E-04   -.29079E-05
   5  Prefactor     4.1815        15.683        .19704E-03    .12982E-04
   6  Prefactor     2.9937        16.206        .23459E-03   -.98861E-05
   7  Prefactor     6.5256        13.654        .15704E-03    .11265E-03
   8  Prefactor     .10001E-03    19.233        .31177E-02** at limit **
   9  norm          2.8386        3.9567        .15029E-03    .52776E-03
  10  Prefactor     .40953        99.628        .40385E-02    .36580E-03
  11  Prefactor     6.0679        11.669        .16306E-03    .72447E-03
  12  norm          .10000E-03    .37392        .66575E-03** at limit **
  13  Prefactor     .10001E-03    263.26        .18142E-02** at limit **
  14  Prefactor     5.6613        5.5872        .80039E-03    .39280E-03
  15  norm          24.365        16.510        .81152E-04   -.91060E-05
  16  norm          1.0860        12.298        .40623E-03   -.20094E-04
  17  norm          3.7747        6.0248        .20777E-03    .83718E-05
  18  Prefactor     53.920        48.569        .54623E-04    .31011E-04
  19  Prefactor     .62119        260.55        .62187E-02   -.85363E-04
  20  norm          9.6771        6.6529        .11230E-03    .14041E-03
  21  Prefactor     3.7640        14.314        .20806E-03   -.10873E-04
  22  norm          2.0885        2.3355        .11176E-03    .57068E-04
  23  Prefactor     107.10        82.580        .38860E-04   -.18138E-05
  24  Prefactor     .10000E-03    95.439        .18142E-02** at limit **
  25  Prefactor     11.728        8.0967        .11698E-03    .16133E-04
  26  Prefactor     .10000E-03    3.7551        .13463E-02** at limit **
  27  Prefactor     .10000E-03    86.312        .18142E-02** at limit **
  28  Normalizat    .86539        .22058        .23192E-03    .27608E-03
  29  Prefactor     .90923        .22957        .25082E-03    .91832E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 29.0912
  Prefactor  = 4.18147
  Prefactor  = 2.99366
  Prefactor  = 6.52561
  Prefactor  = 0.000100006
  norm       = 2.83855
  Prefactor  = 0.409527
  Prefactor  = 6.06785
  norm       = 0.0001
  Prefactor  = 0.000100006
  Prefactor  = 5.66128
  norm       = 24.3654
  norm       = 1.08602
  norm       = 3.77472
  Prefactor  = 53.92
  Prefactor  = 0.621189
  norm       = 9.67711
  Prefactor  = 3.76403
  norm       = 2.08851
  Prefactor  = 107.1
  Prefactor  = 0.000100002
  Prefactor  = 11.7284
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.865387
  Prefactor  = 0.909234
 **********
 **   18 **HESSE 
 **********

 FCN=   5113.083     FROM HESSE     STATUS=OK           527 CALLS     4858 TOTAL
                     EDM=   .46E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    20.451        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    .80311        .12512E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    4.8560        .30779E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     29.091        27.098        .29713E-05   -1.4629    
   5  Prefactor     4.1815        15.680        .78817E-05   -1.5299    
   6  Prefactor     2.9937        16.202        .93837E-05   -1.5362    
   7  Prefactor     6.5256        13.639        .62814E-05   -1.5197    
   8  Prefactor     .10001E-03    19.476        .62354E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          2.8386        3.9505        .60118E-05   -1.5371    
  10  Prefactor     .40953        79.474        .16154E-03   -1.5580    
  11  Prefactor     6.0679        10.418        .65224E-05   -1.5215    
  12  norm          .10000E-03    .37406        .13315E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10001E-03    263.48        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     5.6613        5.5839        .32016E-04   -1.5232    
  15  norm          24.365        16.510        .32461E-05   -1.4720    
  16  norm          1.0860        12.235        .16249E-04   -1.5500    
  17  norm          3.7747        6.0225        .83108E-05   -1.5319    
  18  Prefactor     53.920        48.578        .21849E-05   -1.4238    
  19  Prefactor     .62119        266.20        .24875E-03   -1.5550    
  20  norm          9.6771        6.6421        .44922E-05   -1.5086    
  21  Prefactor     3.7640        14.311        .83225E-05   -1.5320    
  22  norm          2.0885        2.3355        .44703E-05   -1.5419    
  23  Prefactor     107.10        82.578        .77720E-05   -1.3634    
  24  Prefactor     .10000E-03    95.462        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     11.728        8.0953        .46791E-05   -1.5023    
  26  Prefactor     .10000E-03    3.7559        .26925E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    86.343        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    .86539        .21987        .46384E-04   -.97687    
  29  Prefactor     .90923        .22909        .10033E-04   -.95819    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.62974e-09
Minuit parameter uncertainties:
  1  2.23556e-05
  2  3.26034e-07
  3  4.46578e-07
  4  27.1097
  5  15.6955
  6  13.9344
  7  13.6456
  8  0.000665368
  9  3.95084
  10  11.4239
  11  10.4213
  12  2.40143e-05
  13  0.00252018
  14  5.58445
  15  16.5127
  16  7.29205
  17  6.02347
  18  48.6137
  19  25.833
  20  6.64256
  21  14.3241
  22  2.33557
  23  82.6671
  24  0.000931833
  25  8.09602
  26  1.94678e-06
  27  0.000354197
  28  0.220096
  29  0.229335
Done.

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

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  3.775e+00  6.023e+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.092e-01  2.293e-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.654e-01  2.201e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/868140/likelihoodResults_485049601_485308801_4FGL_J2325.4-3559_daily_bin948.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) = 5112.98593616
delta logL = 0.096938428379

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5112.98487713
delta logL = 0.0979974585616

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.9421       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6044       1.0000          .0000       5.0000    
     3 'Normalizat'    .87199       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90320       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=   5112.985     FROM MIGRAD    STATUS=CONVERGED     44 CALLS      187 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.9422        5.8940        .50793E-02   -.37553E-02
   2  alpha         1.6027        1.0409        .45119E-01   -.13174E-04
   3  Normalizat    .87198        .16970        .44543E-01    .94902E-05
   4  Prefactor     .90322        .18901        .45046E-01    .16509E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.94223
  alpha      = 1.60273
  Normalizat = 0.871982
  Prefactor  = 0.90322
 **********
 **   18 **HESSE 
 **********

 FCN=   5112.985     FROM HESSE     STATUS=OK            29 CALLS      216 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.9422        5.9476        .19860E-03   -1.5311    
   2  alpha         1.6027        1.0525        .18047E-02   -.36710    
   3  Normalizat    .87198        .19909        .23111E-03   -.97452    
   4  Prefactor     .90322        .22181        .25152E-03   -.96029    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.39802e-08
Minuit parameter uncertainties:
  1  5.94853
  2  1.09196
  3  0.199259
  4  0.222032
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/868140': 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) = 5112.98487576
delta logL = 0.0979988306563

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  3.942e+00  5.949e+00  1.000e-04  1.000e+04 ( 1.000e-12)
426        alpha:  1.603e+00  1.092e+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:  9.032e-01  2.220e-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.720e-01  1.993e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.61
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/868140/cmap_HighResolution_485049601_485308801_4FGL_J2325.4-3559_daily_bin948.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.65e-05', job_status='DONE', photon_flux_upper_limit='6.61e-08', time_completed='2021-09-29 17:56:02.792588', job_id='868140', GAL2='0.90', fit_tolerance='1e-08', EG2='0.87', EG='0.87', time_epoch_completed='1632963362.79', return_code2='0', ts='0.61', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='9.80e-02', ts2='0.81', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='948' AND source_name='4FGL J2325.4-3559' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 17:56:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0272>
Subject: Job 868140: <4FGL_J2325.4-3559_daily_bin948> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-3559_daily_bin948 351.359 -35.9878 485049601 485308801 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 :                                   757.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             312.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   931 sec.
    Turnaround time :                            933 sec.

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

