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


Performing analysis on: 4FGL_J2325.4-3559_daily_bin848
RA = 351.359, Dec = -35.9878
tmin = 459129601, tmax = 459388801
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='867996', job_status='RUN', time_executed='2021-09-29 17:43:35.304177', time_epoch_executed='1632962615.3' WHERE source_name='4FGL J2325.4-3559' and cadence='daily' and bin_id='848'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/867996

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/867996/ft1_4FGL_J2325.4-3559_daily_bin848.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/867996/ft2_4FGL_J2325.4-3559_daily_bin848.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/867996/ft1_4FGL_J2325.4-3559_daily_bin848.fits outfile=/scratch/kocevski/867996/ft1_filteredMKT_4FGL_J2325.4-3559_daily_bin848.fits ra=351.359 dec=-35.9878 rad=12.0 tmin=459129601.0 tmax=459388801.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.86
user 3.66
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/867996/ft1_filtered_4FGL_J2325.4-3559_daily_bin848.fits" evtable="EVENTS" scfile=/scratch/kocevski/867996/ft2_4FGL_J2325.4-3559_daily_bin848.fits sctable="SC_DATA" outfile=/scratch/kocevski/867996/ltcube_459129601_459388801_4FGL_J2325.4-3559_daily_bin848.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/867996/ft2_4FGL_J2325.4-3559_daily_bin848.fits
.....................!
real 12.01
user 11.67
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/867996/ft1_filtered_4FGL_J2325.4-3559_daily_bin848.fits evtable="EVENTS" scfile=/scratch/kocevski/867996/ft2_4FGL_J2325.4-3559_daily_bin848.fits sctable="SC_DATA" expcube=/scratch/kocevski/867996/ltcube_459129601_459388801_4FGL_J2325.4-3559_daily_bin848.fits outfile=/scratch/kocevski/867996/expmap_459129601_459388801_4FGL_J2325.4-3559_daily_bin848.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/867996/ltcube_459129601_459388801_4FGL_J2325.4-3559_daily_bin848.fits
.....................!
real 190.97
user 186.10
sys 4.56

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/867996/ft1_filtered_4FGL_J2325.4-3559_daily_bin848.fits scfile=/scratch/kocevski/867996/ft2_4FGL_J2325.4-3559_daily_bin848.fits outfile=/scratch/kocevski/867996/cmap_459129601_459388801_4FGL_J2325.4-3559_daily_bin848.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/867996/ft1_filtered_4FGL_J2325.4-3559_daily_bin848.fits scfile=/scratch/kocevski/867996/ft2_4FGL_J2325.4-3559_daily_bin848.fits outfile=/scratch/kocevski/867996/cmap_HighResolution_459129601_459388801_4FGL_J2325.4-3559_daily_bin848.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=351.359 yref=-35.9878 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.53
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.726       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    15.991       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    43.660       1.0000         .10000E-03   10000.    
     6 'Prefactor '    17.224       1.0000         .10000E-03   10000.    
     7 'Prefactor '    13.529       1.0000         .10000E-03   10000.    
     8 'Prefactor '    16.242       1.0000         .10000E-03   10000.    
     9 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    8.3348       1.0000         .10000E-03   10000.    
    11 'Prefactor '    14.535       1.0000         .10000E-03   10000.    
    12 'norm      '    .47801       1.0000         .10000E-03   10000.    
    13 'Prefactor '    33.251       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10040E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    1.8010       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    128.90       1.0000         .10000E-03   10000.    
    20 'norm      '    5.4292       1.0000         .10000E-03   10000.    
    21 'Prefactor '    10.232       1.0000         .10000E-03   10000.    
    22 'norm      '    1.9979       1.0000         .10000E-03   10000.    
    23 'Prefactor '    34.836       1.0000         .10000E-03   10000.    
    24 'Prefactor '    33.244       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .69182E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    28 'Normalizat'    .56262       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.1253       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=   4141.827     FROM MIGRAD    STATUS=CONVERGED    696 CALLS     3727 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.724        36.379       -.18371E-05   -.49926E-04
   2  Prefactor     .10000E-03    2.5687        .48824E-06** at limit **
   3  Prefactor     15.985        26.030       -.29902E-05   -.64048E-04
   4  Prefactor     .10000E-03    34.613        .33609E-05** at limit **
   5  Prefactor     43.664        26.605        .46395E-05   -.15437E-04
   6  Prefactor     17.222        20.979        .82743E-06   -.28096E-04
   7  Prefactor     13.526        17.041        .43232E-05   -.73294E-04
   8  Prefactor     16.244        10.226        .27293E-05   -.95488E-04
   9  norm          .10000E-03    2.1031        .15558E-07** at limit **
  10  Prefactor     8.3306        15.019       -.19533E-05    .97143E-05
  11  Prefactor     14.542        19.221        .59440E-05   -.27391E-04
  12  norm          .47810        1.2530       -.43968E-06   -.10480E-03
  13  Prefactor     33.250        32.760       -.97691E-06   -.15327E-04
  14  Prefactor     .10000E-03    7.8039       -.29782E-05** at limit **
  15  norm          .10000E-03    22.149        .37758E-05** at limit **
  16  norm          .10000E-03    1.7383       -.13719E-06** at limit **
  17  norm          1.8012        5.0594       -.11691E-05   -.42027E-03
  18  Prefactor     .10000E-03    15.838       -.59681E-05** at limit **
  19  Prefactor     128.91        69.068        .12719E-04   -.72462E-04
  20  norm          5.4295        4.2956        .27716E-05   -.20541E-03
  21  Prefactor     10.231        18.227        .44172E-05   -.21774E-03
  22  norm          1.9976        2.8820        .71693E-06   -.18400E-03
  23  Prefactor     35.116        111.71        .45626E-03    .27606E-04
  24  Prefactor     33.249        35.080        .34820E-05   -.55352E-04
  25  Prefactor     .10000E-03    1.9284        .10500E-06** at limit **
  26  Prefactor     .10002E-03    4.5623        .84415E-05** at limit **
  27  Prefactor     .10000E-03    11.639        .36171E-05** at limit **
  28  Normalizat    .56224        .20844       -.33559E-04   -.28510E-03
  29  Prefactor     1.1256        .22028       -.16145E-05   -.95095E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.7241
  Prefactor  = 0.000100001
  Prefactor  = 15.9849
  Prefactor  = 0.0001
  Prefactor  = 43.664
  Prefactor  = 17.2215
  Prefactor  = 13.5262
  Prefactor  = 16.2439
  norm       = 0.0001
  Prefactor  = 8.33059
  Prefactor  = 14.5415
  norm       = 0.478097
  Prefactor  = 33.2497
  Prefactor  = 0.0001
  norm       = 0.000100003
  norm       = 0.0001
  norm       = 1.8012
  Prefactor  = 0.0001
  Prefactor  = 128.912
  norm       = 5.42948
  Prefactor  = 10.2311
  norm       = 1.9976
  Prefactor  = 35.116
  Prefactor  = 33.2485
  Prefactor  = 0.0001
  Prefactor  = 0.000100017
  Prefactor  = 0.0001
  Normalizat = 0.562239
  Prefactor  = 1.12561
 **********
 **   18 **HESSE 
 **********

 FCN=   4141.827     FROM HESSE     STATUS=OK           555 CALLS     4282 TOTAL
                     EDM=   .52E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.724        36.378        .90179E-04   -1.4819    
   2  Prefactor     .10000E-03    2.6001        .10054E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     15.985        25.992        .10016E-03   -1.4908    
   4  Prefactor     .10000E-03    34.650        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     43.664        26.604        .60673E-04   -1.4385    
   6  Prefactor     17.222        20.973        .96506E-04   -1.4878    
   7  Prefactor     13.526        17.060        .10890E-03   -1.4972    
   8  Prefactor     16.244        10.224        .99382E-04   -1.4902    
   9  norm          .10000E-03    2.1075        .91049E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     8.3306        14.929        .13886E-03   -1.5131    
  11  Prefactor     14.542        18.333        .10506E-03   -1.4945    
  12  norm          .47810        1.1392        .69680E-04   -1.5570    
  13  Prefactor     33.250        32.761        .69491E-04   -1.4554    
  14  Prefactor     .10000E-03    7.8181        .17540E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    22.375        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    1.7386        .82863E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.8012        5.0164        .23477E-03   -1.5440    
  18  Prefactor     .10000E-03    15.848        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     128.91        69.152        .35462E-04   -1.3432    
  20  norm          5.4295        4.2888        .11280E-03   -1.5242    
  21  Prefactor     10.231        18.225        .12526E-03   -1.5068    
  22  norm          1.9976        2.8597        .12601E-03   -1.5425    
  23  Prefactor     35.116        111.44        .33949E-03   -1.4522    
  24  Prefactor     33.249        35.082        .34749E-03   -1.4554    
  25  Prefactor     .10000E-03    1.9331        .87263E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10002E-03    9.9449        .26555E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    11.642        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    .56224        .23895        .28430E-03   -1.0961    
  29  Prefactor     1.1256        .25356        .22829E-03   -.88652    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.17127e-09
Minuit parameter uncertainties:
  1  36.4191
  2  7.65936e-05
  3  26.0102
  4  0.000139993
  5  26.6114
  6  20.9815
  7  17.0662
  8  10.2253
  9  8.00001e-06
  10  14.9354
  11  18.3404
  12  1.13925
  13  32.779
  14  9.1882e-06
  15  0.000478023
  16  4.21415e-06
  17  5.01753
  18  0.000121851
  19  69.1957
  20  4.28907
  21  18.2346
  22  2.85991
  23  112.111
  24  35.1036
  25  2.62443e-05
  26  0.000825496
  27  2.65311e-06
  28  0.239388
  29  0.253837
Done.

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

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  1.801e+00  5.018e+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.126e+00  2.538e-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:  5.622e-01  2.394e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/867996/likelihoodResults_459129601_459388801_4FGL_J2325.4-3559_daily_bin848.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) = 4141.76416038
delta logL = 0.0626568731905

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4141.76319239
delta logL = 0.0636248684805

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.9857       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.5497       1.0000          .0000       5.0000    
     3 'Normalizat'    .56524       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1225       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5960E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4141.763     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      242 TOTAL
                     EDM=   .92E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.9865        4.5492        .19670E-03   -.30429E-03
   2  alpha         1.5517        1.3642        .34126E-01    .39291E-05
   3  Normalizat    .56551        .22012        .28353E-03   -.26584E-04
   4  Prefactor     1.1222        .24555        .22855E-03   -.16465E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.98649
  alpha      = 1.55171
  Normalizat = 0.56551
  Prefactor  = 1.12219
 **********
 **   18 **HESSE 
 **********

 FCN=   4141.763     FROM HESSE     STATUS=OK            25 CALLS      267 TOTAL
                     EDM=   .93E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.9865        4.6378        .78682E-05   -1.5426    
   2  alpha         1.5517        1.3878        .13650E-02   -.38906    
   3  Normalizat    .56551        .22033        .11341E-04   -1.0947    
   4  Prefactor     1.1222        .24579        .91421E-05   -.88760    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.34859e-11
Minuit parameter uncertainties:
  1  4.63861
  2  1.48842
  3  0.220673
  4  0.246036
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/867996': 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) = 4141.76319054
delta logL = 0.0636267150903

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  1.986e+00  4.639e+00  1.000e-04  1.000e+04 ( 1.000e-12)
426        alpha:  1.552e+00  1.488e+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.122e+00  2.460e-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:  5.655e-01  2.207e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.17
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/867996/cmap_HighResolution_459129601_459388801_4FGL_J2325.4-3559_daily_bin848.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.46e-05', job_status='DONE', photon_flux_upper_limit='6.12e-08', time_completed='2021-09-29 17:54:13.592095', job_id='867996', GAL2='1.12', fit_tolerance='1e-08', EG2='0.57', EG='0.56', time_epoch_completed='1632963253.59', return_code2='0', ts='0.17', comment='SUCCESS', return_code='0', GAL='1.13', dlogl='6.36e-02', ts2='0.30', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='848' AND source_name='4FGL J2325.4-3559' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 17:54:13 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0080>
Subject: Job 867996: <4FGL_J2325.4-3559_daily_bin848> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-3559_daily_bin848 351.359 -35.9878 459129601 459388801 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 :                                   636.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             237.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   831 sec.
    Turnaround time :                            833 sec.

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

