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


Performing analysis on: 4FGL_J2325.4-4800_daily_bin1014
RA = 351.35, Dec = -48.0022
tmin = 502156801, tmax = 502416001
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='875810', job_status='RUN', time_executed='2021-09-29 18:06:17.470482', time_epoch_executed='1632963977.47' WHERE source_name='4FGL J2325.4-4800' and cadence='daily' and bin_id='1014'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/875810

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/875810/ft1_4FGL_J2325.4-4800_daily_bin1014.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/875810/ft2_4FGL_J2325.4-4800_daily_bin1014.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/875810/ft1_4FGL_J2325.4-4800_daily_bin1014.fits outfile=/scratch/kocevski/875810/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin1014.fits ra=351.35 dec=-48.0022 rad=12.0 tmin=502156801.0 tmax=502416001.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 4.10
user 3.87
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/875810/ft2_4FGL_J2325.4-4800_daily_bin1014.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/875810/ft2_4FGL_J2325.4-4800_daily_bin1014.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/875810/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin1014.fits evtable="EVENTS" outfile="/scratch/kocevski/875810/ft1_filtered_4FGL_J2325.4-4800_daily_bin1014.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.53
user 0.33
sys 0.18

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/875810/ft1_filtered_4FGL_J2325.4-4800_daily_bin1014.fits" evtable="EVENTS" scfile=/scratch/kocevski/875810/ft2_4FGL_J2325.4-4800_daily_bin1014.fits sctable="SC_DATA" outfile=/scratch/kocevski/875810/ltcube_502156801_502416001_4FGL_J2325.4-4800_daily_bin1014.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/875810/ft2_4FGL_J2325.4-4800_daily_bin1014.fits
.....................!
real 11.63
user 11.27
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/875810/ft1_filtered_4FGL_J2325.4-4800_daily_bin1014.fits evtable="EVENTS" scfile=/scratch/kocevski/875810/ft2_4FGL_J2325.4-4800_daily_bin1014.fits sctable="SC_DATA" expcube=/scratch/kocevski/875810/ltcube_502156801_502416001_4FGL_J2325.4-4800_daily_bin1014.fits outfile=/scratch/kocevski/875810/expmap_502156801_502416001_4FGL_J2325.4-4800_daily_bin1014.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/875810/ltcube_502156801_502416001_4FGL_J2325.4-4800_daily_bin1014.fits
.....................!
real 190.88
user 185.85
sys 4.68

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 179 point sources and 0 extended sources

Setting source of interest to:
4FGL J2325.4-4800 @ 351.35 -48.0022

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/875810/ft1_filtered_4FGL_J2325.4-4800_daily_bin1014.fits scfile=/scratch/kocevski/875810/ft2_4FGL_J2325.4-4800_daily_bin1014.fits outfile=/scratch/kocevski/875810/cmap_502156801_502416001_4FGL_J2325.4-4800_daily_bin1014.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.35 yref=-48.0022 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/875810/ft1_filtered_4FGL_J2325.4-4800_daily_bin1014.fits scfile=/scratch/kocevski/875810/ft2_4FGL_J2325.4-4800_daily_bin1014.fits outfile=/scratch/kocevski/875810/cmap_HighResolution_502156801_502416001_4FGL_J2325.4-4800_daily_bin1014.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.35 yref=-48.0022 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/875810/ft1_filtered_4FGL_J2325.4-4800_daily_bin1014.fits evtable="EVENTS" scfile=/scratch/kocevski/875810/ft2_4FGL_J2325.4-4800_daily_bin1014.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/875810/Model_4FGL_J2325.4-4800_daily_bin1014.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/875810/ft1_filtered_4FGL_J2325.4-4800_daily_bin1014.fits.....................!
real 45.44
user 44.08
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/875810/ft1_filtered_4FGL_J2325.4-4800_daily_bin1014.fits', '/scratch/kocevski/875810/ft2_4FGL_J2325.4-4800_daily_bin1014.fits', expMap='/scratch/kocevski/875810/expmap_502156801_502416001_4FGL_J2325.4-4800_daily_bin1014.fits', expCube='/scratch/kocevski/875810/ltcube_502156801_502416001_4FGL_J2325.4-4800_daily_bin1014.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/875810/Model_4FGL_J2325.4-4800_daily_bin1014.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2325.4-4800'

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  3.164e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
440        Index:  2.106e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
441        Scale:  1.869e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/875810/ft1_filtered_4FGL_J2325.4-4800_daily_bin1014.fits
Spacecraft file(s): /scratch/kocevski/875810/ft2_4FGL_J2325.4-4800_daily_bin1014.fits
Exposure map: /scratch/kocevski/875810/expmap_502156801_502416001_4FGL_J2325.4-4800_daily_bin1014.fits
Exposure cube: /scratch/kocevski/875810/ltcube_502156801_502416001_4FGL_J2325.4-4800_daily_bin1014.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/875810/Model_4FGL_J2325.4-4800_daily_bin1014.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) = 6459.22951953

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    18.519       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10083E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    27.069       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10135E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.4318       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.9258       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.5007       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.8887       1.0000         .10000E-03   10000.    
    16 'Prefactor '    7.4609       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .11398E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    3.5803       1.0000         .10000E-03   10000.    
    20 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    3.9721       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    2.3558       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .99511       1.0000         .10000E-03   10000.    
    26 'norm      '    .30366       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10068E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .18122       1.0000         .10000E-03   10000.    
    29 'Prefactor '    11.143       1.0000         .10000E-03   10000.    
    30 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    32 'Prefactor '    1.6980       1.0000         .10000E-03   10000.    
    33 'Normalizat'    1.0767       1.0000         .10000E-01   10.000    
    34 'Prefactor '    .60528       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6459.134     FROM MIGRAD    STATUS=CONVERGED    916 CALLS     4114 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    37.233       -.20003E-05** at limit **
   2  Prefactor     18.506        19.725        .13915E-05    .48666E-04
   3  Prefactor     .10000E-03    9.1856       -.38162E-06** at limit **
   4  Prefactor     .10000E-03    8.3717        .24356E-06** at limit **
   5  Prefactor     .10000E-03    2.7037        .38457E-07** at limit **
   6  Prefactor     27.072        22.654       -.15619E-06    .18047E-04
   7  Prefactor     .10000E-03    5.6369       -.44798E-06** at limit **
   8  norm          .10000E-03    3.0691       -.51533E-09** at limit **
   9  Prefactor     2.4318        2.3089        .19240E-08   -.66458E-04
  10  Prefactor     .10000E-03    15.968        .19518E-05** at limit **
  11  Prefactor     3.9254        5.0000       -.15569E-06   -.16761E-04
  12  Prefactor     .10000E-03    12.126       -.23746E-08** at limit **
  13  Prefactor     3.4995        7.4307        .42735E-05    .25547E-03
  14  Prefactor     .10000E-03    42.148        .28961E-05** at limit **
  15  Prefactor     5.8889        5.7149        .10004E-05    .20930E-03
  16  Prefactor     7.4577        22.246        .62260E-06   -.45584E-05
  17  Prefactor     .10001E-03    6.6245        .37824E-05** at limit **
  18  norm          .10000E-03    2.6639       -.34547E-07** at limit **
  19  norm          3.5801        3.7161       -.44517E-06   -.16616E-03
  20  norm          .10000E-03    1.7717        .77642E-07** at limit **
  21  Prefactor     3.9713        3.7127        .16920E-06    .17845E-03
  22  Prefactor     .10000E-03    6.8898        .27885E-07** at limit **
  23  norm          2.3584        2.5309        .12449E-06   -.51647E-04
  24  Prefactor     .10000E-03    10.206       -.63676E-06** at limit **
  25  norm          .99501        .78495        .81225E-07    .11082E-03
  26  norm          .29118        2.8185       -.32432E-05    .12695E-03
  27  Prefactor     .10000E-03    11.928       -.18159E-06** at limit **
  28  Prefactor     .18202        1.5288        .42037E-06   -.16169E-03
  29  Prefactor     11.137        13.193       -.10763E-06    .22722E-05
  30  norm          .10000E-03    7.6238        .52466E-06** at limit **
  31  Prefactor     .10000E-03    1.6966       -.10473E-07** at limit **
  32  Prefactor     1.7000        2.2345       -.12468E-06   -.20530E-03
  33  Normalizat    1.0764        .14484       -.25344E-06    .66915E-04
  34  Prefactor     .60561        .15414       -.37683E-06   -.12051E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 18.506
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 27.0718
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 2.43179
  Prefactor  = 0.0001
  Prefactor  = 3.92538
  Prefactor  = 0.0001
  Prefactor  = 3.49949
  Prefactor  = 0.0001
  Prefactor  = 5.88893
  Prefactor  = 7.45775
  Prefactor  = 0.000100014
  norm       = 0.0001
  norm       = 3.58005
  norm       = 0.0001
  Prefactor  = 3.9713
  Prefactor  = 0.0001
  norm       = 2.35838
  Prefactor  = 0.0001
  norm       = 0.995015
  norm       = 0.29118
  Prefactor  = 0.0001
  Prefactor  = 0.182017
  Prefactor  = 11.1375
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.7
  Normalizat = 1.07643
  Prefactor  = 0.605613
 **********
 **   18 **HESSE 
 **********

 FCN=   6459.134     FROM HESSE     STATUS=OK           734 CALLS     4848 TOTAL
                     EDM=   .40E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    37.300        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     18.506        19.733        .93070E-04   -1.4847    
   3  Prefactor     .10000E-03    9.1995        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    8.4805        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    2.7256        .12904E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     27.072        22.658        .76999E-04   -1.4667    
   7  Prefactor     .10000E-03    5.7273        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    3.0840        .13750E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.4318        2.2998        .11486E-03   -1.5396    
  10  Prefactor     .10000E-03    15.972        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.9254        4.9867        .19049E-03   -1.5312    
  12  Prefactor     .10000E-03    12.173        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     3.4995        8.3344        .10805E-02   -1.5334    
  14  Prefactor     .10000E-03    42.143        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     5.8889        5.8443        .82744E-03   -1.5223    
  16  Prefactor     7.4577        22.256        .14683E-03   -1.5162    
  17  Prefactor     .10001E-03    22.828        .33530E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    2.6650        .12811E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          3.5801        3.7449        .76787E-03   -1.5330    
  20  norm          .10000E-03    1.7836        .10434E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     3.9713        3.7053        .14377E-03   -1.5309    
  22  Prefactor     .10000E-03    6.8952        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          2.3584        2.5156        .12310E-03   -1.5401    
  24  Prefactor     .10000E-03    10.340        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .99501        .76083        .59523E-04   -1.5508    
  26  norm          .29118        6.1456        .19102E-02   -1.5600    
  27  Prefactor     .10000E-03    12.036        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .18202        3.1013        .18420E-02   -1.5623    
  29  Prefactor     11.137        12.996        .12002E-03   -1.5040    
  30  norm          .10000E-03    7.6322        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .10000E-03    1.7166        .10216E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Prefactor     1.7000        2.2126        .13046E-03   -1.5447    
  33  Normalizat    1.0764        .17117        .19371E-03   -.90512    
  34  Prefactor     .60561        .18273        .27175E-03   -1.0735    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.02214e-08
Minuit parameter uncertainties:
  1  7.70926e-05
  2  19.74
  3  2.97491e-05
  4  6.31169e-06
  5  3.0105e-06
  6  22.6652
  7  2.17143e-05
  8  1.77919e-06
  9  2.29984
  10  2.10836e-05
  11  4.98725
  12  1.40756e-05
  13  8.33721
  14  5.13618e-05
  15  5.84487
  16  22.281
  17  0.00112427
  18  5.79368e-07
  19  3.74517
  20  7.46342e-06
  21  3.70556
  22  9.497e-06
  23  2.51567
  24  1.62767e-05
  25  0.760834
  26  2.67529
  27  1.35493e-05
  28  1.50234
  29  12.999
  30  4.32879e-06
  31  2.11356e-06
  32  2.21276
  33  0.17126
  34  0.182906
Done.

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

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  3.971e+00  3.706e+00  1.000e-04  1.000e+04 ( 1.000e-13)
440        Index:  2.106e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
441        Scale:  1.869e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
568    Prefactor:  6.056e-01  1.829e-01  0.000e+00  1.000e+01 ( 1.000e+00)
569        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
570        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
567   Normalization:  1.076e+00  1.713e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.83
Ra Dec: 351.350 -48.002
Photon Index (Fixed Index): 2.11 +/- 0.00
Photon Flux (Fixed Index): 1.71e-08 +/- 1.59e-08
Energy Flux (Fixed Index): 9.27e-06 +/- 8.65e-06

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) = 6458.48012374
delta logL = 0.653776264301

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6458.46858784
delta logL = 0.665312169415

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.3479       1.0000         .10000E-03   10000.    
     2 'Index     '    1.2008       1.0000          .0000       10.000    
     3 'Normalizat'    1.0916       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .59813       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6458.469     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      211 TOTAL
                     EDM=   .83E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.3470        3.3889        .55297E-02   -.24166E-03
   2  Index         1.2007        .51374        .30250       -.51124E-04
   3  Normalizat    1.0916        .14114        .38354E-01    .38779E-05
   4  Prefactor     .59813        .15277        .61790E-01    .29326E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.34696
  Index      = 1.20066
  Normalizat = 1.09157
  Prefactor  = 0.598126
 **********
 **   18 **HESSE 
 **********

 FCN=   6458.469     FROM HESSE     STATUS=OK            33 CALLS      244 TOTAL
                     EDM=   .35E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.3470        4.1132        .14501E-03   -1.5342    
   2  Index         1.2007        .66821        .12376E-01   -.86311    
   3  Normalizat    1.0916        .16639        .19255E-03   -.90023    
   4  Prefactor     .59813        .18009        .27337E-03   -1.0767    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.4646e-12
Minuit parameter uncertainties:
  1  4.11351
  2  0.673006
  3  0.166472
  4  0.180264
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/875810': 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) = 6458.4685878
delta logL = 0.665312207312

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  3.347e+00  4.114e+00  1.000e-04  1.000e+04 ( 1.000e-13)
440        Index:  1.201e+00  6.730e-01  0.000e+00  1.000e+01 (-1.000e+00)
441        Scale:  1.869e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
568    Prefactor:  5.981e-01  1.803e-01  0.000e+00  1.000e+01 ( 1.000e+00)
569        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
570        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
567   Normalization:  1.092e+00  1.665e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.17
Ra Dec: 351.350 -48.002
Photon Index (Free Index): 1.20 +/- 0.67
Photon Flux (Free Index): 4.21e-09 +/- 5.60e-09
Energy Flux (Free Index): 3.51e-05 +/- 5.40e-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/875810/cmap_HighResolution_502156801_502416001_4FGL_J2325.4-4800_daily_bin1014.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.71e-08', energy_flux2='3.51e-05', photon_flux_error='1.59e-08', dlogl='6.65e-01', energy_flux='9.27e-06', photon_flux2='4.21e-09', job_status='DONE', time_completed='2021-09-29 18:19:20.630504', photon_index_error2='0.67', photon_index2='1.20', ts='4.83', fit_tolerance='1e-08', GAL='0.61', photon_index_error='0.00', energy_flux_error2='5.40e-05', EG='1.08', time_epoch_completed='1632964760.63', return_code='0', job_id='875810', GAL2='0.60', EG2='1.09', return_code2='0', energy_flux_error='8.65e-06', photon_flux_error2='5.60e-09', ts2='6.17', photon_index='2.11' WHERE bin_id='1014' AND source_name='4FGL J2325.4-4800' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:19:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0077>
Subject: Job 875810: <4FGL_J2325.4-4800_daily_bin1014> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-4800_daily_bin1014 351.35 -48.0022 502156801 502416001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2325.4-4800 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   778.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             294.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   823 sec.
    Turnaround time :                            826 sec.

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

