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


Performing analysis on: 4FGL_J2325.4-3559_daily_bin889
RA = 351.359, Dec = -35.9878
tmin = 469756801, tmax = 470016001
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='868055', job_status='RUN', time_executed='2021-09-29 17:44:31.437349', time_epoch_executed='1632962671.44' WHERE source_name='4FGL J2325.4-3559' and cadence='daily' and bin_id='889'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/868055

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/868055/ft1_4FGL_J2325.4-3559_daily_bin889.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/868055/ft2_4FGL_J2325.4-3559_daily_bin889.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/868055/ft1_4FGL_J2325.4-3559_daily_bin889.fits outfile=/scratch/kocevski/868055/ft1_filteredMKT_4FGL_J2325.4-3559_daily_bin889.fits ra=351.359 dec=-35.9878 rad=12.0 tmin=469756801.0 tmax=470016001.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.46
user 3.24
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/868055/ft1_filtered_4FGL_J2325.4-3559_daily_bin889.fits" evtable="EVENTS" scfile=/scratch/kocevski/868055/ft2_4FGL_J2325.4-3559_daily_bin889.fits sctable="SC_DATA" outfile=/scratch/kocevski/868055/ltcube_469756801_470016001_4FGL_J2325.4-3559_daily_bin889.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/868055/ft2_4FGL_J2325.4-3559_daily_bin889.fits
.....................!
real 11.73
user 11.37
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/868055/ft1_filtered_4FGL_J2325.4-3559_daily_bin889.fits evtable="EVENTS" scfile=/scratch/kocevski/868055/ft2_4FGL_J2325.4-3559_daily_bin889.fits sctable="SC_DATA" expcube=/scratch/kocevski/868055/ltcube_469756801_470016001_4FGL_J2325.4-3559_daily_bin889.fits outfile=/scratch/kocevski/868055/expmap_469756801_470016001_4FGL_J2325.4-3559_daily_bin889.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/868055/ltcube_469756801_470016001_4FGL_J2325.4-3559_daily_bin889.fits
.....................!
real 190.16
user 184.74
sys 5.02

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/868055/ft1_filtered_4FGL_J2325.4-3559_daily_bin889.fits scfile=/scratch/kocevski/868055/ft2_4FGL_J2325.4-3559_daily_bin889.fits outfile=/scratch/kocevski/868055/cmap_469756801_470016001_4FGL_J2325.4-3559_daily_bin889.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.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/868055/ft1_filtered_4FGL_J2325.4-3559_daily_bin889.fits scfile=/scratch/kocevski/868055/ft2_4FGL_J2325.4-3559_daily_bin889.fits outfile=/scratch/kocevski/868055/cmap_HighResolution_469756801_470016001_4FGL_J2325.4-3559_daily_bin889.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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/868055/ft1_filtered_4FGL_J2325.4-3559_daily_bin889.fits evtable="EVENTS" scfile=/scratch/kocevski/868055/ft2_4FGL_J2325.4-3559_daily_bin889.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/868055/Model_4FGL_J2325.4-3559_daily_bin889.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/868055/ft1_filtered_4FGL_J2325.4-3559_daily_bin889.fits.....................!
real 46.40
user 45.09
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.375       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.5661       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10337E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.0634       1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.4085       1.0000         .10000E-03   10000.    
     7 'Prefactor '    10.254       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    1.7633       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.6363       1.0000         .10000E-03   10000.    
    12 'norm      '    .28299       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10110E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    11.719       1.0000         .10000E-03   10000.    
    15 'norm      '    .10020E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    6.8805       1.0000         .10000E-03   10000.    
    17 'norm      '    16.567       1.0000         .10000E-03   10000.    
    18 'Prefactor '    42.283       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10267E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .21433E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10155E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    7.7428       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .65695       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .21489E-03   1.0000         .10000E-03   10000.    
    28 'Normalizat'    .66029       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.0570       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=   6388.172     FROM MIGRAD    STATUS=CONVERGED    740 CALLS     3719 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.376        22.575        .14247E-06    .80209E-05
   2  Prefactor     1.5659        2.2624        .13615E-06   -.15447E-03
   3  Prefactor     .10000E-03    11.967        .36785E-06** at limit **
   4  Prefactor     .10000E-03    39.805        .58466E-05** at limit **
   5  Prefactor     3.0617        12.255        .41652E-05   -.63244E-03
   6  Prefactor     6.4064        16.301        .91584E-06   -.36125E-03
   7  Prefactor     10.253        8.1939        .37857E-08   -.44029E-04
   8  Prefactor     .10000E-03    3.0423        .10521E-07** at limit **
   9  norm          1.7632        2.0090        .80872E-07    .67724E-05
  10  Prefactor     .10000E-03    7.2382       -.56185E-07** at limit **
  11  Prefactor     3.6380        6.4210       -.36797E-06   -.26779E-03
  12  norm          .28294        .31438        .45161E-07    .35936E-03
  13  Prefactor     .10000E-03    62.331        .22598E-05** at limit **
  14  Prefactor     11.718        8.0917       -.18099E-06   -.11570E-03
  15  norm          .10000E-03    6.6049        .51996E-07** at limit **
  16  norm          6.8814        4.7733       -.33012E-06    .41916E-03
  17  norm          16.568        9.2969        .76979E-07    .72164E-04
  18  Prefactor     42.312        32.665        .31333E-05    .63489E-03
  19  Prefactor     .10000E-03    64.448        .69438E-05** at limit **
  20  norm          .10000E-03    2.2896       -.75324E-06** at limit **
  21  Prefactor     .10000E-03    11.935        .39615E-06** at limit **
  22  norm          .10000E-03    2.2453        .25170E-07** at limit **
  23  Prefactor     .10000E-03    16.485       -.18234E-06** at limit **
  24  Prefactor     .10000E-03    47.443       -.12000E-04** at limit **
  25  Prefactor     7.7442        4.7074       -.54973E-07   -.29452E-04
  26  Prefactor     .65626        3.4683        .59027E-06   -.43180E-03
  27  Prefactor     .10000E-03    130.89       -.20818E-05** at limit **
  28  Normalizat    .66017        .15402       -.12599E-05    .22601E-03
  29  Prefactor     1.0572        .16808        .17406E-06    .12947E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.376
  Prefactor  = 1.56591
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 3.06173
  Prefactor  = 6.40637
  Prefactor  = 10.2531
  Prefactor  = 0.0001
  norm       = 1.7632
  Prefactor  = 0.0001
  Prefactor  = 3.63796
  norm       = 0.28294
  Prefactor  = 0.0001
  Prefactor  = 11.7185
  norm       = 0.0001
  norm       = 6.88141
  norm       = 16.5681
  Prefactor  = 42.3122
  Prefactor  = 0.000100002
  norm       = 0.000100002
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100005
  Prefactor  = 7.7442
  Prefactor  = 0.656261
  Prefactor  = 0.0001
  Normalizat = 0.660166
  Prefactor  = 1.05724
 **********
 **   18 **HESSE 
 **********

 FCN=   6388.172     FROM HESSE     STATUS=OK           551 CALLS     4270 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.376        22.575        .10214E-03   -1.4924    
   2  Prefactor     1.5659        2.2426        .13973E-03   -1.5458    
   3  Prefactor     .10000E-03    12.060        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    39.911        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.0617        20.186        .11589E-02   -1.5358    
   6  Prefactor     6.4064        16.503        .79273E-03   -1.5202    
   7  Prefactor     10.253        8.1929        .12513E-03   -1.5067    
   8  Prefactor     .10000E-03    3.0804        .13611E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.7632        1.9926        .11305E-03   -1.5442    
  10  Prefactor     .10000E-03    7.2560        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.6380        6.2993        .21186E-03   -1.5326    
  12  norm          .28294        .30569        .41350E-04   -1.5602    
  13  Prefactor     .10000E-03    62.654        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     11.718        8.0404        .11702E-03   -1.5023    
  15  norm          .10000E-03    6.6752        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          6.8814        4.7302        .13719E-03   -1.5183    
  17  norm          16.568        9.2991        .98400E-04   -1.4894    
  18  Prefactor     42.312        31.093        .61649E-04   -1.4406    
  19  Prefactor     .10000E-03    65.129        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    11.759        .20510E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    12.062        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    2.2765        .11668E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    16.487        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    47.193        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     7.7442        4.7188        .12863E-03   -1.5151    
  26  Prefactor     .65626        3.7237        .29405E-03   -1.5546    
  27  Prefactor     .10000E-03    134.84        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    .66017        .18083        .24276E-03   -1.0549    
  29  Prefactor     1.0572        .19770        .22428E-03   -.90845    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.11423e-09
Minuit parameter uncertainties:
  1  22.5875
  2  2.2427
  3  1.92977e-05
  4  0.000445827
  5  15.7306
  6  16.5151
  7  8.19382
  8  4.45458e-07
  9  1.99266
  10  2.29314e-05
  11  6.30044
  12  0.305695
  13  0.00023302
  14  8.04114
  15  9.54095e-07
  16  4.7305
  17  9.29994
  18  31.105
  19  0.0006907
  20  0.000297811
  21  1.05796e-05
  22  1.65004e-05
  23  6.25888e-06
  24  0.000933245
  25  4.71907
  26  3.12655
  27  0.000198055
  28  0.180997
  29  0.197839
Done.

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

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  1.657e+01  9.300e+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:  1.057e+00  1.978e-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:  6.602e-01  1.810e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.25
Ra Dec: 351.359 -35.988
Photon Index (Fixed Index): 2.13 +/- 0.00
Photon Flux (Fixed Index): 5.16e-08 +/- 2.89e-08
Energy Flux (Fixed Index): 2.07e-05 +/- 1.16e-05

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) = 6387.65319779
delta logL = 0.519037421018

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6387.64308222
delta logL = 0.529152988353

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    12.512       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.7362       1.0000          .0000       5.0000    
     3 'Normalizat'    .63011       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0806       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6387.643     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      303 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          12.532        9.1966        .56622E-03   -.21162E-04
   2  alpha         2.7376        .61121        .11805E-01    .20941E-03
   3  Normalizat    .63023        .17278        .24791E-03   -.96762E-05
   4  Prefactor     1.0801        .19705        .22209E-03   -.25390E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 12.532
  alpha      = 2.73762
  Normalizat = 0.630225
  Prefactor  = 1.0801
 **********
 **   18 **HESSE 
 **********

 FCN=   6387.643     FROM HESSE     STATUS=OK            27 CALLS      330 TOTAL
                     EDM=   .14E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          12.532        8.7136        .22649E-04   -1.5000    
   2  alpha         2.7376        .57940        .23610E-02    .95192E-01
   3  Normalizat    .63023        .17286        .99162E-05   -1.0672    
   4  Prefactor     1.0801        .19708        .88836E-05   -.90105    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.39093e-12
Minuit parameter uncertainties:
  1  8.7145
  2  0.58477
  3  0.173009
  4  0.197213
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/868055': 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) = 6387.64305794
delta logL = 0.529177267046

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  1.253e+01  8.715e+00  1.000e-04  1.000e+04 ( 1.000e-12)
426        alpha:  2.738e+00  5.848e-01  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.080e+00  1.972e-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:  6.302e-01  1.730e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.29
Ra Dec: 351.359 -35.988
Photon Index (Free Index): 2.74 +/- 0.58
Photon Flux (Free Index): 7.21e-08 +/- 3.86e-08
Energy Flux (Free Index): 1.78e-05 +/- 9.37e-06

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/868055/cmap_HighResolution_469756801_470016001_4FGL_J2325.4-3559_daily_bin889.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.16e-08', energy_flux2='1.78e-05', photon_flux_error='2.89e-08', dlogl='5.29e-01', energy_flux='2.07e-05', photon_flux2='7.21e-08', job_status='DONE', time_completed='2021-09-29 17:56:44.740715', photon_index_error2='0.58', photon_index2='2.74', ts='5.25', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', energy_flux_error2='9.37e-06', EG='0.66', time_epoch_completed='1632963404.74', return_code='0', job_id='868055', GAL2='1.08', EG2='0.63', return_code2='0', energy_flux_error='1.16e-05', photon_flux_error2='3.86e-08', ts2='6.29', photon_index='2.13' WHERE bin_id='889' AND source_name='4FGL J2325.4-3559' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 17:56:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0235>
Subject: Job 868055: <4FGL_J2325.4-3559_daily_bin889> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-3559_daily_bin889 351.359 -35.9878 469756801 470016001 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 :                                   729.12 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             265.29 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   978 sec.
    Turnaround time :                            980 sec.

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

