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


Performing analysis on: 4FGL_J2325.4-3559_daily_bin691
RA = 351.359, Dec = -35.9878
tmin = 418435201, tmax = 418694401
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='866631', job_status='RUN', time_executed='2021-09-29 17:35:35.058493', time_epoch_executed='1632962135.06' WHERE source_name='4FGL J2325.4-3559' and cadence='daily' and bin_id='691'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/866631

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/866631/ft1_4FGL_J2325.4-3559_daily_bin691.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/866631/ft2_4FGL_J2325.4-3559_daily_bin691.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/866631/ft1_4FGL_J2325.4-3559_daily_bin691.fits outfile=/scratch/kocevski/866631/ft1_filteredMKT_4FGL_J2325.4-3559_daily_bin691.fits ra=351.359 dec=-35.9878 rad=12.0 tmin=418435201.0 tmax=418694401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.20
user 4.97
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/866631/ft1_filtered_4FGL_J2325.4-3559_daily_bin691.fits" evtable="EVENTS" scfile=/scratch/kocevski/866631/ft2_4FGL_J2325.4-3559_daily_bin691.fits sctable="SC_DATA" outfile=/scratch/kocevski/866631/ltcube_418435201_418694401_4FGL_J2325.4-3559_daily_bin691.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/866631/ft2_4FGL_J2325.4-3559_daily_bin691.fits
.....................!
real 12.13
user 11.76
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/866631/ft1_filtered_4FGL_J2325.4-3559_daily_bin691.fits evtable="EVENTS" scfile=/scratch/kocevski/866631/ft2_4FGL_J2325.4-3559_daily_bin691.fits sctable="SC_DATA" expcube=/scratch/kocevski/866631/ltcube_418435201_418694401_4FGL_J2325.4-3559_daily_bin691.fits outfile=/scratch/kocevski/866631/expmap_418435201_418694401_4FGL_J2325.4-3559_daily_bin691.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/866631/ltcube_418435201_418694401_4FGL_J2325.4-3559_daily_bin691.fits
.....................!
real 190.16
user 184.73
sys 5.10

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/866631/ft1_filtered_4FGL_J2325.4-3559_daily_bin691.fits scfile=/scratch/kocevski/866631/ft2_4FGL_J2325.4-3559_daily_bin691.fits outfile=/scratch/kocevski/866631/cmap_418435201_418694401_4FGL_J2325.4-3559_daily_bin691.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/866631/ft1_filtered_4FGL_J2325.4-3559_daily_bin691.fits scfile=/scratch/kocevski/866631/ft2_4FGL_J2325.4-3559_daily_bin691.fits outfile=/scratch/kocevski/866631/cmap_HighResolution_418435201_418694401_4FGL_J2325.4-3559_daily_bin691.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.56
user 0.37
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/866631/ft1_filtered_4FGL_J2325.4-3559_daily_bin691.fits evtable="EVENTS" scfile=/scratch/kocevski/866631/ft2_4FGL_J2325.4-3559_daily_bin691.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/866631/Model_4FGL_J2325.4-3559_daily_bin691.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/866631/ft1_filtered_4FGL_J2325.4-3559_daily_bin691.fits....................!
real 26.38
user 25.11
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    80.994       1.0000         .10000E-03   10000.    
     5 'Prefactor '    47.497       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .14890E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    24.112       1.0000         .10000E-03   10000.    
     8 'Prefactor '    12.457       1.0000         .10000E-03   10000.    
     9 'norm      '    10.108       1.0000         .10000E-03   10000.    
    10 'Prefactor '    12.952       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10054E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10066E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10089E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    16.374       1.0000         .10000E-03   10000.    
    22 'norm      '    8.8912       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-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 '    .10006E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    28 'Normalizat'    .54336       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.0428       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=   2375.628     FROM MIGRAD    STATUS=CONVERGED    722 CALLS     3656 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    44.421       -.78161E-05** at limit **
   2  Prefactor     .10000E-03    4.8920       -.44647E-06** at limit **
   3  Prefactor     .10000E-03    16.480        .53063E-05** at limit **
   4  Prefactor     80.869        88.344       -.10973E-03    .93694E-05
   5  Prefactor     47.453        33.469       -.59044E-05    .31553E-04
   6  Prefactor     .10032E-03    163.95       -.62218E-05** at limit **
   7  Prefactor     24.117        23.893       -.10360E-06    .51133E-04
   8  Prefactor     12.448        13.010        .93628E-05    .72579E-04
   9  norm          10.108        7.2451        .35615E-05    .27066E-03
  10  Prefactor     12.954        16.185        .18767E-06    .14558E-03
  11  Prefactor     .10000E-03    5.3290        .90777E-07** at limit **
  12  norm          .10000E-03    .71941       -.65515E-06** at limit **
  13  Prefactor     .10000E-03    39.545        .11794E-04** at limit **
  14  Prefactor     .10000E-03    8.0774        .97392E-06** at limit **
  15  norm          .10000E-03    7.6050        .10549E-05** at limit **
  16  norm          .10000E-03    6.9128       -.57232E-05** at limit **
  17  norm          .10000E-03    6.7062        .15947E-05** at limit **
  18  Prefactor     .10000E-03    26.057        .17888E-04** at limit **
  19  Prefactor     .10000E-03    45.189       -.10380E-04** at limit **
  20  norm          .10000E-03    4.3631       -.17553E-06** at limit **
  21  Prefactor     16.375        24.060       -.21649E-05   -.72685E-05
  22  norm          8.8923        7.5306       -.89583E-06   -.58370E-04
  23  Prefactor     .10000E-03    52.250       -.22095E-04** at limit **
  24  Prefactor     .10000E-03    21.321       -.17147E-04** at limit **
  25  Prefactor     .10000E-03    6.6769        .16835E-05** at limit **
  26  Prefactor     .10000E-03    5.7427       -.83414E-06** at limit **
  27  Prefactor     .10000E-03    80.957        .42507E-04** at limit **
  28  Normalizat    .54304        .24455        .49319E-05    .70757E-04
  29  Prefactor     1.0430        .26430        .47775E-05    .47680E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 80.8689
  Prefactor  = 47.4528
  Prefactor  = 0.000100321
  Prefactor  = 24.1166
  Prefactor  = 12.4484
  norm       = 10.1083
  Prefactor  = 12.9536
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 16.3751
  norm       = 8.89231
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Normalizat = 0.543042
  Prefactor  = 1.04299
 **********
 **   18 **HESSE 
 **********

 FCN=   2375.628     FROM HESSE     STATUS=OK           537 CALLS     4193 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    44.437        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    5.0908        .21046E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    16.486        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     80.869        88.368        .22314E-03   -1.3907    
   5  Prefactor     47.453        33.449        .58182E-04   -1.4329    
   6  Prefactor     .10032E-03    167.18        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     24.117        23.928        .81576E-04   -1.4725    
   8  Prefactor     12.448        12.998        .11350E-03   -1.5002    
   9  norm          10.108        7.2118        .10562E-03   -1.5072    
  10  Prefactor     12.954        16.044        .11130E-03   -1.4988    
  11  Prefactor     .10000E-03    5.3419        .10987E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    2.0287        .78735E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    39.555        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    8.0972        .13528E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    7.6146        .13129E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    7.0437        .12513E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    6.7215        .12327E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    26.072        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    45.218        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    4.4205        .99288E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     16.375        24.054        .98979E-04   -1.4898    
  22  norm          8.8923        7.5222        .11718E-03   -1.5111    
  23  Prefactor     .10000E-03    52.255        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    21.323        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    6.7150        .12294E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    5.7930        .11405E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    81.597        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    .54304        .28547        .27169E-03   -1.1046    
  29  Prefactor     1.0430        .30972        .21979E-03   -.91310    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.66873e-09
Minuit parameter uncertainties:
  1  8.57541e-05
  2  6.3984e-05
  3  4.34366e-05
  4  88.5118
  5  33.4619
  6  0.0146937
  7  23.9379
  8  13.0007
  9  7.21238
  10  16.0493
  11  3.06607e-05
  12  9.33346e-05
  13  4.06276e-06
  14  3.76082e-05
  15  1.14576e-05
  16  9.94727e-06
  17  3.41315e-05
  18  3.52047e-05
  19  0.000135582
  20  1.51956e-05
  21  24.0679
  22  7.52298
  23  3.85654e-05
  24  1.77132e-05
  25  7.51444e-05
  26  3.37416e-05
  27  0.000808371
  28  0.286248
  29  0.310251
Done.

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

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  1.000e-04  3.413e-05  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.043e+00  3.103e-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:  5.430e-01  2.862e-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: 8.92e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.58e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/866631/likelihoodResults_418435201_418694401_4FGL_J2325.4-3559_daily_bin691.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) = 2375.62829069
delta logL = -0.000705308828401

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2375.62758539
delta logL = -7.25458448869e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1290       1.0000          .0000       5.0000    
     3 'Normalizat'    .54304       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0430       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=   2375.628     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      190 TOTAL
                     EDM=   .71E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    162.10        .90712E-02** at limit **
   2  alpha         2.1292        2.6096        .41739       -.14064E-06
   3  Normalizat    .54304        .28973E-01    .61403E-01    .12596E-04
   4  Prefactor     1.0430        .31909E-01    .40337E-01    .17307E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.12924
  Normalizat = 0.543041
  Prefactor  = 1.04299
 **********
 **   18 **HESSE 
 **********

 FCN=   2375.628     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      221 TOTAL
                     EDM=   .80E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1574.1        .12326E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.1292        2.8668        .16696       -.14885    
   3  Normalizat    .54304        .25361        .27169E-03   -1.1046    
   4  Prefactor     1.0430        .27999        .21979E-03   -.91310    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.9723e-08
Minuit parameter uncertainties:
  1  7.34323e-05
  2  4884.03
  3  0.254157
  4  0.28038
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/866631': 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): 102
logL (Free Index) = 2375.62758538
delta logL = 3.91082721762e-11

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  1.000e-04  7.343e-05  1.000e-04  1.000e+04 ( 1.000e-12)
426        alpha:  2.129e+00  4.884e+03  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.043e+00  2.804e-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:  5.430e-01  2.542e-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/866631/cmap_HighResolution_418435201_418694401_4FGL_J2325.4-3559_daily_bin691.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.58e-05', job_status='DONE', photon_flux_upper_limit='8.92e-08', time_completed='2021-09-29 17:44:00.026391', job_id='866631', GAL2='1.04', fit_tolerance='1e-08', EG2='0.54', EG='0.54', time_epoch_completed='1632962640.03', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='3.91e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='691' AND source_name='4FGL J2325.4-3559' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 17:44:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0050>
Subject: Job 866631: <4FGL_J2325.4-3559_daily_bin691> in cluster <slac> Done

Job <4FGL_J2325.4-3559_daily_bin691> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 17:35:22 2021
Job was executed on host(s) <bullet0050>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 17:35:24 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:24 2021
Terminated at Wed Sep 29 17:44:00 2021
Results reported at Wed Sep 29 17:44:00 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-3559_daily_bin691 351.359 -35.9878 418435201 418694401 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 :                                   502.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             312.21 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   516 sec.
    Turnaround time :                            518 sec.

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

