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


Performing analysis on: 4FGL_J2325.4-3559_daily_bin620
RA = 351.359, Dec = -35.9878
tmin = 400032001, tmax = 400291201
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='866519', job_status='RUN', time_executed='2021-09-29 17:38:44.277638', time_epoch_executed='1632962324.28' WHERE source_name='4FGL J2325.4-3559' and cadence='daily' and bin_id='620'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/866519

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/866519/ft1_4FGL_J2325.4-3559_daily_bin620.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/866519/ft2_4FGL_J2325.4-3559_daily_bin620.fits


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

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

Done.
real 4.33
user 4.09
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/866519/ft1_filtered_4FGL_J2325.4-3559_daily_bin620.fits" evtable="EVENTS" scfile=/scratch/kocevski/866519/ft2_4FGL_J2325.4-3559_daily_bin620.fits sctable="SC_DATA" outfile=/scratch/kocevski/866519/ltcube_400032001_400291201_4FGL_J2325.4-3559_daily_bin620.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/866519/ft2_4FGL_J2325.4-3559_daily_bin620.fits
.....................!
real 11.75
user 11.39
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/866519/ft1_filtered_4FGL_J2325.4-3559_daily_bin620.fits evtable="EVENTS" scfile=/scratch/kocevski/866519/ft2_4FGL_J2325.4-3559_daily_bin620.fits sctable="SC_DATA" expcube=/scratch/kocevski/866519/ltcube_400032001_400291201_4FGL_J2325.4-3559_daily_bin620.fits outfile=/scratch/kocevski/866519/expmap_400032001_400291201_4FGL_J2325.4-3559_daily_bin620.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/866519/ltcube_400032001_400291201_4FGL_J2325.4-3559_daily_bin620.fits
.....................!
real 191.50
user 186.22
sys 4.96

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/866519/ft1_filtered_4FGL_J2325.4-3559_daily_bin620.fits scfile=/scratch/kocevski/866519/ft2_4FGL_J2325.4-3559_daily_bin620.fits outfile=/scratch/kocevski/866519/cmap_400032001_400291201_4FGL_J2325.4-3559_daily_bin620.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/866519/ft1_filtered_4FGL_J2325.4-3559_daily_bin620.fits scfile=/scratch/kocevski/866519/ft2_4FGL_J2325.4-3559_daily_bin620.fits outfile=/scratch/kocevski/866519/cmap_HighResolution_400032001_400291201_4FGL_J2325.4-3559_daily_bin620.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.56
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/866519/ft1_filtered_4FGL_J2325.4-3559_daily_bin620.fits evtable="EVENTS" scfile=/scratch/kocevski/866519/ft2_4FGL_J2325.4-3559_daily_bin620.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/866519/Model_4FGL_J2325.4-3559_daily_bin620.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/866519/ft1_filtered_4FGL_J2325.4-3559_daily_bin620.fits.....................!
real 34.55
user 33.27
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.7430       1.0000         .10000E-03   10000.    
     3 'Prefactor '    23.458       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    20.033       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.6682       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    14.370       1.0000         .10000E-03   10000.    
    11 'Prefactor '    5.6230       1.0000         .10000E-03   10000.    
    12 'norm      '    .10056E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.5332       1.0000         .10000E-03   10000.    
    15 'norm      '    11.086       1.0000         .10000E-03   10000.    
    16 'norm      '    8.9951       1.0000         .10000E-03   10000.    
    17 'norm      '    10.243       1.0000         .10000E-03   10000.    
    18 'Prefactor '    67.684       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    18.249       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10053E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    32.366       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10347E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    11.935       1.0000         .10000E-03   10000.    
    27 'Prefactor '    10.129       1.0000         .10000E-03   10000.    
    28 'Normalizat'    .57205       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.1590       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=   4163.990     FROM MIGRAD    STATUS=CONVERGED    695 CALLS     3657 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    14.379       -.33872E-05** at limit **
   2  Prefactor     1.7416        3.4278        .30190E-07   -.10956E-03
   3  Prefactor     23.464        29.547        .22144E-05    .14438E-03
   4  Prefactor     .10000E-03    40.434       -.38937E-05** at limit **
   5  Prefactor     20.034        18.285        .48079E-07   -.98429E-07
   6  Prefactor     .10000E-03    10.240        .19485E-05** at limit **
   7  Prefactor     3.6702        13.027       -.39684E-06   -.15193E-04
   8  Prefactor     .10000E-03    9.5987        .12643E-05** at limit **
   9  norm          .10000E-03    2.0149       -.23885E-06** at limit **
  10  Prefactor     14.369        13.811       -.81475E-06    .46893E-03
  11  Prefactor     5.6195        9.6173        .39412E-05   -.81550E-03
  12  norm          .10000E-03    .35436       -.90202E-06** at limit **
  13  Prefactor     .10000E-03    18.360        .24753E-05** at limit **
  14  Prefactor     5.5311        12.044        .15569E-05   -.55510E-03
  15  norm          11.085        12.160        .17503E-07    .53033E-05
  16  norm          8.9955        9.1153        .13818E-07   -.16195E-04
  17  norm          10.243        10.071        .73264E-07   -.39677E-04
  18  Prefactor     67.684        56.274        .47266E-08    .13828E-05
  19  Prefactor     .10001E-03    36.565        .60232E-05** at limit **
  20  norm          18.249        9.0502        .91881E-08   -.27602E-04
  21  Prefactor     .10000E-03    9.1251       -.18964E-05** at limit **
  22  norm          .10000E-03    2.7303        .12747E-07** at limit **
  23  Prefactor     .10000E-03    40.399       -.30415E-05** at limit **
  24  Prefactor     32.366        31.061       -.97409E-07   -.26099E-04
  25  Prefactor     .10000E-03    6.3280        .31486E-07** at limit **
  26  Prefactor     11.937        8.4009        .52683E-06   -.79201E-03
  27  Prefactor     10.114        34.584       -.79538E-05   -.19031E-03
  28  Normalizat    .57177        .19685       -.64373E-06    .95372E-04
  29  Prefactor     1.1592        .21263        .19278E-06    .12451E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100002
  Prefactor  = 1.74161
  Prefactor  = 23.4641
  Prefactor  = 0.000100003
  Prefactor  = 20.0336
  Prefactor  = 0.000100001
  Prefactor  = 3.67017
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 14.3689
  Prefactor  = 5.61948
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 5.5311
  norm       = 11.0853
  norm       = 8.99546
  norm       = 10.2429
  Prefactor  = 67.6839
  Prefactor  = 0.000100008
  norm       = 18.249
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 32.3657
  Prefactor  = 0.0001
  Prefactor  = 11.9374
  Prefactor  = 10.1144
  Normalizat = 0.571773
  Prefactor  = 1.15923
 **********
 **   18 **HESSE 
 **********

 FCN=   4163.990     FROM HESSE     STATUS=OK           553 CALLS     4210 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    14.588        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.7416        3.3702        .15269E-03   -1.5444    
   3  Prefactor     23.464        29.466        .82703E-04   -1.4739    
   4  Prefactor     .10000E-03    40.865        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     20.034        18.284        .89486E-04   -1.4812    
   6  Prefactor     .10000E-03    10.313        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.6702        13.009        .21090E-03   -1.5325    
   8  Prefactor     .10000E-03    9.8718        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    2.0277        .89437E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     14.369        13.887        .52829E-03   -1.4950    
  11  Prefactor     5.6195        10.230        .84705E-03   -1.5234    
  12  norm          .10000E-03    .59101        .72130E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    18.467        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     5.5311        12.069        .85401E-03   -1.5238    
  15  norm          11.085        12.169        .12033E-03   -1.5042    
  16  norm          8.9955        9.1210        .13364E-03   -1.5108    
  17  norm          10.243        10.075        .12520E-03   -1.5068    
  18  Prefactor     67.684        56.415        .48787E-04   -1.4061    
  19  Prefactor     .10001E-03    37.220        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          18.249        9.0714        .93755E-04   -1.4853    
  21  Prefactor     .10000E-03    9.2109        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    2.7522        .10400E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    40.574        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     32.366        31.063        .70432E-04   -1.4570    
  25  Prefactor     .10000E-03    6.4636        .15829E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     11.937        8.5076        .57977E-03   -1.5017    
  27  Prefactor     10.114        35.468        .12590E-03   -1.5072    
  28  Normalizat    .57177        .23515        .27999E-03   -1.0920    
  29  Prefactor     1.1592        .25493        .22779E-03   -.87595    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.09997e-09
Minuit parameter uncertainties:
  1  0.000380222
  2  3.37061
  3  29.484
  4  0.000726822
  5  18.289
  6  0.000177055
  7  13.019
  8  7.72985e-05
  9  9.37728e-06
  10  13.8906
  11  10.2332
  12  9.56762e-06
  13  0.000308639
  14  12.0748
  15  12.1717
  16  9.12245
  17  10.0765
  18  56.4596
  19  0.00106307
  20  9.07213
  21  0.000168171
  22  2.45909e-07
  23  0.000568778
  24  31.0788
  25  5.89677e-05
  26  8.50844
  27  35.5421
  28  0.235559
  29  0.255199
Done.

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

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  1.024e+01  1.008e+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.159e+00  2.552e-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.718e-01  2.356e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.93
Ra Dec: 351.359 -35.988
Photon Index (Fixed Index): 2.13 +/- 0.00
Photon Flux (Fixed Index): 3.19e-08 +/- 3.14e-08
Energy Flux (Fixed Index): 1.28e-05 +/- 1.26e-05

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

Saving results to:
/scratch/kocevski/866519/likelihoodResults_400032001_400291201_4FGL_J2325.4-3559_daily_bin620.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) = 4163.47055754
delta logL = 0.519085930781

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4163.44699758
delta logL = 0.54264588867

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.6162       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.1182       1.0000          .0000       5.0000    
     3 'Normalizat'    .51242       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1973       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=   4163.447     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      277 TOTAL
                     EDM=   .91E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.6164        10.641        .12380E-03   -.46744E-04
   2  alpha         3.1186        1.0393        .13280E-01   -.68725E-05
   3  Normalizat    .51259        .22968        .29449E-03    .27950E-04
   4  Prefactor     1.1971        .25501        .22448E-03    .57450E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 8.61644
  alpha      = 3.11858
  Normalizat = 0.512587
  Prefactor  = 1.19711
 **********
 **   18 **HESSE 
 **********

 FCN=   4163.447     FROM HESSE     STATUS=OK            25 CALLS      302 TOTAL
                     EDM=   .20E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.6164        9.5568        .49518E-05   -1.5121    
   2  alpha         3.1186        .93837        .53121E-03    .25003    
   3  Normalizat    .51259        .22927        .11780E-04   -1.1184    
   4  Prefactor     1.1971        .25453        .44897E-04   -.86420    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.03077e-11
Minuit parameter uncertainties:
  1  9.55853
  2  0.963582
  3  0.229696
  4  0.254795
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/866519': 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) = 4163.44699698
delta logL = 0.542646495735

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  8.616e+00  9.559e+00  1.000e-04  1.000e+04 ( 1.000e-12)
426        alpha:  3.119e+00  9.636e-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.197e+00  2.548e-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.126e-01  2.297e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.07
Ra Dec: 351.359 -35.988
Photon Index (Free Index): 3.12 +/- 0.96
Photon Flux (Free Index): 7.83e-08 +/- 6.09e-08
Energy Flux (Free Index): 1.60e-05 +/- 1.12e-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/866519/cmap_HighResolution_400032001_400291201_4FGL_J2325.4-3559_daily_bin620.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.32e-05', comment='SUCCESS', photon_flux='3.19e-08', energy_flux2='1.60e-05', photon_flux_error='3.14e-08', dlogl='5.43e-01', energy_flux='1.28e-05', photon_flux2='7.83e-08', job_status='DONE', time_completed='2021-09-29 17:49:28.516353', photon_index_error2='0.96', photon_index2='3.12', ts='1.93', fit_tolerance='1e-08', GAL='1.16', photon_index_error='0.00', photon_flux_upper_limit='1.08e-07', energy_flux_error2='1.12e-05', EG='0.57', time_epoch_completed='1632962968.52', return_code='0', job_id='866519', GAL2='1.20', EG2='0.51', return_code2='0', energy_flux_error='1.26e-05', photon_flux_error2='6.09e-08', ts2='3.07', photon_index='2.13' WHERE bin_id='620' AND source_name='4FGL J2325.4-3559' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 17:49:28 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0055>
Subject: Job 866519: <4FGL_J2325.4-3559_daily_bin620> in cluster <slac> Done

Job <4FGL_J2325.4-3559_daily_bin620> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 17:35:13 2021
Job was executed on host(s) <bullet0055>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 17:35:14 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:35:14 2021
Terminated at Wed Sep 29 17:49:29 2021
Results reported at Wed Sep 29 17:49:29 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-3559_daily_bin620 351.359 -35.9878 400032001 400291201 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 :                                   644.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             243.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   854 sec.
    Turnaround time :                            856 sec.

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

