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


Performing analysis on: 4FGL_J2325.4-3559_daily_bin1255
RA = 351.359, Dec = -35.9878
tmin = 564624001, tmax = 564883201
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='869576', job_status='RUN', time_executed='2021-09-29 17:48:37.442784', time_epoch_executed='1632962917.44' WHERE source_name='4FGL J2325.4-3559' and cadence='daily' and bin_id='1255'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/869576

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/869576/ft1_4FGL_J2325.4-3559_daily_bin1255.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/869576/ft2_4FGL_J2325.4-3559_daily_bin1255.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/869576/ft1_4FGL_J2325.4-3559_daily_bin1255.fits outfile=/scratch/kocevski/869576/ft1_filteredMKT_4FGL_J2325.4-3559_daily_bin1255.fits ra=351.359 dec=-35.9878 rad=12.0 tmin=564624001.0 tmax=564883201.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.67
user 3.36
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/869576/ft2_4FGL_J2325.4-3559_daily_bin1255.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/869576/ft1_filteredMKT_4FGL_J2325.4-3559_daily_bin1255.fits evtable="EVENTS" outfile="/scratch/kocevski/869576/ft1_filtered_4FGL_J2325.4-3559_daily_bin1255.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/869576/ft1_filtered_4FGL_J2325.4-3559_daily_bin1255.fits" evtable="EVENTS" scfile=/scratch/kocevski/869576/ft2_4FGL_J2325.4-3559_daily_bin1255.fits sctable="SC_DATA" outfile=/scratch/kocevski/869576/ltcube_564624001_564883201_4FGL_J2325.4-3559_daily_bin1255.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/869576/ft2_4FGL_J2325.4-3559_daily_bin1255.fits
.....................!
real 11.91
user 11.54
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/869576/ft1_filtered_4FGL_J2325.4-3559_daily_bin1255.fits evtable="EVENTS" scfile=/scratch/kocevski/869576/ft2_4FGL_J2325.4-3559_daily_bin1255.fits sctable="SC_DATA" expcube=/scratch/kocevski/869576/ltcube_564624001_564883201_4FGL_J2325.4-3559_daily_bin1255.fits outfile=/scratch/kocevski/869576/expmap_564624001_564883201_4FGL_J2325.4-3559_daily_bin1255.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/869576/ltcube_564624001_564883201_4FGL_J2325.4-3559_daily_bin1255.fits
.....................!
real 190.42
user 185.48
sys 4.40

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/869576/ft1_filtered_4FGL_J2325.4-3559_daily_bin1255.fits scfile=/scratch/kocevski/869576/ft2_4FGL_J2325.4-3559_daily_bin1255.fits outfile=/scratch/kocevski/869576/cmap_564624001_564883201_4FGL_J2325.4-3559_daily_bin1255.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.53
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/869576/ft1_filtered_4FGL_J2325.4-3559_daily_bin1255.fits scfile=/scratch/kocevski/869576/ft2_4FGL_J2325.4-3559_daily_bin1255.fits outfile=/scratch/kocevski/869576/cmap_HighResolution_564624001_564883201_4FGL_J2325.4-3559_daily_bin1255.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=351.359 yref=-35.9878 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 1106.04771403

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10969E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    130.08       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10354E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .49571E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    6.7882       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10555E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    39.686       1.0000         .10000E-03   10000.    
    15 'norm      '    367.99       1.0000         .10000E-03   10000.    
    16 'norm      '    .10099E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10874E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    50.602       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .16112E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .21597E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .12001E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    47.301       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .24693       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .11968E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .31084       1.0000         .10000E-03   10000.    
    28 'Normalizat'    .20136       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.4438       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=   1106.048     FROM MIGRAD    STATUS=CONVERGED   1276 CALLS     4309 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    308.35        .18142E-02** at limit **
   2  Prefactor     .10000E-03    16.208        .13039E-02** at limit **
   3  Prefactor     130.04        122.80        .17651E-03    .60705E-05
   4  Prefactor     .10000E-03    147.08        .18142E-02** at limit **
   5  Prefactor     .10000E-03    69.904        .18142E-02** at limit **
   6  Prefactor     .10000E-03    115.27        .18142E-02** at limit **
   7  Prefactor     .10000E-03    11.662        .11092E-02** at limit **
   8  Prefactor     .10000E-03    20.984        .14885E-02** at limit **
   9  norm          .10000E-03    3.7165        .62557E-03** at limit **
  10  Prefactor     .10000E-03    66.533        .18142E-02** at limit **
  11  Prefactor     .10150E-03    468.38        .30521E-02** at limit **
  12  norm          6.7878        2.5399        .24015E-04    .12133E-02
  13  Prefactor     .10000E-03    97.918        .18142E-02** at limit **
  14  Prefactor     39.669        45.492        .63626E-04    .18197E-03
  15  norm          368.00        304.38        .10623E-03   -.53509E-07
  16  norm          .10000E-03    29.013        .17505E-02** at limit **
  17  norm          .10000E-03    74.665        .18142E-02** at limit **
  18  Prefactor     50.726        336.76        .28188E-03    .28232E-05
  19  Prefactor     .10000E-03    97.461        .18142E-02** at limit **
  20  norm          .10000E-03    59.933        .18142E-02** at limit **
  21  Prefactor     .10000E-03    1536.3        .18142E-02** at limit **
  22  norm          .10000E-03    115.33        .18142E-02** at limit **
  23  Prefactor     47.202        185.87        .29151E-03    .39975E-06
  24  Prefactor     .10000E-03    61.454        .18142E-02** at limit **
  25  Prefactor     .34134        1149.4        .36126E-02    .20873E-04
  26  Prefactor     .10000E-03    391.07        .18142E-02** at limit **
  27  Prefactor     .10000E-03    1210.0        .17913    ** at limit **
  28  Normalizat    .20201        .55651        .57287E-03    .43441E-04
  29  Prefactor     1.4430        .58377        .23580E-03    .70064E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 130.045
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000101502
  norm       = 6.78777
  Prefactor  = 0.0001
  Prefactor  = 39.6685
  norm       = 367.995
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 50.7258
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100002
  norm       = 0.0001
  Prefactor  = 47.2023
  Prefactor  = 0.0001
  Prefactor  = 0.341343
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.202014
  Prefactor  = 1.44296
 **********
 **   18 **HESSE 
 **********

 FCN=   1106.048     FROM HESSE     STATUS=OK           535 CALLS     4844 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    308.35        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    16.209        .26078E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     130.04        122.74        .70604E-05   -1.3422    
   4  Prefactor     .10000E-03    147.08        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    69.908        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    115.28        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    11.663        .22184E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    20.984        .29770E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    3.7166        .12511E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    66.544        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10150E-03    471.92        .61043E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          6.7878        2.5357        .48029E-05   -1.5187    
  13  Prefactor     .10000E-03    97.919        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     39.669        45.446        .12725E-04   -1.4447    
  15  norm          368.00        304.39        .42492E-05   -1.1847    
  16  norm          .10000E-03    29.013        .35010E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    74.680        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     50.726        336.32        .11275E-04   -1.4282    
  19  Prefactor     .10000E-03    97.463        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    59.935        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    1536.3        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    115.33        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     47.202        185.55        .11660E-04   -1.4333    
  24  Prefactor     .10000E-03    61.454        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .34134        857.13        .14451E-03   -1.5591    
  26  Prefactor     .10000E-03    391.07        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    1011.8        .16823       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    .20201        .55314        .22915E-04   -1.2926    
  29  Prefactor     1.4430        .57450        .47160E-04   -.79150    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.34877e-09
Minuit parameter uncertainties:
  1  0.00018278
  2  1.29505e-05
  3  122.981
  4  4.83401e-05
  5  4.60811e-05
  6  0.000109859
  7  7.63127e-06
  8  5.92145e-06
  9  2.5628e-06
  10  6.24649e-05
  11  0.0536715
  12  2.53576
  13  5.92367e-05
  14  45.4856
  15  305.73
  16  1.62687e-05
  17  0.000153489
  18  263.403
  19  7.79647e-05
  20  0.000188118
  21  0.00338856
  22  0.000394917
  23  187.895
  24  1.17199e-05
  25  34.7139
  26  1.78327e-05
  27  0.000763328
  28  0.569348
  29  0.577092
Done.

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

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  1.000e-04  1.535e-04  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.443e+00  5.771e-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:  2.020e-01  5.693e-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.46e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.39e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/869576/likelihoodResults_564624001_564883201_4FGL_J2325.4-3559_daily_bin1255.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): 102
logL (Free Index) = 1106.04776352
delta logL = -6.3659972966e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1106.03591991
delta logL = 0.0117799457353

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.2201       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.0256       1.0000          .0000       5.0000    
     3 'Normalizat'    .18963       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4396       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=   1106.036     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      286 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.2285        56.447        .19616E-03    .83023E-05
   2  alpha         3.0254        3.7550        .30719E-01    .40332E-05
   3  Normalizat    .18967        .51560        .59022E-03    .33612E-05
   4  Prefactor     1.4396        .55024        .23611E-03   -.58934E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.22853
  alpha      = 3.02537
  Normalizat = 0.189666
  Prefactor  = 1.43957
 **********
 **   18 **HESSE 
 **********

 FCN=   1106.036     FROM HESSE     STATUS=OK            25 CALLS      311 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.2285        51.012        .78463E-05   -1.5297    
   2  alpha         3.0254        3.7113        .12288E-02    .21173    
   3  Normalizat    .18967        .51495        .23609E-04   -1.3018    
   4  Prefactor     1.4396        .54933        .47221E-04   -.79247    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.18225e-10
Minuit parameter uncertainties:
  1  29.4048
  2  2.62343
  3  0.528823
  4  0.551599
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/869576': 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) = 1106.03591986
delta logL = 0.0117799918623

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  4.229e+00  2.940e+01  1.000e-04  1.000e+04 ( 1.000e-12)
426        alpha:  3.025e+00  2.623e+00  0.000e+00  5.000e+00 ( 1.000e+00)
427         beta:  1.815e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
428           Eb:  6.031e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
593    Prefactor:  1.440e+00  5.516e-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.897e-01  5.288e-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/869576/cmap_HighResolution_564624001_564883201_4FGL_J2325.4-3559_daily_bin1255.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.39e-04', job_status='DONE', photon_flux_upper_limit='3.46e-07', time_completed='2021-09-29 17:55:34.710858', job_id='869576', GAL2='1.44', fit_tolerance='1e-08', EG2='0.19', EG='0.20', time_epoch_completed='1632963334.71', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.44', dlogl='1.18e-02', ts2='0.02', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='1255' AND source_name='4FGL J2325.4-3559' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 17:55:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0241>
Subject: Job 869576: <4FGL_J2325.4-3559_daily_bin1255> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-3559_daily_bin1255 351.359 -35.9878 564624001 564883201 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 :                                   412.00 sec.
    Max Memory :                                 1165 MB
    Average Memory :                             246.05 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   604 sec.
    Turnaround time :                            607 sec.

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

