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


Performing analysis on: 4FGL_J2325.4-3559_daily_bin670
RA = 351.359, Dec = -35.9878
tmin = 412992001, tmax = 413251201
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='866597', job_status='RUN', time_executed='2021-09-29 17:38:27.250166', time_epoch_executed='1632962307.25' WHERE source_name='4FGL J2325.4-3559' and cadence='daily' and bin_id='670'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/866597

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/866597/ft1_4FGL_J2325.4-3559_daily_bin670.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/866597/ft2_4FGL_J2325.4-3559_daily_bin670.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/866597/ft1_4FGL_J2325.4-3559_daily_bin670.fits outfile=/scratch/kocevski/866597/ft1_filteredMKT_4FGL_J2325.4-3559_daily_bin670.fits ra=351.359 dec=-35.9878 rad=12.0 tmin=412992001.0 tmax=413251201.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.56
user 3.34
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/866597/ft1_filtered_4FGL_J2325.4-3559_daily_bin670.fits" evtable="EVENTS" scfile=/scratch/kocevski/866597/ft2_4FGL_J2325.4-3559_daily_bin670.fits sctable="SC_DATA" outfile=/scratch/kocevski/866597/ltcube_412992001_413251201_4FGL_J2325.4-3559_daily_bin670.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/866597/ft2_4FGL_J2325.4-3559_daily_bin670.fits
.....................!
real 11.79
user 11.41
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/866597/ft1_filtered_4FGL_J2325.4-3559_daily_bin670.fits evtable="EVENTS" scfile=/scratch/kocevski/866597/ft2_4FGL_J2325.4-3559_daily_bin670.fits sctable="SC_DATA" expcube=/scratch/kocevski/866597/ltcube_412992001_413251201_4FGL_J2325.4-3559_daily_bin670.fits outfile=/scratch/kocevski/866597/expmap_412992001_413251201_4FGL_J2325.4-3559_daily_bin670.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/866597/ltcube_412992001_413251201_4FGL_J2325.4-3559_daily_bin670.fits
.....................!
real 190.84
user 184.85
sys 5.62

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/866597/ft1_filtered_4FGL_J2325.4-3559_daily_bin670.fits scfile=/scratch/kocevski/866597/ft2_4FGL_J2325.4-3559_daily_bin670.fits outfile=/scratch/kocevski/866597/cmap_412992001_413251201_4FGL_J2325.4-3559_daily_bin670.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/866597/ft1_filtered_4FGL_J2325.4-3559_daily_bin670.fits scfile=/scratch/kocevski/866597/ft2_4FGL_J2325.4-3559_daily_bin670.fits outfile=/scratch/kocevski/866597/cmap_HighResolution_412992001_413251201_4FGL_J2325.4-3559_daily_bin670.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/866597/ft1_filtered_4FGL_J2325.4-3559_daily_bin670.fits evtable="EVENTS" scfile=/scratch/kocevski/866597/ft2_4FGL_J2325.4-3559_daily_bin670.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/866597/Model_4FGL_J2325.4-3559_daily_bin670.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/866597/ft1_filtered_4FGL_J2325.4-3559_daily_bin670.fits.....................!
real 24.56
user 23.23
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    56.880       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10086E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    204.49       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    72.118       1.0000         .10000E-03   10000.    
     7 'Prefactor '    26.385       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    8.5744       1.0000         .10000E-03   10000.    
    10 'Prefactor '    15.938       1.0000         .10000E-03   10000.    
    11 'Prefactor '    5.6771       1.0000         .10000E-03   10000.    
    12 'norm      '    .10020E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10076E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10059E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    32.194       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .14701E-02   1.0000         .10000E-03   10000.    
    20 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    31.413       1.0000         .10000E-03   10000.    
    22 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    97.178       1.0000         .10000E-03   10000.    
    24 'Prefactor '    47.200       1.0000         .10000E-03   10000.    
    25 'Prefactor '    18.342       1.0000         .10000E-03   10000.    
    26 'Prefactor '    30.641       1.0000         .10000E-03   10000.    
    27 'Prefactor '    25.992       1.0000         .10000E-03   10000.    
    28 'Normalizat'    1.4630       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .76837E-05   1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5960E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   1753.173     FROM MIGRAD    STATUS=CONVERGED     80 CALLS     4237 TOTAL
                     EDM=   .75E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     56.884        1.3796        .15226E-07   -.35430E-02
   2  Prefactor     .10000E-03    6.3628        .26714E-05** at limit **
   3  Prefactor     .10000E-03    11.297        .18557E-05** at limit **
   4  Prefactor     204.49        1.0005        .28797E-09   -.19139E-03
   5  Prefactor     .10142E-03    18.736        .17989E-05** at limit **
   6  Prefactor     72.118        1.0128        .24228E-08   -.55548E-03
   7  Prefactor     26.386        1.0167       -.66276E-09   -.29653E-03
   8  Prefactor     .10024E-03    13.960        .22785E-05** at limit **
   9  norm          8.5725        5.9508       -.22019E-06   -.39792E-02
  10  Prefactor     15.937        1.5874       -.27247E-07   -.14575E-02
  11  Prefactor     5.6664        2.6601       -.86699E-07   -.11202E-02
  12  norm          .10000E-03    .92817       -.33474E-06** at limit **
  13  Prefactor     .10046E-03    31.364        .14108E-05** at limit **
  14  Prefactor     .10009E-03    13.324        .19723E-05** at limit **
  15  norm          .10075E-03    12.176        .22561E-05** at limit **
  16  norm          .10000E-03    5.3872        .19954E-05** at limit **
  17  norm          32.188        1.2736       -.30266E-08    .13412E-02
  18  Prefactor     .10010E-03    21.194        .17429E-05** at limit **
  19  Prefactor     .89587E-03    4.5197       -.45709E-06** at limit **
  20  norm          .10000E-03    3.9624        .18265E-06** at limit **
  21  Prefactor     31.410        1.3212       -.18436E-07    .24460E-02
  22  norm          .10000E-03    3.8209        .31205E-07** at limit **
  23  Prefactor     97.178        1.0070       -.15091E-08    .68519E-03
  24  Prefactor     47.200        1.0006       -.57600E-09    .17969E-03
  25  Prefactor     18.345        1.0304       -.24496E-08    .35395E-03
  26  Prefactor     30.637        1.4475       -.20397E-07    .27589E-02
  27  Prefactor     25.994        1.0427        .66243E-08   -.63995E-03
  28  Normalizat    1.4628        .17368        .17414E-06    .52854E-05
  29  Prefactor     .97672E-11    1.2394        .10313E-04** at limit **
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 56.8842
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 204.492
  Prefactor  = 0.000101424
  Prefactor  = 72.1185
  Prefactor  = 26.3864
  Prefactor  = 0.000100236
  norm       = 8.57248
  Prefactor  = 15.9373
  Prefactor  = 5.6664
  norm       = 0.0001
  Prefactor  = 0.000100462
  Prefactor  = 0.000100086
  norm       = 0.00010075
  norm       = 0.0001
  norm       = 32.1878
  Prefactor  = 0.000100102
  Prefactor  = 0.000895873
  norm       = 0.0001
  Prefactor  = 31.4099
  norm       = 0.0001
  Prefactor  = 97.1777
  Prefactor  = 47.2001
  Prefactor  = 18.3449
  Prefactor  = 30.6367
  Prefactor  = 25.9938
  Normalizat = 1.46284
  Prefactor  = 9.76719e-12
 **********
 **   18 **HESSE 
 **********

 FCN=   1753.173     FROM HESSE     STATUS=OK           619 CALLS     4856 TOTAL
                     EDM=   .29E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     56.884        154.81        .13298E-02   -1.4198    
   2  Prefactor     .10000E-03    6.2891        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    24.747        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     204.49        207.39        .70656E-03   -1.2838    
   5  Prefactor     .10142E-03    32.224        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     72.118        99.386        .11818E-02   -1.4007    
   7  Prefactor     26.386        24.184        .19497E-02   -1.4680    
   8  Prefactor     .10024E-03    41.765        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          8.5725        8.3825        .34224E-02   -1.5122    
  10  Prefactor     15.937        21.713        .25081E-02   -1.4909    
  11  Prefactor     5.6664        15.799        .42147E-02   -1.5232    
  12  norm          .10000E-03    .77003        .16313E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10046E-03    62.558        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10009E-03    24.013        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10075E-03    45.612        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    5.3884        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          32.188        22.494        .17655E-02   -1.4573    
  18  Prefactor     .10010E-03    57.213        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .89587E-03    724.04        .10243E-01   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    3.9612        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     31.410        520.80        .17872E-02   -1.4586    
  22  norm          .10000E-03    3.8210        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     97.178        146.46        .10194E-02   -1.3733    
  24  Prefactor     47.200        56.102        .14591E-02   -1.4333    
  25  Prefactor     18.345        18.910        .23380E-02   -1.4851    
  26  Prefactor     30.637        50.723        .18096E-02   -1.4600    
  27  Prefactor     25.994        139.47        .19644E-02   -1.4688    
  28  Normalizat    1.4628        .28792        .44383E-01   -.78828    
  29  Prefactor     .97672E-11    .48603        .20464       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.9047e-06
Minuit parameter uncertainties:
  1  155.926
  2  0.000124306
  3  3.3746e-05
  4  208.143
  5  0.0135575
  6  99.6157
  7  24.1934
  8  0.00628348
  9  8.38361
  10  21.7241
  11  15.8106
  12  4.96664e-06
  13  0.0107651
  14  0.00286884
  15  0.0117096
  16  0.000101723
  17  22.4998
  18  0.00484123
  19  1.53716
  20  8.25551e-06
  21  258.494
  22  4.39237e-06
  23  147.005
  24  56.1653
  25  18.9163
  26  50.7947
  27  120.863
  28  0.28824
  29  4.3937e-06
Done.

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

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  3.219e+01  2.250e+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:  9.767e-12  4.394e-06  0.000e+00  1.000e+01 ( 1.000e+00)
594        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
595        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
592   Normalization:  1.463e+00  2.882e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.70
Ra Dec: 351.359 -35.988
Photon Index (Fixed Index): 2.13 +/- 0.00
Photon Flux (Fixed Index): 1.00e-07 +/- 7.00e-08
Energy Flux (Fixed Index): 4.02e-05 +/- 2.81e-05

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) = 1752.95823459
delta logL = 0.214854052234

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1752.9548128
delta logL = 0.218275839477

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    29.240       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5852       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4478       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .18677E-06   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=   1752.955     FROM MIGRAD    STATUS=CONVERGED     69 CALLS      315 TOTAL
                     EDM=   .69E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          29.259        602.56        .18523E-02    .12596E-04
   2  alpha         2.5848        2.7543        .22505        .99312E-05
   3  Normalizat    1.4477        .27948        .44523E-01    .10785E-04
   4  Prefactor     .11317E-10    .96429        .20253    ** at limit **
                               ERR DEF=  .500    
Final values: 
  norm       = 29.2589
  alpha      = 2.58482
  Normalizat = 1.44775
  Prefactor  = 1.13165e-11
 **********
 **   18 **HESSE 
 **********

 FCN=   1752.955     FROM HESSE     STATUS=OK            35 CALLS      350 TOTAL
                     EDM=   .54E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          29.259        21.630        .74092E-04   -1.4626    
   2  alpha         2.5848        .70184        .95622E-02    .33936E-01
   3  Normalizat    1.4477        .17652        .19679E-03   -.79257    
   4  Prefactor     .11317E-10    2.2911        .12464E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.43704e-12
Minuit parameter uncertainties:
  1  21.6357
  2  0.711413
  3  0.176599
  4  1.06191e-05
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/866597': 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) = 1752.95481232
delta logL = 0.218276319692

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  2.926e+01  2.164e+01  1.000e-04  1.000e+04 ( 1.000e-12)
426        alpha:  2.585e+00  7.114e-01  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.132e-11  1.062e-05  0.000e+00  1.000e+01 ( 1.000e+00)
594        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
595        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
592   Normalization:  1.448e+00  1.766e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.04
Ra Dec: 351.359 -35.988
Photon Index (Free Index): 2.58 +/- 0.71
Photon Flux (Free Index): 1.42e-07 +/- 1.08e-07
Energy Flux (Free Index): 3.86e-05 +/- 2.50e-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/866597/cmap_HighResolution_412992001_413251201_4FGL_J2325.4-3559_daily_bin670.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.00e-07', energy_flux2='3.86e-05', photon_flux_error='7.00e-08', dlogl='2.18e-01', energy_flux='4.02e-05', photon_flux2='1.42e-07', job_status='DONE', time_completed='2021-09-29 17:45:50.026646', photon_index_error2='0.71', photon_index2='2.58', ts='5.70', fit_tolerance='1e-08', GAL='0.00', photon_index_error='0.00', energy_flux_error2='2.50e-05', EG='1.46', time_epoch_completed='1632962750.03', return_code='0', job_id='866597', GAL2='0.00', EG2='1.45', return_code2='0', energy_flux_error='2.81e-05', photon_flux_error2='1.08e-07', ts2='6.04', photon_index='2.13' WHERE bin_id='670' AND source_name='4FGL J2325.4-3559' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 17:45:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0273>
Subject: Job 866597: <4FGL_J2325.4-3559_daily_bin670> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-3559_daily_bin670 351.359 -35.9878 412992001 413251201 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 :                                   443.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             238.95 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   629 sec.
    Turnaround time :                            631 sec.

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

