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


Performing analysis on: 4FGL_J2325.4-3559_daily_bin1402
RA = 351.359, Dec = -35.9878
tmin = 602726401, tmax = 602985601
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='869803', job_status='RUN', time_executed='2021-09-29 17:47:34.912404', time_epoch_executed='1632962854.91' WHERE source_name='4FGL J2325.4-3559' and cadence='daily' and bin_id='1402'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/869803

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/869803/ft1_4FGL_J2325.4-3559_daily_bin1402.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/869803/ft2_4FGL_J2325.4-3559_daily_bin1402.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/869803/ft1_4FGL_J2325.4-3559_daily_bin1402.fits outfile=/scratch/kocevski/869803/ft1_filteredMKT_4FGL_J2325.4-3559_daily_bin1402.fits ra=351.359 dec=-35.9878 rad=12.0 tmin=602726401.0 tmax=602985601.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.10
user 2.88
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/869803/ft1_filtered_4FGL_J2325.4-3559_daily_bin1402.fits" evtable="EVENTS" scfile=/scratch/kocevski/869803/ft2_4FGL_J2325.4-3559_daily_bin1402.fits sctable="SC_DATA" outfile=/scratch/kocevski/869803/ltcube_602726401_602985601_4FGL_J2325.4-3559_daily_bin1402.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/869803/ft2_4FGL_J2325.4-3559_daily_bin1402.fits
.....................!
real 12.07
user 11.73
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/869803/ft1_filtered_4FGL_J2325.4-3559_daily_bin1402.fits evtable="EVENTS" scfile=/scratch/kocevski/869803/ft2_4FGL_J2325.4-3559_daily_bin1402.fits sctable="SC_DATA" expcube=/scratch/kocevski/869803/ltcube_602726401_602985601_4FGL_J2325.4-3559_daily_bin1402.fits outfile=/scratch/kocevski/869803/expmap_602726401_602985601_4FGL_J2325.4-3559_daily_bin1402.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/869803/ltcube_602726401_602985601_4FGL_J2325.4-3559_daily_bin1402.fits
.....................!
real 189.68
user 185.29
sys 4.01

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/869803/ft1_filtered_4FGL_J2325.4-3559_daily_bin1402.fits scfile=/scratch/kocevski/869803/ft2_4FGL_J2325.4-3559_daily_bin1402.fits outfile=/scratch/kocevski/869803/cmap_602726401_602985601_4FGL_J2325.4-3559_daily_bin1402.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.55
user 0.40
sys 0.12

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    46.613       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1366.6       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10071E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .11050E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.2603       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10388E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10091E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    21.264       1.0000         .10000E-03   10000.    
    12 'norm      '    2.1318       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10144E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10074E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10064E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    2.5146       1.0000         .10000E-03   10000.    
    17 'norm      '    3.3286       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10555E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    64.953       1.0000         .10000E-03   10000.    
    20 'norm      '    .12238E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    22.570       1.0000         .10000E-03   10000.    
    22 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    20.768       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    6.6491       1.0000         .10000E-03   10000.    
    26 'Prefactor '    2.1519       1.0000         .10000E-03   10000.    
    27 'Prefactor '    108.64       1.0000         .10000E-03   10000.    
    28 'Normalizat'    .76212       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.0439       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=   2431.732     FROM MIGRAD    STATUS=CONVERGED    709 CALLS     3776 TOTAL
                     EDM=   .85E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    21.942        .14664E-05** at limit **
   2  Prefactor     .10000E-03    1.6844        .31259E-06** at limit **
   3  Prefactor     46.617        30.505        .40252E-05   -.35192E-04
   4  Prefactor     1367.0        1008.5        .11746E-03   -.35397E-04
   5  Prefactor     .10000E-03    41.056       -.12311E-04** at limit **
   6  Prefactor     .10000E-03    63.216        .39717E-04** at limit **
   7  Prefactor     7.1550        55.600       -.12693E-05    .34718E-05
   8  Prefactor     .10001E-03    34.852        .26884E-04** at limit **
   9  norm          .10000E-03    3.9662        .13683E-07** at limit **
  10  Prefactor     .10000E-03    27.678       -.10710E-04** at limit **
  11  Prefactor     21.324        35.068        .40702E-05    .32024E-03
  12  norm          2.1271        2.5042       -.18050E-06    .19181E-02
  13  Prefactor     .10000E-03    58.610       -.28329E-05** at limit **
  14  Prefactor     .10000E-03    49.786       -.44437E-04** at limit **
  15  norm          .10000E-03    10.006        .19708E-07** at limit **
  16  norm          2.5155        6.4360        .10016E-06   -.38721E-03
  17  norm          3.3269        11.915        .42531E-05   -.10419E-03
  18  Prefactor     .10000E-03    38.787        .47363E-05** at limit **
  19  Prefactor     64.910        75.601       -.33698E-04   -.35155E-04
  20  norm          .10000E-03    4.8540        .90250E-06** at limit **
  21  Prefactor     22.586        20.410       -.50523E-05   -.19546E-04
  22  norm          .10000E-03    1.7555        .66980E-07** at limit **
  23  Prefactor     20.971        333.84        .40115E-03    .18418E-04
  24  Prefactor     .10000E-03    39.288        .10754E-05** at limit **
  25  Prefactor     6.6496        7.9252        .11171E-04   -.36553E-04
  26  Prefactor     2.1515        4.4109        .81878E-06   -.19648E-03
  27  Prefactor     108.58        75.909       -.40068E-04   -.75318E-04
  28  Normalizat    .76146        .27805       -.82116E-05   -.75114E-04
  29  Prefactor     1.0448        .30246       -.56418E-05    .23509E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 46.6165
  Prefactor  = 1367.04
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.15495
  Prefactor  = 0.000100008
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 21.3241
  norm       = 2.12709
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 2.51548
  norm       = 3.32692
  Prefactor  = 0.0001
  Prefactor  = 64.9102
  norm       = 0.000100002
  Prefactor  = 22.5863
  norm       = 0.0001
  Prefactor  = 20.9711
  Prefactor  = 0.0001
  Prefactor  = 6.64959
  Prefactor  = 2.15146
  Prefactor  = 108.579
  Normalizat = 0.761464
  Prefactor  = 1.04477
 **********
 **   18 **HESSE 
 **********

 FCN=   2431.732     FROM HESSE     STATUS=OK           547 CALLS     4323 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    21.949        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    1.6898        .62473E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     46.617        30.494        .58728E-04   -1.4341    
   4  Prefactor     1367.0        1006.7        .58225E-04   -.81335    
   5  Prefactor     .10000E-03    41.055        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    63.184        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     7.1550        55.501        .14886E-03   -1.5173    
   8  Prefactor     .10001E-03    35.132        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    3.9668        .95909E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    27.690        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     21.324        38.195        .86861E-04   -1.4784    
  12  norm          2.1271        2.7097        .57070E-04   -1.5416    
  13  Prefactor     .10000E-03    58.617        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    49.974        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    10.008        .15237E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          2.5155        6.2211        .18810E-03   -1.5391    
  17  norm          3.3269        11.884        .22186E-03   -1.5343    
  18  Prefactor     .10000E-03    38.826        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     64.910        75.725        .24898E-03   -1.4095    
  20  norm          .10000E-03    8.4214        .20401E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     22.586        20.412        .84312E-04   -1.4757    
  22  norm          .10000E-03    1.7593        .63790E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     20.971        332.34        .87890E-04   -1.4792    
  24  Prefactor     .10000E-03    39.303        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     6.6496        7.9123        .13950E-03   -1.5192    
  26  Prefactor     2.1515        4.3842        .14322E-03   -1.5415    
  27  Prefactor     108.58        76.049        .19293E-03   -1.3620    
  28  Normalizat    .76146        .33165        .25961E-03   -1.0151    
  29  Prefactor     1.0448        .36281        .25462E-03   -.91252    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.69405e-09
Minuit parameter uncertainties:
  1  5.62198e-05
  2  3.76717e-05
  3  30.5038
  4  1021.68
  5  1.29171e-05
  6  0.000200142
  7  39.9061
  8  0.00107017
  9  7.20561e-07
  10  4.48665e-05
  11  38.2386
  12  2.7099
  13  2.04716e-05
  14  1.34845e-05
  15  1.12206e-05
  16  6.22273
  17  11.8927
  18  9.26853e-05
  19  75.8379
  20  0.000238332
  21  20.4179
  22  7.13162e-06
  23  168.087
  24  9.22481e-05
  25  7.9135
  26  4.38481
  27  76.1174
  28  0.332529
  29  0.363669
Done.

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

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  3.327e+00  1.189e+01  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:  1.045e+00  3.637e-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:  7.615e-01  3.325e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.10
Ra Dec: 351.359 -35.988
Photon Flux Upper Limit: 1.18e-07 ph cm-2 s-1
Energy Flux Upper Limit: 4.72e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/869803/likelihoodResults_602726401_602985601_4FGL_J2325.4-3559_daily_bin1402.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) = 2431.56653405
delta logL = 0.165868447079

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2431.55607942
delta logL = 0.17632307638

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.5434       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.8786       1.0000          .0000       5.0000    
     3 'Normalizat'    .72233       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0737       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=   2431.556     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      240 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5499        106.67        .85773E-02    .21721E-03
   2  alpha         3.8798        2.9278        .50000        .16314E-04
   3  Normalizat    .72209        .73677E-01    .42588E-01    .26302E-05
   4  Prefactor     1.0740        .82713E-01    .56852E-01   -.10513E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.54994
  alpha      = 3.87984
  Normalizat = 0.722089
  Prefactor  = 1.074
 **********
 **   18 **HESSE 
 **********

 FCN=   2431.556     FROM HESSE     STATUS=OK            31 CALLS      271 TOTAL
                     EDM=   .20E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5499        5.5104        .10028E-03   -1.5459    
   2  alpha         3.8798        3.9779        .27899E-02    .58469    
   3  Normalizat    .72209        .31795        .26591E-03   -1.0303    
   4  Prefactor     1.0740        .35603        .25139E-03   -.90302    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.03278e-12
Minuit parameter uncertainties:
  1  5.51223
  2  2.64075
  3  0.318765
  4  0.356816
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/869803': 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) = 2431.55607307
delta logL = 0.176329417789

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  1.550e+00  5.512e+00  1.000e-04  1.000e+04 ( 1.000e-12)
426        alpha:  3.880e+00  2.641e+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:  1.074e+00  3.568e-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:  7.221e-01  3.188e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.10
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/869803/cmap_HighResolution_602726401_602985601_4FGL_J2325.4-3559_daily_bin1402.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.72e-05', job_status='DONE', photon_flux_upper_limit='1.18e-07', time_completed='2021-09-29 17:59:26.796089', job_id='869803', GAL2='1.07', fit_tolerance='1e-08', EG2='0.72', EG='0.76', time_epoch_completed='1632963566.8', return_code2='0', ts='0.10', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='1.76e-01', ts2='0.46', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='1402' AND source_name='4FGL J2325.4-3559' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 17:59:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0259>
Subject: Job 869803: <4FGL_J2325.4-3559_daily_bin1402> in cluster <slac> Done

Job <4FGL_J2325.4-3559_daily_bin1402> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 17:45:50 2021
Job was executed on host(s) <bullet0259>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 17:45:51 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:45:51 2021
Terminated at Wed Sep 29 17:59:27 2021
Results reported at Wed Sep 29 17:59:27 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-3559_daily_bin1402 351.359 -35.9878 602726401 602985601 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 :                                   509.26 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             278.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   816 sec.
    Turnaround time :                            817 sec.

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

