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


Performing analysis on: 4FGL_J2325.4-3559_daily_bin761
RA = 351.359, Dec = -35.9878
tmin = 436579201, tmax = 436838401
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='866744', job_status='RUN', time_executed='2021-09-29 17:39:08.999833', time_epoch_executed='1632962349.0' WHERE source_name='4FGL J2325.4-3559' and cadence='daily' and bin_id='761'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/866744

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/866744/ft1_4FGL_J2325.4-3559_daily_bin761.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/866744/ft2_4FGL_J2325.4-3559_daily_bin761.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/866744/ft1_4FGL_J2325.4-3559_daily_bin761.fits outfile=/scratch/kocevski/866744/ft1_filteredMKT_4FGL_J2325.4-3559_daily_bin761.fits ra=351.359 dec=-35.9878 rad=12.0 tmin=436579201.0 tmax=436838401.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.49
user 5.23
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/866744/ft2_4FGL_J2325.4-3559_daily_bin761.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/866744/ft1_filteredMKT_4FGL_J2325.4-3559_daily_bin761.fits evtable="EVENTS" outfile="/scratch/kocevski/866744/ft1_filtered_4FGL_J2325.4-3559_daily_bin761.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/866744/ft1_filtered_4FGL_J2325.4-3559_daily_bin761.fits" evtable="EVENTS" scfile=/scratch/kocevski/866744/ft2_4FGL_J2325.4-3559_daily_bin761.fits sctable="SC_DATA" outfile=/scratch/kocevski/866744/ltcube_436579201_436838401_4FGL_J2325.4-3559_daily_bin761.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/866744/ft2_4FGL_J2325.4-3559_daily_bin761.fits
.....................!
real 12.10
user 11.73
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/866744/ft1_filtered_4FGL_J2325.4-3559_daily_bin761.fits evtable="EVENTS" scfile=/scratch/kocevski/866744/ft2_4FGL_J2325.4-3559_daily_bin761.fits sctable="SC_DATA" expcube=/scratch/kocevski/866744/ltcube_436579201_436838401_4FGL_J2325.4-3559_daily_bin761.fits outfile=/scratch/kocevski/866744/expmap_436579201_436838401_4FGL_J2325.4-3559_daily_bin761.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/866744/ltcube_436579201_436838401_4FGL_J2325.4-3559_daily_bin761.fits
.....................!
real 192.04
user 186.53
sys 5.04

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/866744/ft1_filtered_4FGL_J2325.4-3559_daily_bin761.fits scfile=/scratch/kocevski/866744/ft2_4FGL_J2325.4-3559_daily_bin761.fits outfile=/scratch/kocevski/866744/cmap_436579201_436838401_4FGL_J2325.4-3559_daily_bin761.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.56
user 0.36
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/866744/ft1_filtered_4FGL_J2325.4-3559_daily_bin761.fits scfile=/scratch/kocevski/866744/ft2_4FGL_J2325.4-3559_daily_bin761.fits outfile=/scratch/kocevski/866744/cmap_HighResolution_436579201_436838401_4FGL_J2325.4-3559_daily_bin761.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.40
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/866744/ft1_filtered_4FGL_J2325.4-3559_daily_bin761.fits evtable="EVENTS" scfile=/scratch/kocevski/866744/ft2_4FGL_J2325.4-3559_daily_bin761.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/866744/Model_4FGL_J2325.4-3559_daily_bin761.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/866744/ft1_filtered_4FGL_J2325.4-3559_daily_bin761.fits.......................!
real 25.01
user 23.76
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    123.37       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .25792E-02   1.0000         .10000E-03   10000.    
     3 'Prefactor '    13.786       1.0000         .10000E-03   10000.    
     4 'Prefactor '    35.109       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    11.012       1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.2980       1.0000         .10000E-03   10000.    
     9 'norm      '    1.6320       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10372E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    18.987       1.0000         .10000E-03   10000.    
    12 'norm      '    1.3725       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .23389E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10419E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    67.271       1.0000         .10000E-03   10000.    
    19 'Prefactor '    159.87       1.0000         .10000E-03   10000.    
    20 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10096E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10070E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    27.904       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    26.685       1.0000         .10000E-03   10000.    
    26 'Prefactor '    51.202       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10113E-03   1.0000         .10000E-03   10000.    
    28 'Normalizat'    .39592       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .91679       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=   2109.468     FROM MIGRAD    STATUS=CONVERGED    723 CALLS     3736 TOTAL
                     EDM=   .66E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     123.31        108.91       -.16657E-05   -.13697E-03
   2  Prefactor     .10030E-03    6.2801       -.68928E-06** at limit **
   3  Prefactor     13.826        37.897        .54937E-05    .12062E-03
   4  Prefactor     35.157        59.159        .63383E-06    .79270E-04
   5  Prefactor     .10000E-03    9.2550        .80694E-07** at limit **
   6  Prefactor     .10000E-03    15.217        .37644E-06** at limit **
   7  Prefactor     11.006        18.549        .19479E-06   -.38456E-04
   8  Prefactor     4.2947        9.4398        .39924E-06    .19010E-04
   9  norm          1.6317        6.4361        .56797E-06    .53342E-04
  10  Prefactor     .10000E-03    75.308       -.32813E-05** at limit **
  11  Prefactor     19.029        36.641       -.91386E-05   -.24227E-04
  12  norm          1.3697        2.6998        .22989E-05   -.60569E-03
  13  Prefactor     .10001E-03    462.79       -.19128E-05** at limit **
  14  Prefactor     .10000E-03    21.973       -.51784E-06** at limit **
  15  norm          .10000E-03    8.2246        .76643E-07** at limit **
  16  norm          .10000E-03    6.2830        .98480E-07** at limit **
  17  norm          .10000E-03    5.6825       -.12570E-06** at limit **
  18  Prefactor     67.264        57.796       -.45679E-06    .52951E-06
  19  Prefactor     159.84        102.57       -.64679E-06   -.10236E-03
  20  norm          .10000E-03    4.2362        .99831E-07** at limit **
  21  Prefactor     .10000E-03    13.075        .82485E-07** at limit **
  22  norm          .10000E-03    5.3053        .87875E-07** at limit **
  23  Prefactor     27.897        250.73       -.46557E-06    .98425E-06
  24  Prefactor     .10000E-03    36.881        .81195E-07** at limit **
  25  Prefactor     26.690        14.850        .39742E-06    .38025E-03
  26  Prefactor     51.200        18.026       -.91068E-07   -.22234E-04
  27  Prefactor     .10000E-03    77.994        .36071E-06** at limit **
  28  Normalizat    .39572        .30972        .86390E-05    .53355E-04
  29  Prefactor     .91710        .30305       -.58472E-05    .14415E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 123.315
  Prefactor  = 0.000100298
  Prefactor  = 13.8258
  Prefactor  = 35.1571
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.0057
  Prefactor  = 4.29475
  norm       = 1.63174
  Prefactor  = 0.000100003
  Prefactor  = 19.0288
  norm       = 1.36965
  Prefactor  = 0.000100014
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 67.2642
  Prefactor  = 159.839
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 27.8968
  Prefactor  = 0.0001
  Prefactor  = 26.6896
  Prefactor  = 51.2
  Prefactor  = 0.0001
  Normalizat = 0.39572
  Prefactor  = 0.917099
 **********
 **   18 **HESSE 
 **********

 FCN=   2109.468     FROM HESSE     STATUS=OK           543 CALLS     4279 TOTAL
                     EDM=   .42E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     123.31        109.90        .18118E-03   -1.3482    
   2  Prefactor     .10030E-03    93.062        .20694E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     13.826        37.734        .10788E-03   -1.4964    
   4  Prefactor     35.157        59.234        .67634E-04   -1.4521    
   5  Prefactor     .10000E-03    9.2574        .13648E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    15.244        .17500E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     11.006        18.550        .12073E-03   -1.5044    
   8  Prefactor     4.2947        9.4076        .19432E-03   -1.5293    
   9  norm          1.6317        6.3264        .21163E-03   -1.5452    
  10  Prefactor     .10000E-03    75.657        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     19.029        36.476        .91917E-04   -1.4835    
  12  norm          1.3697        2.6935        .49556E-04   -1.5474    
  13  Prefactor     .10001E-03    470.26        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    22.056        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    8.2287        .12866E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    6.3027        .11233E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    5.6872        .10694E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     67.264        57.553        .48936E-04   -1.4066    
  19  Prefactor     159.84        102.91        .15946E-03   -1.3173    
  20  norm          .10000E-03    4.2454        .92056E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    13.082        .16223E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    5.3666        .10324E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     27.897        251.09        .75841E-04   -1.4651    
  24  Prefactor     .10000E-03    36.884        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     26.690        14.929        .77551E-04   -1.4674    
  26  Prefactor     51.200        17.990        .56047E-04   -1.4276    
  27  Prefactor     .10000E-03    78.113        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    .39572        .33719        .31916E-03   -1.1752    
  29  Prefactor     .91710        .33425        .22560E-03   -.95546    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.16133e-09
Minuit parameter uncertainties:
  1  110.085
  2  0.0105525
  3  37.7992
  4  59.3332
  5  5.89084e-06
  6  3.4483e-05
  7  18.5596
  8  9.41079
  9  6.32895
  10  0.00091274
  11  36.5183
  12  2.69377
  13  0.00520811
  14  6.6828e-05
  15  8.64812e-06
  16  1.18248e-05
  17  1.00761e-05
  18  57.6007
  19  103.029
  20  6.62095e-06
  21  6.74691e-06
  22  7.59999e-06
  23  168.336
  24  2.41402e-05
  25  14.9312
  26  17.9917
  27  0.000332206
  28  0.338944
  29  0.335005
Done.

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

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  1.000e-04  1.008e-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:  9.171e-01  3.350e-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:  3.957e-01  3.389e-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: 9.12e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.66e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/866744/likelihoodResults_436579201_436838401_4FGL_J2325.4-3559_daily_bin761.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) = 2109.46845338
delta logL = -0.000814946846731

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2109.46763844
delta logL = 1.88811100088e-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.1320       1.0000          .0000       5.0000    
     3 'Normalizat'    .39571       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91712       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=   2109.468     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      235 TOTAL
                     EDM=   .83E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    7.6971        .10698E-02** at limit **
   2  alpha         2.3566        2.8615        .16692       -.11442E-07
   3  Normalizat    .39572        .29654        .31914E-03   -.24152E-04
   4  Prefactor     .91710        .31564        .22560E-03   -.35557E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.35664
  Normalizat = 0.395722
  Prefactor  = 0.917096
 **********
 **   18 **HESSE 
 **********

 FCN=   2109.468     FROM HESSE     STATUS=OK            23 CALLS      258 TOTAL
                     EDM=   .10E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    5.7713        .21396E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.3566        3.1171        .66767E-02   -.57376E-01
   3  Normalizat    .39572        .29672        .12766E-04   -1.1752    
   4  Prefactor     .91710        .31583        .45120E-04   -.95546    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.01117e-11
Minuit parameter uncertainties:
  1  1.88664e-05
  2  469.193
  3  0.297908
  4  0.316468
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/866744': 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) = 2109.46763831
delta logL = 1.27912699099e-07

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
593    Prefactor:  9.171e-01  3.165e-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:  3.957e-01  2.979e-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/866744/cmap_HighResolution_436579201_436838401_4FGL_J2325.4-3559_daily_bin761.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.66e-05', job_status='DONE', photon_flux_upper_limit='9.12e-08', time_completed='2021-09-29 17:47:21.977242', job_id='866744', GAL2='0.92', fit_tolerance='1e-08', EG2='0.40', EG='0.40', time_epoch_completed='1632962841.98', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='1.28e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='761' AND source_name='4FGL J2325.4-3559' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 17:47:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0237>
Subject: Job 866744: <4FGL_J2325.4-3559_daily_bin761> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-3559_daily_bin761 351.359 -35.9878 436579201 436838401 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 :                                   491.29 sec.
    Max Memory :                                 1220 MB
    Average Memory :                             256.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   709 sec.
    Turnaround time :                            710 sec.

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

