/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 148 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 = 7396
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2325.4-3559_daily_bin215
RA = 351.359, Dec = -35.9878
tmin = 295056001, tmax = 295315201
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='864264', job_status='RUN', time_executed='2021-09-29 17:28:13.401250', time_epoch_executed='1632961693.4' WHERE source_name='4FGL J2325.4-3559' and cadence='daily' and bin_id='215'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/864264

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/864264/ft1_4FGL_J2325.4-3559_daily_bin215.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/864264/ft2_4FGL_J2325.4-3559_daily_bin215.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/864264/ft1_4FGL_J2325.4-3559_daily_bin215.fits outfile=/scratch/kocevski/864264/ft1_filteredMKT_4FGL_J2325.4-3559_daily_bin215.fits ra=351.359 dec=-35.9878 rad=12.0 tmin=295056001.0 tmax=295315201.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 2.57
user 2.37
sys 0.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/864264/ft2_4FGL_J2325.4-3559_daily_bin215.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/864264/ft1_filteredMKT_4FGL_J2325.4-3559_daily_bin215.fits evtable="EVENTS" outfile="/scratch/kocevski/864264/ft1_filtered_4FGL_J2325.4-3559_daily_bin215.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/864264/ft1_filtered_4FGL_J2325.4-3559_daily_bin215.fits" evtable="EVENTS" scfile=/scratch/kocevski/864264/ft2_4FGL_J2325.4-3559_daily_bin215.fits sctable="SC_DATA" outfile=/scratch/kocevski/864264/ltcube_295056001_295315201_4FGL_J2325.4-3559_daily_bin215.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/864264/ft2_4FGL_J2325.4-3559_daily_bin215.fits
.....................!
real 11.76
user 11.41
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/864264/ft1_filtered_4FGL_J2325.4-3559_daily_bin215.fits evtable="EVENTS" scfile=/scratch/kocevski/864264/ft2_4FGL_J2325.4-3559_daily_bin215.fits sctable="SC_DATA" expcube=/scratch/kocevski/864264/ltcube_295056001_295315201_4FGL_J2325.4-3559_daily_bin215.fits outfile=/scratch/kocevski/864264/expmap_295056001_295315201_4FGL_J2325.4-3559_daily_bin215.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/864264/ltcube_295056001_295315201_4FGL_J2325.4-3559_daily_bin215.fits
.....................!
real 192.12
user 186.18
sys 5.58

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/864264/ft1_filtered_4FGL_J2325.4-3559_daily_bin215.fits scfile=/scratch/kocevski/864264/ft2_4FGL_J2325.4-3559_daily_bin215.fits outfile=/scratch/kocevski/864264/cmap_295056001_295315201_4FGL_J2325.4-3559_daily_bin215.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/864264/ft1_filtered_4FGL_J2325.4-3559_daily_bin215.fits scfile=/scratch/kocevski/864264/ft2_4FGL_J2325.4-3559_daily_bin215.fits outfile=/scratch/kocevski/864264/cmap_HighResolution_295056001_295315201_4FGL_J2325.4-3559_daily_bin215.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.36
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/864264/ft1_filtered_4FGL_J2325.4-3559_daily_bin215.fits evtable="EVENTS" scfile=/scratch/kocevski/864264/ft2_4FGL_J2325.4-3559_daily_bin215.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/864264/Model_4FGL_J2325.4-3559_daily_bin215.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/864264/ft1_filtered_4FGL_J2325.4-3559_daily_bin215.fits.....................!
real 47.02
user 45.65
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    31.067       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .43636       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    40.378       1.0000         .10000E-03   10000.    
     5 'Prefactor '    13.087       1.0000         .10000E-03   10000.    
     6 'Prefactor '    16.474       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.9982       1.0000         .10000E-03   10000.    
     9 'norm      '    6.7048       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .83756       1.0000         .10000E-03   10000.    
    12 'norm      '    1.0003       1.0000         .10000E-03   10000.    
    13 'Prefactor '    14.286       1.0000         .10000E-03   10000.    
    14 'Prefactor '    7.0769       1.0000         .10000E-03   10000.    
    15 'norm      '    8.6138       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    18.782       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10295E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    23.449       1.0000         .10000E-03   10000.    
    20 'norm      '    2.8103       1.0000         .10000E-03   10000.    
    21 'Prefactor '    4.0674       1.0000         .10000E-03   10000.    
    22 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    18.713       1.0000         .10000E-03   10000.    
    24 'Prefactor '    19.517       1.0000         .10000E-03   10000.    
    25 'Prefactor '    3.0396       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .32136E-01   1.0000         .10000E-03   10000.    
    27 'Prefactor '    9.6196       1.0000         .10000E-03   10000.    
    28 'Normalizat'    1.0098       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .63795       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=   6400.069     FROM MIGRAD    STATUS=CONVERGED    730 CALLS     4697 TOTAL
                     EDM=   .98E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     31.069        31.973        .26816E-08   -.60319E-06
   2  Prefactor     .43589        1.7120       -.54090E-06   -.41918E-03
   3  Prefactor     .10000E-03    5.0542       -.11669E-06** at limit **
   4  Prefactor     40.381        45.081       -.11852E-06   -.73409E-05
   5  Prefactor     13.088        16.051        .64598E-07    .90990E-05
   6  Prefactor     16.477        19.104       -.64445E-07   -.11033E-04
   7  Prefactor     .10000E-03    9.2797       -.11875E-05** at limit **
   8  Prefactor     1.9988        5.6013        .44602E-06   -.44556E-04
   9  norm          6.7021        3.7813        .19788E-06    .34822E-03
  10  Prefactor     .10000E-03    4.1057       -.16256E-06** at limit **
  11  Prefactor     .91255        23.092       -.70308E-05    .40690E-03
  12  norm          .99723        .67863        .33890E-06    .14566E-02
  13  Prefactor     14.289        34.403       -.90212E-07   -.28712E-05
  14  Prefactor     7.0692        7.1520        .32914E-06    .13396E-03
  15  norm          8.6139        7.9282        .41517E-07    .45652E-05
  16  norm          .10000E-03    1.1703        .25662E-07** at limit **
  17  norm          18.783        7.7200       -.20066E-07   -.45934E-04
  18  Prefactor     .10000E-03    33.860       -.16079E-05** at limit **
  19  Prefactor     23.452        26.880        .16088E-08    .64563E-05
  20  norm          2.8073        2.3118       -.65832E-06   -.13220E-02
  21  Prefactor     4.0663        13.040       -.43028E-06   -.30294E-04
  22  norm          .10000E-03    1.9809       -.14755E-06** at limit **
  23  Prefactor     18.663        83.287        .37766E-06    .23295E-04
  24  Prefactor     19.520        26.037        .15584E-06    .26279E-04
  25  Prefactor     3.0404        4.4752       -.45298E-06   -.24521E-03
  26  Prefactor     .43878E-01    46.667        .47101E-05   -.54512E-04
  27  Prefactor     9.6265        26.305        .11165E-05    .65791E-04
  28  Normalizat    1.0097        .16379        .17673E-05    .39502E-03
  29  Prefactor     .63800        .17050       -.22677E-05   -.17736E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 31.0691
  Prefactor  = 0.435895
  Prefactor  = 0.0001
  Prefactor  = 40.381
  Prefactor  = 13.0875
  Prefactor  = 16.4768
  Prefactor  = 0.0001
  Prefactor  = 1.99884
  norm       = 6.70208
  Prefactor  = 0.0001
  Prefactor  = 0.912555
  norm       = 0.997225
  Prefactor  = 14.289
  Prefactor  = 7.06924
  norm       = 8.61386
  norm       = 0.0001
  norm       = 18.7829
  Prefactor  = 0.0001
  Prefactor  = 23.4517
  norm       = 2.80726
  Prefactor  = 4.06633
  norm       = 0.0001
  Prefactor  = 18.6627
  Prefactor  = 19.5198
  Prefactor  = 3.04041
  Prefactor  = 0.0438785
  Prefactor  = 9.6265
  Normalizat = 1.0097
  Prefactor  = 0.638003
 **********
 **   18 **HESSE 
 **********

 FCN=   6400.069     FROM HESSE     STATUS=OK           579 CALLS     5276 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     31.069        31.976        .71886E-04   -1.4593    
   2  Prefactor     .43589        1.6912        .20194E-03   -1.5576    
   3  Prefactor     .10000E-03    5.0551        .17562E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     40.381        45.073        .63081E-04   -1.4436    
   5  Prefactor     13.088        16.046        .11073E-03   -1.4984    
   6  Prefactor     16.477        19.093        .98676E-04   -1.4896    
   7  Prefactor     .10000E-03    9.5252        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.9988        5.6099        .14651E-02   -1.5425    
   9  norm          6.7021        3.8071        .10838E-03   -1.5190    
  10  Prefactor     .10000E-03    4.1124        .15831E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .91255        31.219        .27227E-02   -1.5517    
  12  norm          .99723        .74523        .36751E-04   -1.5508    
  13  Prefactor     14.289        34.404        .10597E-03   -1.4952    
  14  Prefactor     7.0692        7.2317        .15079E-03   -1.5176    
  15  norm          8.6139        7.9275        .13658E-03   -1.5121    
  16  norm          .10000E-03    1.1710        .84498E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          18.783        7.7205        .92417E-04   -1.4841    
  18  Prefactor     .10000E-03    33.928        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     23.452        26.893        .82719E-04   -1.4739    
  20  norm          2.8073        2.3567        .10888E-03   -1.5373    
  21  Prefactor     4.0663        13.045        .19992E-03   -1.5305    
  22  norm          .10000E-03    2.0526        .21851E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     18.663        83.545        .92588E-04   -1.4844    
  24  Prefactor     19.520        26.027        .90661E-04   -1.4824    
  25  Prefactor     3.0404        4.4905        .19155E-03   -1.5359    
  26  Prefactor     .43878E-01    3.1745        .39614E-01   -1.5666    
  27  Prefactor     9.6265        26.272        .12921E-03   -1.5087    
  28  Normalizat    1.0097        .17999        .20164E-03   -.92706    
  29  Prefactor     .63800        .18665        .13659E-02   -1.0601    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.3162e-09
Minuit parameter uncertainties:
  1  31.9938
  2  1.69134
  3  6.23053e-06
  4  45.1114
  5  16.0511
  6  19.1
  7  0.000123967
  8  5.61134
  9  3.80722
  10  5.27652e-06
  11  10.6805
  12  0.745241
  13  34.4514
  14  7.2326
  15  7.92846
  16  5.96205e-06
  17  7.7209
  18  4.51871e-05
  19  26.9064
  20  2.35677
  21  13.0541
  22  1.1939e-05
  23  79.1575
  24  26.0421
  25  4.49103
  26  0.745632
  27  26.3034
  28  0.180099
  29  0.186836
Done.

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

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  1.878e+01  7.721e+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:  6.380e-01  1.868e-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.010e+00  1.801e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 18.68
Ra Dec: 351.359 -35.988
Photon Index (Fixed Index): 2.13 +/- 0.00
Photon Flux (Fixed Index): 5.85e-08 +/- 2.40e-08
Energy Flux (Fixed Index): 2.35e-05 +/- 9.65e-06

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) = 6399.99974948
delta logL = 0.0689039614008

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6399.99897728
delta logL = 0.0696761631916

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    18.974       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9691       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0174       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .63322       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=   6399.999     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      227 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 22.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          18.975        7.4074        .15532E-05   -.15498E-02
   2  alpha         1.9691        .34725       -.88281E-05   -.29372E-03
   3  Normalizat    1.0174        .14128        .28472E-06    .37359E-03
   4  Prefactor     .63334        .15548       -.78056E-06    .36592E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 18.975
  alpha      = 1.96915
  Normalizat = 1.01738
  Prefactor  = 0.633341
 **********
 **   18 **HESSE 
 **********

 FCN=   6399.999     FROM HESSE     STATUS=OK            29 CALLS      256 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          18.975        7.9314        .91948E-04   -1.4836    
   2  alpha         1.9691        .42556        .12439E-01   -.21397    
   3  Normalizat    1.0174        .16783        .20099E-03   -.92450    
   4  Prefactor     .63334        .18395        .27414E-03   -1.0620    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.8401e-09
Minuit parameter uncertainties:
  1  7.93186
  2  0.427746
  3  0.167914
  4  0.184129
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/864264': 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) = 6399.99897631
delta logL = 0.069677133617

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  1.898e+01  7.932e+00  1.000e-04  1.000e+04 ( 1.000e-12)
426        alpha:  1.969e+00  4.277e-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:  6.333e-01  1.841e-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.017e+00  1.679e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 18.80
Ra Dec: 351.359 -35.988
Photon Index (Free Index): 1.97 +/- 0.43
Photon Flux (Free Index): 5.20e-08 +/- 2.76e-08
Energy Flux (Free Index): 2.50e-05 +/- 1.15e-05

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/864264/cmap_HighResolution_295056001_295315201_4FGL_J2325.4-3559_daily_bin215.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.85e-08', energy_flux2='2.50e-05', photon_flux_error='2.40e-08', dlogl='6.97e-02', energy_flux='2.35e-05', photon_flux2='5.20e-08', job_status='DONE', time_completed='2021-09-29 17:41:47.959170', photon_index_error2='0.43', photon_index2='1.97', ts='18.68', fit_tolerance='1e-08', GAL='0.64', photon_index_error='0.00', energy_flux_error2='1.15e-05', EG='1.01', time_epoch_completed='1632962507.96', return_code='0', job_id='864264', GAL2='0.63', EG2='1.02', return_code2='0', energy_flux_error='9.65e-06', photon_flux_error2='2.76e-08', ts2='18.80', photon_index='2.13' WHERE bin_id='215' AND source_name='4FGL J2325.4-3559' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 17:41:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0031>
Subject: Job 864264: <4FGL_J2325.4-3559_daily_bin215> in cluster <slac> Done

Job <4FGL_J2325.4-3559_daily_bin215> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 17:25:35 2021
Job was executed on host(s) <bullet0031>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 17:25:36 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:25:36 2021
Terminated at Wed Sep 29 17:41:48 2021
Results reported at Wed Sep 29 17:41:48 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-3559_daily_bin215 351.359 -35.9878 295056001 295315201 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 :                                   810.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             290.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   972 sec.
    Turnaround time :                            973 sec.

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

