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


Performing analysis on: 4FGL_J2325.4-3559_daily_bin1008
RA = 351.359, Dec = -35.9878
tmin = 500601601, tmax = 500860801
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='868224', job_status='RUN', time_executed='2021-09-29 17:44:37.023036', time_epoch_executed='1632962677.02' WHERE source_name='4FGL J2325.4-3559' and cadence='daily' and bin_id='1008'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/868224

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/868224/ft1_4FGL_J2325.4-3559_daily_bin1008.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/868224/ft2_4FGL_J2325.4-3559_daily_bin1008.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/868224/ft1_4FGL_J2325.4-3559_daily_bin1008.fits outfile=/scratch/kocevski/868224/ft1_filteredMKT_4FGL_J2325.4-3559_daily_bin1008.fits ra=351.359 dec=-35.9878 rad=12.0 tmin=500601601.0 tmax=500860801.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 5.10
user 4.89
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/868224/ft1_filtered_4FGL_J2325.4-3559_daily_bin1008.fits" evtable="EVENTS" scfile=/scratch/kocevski/868224/ft2_4FGL_J2325.4-3559_daily_bin1008.fits sctable="SC_DATA" outfile=/scratch/kocevski/868224/ltcube_500601601_500860801_4FGL_J2325.4-3559_daily_bin1008.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/868224/ft2_4FGL_J2325.4-3559_daily_bin1008.fits
.....................!
real 12.32
user 11.97
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/868224/ft1_filtered_4FGL_J2325.4-3559_daily_bin1008.fits evtable="EVENTS" scfile=/scratch/kocevski/868224/ft2_4FGL_J2325.4-3559_daily_bin1008.fits sctable="SC_DATA" expcube=/scratch/kocevski/868224/ltcube_500601601_500860801_4FGL_J2325.4-3559_daily_bin1008.fits outfile=/scratch/kocevski/868224/expmap_500601601_500860801_4FGL_J2325.4-3559_daily_bin1008.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/868224/ltcube_500601601_500860801_4FGL_J2325.4-3559_daily_bin1008.fits
.....................!
real 191.17
user 185.90
sys 4.90

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/868224/ft1_filtered_4FGL_J2325.4-3559_daily_bin1008.fits scfile=/scratch/kocevski/868224/ft2_4FGL_J2325.4-3559_daily_bin1008.fits outfile=/scratch/kocevski/868224/cmap_500601601_500860801_4FGL_J2325.4-3559_daily_bin1008.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/868224/ft1_filtered_4FGL_J2325.4-3559_daily_bin1008.fits scfile=/scratch/kocevski/868224/ft2_4FGL_J2325.4-3559_daily_bin1008.fits outfile=/scratch/kocevski/868224/cmap_HighResolution_500601601_500860801_4FGL_J2325.4-3559_daily_bin1008.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.51
user 0.36
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/868224/ft1_filtered_4FGL_J2325.4-3559_daily_bin1008.fits evtable="EVENTS" scfile=/scratch/kocevski/868224/ft2_4FGL_J2325.4-3559_daily_bin1008.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/868224/Model_4FGL_J2325.4-3559_daily_bin1008.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/868224/ft1_filtered_4FGL_J2325.4-3559_daily_bin1008.fits.......................!
real 24.18
user 22.94
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    178.12       1.0000         .10000E-03   10000.    
     2 'Prefactor '    7.4458       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .13279E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    33.664       1.0000         .10000E-03   10000.    
     6 'Prefactor '    12.767       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10061E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    8.1579       1.0000         .10000E-03   10000.    
    12 'norm      '    .23318       1.0000         .10000E-03   10000.    
    13 'Prefactor '    17.061       1.0000         .10000E-03   10000.    
    14 'Prefactor '    9.4150       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .16625E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10324E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    30.473       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    28 'Normalizat'    .44872       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .96641       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=   1881.477     FROM MIGRAD    STATUS=CONVERGED    729 CALLS     3665 TOTAL
                     EDM=   .24E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     178.12        144.36        .41236E-06    .28259E-05
   2  Prefactor     7.4469        8.2778        .22825E-06    .51892E-04
   3  Prefactor     .10000E-03    30.577       -.28443E-05** at limit **
   4  Prefactor     .10002E-03    164.22        .11086E-04** at limit **
   5  Prefactor     33.666        39.462        .19880E-06    .44492E-05
   6  Prefactor     12.760        30.460        .75738E-06   -.23039E-04
   7  Prefactor     .10000E-03    6.5142       -.51047E-06** at limit **
   8  Prefactor     .10000E-03    6.7746        .26392E-06** at limit **
   9  norm          .10000E-03    2.9352       -.20995E-06** at limit **
  10  Prefactor     .10000E-03    17.133       -.29519E-06** at limit **
  11  Prefactor     8.1648        32.383        .10688E-04   -.10120E-03
  12  norm          .23205        1.7978       -.13439E-05   -.25351E-03
  13  Prefactor     17.061        87.686        .32770E-06    .60231E-06
  14  Prefactor     9.4303        34.336       -.54954E-05    .37119E-04
  15  norm          .10000E-03    6.3350        .30711E-06** at limit **
  16  norm          .10000E-03    4.1951       -.11498E-07** at limit **
  17  norm          .10000E-03    6.0591       -.37498E-07** at limit **
  18  Prefactor     .10001E-03    242.85       -.10077E-04** at limit **
  19  Prefactor     .10000E-03    31.833        .62335E-06** at limit **
  20  norm          .10000E-03    3.0811       -.12895E-07** at limit **
  21  Prefactor     .10000E-03    51.702       -.60761E-06** at limit **
  22  norm          .10000E-03    3.2607       -.36299E-08** at limit **
  23  Prefactor     .10000E-03    233.61       -.39857E-05** at limit **
  24  Prefactor     .10000E-03    101.80       -.83054E-06** at limit **
  25  Prefactor     30.477        15.869        .11467E-06    .15388E-04
  26  Prefactor     .10000E-03    7.5992        .20687E-07** at limit **
  27  Prefactor     .10000E-03    31.790        .26874E-05** at limit **
  28  Normalizat    .44859        .27564       -.18864E-05    .80811E-04
  29  Prefactor     .96651        .28271        .25870E-06    .55948E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 178.122
  Prefactor  = 7.44694
  Prefactor  = 0.000100002
  Prefactor  = 0.000100019
  Prefactor  = 33.6661
  Prefactor  = 12.7604
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.16479
  norm       = 0.232048
  Prefactor  = 17.0609
  Prefactor  = 9.43026
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100008
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 30.4766
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Normalizat = 0.448591
  Prefactor  = 0.966512
 **********
 **   18 **HESSE 
 **********

 FCN=   1881.477     FROM HESSE     STATUS=OK           543 CALLS     4208 TOTAL
                     EDM=   .55E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     178.12        144.43        .30242E-04   -1.3031    
   2  Prefactor     7.4469        8.2711        .12542E-03   -1.5162    
   3  Prefactor     .10000E-03    31.206        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10002E-03    172.59        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     33.666        39.436        .69064E-04   -1.4547    
   6  Prefactor     12.760        30.401        .11210E-03   -1.4993    
   7  Prefactor     .10000E-03    6.5398        .10829E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    6.8114        .11025E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    2.9475        .72640E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    17.165        .17534E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     8.1648        35.159        .70185E-03   -1.5136    
  12  norm          .23205        1.5383        .66513E-03   -1.5612    
  13  Prefactor     17.061        88.078        .96964E-04   -1.4882    
  14  Prefactor     9.4303        33.295        .13061E-03   -1.5094    
  15  norm          .10000E-03    6.3427        .10670E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    4.2024        .86772E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    6.0679        .10428E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10001E-03    251.94        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    31.866        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    3.0909        .74341E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    52.384        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    3.2739        .76481E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    234.87        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    102.05        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     30.477        15.943        .72581E-04   -1.4603    
  26  Prefactor     .10000E-03    7.6879        .11675E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    32.294        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    .44859        .32771        .27981E-03   -1.1486    
  29  Prefactor     .96651        .34032        .20826E-03   -.93854    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.5079e-10
Minuit parameter uncertainties:
  1  144.715
  2  8.27241
  3  0.000445272
  4  0.00364365
  5  39.467
  6  30.4381
  7  3.78741e-05
  8  1.7813e-05
  9  1.54427e-05
  10  5.69444e-05
  11  33.9198
  12  1.1947
  13  77.7099
  14  33.361
  15  2.23187e-05
  16  2.47717e-06
  17  5.88798e-07
  18  0.0028909
  19  9.89045e-05
  20  5.33355e-06
  21  5.70851e-05
  22  4.63556e-06
  23  0.00167163
  24  0.00023359
  25  15.9454
  26  7.75755e-06
  27  0.000419614
  28  0.329131
  29  0.341081
Done.

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

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  1.000e-04  5.888e-07  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:  9.665e-01  3.411e-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:  4.486e-01  3.291e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/868224/likelihoodResults_500601601_500860801_4FGL_J2325.4-3559_daily_bin1008.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) = 1881.47780502
delta logL = -0.000775621849698

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1881.47702939
delta logL = 1.08018411993e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1352       1.0000          .0000       5.0000    
     3 'Normalizat'    .44858       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96653       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   1881.477     FROM MIGRAD    STATUS=FAILED       158 CALLS      302 TOTAL
                     EDM=   .12E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .11052E-01    25.850        .21801E-01    .23739E-03
   2  alpha         4.8548        4.8898        .50000       -.23116E-04
   3  Normalizat    .44717        .41265E-01    .27981E-03   -.45232E-04
   4  Prefactor     .96749        .42117E-01    .20826E-03   -.50444E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   1881.477     FROM SIMPLEX   STATUS=UNCHANGED     75 CALLS      377 TOTAL
                     EDM=   .88E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .11052E-01    25.850        .38041E-03    .23739E-03
   2  alpha         4.8548        4.8898        .52077E-01   -.23116E-04
   3  Normalizat    .44717        .41265E-01    .83682E-04   -.45232E-04
   4  Prefactor     .96749        .42117E-01    .47327E-04   -.50444E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   1881.477     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      425 TOTAL
                     EDM=   .44E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .11051E-01    12.669       -.10209E-07   -.22989E-05
   2  alpha         4.8549        4.8819        .64518E-05    .17140E-07
   3  Normalizat    .44717        .32653        .62863E-08   -.42263E-04
   4  Prefactor     .96749        .33954       -.29269E-08   -.47653E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0110512
  alpha      = 4.85486
  Normalizat = 0.447166
  Prefactor  = 0.967486
 **********
 **   18 **HESSE 
 **********

 FCN=   1881.477     FROM HESSE     STATUS=OK            29 CALLS      454 TOTAL
                     EDM=   .34E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .11051E-01    15.045        .14223E-03   -1.5687    
   2  alpha         4.8549        2.5057        .50000        1.2284    
   3  Normalizat    .44717        .32380        .22384E-05   -1.1493    
   4  Prefactor     .96749        .33822        .83303E-05   -.93821    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.35452e-07
Minuit parameter uncertainties:
  1  0.81201
  2  21.1084
  3  0.325166
  4  0.338964
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/868224': 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) = 1881.4769206
delta logL = 0.000108802349814

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  1.105e-02  8.120e-01  1.000e-04  1.000e+04 ( 1.000e-12)
426        alpha:  4.855e+00  2.111e+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:  9.675e-01  3.390e-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:  4.472e-01  3.252e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/868224/cmap_HighResolution_500601601_500860801_4FGL_J2325.4-3559_daily_bin1008.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.62e-05', job_status='DONE', photon_flux_upper_limit='9.02e-08', time_completed='2021-09-29 17:52:32.407382', job_id='868224', GAL2='0.97', fit_tolerance='1e-08', EG2='0.45', EG='0.45', time_epoch_completed='1632963152.41', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='1.09e-04', ts2='0.00', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='1008' AND source_name='4FGL J2325.4-3559' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 17:52:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0276>
Subject: Job 868224: <4FGL_J2325.4-3559_daily_bin1008> in cluster <slac> Done

Job <4FGL_J2325.4-3559_daily_bin1008> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep 29 17:40:37 2021
Job was executed on host(s) <bullet0276>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 17:40:38 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:38 2021
Terminated at Wed Sep 29 17:52:32 2021
Results reported at Wed Sep 29 17:52:32 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-3559_daily_bin1008 351.359 -35.9878 500601601 500860801 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 :                                   470.46 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             229.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   714 sec.
    Turnaround time :                            715 sec.

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

