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


Performing analysis on: 4FGL_J2325.4-3559_daily_bin1009
RA = 351.359, Dec = -35.9878
tmin = 500860801, tmax = 501120001
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='868226', job_status='RUN', time_executed='2021-09-29 17:42:57.148539', time_epoch_executed='1632962577.15' WHERE source_name='4FGL J2325.4-3559' and cadence='daily' and bin_id='1009'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/868226

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/868226/ft1_4FGL_J2325.4-3559_daily_bin1009.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/868226/ft2_4FGL_J2325.4-3559_daily_bin1009.fits


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

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

Done.
real 4.51
user 4.30
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/868226/ft1_filtered_4FGL_J2325.4-3559_daily_bin1009.fits" evtable="EVENTS" scfile=/scratch/kocevski/868226/ft2_4FGL_J2325.4-3559_daily_bin1009.fits sctable="SC_DATA" outfile=/scratch/kocevski/868226/ltcube_500860801_501120001_4FGL_J2325.4-3559_daily_bin1009.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/868226/ft2_4FGL_J2325.4-3559_daily_bin1009.fits
.....................!
real 11.89
user 11.56
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/868226/ft1_filtered_4FGL_J2325.4-3559_daily_bin1009.fits evtable="EVENTS" scfile=/scratch/kocevski/868226/ft2_4FGL_J2325.4-3559_daily_bin1009.fits sctable="SC_DATA" expcube=/scratch/kocevski/868226/ltcube_500860801_501120001_4FGL_J2325.4-3559_daily_bin1009.fits outfile=/scratch/kocevski/868226/expmap_500860801_501120001_4FGL_J2325.4-3559_daily_bin1009.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/868226/ltcube_500860801_501120001_4FGL_J2325.4-3559_daily_bin1009.fits
.....................!
real 188.77
user 184.73
sys 3.73

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/868226/ft1_filtered_4FGL_J2325.4-3559_daily_bin1009.fits scfile=/scratch/kocevski/868226/ft2_4FGL_J2325.4-3559_daily_bin1009.fits outfile=/scratch/kocevski/868226/cmap_500860801_501120001_4FGL_J2325.4-3559_daily_bin1009.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.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/868226/ft1_filtered_4FGL_J2325.4-3559_daily_bin1009.fits scfile=/scratch/kocevski/868226/ft2_4FGL_J2325.4-3559_daily_bin1009.fits outfile=/scratch/kocevski/868226/cmap_HighResolution_500860801_501120001_4FGL_J2325.4-3559_daily_bin1009.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.55
user 0.38
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    221.27       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10062E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    102.42       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10077E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    9.7789       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.5526       1.0000         .10000E-03   10000.    
    12 'norm      '    .10156E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    9.5286       1.0000         .10000E-03   10000.    
    17 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10173E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10222E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    23.039       1.0000         .10000E-03   10000.    
    22 'norm      '    3.2343       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10077E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    12.560       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    20.982       1.0000         .10000E-03   10000.    
    28 'Normalizat'    1.2278       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .64591       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=   3429.164     FROM MIGRAD    STATUS=CONVERGED    718 CALLS     3662 TOTAL
                     EDM=   .38E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     221.28        106.99        .37600E-05    .66172E-06
   2  Prefactor     .10000E-03    2.9958       -.18657E-08** at limit **
   3  Prefactor     .10000E-03    10.745        .10557E-04** at limit **
   4  Prefactor     .10000E-03    30.651       -.30428E-04** at limit **
   5  Prefactor     102.41        40.337       -.11212E-05   -.23207E-04
   6  Prefactor     .10000E-03    13.131       -.64354E-05** at limit **
   7  Prefactor     .10000E-03    45.059        .12503E-04** at limit **
   8  Prefactor     .10000E-03    3.9797       -.43762E-07** at limit **
   9  norm          9.7801        13.099        .12175E-05    .26559E-03
  10  Prefactor     .10000E-03    39.965       -.18315E-04** at limit **
  11  Prefactor     4.5684        21.782       -.23261E-05    .51497E-04
  12  norm          .10000E-03    .76731        .13211E-06** at limit **
  13  Prefactor     .10000E-03    22.477        .94245E-05** at limit **
  14  Prefactor     .10000E-03    6.7381       -.74484E-06** at limit **
  15  norm          .10000E-03    9.2524       -.59552E-05** at limit **
  16  norm          9.5264        9.1987       -.12554E-06   -.48240E-04
  17  norm          .10000E-03    14.767       -.59783E-05** at limit **
  18  Prefactor     .10000E-03    114.08       -.16985E-04** at limit **
  19  Prefactor     .10000E-03    21.344        .13372E-04** at limit **
  20  norm          .10000E-03    7.1168        .16980E-05** at limit **
  21  Prefactor     23.035        19.977        .49663E-06    .28367E-04
  22  norm          3.2337        3.5442        .19725E-06    .57374E-03
  23  Prefactor     .10000E-03    51.391        .38230E-04** at limit **
  24  Prefactor     .10000E-03    115.48       -.20307E-04** at limit **
  25  Prefactor     12.559        8.5729       -.67512E-06   -.93787E-03
  26  Prefactor     .10000E-03    4.2919       -.94809E-07** at limit **
  27  Prefactor     20.984        53.109        .34030E-05    .21825E-05
  28  Normalizat    1.2279        .23961       -.58817E-07    .52745E-04
  29  Prefactor     .64578        .24832       -.16854E-06    .55230E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 221.278
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 102.414
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 9.7801
  Prefactor  = 0.0001
  Prefactor  = 4.56838
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 9.52635
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 23.0349
  norm       = 3.2337
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.5593
  Prefactor  = 0.0001
  Prefactor  = 20.9841
  Normalizat = 1.22788
  Prefactor  = 0.645779
 **********
 **   18 **HESSE 
 **********

 FCN=   3429.164     FROM HESSE     STATUS=OK           541 CALLS     4203 TOTAL
                     EDM=   .79E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     221.28        107.21        .13596E-03   -1.2722    
   2  Prefactor     .10000E-03    3.0146        .98911E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    10.744        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    30.622        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     102.41        40.376        .39730E-04   -1.3680    
   6  Prefactor     .10000E-03    13.144        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    46.579        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    3.9891        .11408E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          9.7801        12.729        .12814E-03   -1.5082    
  10  Prefactor     .10000E-03    40.217        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     4.5684        19.278        .18867E-03   -1.5280    
  12  norm          .10000E-03    .99270        .87066E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    22.477        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    6.7417        .14834E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    9.2660        .17396E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          9.5264        9.1338        .12982E-03   -1.5091    
  17  norm          .10000E-03    15.098        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    115.10        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    21.346        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    7.2285        .30258E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     23.035        19.997        .83451E-04   -1.4748    
  22  norm          3.2337        3.5459        .56063E-03   -1.5348    
  23  Prefactor     .10000E-03    51.350        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    115.81        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     12.559        8.6123        .56513E-03   -1.4999    
  26  Prefactor     .10000E-03    4.3341        .11846E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     20.984        53.254        .87441E-04   -1.4791    
  28  Normalizat    1.2279        .29083        .22221E-03   -.85746    
  29  Prefactor     .64578        .29867        .31193E-03   -1.0569    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.92659e-10
Minuit parameter uncertainties:
  1  107.307
  2  4.64234e-06
  3  3.208e-06
  4  1.12036e-05
  5  40.3867
  6  1.40299e-05
  7  0.000223711
  8  2.76337e-06
  9  12.7327
  10  0.000177153
  11  18.7793
  12  1.51395e-05
  13  1.52886e-06
  14  1.36043e-05
  15  2.45899e-06
  16  9.1351
  17  5.4617e-05
  18  0.000112713
  19  1.23874e-06
  20  6.86401e-06
  21  20.0027
  22  3.54611
  23  1.53212e-06
  24  1.68268e-05
  25  8.6131
  26  2.65731e-06
  27  53.3746
  28  0.291212
  29  0.29941
Done.

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

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  1.000e-04  5.462e-05  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.458e-01  2.994e-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.228e+00  2.912e-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: 7.89e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.16e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/868226/likelihoodResults_500860801_501120001_4FGL_J2325.4-3559_daily_bin1009.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) = 3429.16388566
delta logL = -0.000315585259614

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3429.16357012
delta logL = -5.00958776684e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10509E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1591       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2279       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .64576       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=   3429.164     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      207 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    16.779        .90712E-02** at limit **
   2  alpha         2.1915        3.4881        .41646       -.10496E-04
   3  Normalizat    1.2279        .22935        .50261E-01    .45621E-04
   4  Prefactor     .64578        .24172        .70478E-01    .56316E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100002
  alpha      = 2.19154
  Normalizat = 1.22788
  Prefactor  = 0.645779
 **********
 **   18 **HESSE 
 **********

 FCN=   3429.164     FROM HESSE     STATUS=OK            27 CALLS      234 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    16.302        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.1915        3.4729        .16658       -.12370    
   3  Normalizat    1.2279        .27319        .22221E-03   -.85746    
   4  Prefactor     .64578        .28739        .31193E-03   -1.0569    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.12368e-10
Minuit parameter uncertainties:
  1  0.000325569
  2  2.48099
  3  0.273508
  4  0.288044
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/868226': 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) = 3429.16356981
delta logL = 2.61312834482e-07

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  1.000e-04  3.256e-04  1.000e-04  1.000e+04 ( 1.000e-12)
426        alpha:  2.192e+00  2.481e+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:  6.458e-01  2.880e-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.228e+00  2.735e-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/868226/cmap_HighResolution_500860801_501120001_4FGL_J2325.4-3559_daily_bin1009.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.16e-05', job_status='DONE', photon_flux_upper_limit='7.89e-08', time_completed='2021-09-29 17:52:51.507126', job_id='868226', GAL2='0.65', fit_tolerance='1e-08', EG2='1.23', EG='1.23', time_epoch_completed='1632963171.51', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.65', dlogl='2.61e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='1009' AND source_name='4FGL J2325.4-3559' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 17:52:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0278>
Subject: Job 868226: <4FGL_J2325.4-3559_daily_bin1009> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-3559_daily_bin1009 351.359 -35.9878 500860801 501120001 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 :                                   587.16 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             301.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   733 sec.
    Turnaround time :                            735 sec.

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

