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


Performing analysis on: 4FGL_J2325.4-3559_daily_bin575
RA = 351.359, Dec = -35.9878
tmin = 388368001, tmax = 388627201
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='865337', job_status='RUN', time_executed='2021-09-29 17:33:30.922303', time_epoch_executed='1632962010.92' WHERE source_name='4FGL J2325.4-3559' and cadence='daily' and bin_id='575'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/865337

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/865337/ft1_4FGL_J2325.4-3559_daily_bin575.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/865337/ft2_4FGL_J2325.4-3559_daily_bin575.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/865337/ft1_4FGL_J2325.4-3559_daily_bin575.fits outfile=/scratch/kocevski/865337/ft1_filteredMKT_4FGL_J2325.4-3559_daily_bin575.fits ra=351.359 dec=-35.9878 rad=12.0 tmin=388368001.0 tmax=388627201.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.36
user 3.10
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/865337/ft2_4FGL_J2325.4-3559_daily_bin575.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/865337/ft1_filteredMKT_4FGL_J2325.4-3559_daily_bin575.fits evtable="EVENTS" outfile="/scratch/kocevski/865337/ft1_filtered_4FGL_J2325.4-3559_daily_bin575.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.42
user 0.27
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/865337/ft1_filtered_4FGL_J2325.4-3559_daily_bin575.fits" evtable="EVENTS" scfile=/scratch/kocevski/865337/ft2_4FGL_J2325.4-3559_daily_bin575.fits sctable="SC_DATA" outfile=/scratch/kocevski/865337/ltcube_388368001_388627201_4FGL_J2325.4-3559_daily_bin575.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/865337/ft2_4FGL_J2325.4-3559_daily_bin575.fits
.....................!
real 8.49
user 8.17
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/865337/ft1_filtered_4FGL_J2325.4-3559_daily_bin575.fits evtable="EVENTS" scfile=/scratch/kocevski/865337/ft2_4FGL_J2325.4-3559_daily_bin575.fits sctable="SC_DATA" expcube=/scratch/kocevski/865337/ltcube_388368001_388627201_4FGL_J2325.4-3559_daily_bin575.fits outfile=/scratch/kocevski/865337/expmap_388368001_388627201_4FGL_J2325.4-3559_daily_bin575.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/865337/ltcube_388368001_388627201_4FGL_J2325.4-3559_daily_bin575.fits
.....................!
real 140.39
user 136.85
sys 3.30

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/865337/ft1_filtered_4FGL_J2325.4-3559_daily_bin575.fits scfile=/scratch/kocevski/865337/ft2_4FGL_J2325.4-3559_daily_bin575.fits outfile=/scratch/kocevski/865337/cmap_388368001_388627201_4FGL_J2325.4-3559_daily_bin575.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.45
user 0.29
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/865337/ft1_filtered_4FGL_J2325.4-3559_daily_bin575.fits scfile=/scratch/kocevski/865337/ft2_4FGL_J2325.4-3559_daily_bin575.fits outfile=/scratch/kocevski/865337/cmap_HighResolution_388368001_388627201_4FGL_J2325.4-3559_daily_bin575.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.44
user 0.29
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/865337/ft1_filtered_4FGL_J2325.4-3559_daily_bin575.fits evtable="EVENTS" scfile=/scratch/kocevski/865337/ft2_4FGL_J2325.4-3559_daily_bin575.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/865337/Model_4FGL_J2325.4-3559_daily_bin575.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/865337/ft1_filtered_4FGL_J2325.4-3559_daily_bin575.fits.....................!
real 31.99
user 30.16
sys 1.47

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    30.506       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .97396       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .14702E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .27091E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.3328       1.0000         .10000E-03   10000.    
     7 'Prefactor '    17.572       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .87314       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .21415E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    20.158       1.0000         .10000E-03   10000.    
    12 'norm      '    .51757       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .16732E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .36525E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .19744E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10145E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    6.5413       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .14860E-02   1.0000         .10000E-03   10000.    
    20 'norm      '    7.3205       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .13735E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10235E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    70.063       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .17863E-02   1.0000         .10000E-03   10000.    
    25 'Prefactor '    4.9624       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .67624E-03   1.0000         .10000E-03   10000.    
    28 'Normalizat'    1.0630       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .62335       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=   5450.226     FROM MIGRAD    STATUS=CONVERGED    787 CALLS     3285 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     30.417        29.718       -.13643E-06   -.21542E-04
   2  Prefactor     .97365        2.3015        .48554E-06    .12858E-03
   3  Prefactor     .10000E-03    9.6572       -.27759E-07** at limit **
   4  Prefactor     .10000E-03    13.383       -.57152E-07** at limit **
   5  Prefactor     .10000E-03    11.133        .59040E-07** at limit **
   6  Prefactor     5.3511        10.688        .21842E-05    .40976E-03
   7  Prefactor     17.636        11.117       -.46352E-06   -.36858E-03
   8  Prefactor     .10000E-03    1.6820        .26669E-07** at limit **
   9  norm          .88757        3.4746        .10530E-05   -.21921E-03
  10  Prefactor     .10000E-03    4.7651       -.19997E-07** at limit **
  11  Prefactor     19.987        14.096       -.58833E-06   -.23150E-03
  12  norm          .52656        .99598        .17978E-06   -.34539E-03
  13  Prefactor     .10000E-03    30.051       -.13272E-05** at limit **
  14  Prefactor     .10000E-03    8.4901        .67608E-07** at limit **
  15  norm          .10000E-03    2.7704        .86355E-08** at limit **
  16  norm          .10000E-03    1.7533       -.81220E-07** at limit **
  17  norm          .10000E-03    2.6395       -.32294E-07** at limit **
  18  Prefactor     7.3369        90.459       -.21507E-04   -.36775E-04
  19  Prefactor     .10001E-03    26.617        .52600E-05** at limit **
  20  norm          7.2453        7.2017        .39554E-05   -.13264E-02
  21  Prefactor     .10000E-03    3.1237        .10499E-07** at limit **
  22  norm          .10000E-03    2.3381       -.26807E-06** at limit **
  23  Prefactor     73.094        94.683        .40954E-06    .76817E-05
  24  Prefactor     .10001E-03    26.521       -.48523E-05** at limit **
  25  Prefactor     4.9743        5.4923        .16403E-06   -.19483E-03
  26  Prefactor     .10000E-03    1.3577        .12150E-07** at limit **
  27  Prefactor     .10002E-03    34.795        .67614E-05** at limit **
  28  Normalizat    1.0620        .16825        .54837E-06   -.14647E-03
  29  Prefactor     .62345        .17294       -.11630E-05   -.13526E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 30.4168
  Prefactor  = 0.973645
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.35109
  Prefactor  = 17.6356
  Prefactor  = 0.0001
  norm       = 0.88757
  Prefactor  = 0.0001
  Prefactor  = 19.9866
  norm       = 0.526561
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 7.33691
  Prefactor  = 0.000100014
  norm       = 7.24534
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 73.0942
  Prefactor  = 0.000100012
  Prefactor  = 4.9743
  Prefactor  = 0.0001
  Prefactor  = 0.000100022
  Normalizat = 1.062
  Prefactor  = 0.623448
 **********
 **   18 **HESSE 
 **********

 FCN=   5450.226     FROM HESSE     STATUS=OK           547 CALLS     3832 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     30.417        29.735        .72542E-04   -1.4604    
   2  Prefactor     .97365        1.8931        .16747E-02   -1.5511    
   3  Prefactor     .10000E-03    9.6779        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    13.394        .21432E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    11.185        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     5.3511        10.818        .17403E-03   -1.5245    
   7  Prefactor     17.636        11.190        .95546E-04   -1.4868    
   8  Prefactor     .10000E-03    1.6849        .93500E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .88757        3.3174        .23481E-03   -1.5520    
  10  Prefactor     .10000E-03    4.7666        .15730E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     19.987        12.715        .89210E-04   -1.4814    
  12  norm          .52656        .87671        .61597E-04   -1.5563    
  13  Prefactor     .10000E-03    30.168        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    8.5685        .20920E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    2.7711        .12001E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    1.7550        .95458E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    2.6579        .11713E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     7.3369        92.242        .15691E-03   -1.5166    
  19  Prefactor     .10001E-03    27.695        .20478E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          7.2453        7.4362        .63952E-03   -1.5170    
  21  Prefactor     .10000E-03    3.1256        .12743E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    2.3678        .10998E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     73.094        94.931        .47957E-04   -1.3996    
  24  Prefactor     .10001E-03    27.462        .20328E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     4.9743        5.5158        .17166E-03   -1.5262    
  26  Prefactor     .10000E-03    1.3616        .84007E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10002E-03    36.568        .20999E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    1.0620        .20365        .20045E-03   -.90981    
  29  Prefactor     .62345        .20657        .27592E-03   -1.0661    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.16742e-09
Minuit parameter uncertainties:
  1  29.7493
  2  1.89318
  3  6.9329e-06
  4  2.34183e-05
  5  4.64781e-06
  6  10.8224
  7  11.1911
  8  2.27397e-07
  9  3.31811
  10  7.26006e-07
  11  12.717
  12  0.876731
  13  0.000328313
  14  1.15344e-05
  15  7.38293e-07
  16  3.96805e-06
  17  2.64739e-06
  18  52.1288
  19  0.00123618
  20  7.43717
  21  9.52682e-07
  22  1.44465e-05
  23  95.1289
  24  0.00116374
  25  5.51638
  26  7.27488e-07
  27  0.00181313
  28  0.2038
  29  0.206823
Done.

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

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  1.000e-04  2.647e-06  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.234e-01  2.068e-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.062e+00  2.038e-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: 3.60e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.45e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/865337/likelihoodResults_388368001_388627201_4FGL_J2325.4-3559_daily_bin575.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) = 5450.22825503
delta logL = -0.00178360381506

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5450.22647144
delta logL = -1.77433321369e-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.1316       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0620       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .62343       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=   5450.226     FROM MIGRAD    STATUS=FAILED        82 CALLS      218 TOTAL
                     EDM=   .63E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10013E-03    4.8897        .11716E-02** at limit **
   2  alpha         2.1797        3.0757        .16692       -.26876E-05
   3  Normalizat    1.0620        .18365        .20045E-03    .17979E-04
   4  Prefactor     .62345        .19894        .27592E-03    .19283E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   5450.226     FROM SIMPLEX   STATUS=UNCHANGED    124 CALLS      342 TOTAL
                     EDM=   .14E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10013E-03    4.8897        .24954E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.1797        3.0757        .71304E-03   -.12846    
   3  Normalizat    1.0620        .18365        .89628E-04   -.90981    
   4  Prefactor     .62345        .19894        .10630E-03   -1.0661    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5450.226     FROM MIGRAD    STATUS=CONVERGED      7 CALLS      349 TOTAL
                     EDM=   .27E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 18.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2.6737        .10140E-05** at limit **
   2  alpha         2.2326        3.4848       -.20016E-02   -.20035E-08
   3  Normalizat    1.0620        .18365       -.85669E-09   -.21427E-04
   4  Prefactor     .62345        .19894        .99414E-08   -.17622E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.23256
  Normalizat = 1.062
  Prefactor  = 0.623446
 **********
 **   18 **HESSE 
 **********

 FCN=   5450.226     FROM HESSE     STATUS=OK            25 CALLS      374 TOTAL
                     EDM=   .50E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.6774        .23432E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.2326        3.5004        .33384E-01   -.10718    
   3  Normalizat    1.0620        .18383        .80179E-05   -.90981    
   4  Prefactor     .62345        .19913        .11037E-04   -1.0661    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.04022e-13
Minuit parameter uncertainties:
  1  6.48957e-07
  2  221.209
  3  0.183941
  4  0.199359
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/865337': 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) = 5450.22647132
delta logL = 1.10409928311e-07

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  1.000e-04  6.490e-07  1.000e-04  1.000e+04 ( 1.000e-12)
426        alpha:  2.233e+00  2.212e+02  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.234e-01  1.994e-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.062e+00  1.839e-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/865337/cmap_HighResolution_388368001_388627201_4FGL_J2325.4-3559_daily_bin575.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.45e-05', job_status='DONE', photon_flux_upper_limit='3.60e-08', time_completed='2021-09-29 17:42:40.414925', job_id='865337', GAL2='0.62', fit_tolerance='1e-08', EG2='1.06', EG='1.06', time_epoch_completed='1632962560.41', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.62', dlogl='1.10e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='575' AND source_name='4FGL J2325.4-3559' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 17:42:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0071>
Subject: Job 865337: <4FGL_J2325.4-3559_daily_bin575> in cluster <slac> Done

Job <4FGL_J2325.4-3559_daily_bin575> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Wed Sep 29 17:30:36 2021
Job was executed on host(s) <bullet0071>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 17:30: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:30:38 2021
Terminated at Wed Sep 29 17:42:40 2021
Results reported at Wed Sep 29 17:42:40 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-3559_daily_bin575 351.359 -35.9878 388368001 388627201 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 :                                   552.17 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             261.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   722 sec.
    Turnaround time :                            724 sec.

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

