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


Performing analysis on: 4FGL_J2325.4-3559_daily_bin778
RA = 351.359, Dec = -35.9878
tmin = 440985601, tmax = 441244801
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='867893', job_status='RUN', time_executed='2021-09-29 17:44:20.187861', time_epoch_executed='1632962660.19' WHERE source_name='4FGL J2325.4-3559' and cadence='daily' and bin_id='778'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/867893

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/867893/ft1_4FGL_J2325.4-3559_daily_bin778.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/867893/ft2_4FGL_J2325.4-3559_daily_bin778.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/867893/ft1_4FGL_J2325.4-3559_daily_bin778.fits outfile=/scratch/kocevski/867893/ft1_filteredMKT_4FGL_J2325.4-3559_daily_bin778.fits ra=351.359 dec=-35.9878 rad=12.0 tmin=440985601.0 tmax=441244801.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.42
user 3.22
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/867893/ft2_4FGL_J2325.4-3559_daily_bin778.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/867893/ft1_filteredMKT_4FGL_J2325.4-3559_daily_bin778.fits evtable="EVENTS" outfile="/scratch/kocevski/867893/ft1_filtered_4FGL_J2325.4-3559_daily_bin778.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/867893/ft1_filtered_4FGL_J2325.4-3559_daily_bin778.fits" evtable="EVENTS" scfile=/scratch/kocevski/867893/ft2_4FGL_J2325.4-3559_daily_bin778.fits sctable="SC_DATA" outfile=/scratch/kocevski/867893/ltcube_440985601_441244801_4FGL_J2325.4-3559_daily_bin778.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/867893/ft2_4FGL_J2325.4-3559_daily_bin778.fits
.....................!
real 12.25
user 11.89
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/867893/ft1_filtered_4FGL_J2325.4-3559_daily_bin778.fits evtable="EVENTS" scfile=/scratch/kocevski/867893/ft2_4FGL_J2325.4-3559_daily_bin778.fits sctable="SC_DATA" expcube=/scratch/kocevski/867893/ltcube_440985601_441244801_4FGL_J2325.4-3559_daily_bin778.fits outfile=/scratch/kocevski/867893/expmap_440985601_441244801_4FGL_J2325.4-3559_daily_bin778.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/867893/ltcube_440985601_441244801_4FGL_J2325.4-3559_daily_bin778.fits
.....................!
real 190.19
user 185.33
sys 4.47

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/867893/ft1_filtered_4FGL_J2325.4-3559_daily_bin778.fits scfile=/scratch/kocevski/867893/ft2_4FGL_J2325.4-3559_daily_bin778.fits outfile=/scratch/kocevski/867893/cmap_440985601_441244801_4FGL_J2325.4-3559_daily_bin778.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.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/867893/ft1_filtered_4FGL_J2325.4-3559_daily_bin778.fits scfile=/scratch/kocevski/867893/ft2_4FGL_J2325.4-3559_daily_bin778.fits outfile=/scratch/kocevski/867893/cmap_HighResolution_440985601_441244801_4FGL_J2325.4-3559_daily_bin778.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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/867893/ft1_filtered_4FGL_J2325.4-3559_daily_bin778.fits evtable="EVENTS" scfile=/scratch/kocevski/867893/ft2_4FGL_J2325.4-3559_daily_bin778.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/867893/Model_4FGL_J2325.4-3559_daily_bin778.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/867893/ft1_filtered_4FGL_J2325.4-3559_daily_bin778.fits.....................!
real 35.83
user 34.49
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    31.241       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .11207E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.3518       1.0000         .10000E-03   10000.    
     9 'norm      '    10.898       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.9522       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .11391E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10395E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .39092E-02   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    3.5405       1.0000         .10000E-03   10000.    
    16 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    3.2131       1.0000         .10000E-03   10000.    
    18 'Prefactor '    17.610       1.0000         .10000E-03   10000.    
    19 'Prefactor '    60.982       1.0000         .10000E-03   10000.    
    20 'norm      '    3.0410       1.0000         .10000E-03   10000.    
    21 'Prefactor '    1.1189       1.0000         .10000E-03   10000.    
    22 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10098E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    31.200       1.0000         .10000E-03   10000.    
    28 'Normalizat'    .87542       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.2309       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=   4199.206     FROM MIGRAD    STATUS=CONVERGED    738 CALLS     3745 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    35.804        .90103E-05** at limit **
   2  Prefactor     .10000E-03    1.8727       -.41637E-08** at limit **
   3  Prefactor     .10001E-03    42.067       -.85756E-05** at limit **
   4  Prefactor     .10000E-03    19.051        .19086E-05** at limit **
   5  Prefactor     31.217        30.236        .26753E-05    .19368E-03
   6  Prefactor     .10001E-03    53.787       -.10028E-04** at limit **
   7  Prefactor     .10000E-03    9.7367        .11634E-06** at limit **
   8  Prefactor     8.3503        9.4401        .19067E-06    .83618E-05
   9  norm          10.901        6.9385        .31217E-06    .89877E-04
  10  Prefactor     2.9618        15.736       -.12368E-06   -.39754E-04
  11  Prefactor     .10000E-03    14.391       -.22284E-06** at limit **
  12  norm          .10000E-03    .41255        .82156E-08** at limit **
  13  Prefactor     .10001E-03    292.34       -.13529E-04** at limit **
  14  Prefactor     .10000E-03    5.0426        .11572E-07** at limit **
  15  norm          3.5453        20.050        .47243E-06   -.19172E-04
  16  norm          .10000E-03    2.0435       -.88247E-08** at limit **
  17  norm          3.2112        6.1620        .30992E-05   -.14997E-02
  18  Prefactor     17.612        24.388       -.34969E-06   -.26538E-04
  19  Prefactor     60.993        64.027        .36527E-05    .10724E-03
  20  norm          3.0426        4.5037        .13938E-06   -.82856E-04
  21  Prefactor     1.1279        48.263        .90631E-06   -.67388E-04
  22  norm          .10000E-03    2.2115       -.80908E-10** at limit **
  23  Prefactor     .10002E-03    62.497        .12972E-04** at limit **
  24  Prefactor     .10000E-03    22.231       -.29650E-05** at limit **
  25  Prefactor     .10000E-03    3.0500       -.39488E-08** at limit **
  26  Prefactor     .10000E-03    5.8922        .75265E-07** at limit **
  27  Prefactor     31.212        44.691        .29338E-05    .92153E-04
  28  Normalizat    .87513        .21493       -.13129E-05    .61538E-04
  29  Prefactor     1.2308        .23610       -.52563E-06    .44223E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100008
  Prefactor  = 0.0001
  Prefactor  = 0.000100006
  Prefactor  = 0.0001
  Prefactor  = 31.2174
  Prefactor  = 0.000100009
  Prefactor  = 0.0001
  Prefactor  = 8.3503
  norm       = 10.9013
  Prefactor  = 2.96176
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100014
  Prefactor  = 0.0001
  norm       = 3.54528
  norm       = 0.0001
  norm       = 3.21121
  Prefactor  = 17.6118
  Prefactor  = 60.9932
  norm       = 3.04259
  Prefactor  = 1.12792
  norm       = 0.0001
  Prefactor  = 0.000100016
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 31.2124
  Normalizat = 0.87513
  Prefactor  = 1.23083
 **********
 **   18 **HESSE 
 **********

 FCN=   4199.206     FROM HESSE     STATUS=OK           545 CALLS     4290 TOTAL
                     EDM=   .69E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    36.330        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    1.8808        .86573E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10001E-03    42.894        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    19.075        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     31.217        30.351        .71686E-04   -1.4590    
   6  Prefactor     .10001E-03    54.935        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    9.7647        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     8.3503        9.4389        .13872E-03   -1.5130    
   9  norm          10.901        6.8724        .12136E-03   -1.5048    
  10  Prefactor     2.9618        14.017        .23636E-03   -1.5364    
  11  Prefactor     .10000E-03    14.447        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    .55589        .75618E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10001E-03    295.67        .19523E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    5.0508        .14207E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          3.5453        19.957        .21482E-03   -1.5331    
  16  norm          .10000E-03    2.0440        .90448E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          3.2112        8.9913        .11301E-02   -1.5350    
  18  Prefactor     17.612        24.386        .95443E-04   -1.4868    
  19  Prefactor     60.993        64.581        .51381E-04   -1.4144    
  20  norm          3.0426        4.4823        .15479E-03   -1.5359    
  21  Prefactor     1.1279        50.154        .44441E-03   -1.5496    
  22  norm          .10000E-03    2.2318        .94005E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10002E-03    63.532        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    22.299        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    3.0673        .11048E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    6.0158        .15355E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     31.212        44.791        .71733E-04   -1.4590    
  28  Normalizat    .87513        .25793        .25917E-03   -.97340    
  29  Prefactor     1.2308        .28521        .24592E-03   -.85388    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.93663e-09
Minuit parameter uncertainties:
  1  0.00105865
  2  8.65203e-07
  3  0.00101992
  4  0.000162575
  5  30.3661
  6  0.00138407
  7  6.82849e-06
  8  9.44058
  9  6.87289
  10  12.8913
  11  3.6413e-06
  12  1.12745e-06
  13  0.00414834
  14  1.67865e-06
  15  16.8314
  16  1.41836e-07
  17  8.99509
  18  24.4002
  19  64.6549
  20  4.48279
  21  15.0553
  22  1.61711e-06
  23  0.00198986
  24  0.000273944
  25  3.16755e-06
  26  1.55585e-05
  27  44.8391
  28  0.25829
  29  0.285572
Done.

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

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  3.211e+00  8.995e+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

GAL_V02
   Spectrum: PowerLaw
593    Prefactor:  1.231e+00  2.856e-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:  8.751e-01  2.583e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/867893/likelihoodResults_440985601_441244801_4FGL_J2325.4-3559_daily_bin778.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) = 4199.16601424
delta logL = 0.0401608460488

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4199.16468589
delta logL = 0.0414891925102

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.6199       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7057       1.0000          .0000       5.0000    
     3 'Normalizat'    .88032       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2253       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=   4199.165     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      203 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.6199        11.563        .53089E-02   -.35215E-03
   2  alpha         1.7054        1.4774        .44145       -.14858E-04
   3  Normalizat    .88032        .21083        .44650E-01    .10665E-04
   4  Prefactor     1.2253        .23603        .55717E-01    .33464E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 3.61993
  alpha      = 1.70541
  Normalizat = 0.880316
  Prefactor  = 1.22529
 **********
 **   18 **HESSE 
 **********

 FCN=   4199.165     FROM HESSE     STATUS=OK            33 CALLS      236 TOTAL
                     EDM=   .59E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.6199        8.5676        .21235E-03   -1.5327    
   2  alpha         1.7054        1.2765        .30970E-01   -.32345    
   3  Normalizat    .88032        .25290        .25848E-03   -.97155    
   4  Prefactor     1.2253        .28194        .24637E-03   -.85557    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.89406e-10
Minuit parameter uncertainties:
  1  8.57051
  2  1.34802
  3  0.253242
  4  0.282286
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/867893': 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) = 4199.16468588
delta logL = 0.0414892095732

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  3.620e+00  8.571e+00  1.000e-04  1.000e+04 ( 1.000e-12)
426        alpha:  1.705e+00  1.348e+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.225e+00  2.823e-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:  8.803e-01  2.532e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.16
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/867893/cmap_HighResolution_440985601_441244801_4FGL_J2325.4-3559_daily_bin778.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.52e-05', job_status='DONE', photon_flux_upper_limit='8.78e-08', time_completed='2021-09-29 17:55:04.264470', job_id='867893', GAL2='1.23', fit_tolerance='1e-08', EG2='0.88', EG='0.88', time_epoch_completed='1632963304.26', return_code2='0', ts='0.16', comment='SUCCESS', return_code='0', GAL='1.23', dlogl='4.15e-02', ts2='0.24', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='778' AND source_name='4FGL J2325.4-3559' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 17:55:04 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0054>
Subject: Job 867893: <4FGL_J2325.4-3559_daily_bin778> in cluster <slac> Done

Job <4FGL_J2325.4-3559_daily_bin778> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep 29 17:40:13 2021
Job was executed on host(s) <bullet0054>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 17:40:14 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 17:40:14 2021
Terminated at Wed Sep 29 17:55:05 2021
Results reported at Wed Sep 29 17:55:05 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-3559_daily_bin778 351.359 -35.9878 440985601 441244801 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 :                                   642.33 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             253.24 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   39 MB
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   890 sec.
    Turnaround time :                            892 sec.

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

