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


Performing analysis on: 4FGL_J2325.4-3559_daily_bin660
RA = 351.359, Dec = -35.9878
tmin = 410400001, tmax = 410659201
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='866582', job_status='RUN', time_executed='2021-09-29 17:37:53.614950', time_epoch_executed='1632962273.61' WHERE source_name='4FGL J2325.4-3559' and cadence='daily' and bin_id='660'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/866582

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/866582/ft1_4FGL_J2325.4-3559_daily_bin660.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/866582/ft2_4FGL_J2325.4-3559_daily_bin660.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/866582/ft1_4FGL_J2325.4-3559_daily_bin660.fits outfile=/scratch/kocevski/866582/ft1_filteredMKT_4FGL_J2325.4-3559_daily_bin660.fits ra=351.359 dec=-35.9878 rad=12.0 tmin=410400001.0 tmax=410659201.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 6.56
user 6.31
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/866582/ft1_filtered_4FGL_J2325.4-3559_daily_bin660.fits" evtable="EVENTS" scfile=/scratch/kocevski/866582/ft2_4FGL_J2325.4-3559_daily_bin660.fits sctable="SC_DATA" outfile=/scratch/kocevski/866582/ltcube_410400001_410659201_4FGL_J2325.4-3559_daily_bin660.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/866582/ft2_4FGL_J2325.4-3559_daily_bin660.fits
.....................!
real 12.09
user 11.72
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/866582/ft1_filtered_4FGL_J2325.4-3559_daily_bin660.fits evtable="EVENTS" scfile=/scratch/kocevski/866582/ft2_4FGL_J2325.4-3559_daily_bin660.fits sctable="SC_DATA" expcube=/scratch/kocevski/866582/ltcube_410400001_410659201_4FGL_J2325.4-3559_daily_bin660.fits outfile=/scratch/kocevski/866582/expmap_410400001_410659201_4FGL_J2325.4-3559_daily_bin660.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/866582/ltcube_410400001_410659201_4FGL_J2325.4-3559_daily_bin660.fits
.....................!
real 190.49
user 185.11
sys 4.97

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/866582/ft1_filtered_4FGL_J2325.4-3559_daily_bin660.fits scfile=/scratch/kocevski/866582/ft2_4FGL_J2325.4-3559_daily_bin660.fits outfile=/scratch/kocevski/866582/cmap_410400001_410659201_4FGL_J2325.4-3559_daily_bin660.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/866582/ft1_filtered_4FGL_J2325.4-3559_daily_bin660.fits scfile=/scratch/kocevski/866582/ft2_4FGL_J2325.4-3559_daily_bin660.fits outfile=/scratch/kocevski/866582/cmap_HighResolution_410400001_410659201_4FGL_J2325.4-3559_daily_bin660.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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/866582/ft1_filtered_4FGL_J2325.4-3559_daily_bin660.fits evtable="EVENTS" scfile=/scratch/kocevski/866582/ft2_4FGL_J2325.4-3559_daily_bin660.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/866582/Model_4FGL_J2325.4-3559_daily_bin660.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/866582/ft1_filtered_4FGL_J2325.4-3559_daily_bin660.fits.....................!
real 30.22
user 28.19
sys 1.62

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .46403       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    13.969       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.5263       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.7398       1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10042E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    12.321       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10722E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10047E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    4.2161       1.0000         .10000E-03   10000.    
    21 'Prefactor '    75.339       1.0000         .10000E-03   10000.    
    22 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .12718E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    1.0841       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    20.438       1.0000         .10000E-03   10000.    
    28 'Normalizat'    .66599       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.1824       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=   3201.511     FROM MIGRAD    STATUS=CONVERGED    765 CALLS     3779 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    26.705        .22725E-06** at limit **
   2  Prefactor     .44803        4.4934       -.43440E-05    .97028E-03
   3  Prefactor     .10000E-03    10.150       -.69362E-07** at limit **
   4  Prefactor     .10000E-03    29.429       -.40572E-05** at limit **
   5  Prefactor     13.955        23.358       -.38851E-05   -.71093E-05
   6  Prefactor     .10000E-03    11.160        .14980E-07** at limit **
   7  Prefactor     7.5305        19.034        .23213E-05   -.57026E-05
   8  Prefactor     .10000E-03    7.1860        .11051E-06** at limit **
   9  norm          .10000E-03    3.5994        .21393E-07** at limit **
  10  Prefactor     .10000E-03    25.447        .26084E-05** at limit **
  11  Prefactor     7.7369        12.224        .42136E-06   -.59450E-04
  12  norm          .10000E-03    .45349       -.77166E-08** at limit **
  13  Prefactor     .10000E-03    32.552        .22726E-05** at limit **
  14  Prefactor     .10000E-03    8.7713        .10873E-06** at limit **
  15  norm          .10000E-03    12.150        .88498E-07** at limit **
  16  norm          .10000E-03    6.0940       -.41283E-08** at limit **
  17  norm          12.315        12.671        .40360E-06   -.47194E-04
  18  Prefactor     .10047E-03    44.388        .30417E-05** at limit **
  19  Prefactor     .10000E-03    23.135       -.90210E-06** at limit **
  20  norm          4.2158        4.0844       -.97437E-07   -.51221E-03
  21  Prefactor     75.329        35.578        .13149E-05   -.39233E-04
  22  norm          .10000E-03    1.0979        .22992E-07** at limit **
  23  Prefactor     .10000E-03    47.780        .19624E-08** at limit **
  24  Prefactor     .10000E-03    161.89       -.93680E-06** at limit **
  25  Prefactor     1.0782        2.7601        .68654E-06   -.52018E-03
  26  Prefactor     .10000E-03    3.3778        .61613E-07** at limit **
  27  Prefactor     20.496        55.643        .29239E-04    .25844E-03
  28  Normalizat    .66610        .22651       -.48454E-05    .33987E-03
  29  Prefactor     1.1825        .23607        .10749E-05    .60761E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.44803
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 13.955
  Prefactor  = 0.0001
  Prefactor  = 7.53051
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.73687
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 12.3145
  Prefactor  = 0.000100468
  Prefactor  = 0.0001
  norm       = 4.21579
  Prefactor  = 75.3294
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 1.0782
  Prefactor  = 0.0001
  Prefactor  = 20.4956
  Normalizat = 0.666095
  Prefactor  = 1.18249
 **********
 **   18 **HESSE 
 **********

 FCN=   3201.511     FROM HESSE     STATUS=OK           545 CALLS     4324 TOTAL
                     EDM=   .91E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    26.721        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .44803        14.266        .19645E-02   -1.5574    
   3  Prefactor     .10000E-03    10.152        .17606E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    29.399        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     13.955        23.333        .10717E-03   -1.4961    
   6  Prefactor     .10000E-03    11.170        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     7.5305        19.107        .14618E-03   -1.5159    
   8  Prefactor     .10000E-03    7.2316        .14813E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    3.6168        .10471E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    25.701        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     7.7369        11.300        .14414E-03   -1.5152    
  12  norm          .10000E-03    .55203        .68480E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    32.557        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    8.7873        .16343E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    12.173        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    6.1245        .13604E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          12.315        12.687        .57060E-03   -1.5006    
  18  Prefactor     .10047E-03    343.27        .66972E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    23.143        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          4.2158        3.8055        .10124E-03   -1.5297    
  21  Prefactor     75.329        35.602        .46260E-04   -1.3970    
  22  norm          .10000E-03    1.0982        .57897E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    47.794        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    163.18        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     1.0782        16.566        .18392E-02   -1.5500    
  26  Prefactor     .10000E-03    3.4298        .10154E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     20.496        62.227        .88597E-04   -1.4802    
  28  Normalizat    .66610        .27137        .25174E-03   -1.0525    
  29  Prefactor     1.1825        .28141        .22319E-03   -.86872    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.07026e-09
Minuit parameter uncertainties:
  1  1.93823e-05
  2  5.057
  3  1.01426e-05
  4  8.20568e-06
  5  23.3479
  6  1.11135e-05
  7  19.1227
  8  1.95445e-05
  9  2.71115e-06
  10  1.94917e-05
  11  11.3027
  12  1.89855e-07
  13  2.04393e-05
  14  3.84514e-06
  15  2.0543e-06
  16  4.635e-06
  17  12.6901
  18  0.0254924
  19  4.46395e-06
  20  3.80572
  21  35.6125
  22  3.94059e-07
  23  1.52232e-05
  24  0.00152106
  25  8.45497
  26  6.86733e-06
  27  62.4251
  28  0.271915
  29  0.281764
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
593    Prefactor:  1.182e+00  2.818e-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:  6.661e-01  2.719e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.28
Ra Dec: 351.359 -35.988
Photon Index (Fixed Index): 2.13 +/- 0.00
Photon Flux (Fixed Index): 3.83e-08 +/- 3.95e-08
Energy Flux (Fixed Index): 1.54e-05 +/- 1.59e-05

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

Saving results to:
/scratch/kocevski/866582/likelihoodResults_410400001_410659201_4FGL_J2325.4-3559_daily_bin660.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) = 3199.66598437
delta logL = 1.84517962566

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3199.61834591
delta logL = 1.89281808085

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.0686       1.0000         .10000E-03   10000.    
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    .49060       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3299       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.

 FCN=   3199.618     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      272 TOTAL
                     EDM=   .45E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.0682        2.5266        .66199E-02   -.17447E-02
   2  alpha         5.0000        4.8260        .46267    ** at limit **
   3  Normalizat    .49034        .21184        .65513E-01   -.18023E-03
   4  Prefactor     1.3300        .23947        .47960E-01   -.92536E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.06817
  alpha      = 5
  Normalizat = 0.490343
  Prefactor  = 1.33004
 **********
 **   18 **HESSE 
 **********

 FCN=   3199.618     FROM HESSE     STATUS=OK            29 CALLS      301 TOTAL
                     EDM=   .39E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.0682        .58346        .29549E-04   -1.5501    
   2  alpha         5.0000        .99431        .31788E-01    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .49034        .24748        .28995E-03   -1.1286    
   4  Prefactor     1.3300        .28033        .21200E-03   -.82418    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.92051e-10
Minuit parameter uncertainties:
  1  0.58346
  2  1.90486e-05
  3  0.24804
  4  0.280651
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/866582': 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) = 3199.61833996
delta logL = 1.89282403248

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  1.068e+00  5.835e-01  1.000e-04  1.000e+04 ( 1.000e-12)
426        alpha:  5.000e+00  1.905e-05  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.330e+00  2.807e-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.903e-01  2.480e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.58
Ra Dec: 351.359 -35.988
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 1.38e-07 +/- 7.51e-08
Energy Flux (Free Index): 1.91e-05 +/- 1.04e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/866582/cmap_HighResolution_410400001_410659201_4FGL_J2325.4-3559_daily_bin660.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.06e-05', comment='SUCCESS', photon_flux='3.83e-08', energy_flux2='1.91e-05', photon_flux_error='3.95e-08', dlogl='1.89e+00', energy_flux='1.54e-05', photon_flux2='1.38e-07', job_status='DONE', time_completed='2021-09-29 17:47:48.170066', photon_index_error2='0.00', photon_index2='5.00', ts='1.28', fit_tolerance='1e-08', GAL='1.18', photon_index_error='0.00', photon_flux_upper_limit='1.26e-07', energy_flux_error2='1.04e-05', EG='0.67', time_epoch_completed='1632962868.17', return_code='0', job_id='866582', GAL2='1.33', EG2='0.49', return_code2='0', energy_flux_error='1.59e-05', photon_flux_error2='7.51e-08', ts2='5.58', photon_index='2.13' WHERE bin_id='660' AND source_name='4FGL J2325.4-3559' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 17:47:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0076>
Subject: Job 866582: <4FGL_J2325.4-3559_daily_bin660> in cluster <slac> Done

Job <4FGL_J2325.4-3559_daily_bin660> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 17:35:18 2021
Job was executed on host(s) <bullet0076>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 17:35:19 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 17:35:19 2021
Terminated at Wed Sep 29 17:47:48 2021
Results reported at Wed Sep 29 17:47:48 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-3559_daily_bin660 351.359 -35.9878 410400001 410659201 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 :                                   592.41 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             273.36 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   749 sec.
    Turnaround time :                            750 sec.

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

