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


Performing analysis on: 4FGL_J2325.4-4800_daily_bin933
RA = 351.35, Dec = -48.0022
tmin = 481161601, tmax = 481420801
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='875682', job_status='RUN', time_executed='2021-09-29 18:07:28.413466', time_epoch_executed='1632964048.41' WHERE source_name='4FGL J2325.4-4800' and cadence='daily' and bin_id='933'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/875682

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/875682/ft1_4FGL_J2325.4-4800_daily_bin933.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/875682/ft2_4FGL_J2325.4-4800_daily_bin933.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/875682/ft1_4FGL_J2325.4-4800_daily_bin933.fits outfile=/scratch/kocevski/875682/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin933.fits ra=351.35 dec=-48.0022 rad=12.0 tmin=481161601.0 tmax=481420801.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.62
user 3.41
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/875682/ft2_4FGL_J2325.4-4800_daily_bin933.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/875682/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin933.fits evtable="EVENTS" outfile="/scratch/kocevski/875682/ft1_filtered_4FGL_J2325.4-4800_daily_bin933.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/875682/ft1_filtered_4FGL_J2325.4-4800_daily_bin933.fits" evtable="EVENTS" scfile=/scratch/kocevski/875682/ft2_4FGL_J2325.4-4800_daily_bin933.fits sctable="SC_DATA" outfile=/scratch/kocevski/875682/ltcube_481161601_481420801_4FGL_J2325.4-4800_daily_bin933.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/875682/ft2_4FGL_J2325.4-4800_daily_bin933.fits
.....................!
real 12.08
user 11.68
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/875682/ft1_filtered_4FGL_J2325.4-4800_daily_bin933.fits evtable="EVENTS" scfile=/scratch/kocevski/875682/ft2_4FGL_J2325.4-4800_daily_bin933.fits sctable="SC_DATA" expcube=/scratch/kocevski/875682/ltcube_481161601_481420801_4FGL_J2325.4-4800_daily_bin933.fits outfile=/scratch/kocevski/875682/expmap_481161601_481420801_4FGL_J2325.4-4800_daily_bin933.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/875682/ltcube_481161601_481420801_4FGL_J2325.4-4800_daily_bin933.fits
.....................!
real 189.80
user 184.56
sys 4.93

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/875682/ft1_filtered_4FGL_J2325.4-4800_daily_bin933.fits scfile=/scratch/kocevski/875682/ft2_4FGL_J2325.4-4800_daily_bin933.fits outfile=/scratch/kocevski/875682/cmap_481161601_481420801_4FGL_J2325.4-4800_daily_bin933.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/875682/ft1_filtered_4FGL_J2325.4-4800_daily_bin933.fits scfile=/scratch/kocevski/875682/ft2_4FGL_J2325.4-4800_daily_bin933.fits outfile=/scratch/kocevski/875682/cmap_HighResolution_481161601_481420801_4FGL_J2325.4-4800_daily_bin933.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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/875682/ft1_filtered_4FGL_J2325.4-4800_daily_bin933.fits evtable="EVENTS" scfile=/scratch/kocevski/875682/ft2_4FGL_J2325.4-4800_daily_bin933.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/875682/Model_4FGL_J2325.4-4800_daily_bin933.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/875682/ft1_filtered_4FGL_J2325.4-4800_daily_bin933.fits.....................!
real 39.21
user 37.97
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/875682/ft1_filtered_4FGL_J2325.4-4800_daily_bin933.fits', '/scratch/kocevski/875682/ft2_4FGL_J2325.4-4800_daily_bin933.fits', expMap='/scratch/kocevski/875682/expmap_481161601_481420801_4FGL_J2325.4-4800_daily_bin933.fits', expCube='/scratch/kocevski/875682/ltcube_481161601_481420801_4FGL_J2325.4-4800_daily_bin933.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/875682/Model_4FGL_J2325.4-4800_daily_bin933.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/875682/ft1_filtered_4FGL_J2325.4-4800_daily_bin933.fits
Spacecraft file(s): /scratch/kocevski/875682/ft2_4FGL_J2325.4-4800_daily_bin933.fits
Exposure map: /scratch/kocevski/875682/expmap_481161601_481420801_4FGL_J2325.4-4800_daily_bin933.fits
Exposure cube: /scratch/kocevski/875682/ltcube_481161601_481420801_4FGL_J2325.4-4800_daily_bin933.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/875682/Model_4FGL_J2325.4-4800_daily_bin933.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) = 4834.63651229

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    35.551       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    107.44       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    6.6622       1.0000         .10000E-03   10000.    
    10 'Prefactor '    7.2185       1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.5665       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    6.3184       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .19230E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    57.548       1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    9.9101       1.0000         .10000E-03   10000.    
    20 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10295E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    57.645       1.0000         .10000E-03   10000.    
    23 'norm      '    5.6339       1.0000         .10000E-03   10000.    
    24 'Prefactor '    5.4718       1.0000         .10000E-03   10000.    
    25 'norm      '    .34491       1.0000         .10000E-03   10000.    
    26 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    30 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    32 'Prefactor '    .29760       1.0000         .10000E-03   10000.    
    33 'Normalizat'    1.3134       1.0000         .10000E-01   10.000    
    34 'Prefactor '    .80156       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=   4834.629     FROM MIGRAD    STATUS=CONVERGED    920 CALLS     4866 TOTAL
                     EDM=   .67E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    33.231       -.30739E-04** at limit **
   2  Prefactor     .10000E-03    12.942        .16954E-05** at limit **
   3  Prefactor     35.556        50.380        .66449E-05   -.13938E-04
   4  Prefactor     .10000E-03    4.0239       -.19550E-05** at limit **
   5  Prefactor     .10000E-03    3.0362       -.80367E-06** at limit **
   6  Prefactor     107.44        68.217        .34450E-05    .31810E-06
   7  Prefactor     .10000E-03    3.7339        .16720E-05** at limit **
   8  norm          .10000E-03    2.4631        .23346E-05** at limit **
   9  Prefactor     6.6608        5.5419       -.60451E-05   -.80740E-03
  10  Prefactor     7.3266        130.41        .23355E-03    .32033E-04
  11  Prefactor     3.5665        4.2113        .47174E-06   -.11743E-03
  12  Prefactor     .10000E-03    13.714        .62238E-05** at limit **
  13  Prefactor     6.3101        12.962        .94049E-06   -.17539E-03
  14  Prefactor     .10000E-03    249.26        .23537E-04** at limit **
  15  Prefactor     .10000E-03    2.8678        .63312E-06** at limit **
  16  Prefactor     .10000E-03    35.248        .31439E-04** at limit **
  17  Prefactor     57.556        27.539       -.82480E-06   -.10582E-03
  18  norm          .10000E-03    4.7354        .14143E-05** at limit **
  19  norm          9.9114        9.2259       -.11899E-06   -.67566E-03
  20  norm          .10000E-03    2.4365       -.22915E-05** at limit **
  21  Prefactor     .10000E-03    8.0396        .19666E-05** at limit **
  22  Prefactor     57.652        57.961        .60083E-05    .12458E-04
  23  norm          5.6347        6.9017       -.77378E-06   -.13096E-03
  24  Prefactor     5.4741        15.036       -.13230E-05   -.13319E-03
  25  norm          .34466        1.3409        .14185E-06   -.12050E-02
  26  norm          .10000E-03    3.7708       -.30295E-06** at limit **
  27  Prefactor     .10000E-03    6.0029       -.10058E-05** at limit **
  28  Prefactor     .10000E-03    2.5252       -.74405E-06** at limit **
  29  Prefactor     .10000E-03    12.610       -.11799E-05** at limit **
  30  norm          .10000E-03    12.085       -.67193E-05** at limit **
  31  Prefactor     .10000E-03    2.3798        .40587E-06** at limit **
  32  Prefactor     .29582        3.4882        .30318E-06   -.18861E-03
  33  Normalizat    1.3132        .22732       -.13022E-05   -.32308E-03
  34  Prefactor     .80168        .22255       -.65495E-05   -.15356E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 35.5563
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 107.443
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 6.6608
  Prefactor  = 7.32659
  Prefactor  = 3.56648
  Prefactor  = 0.0001
  Prefactor  = 6.31006
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 57.5559
  norm       = 0.0001
  norm       = 9.91145
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 57.6515
  norm       = 5.63469
  Prefactor  = 5.47408
  norm       = 0.34466
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.295821
  Normalizat = 1.31319
  Prefactor  = 0.80168
 **********
 **   18 **HESSE 
 **********

 FCN=   4834.629     FROM HESSE     STATUS=OK           724 CALLS     5590 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    33.214        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    12.956        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     35.556        50.637        .67213E-04   -1.4515    
   4  Prefactor     .10000E-03    4.0260        .13622E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    3.0396        .11831E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     107.44        68.270        .38800E-04   -1.3631    
   7  Prefactor     .10000E-03    3.7416        .13121E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    2.4638        .10658E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     6.6608        5.5617        .13685E-03   -1.5192    
  10  Prefactor     7.3266        129.45        .14929E-03   -1.5167    
  11  Prefactor     3.5665        4.2072        .14996E-03   -1.5330    
  12  Prefactor     .10000E-03    13.729        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     6.3101        12.946        .15969E-03   -1.5206    
  14  Prefactor     .10000E-03    250.41        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    2.8725        .11498E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    35.366        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     57.556        27.311        .52883E-04   -1.4189    
  18  norm          .10000E-03    4.7369        .14778E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          9.9114        8.9985        .63645E-03   -1.5078    
  20  norm          .10000E-03    2.4370        .10596E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    8.1505        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     57.652        58.048        .52839E-04   -1.4188    
  23  norm          5.6347        6.8522        .16428E-03   -1.5233    
  24  Prefactor     5.4741        14.878        .17177E-03   -1.5240    
  25  norm          .34466        1.2709        .13160E-03   -1.5591    
  26  norm          .10000E-03    3.8824        .26315E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    6.0240        .16637E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    2.5701        .10774E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .10000E-03    12.628        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  norm          .10000E-03    12.093        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .10000E-03    2.3960        .10471E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Prefactor     .29582        23.563        .24143E-02   -1.5599    
  33  Normalizat    1.3132        .28307        .23242E-03   -.83173    
  34  Prefactor     .80168        .27324        .30175E-03   -.99666    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.47771e-09
Minuit parameter uncertainties:
  1  3.49908e-05
  2  5.02635e-06
  3  50.6982
  4  5.0203e-06
  5  1.2802e-06
  6  68.3199
  7  1.8823e-06
  8  2.42611e-06
  9  5.56217
  10  61.7504
  11  4.20756
  12  3.40865e-05
  13  12.9522
  14  0.000499747
  15  3.6167e-05
  16  2.99364e-05
  17  27.3173
  18  4.87229e-06
  19  8.99975
  20  1.02845e-06
  21  9.03143e-05
  22  58.1052
  23  6.85311
  24  14.8882
  25  1.27104
  26  1.16722e-05
  27  2.12192e-05
  28  1.35875e-05
  29  1.47152e-05
  30  1.78182e-05
  31  6.85303e-06
  32  5.28157
  33  0.283408
  34  0.273705
Done.

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

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  1.000e-04  9.031e-05  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:  8.017e-01  2.737e-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.313e+00  2.834e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 351.350 -48.002
Photon Flux Upper Limit: 7.62e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.77e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/875682/likelihoodResults_481161601_481420801_4FGL_J2325.4-4800_daily_bin933.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): 102
logL (Free Index) = 4834.6298431
delta logL = -0.000584704428547

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4834.62925841
delta logL = -1.74113665707e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1004       1.0000          .0000       10.000    
     3 'Normalizat'    1.3132       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80169       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=   4834.629     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      210 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    82.990        .90712E-02** at limit **
   2  Index         2.0953        8.0865        .50000        .47396E-05
   3  Normalizat    1.3132        .16815E-01    .52567E-01   -.46937E-04
   4  Prefactor     .80168        .17612E-01    .68203E-01   -.15420E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.09533
  Normalizat = 1.31319
  Prefactor  = 0.801678
 **********
 **   18 **HESSE 
 **********

 FCN=   4834.629     FROM HESSE     STATUS=OK            33 CALLS      243 TOTAL
                     EDM=   .28E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9.8984        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0953        6.0188        .50000       -.61988    
   3  Normalizat    1.3132        .25359        .23242E-03   -.83173    
   4  Prefactor     .80168        .26514        .30175E-03   -.99666    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.83371e-11
Minuit parameter uncertainties:
  1  8.44998e-06
  2  4.48862
  3  0.253833
  4  0.26556
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/875682': 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) = 4834.62925838
delta logL = 1.27729435917e-08

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  1.000e-04  8.450e-06  1.000e-04  1.000e+04 ( 1.000e-13)
440        Index:  2.095e+00  4.489e+00  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:  8.017e-01  2.656e-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.313e+00  2.538e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 351.350 -48.002

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/875682/cmap_HighResolution_481161601_481420801_4FGL_J2325.4-4800_daily_bin933.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.77e-03', job_status='DONE', photon_flux_upper_limit='7.62e-08', time_completed='2021-09-29 18:21:02.227664', job_id='875682', GAL2='0.80', fit_tolerance='1e-08', EG2='1.31', EG='1.31', time_epoch_completed='1632964862.23', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.80', dlogl='1.28e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.11' WHERE bin_id='933' AND source_name='4FGL J2325.4-4800' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:21:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0080>
Subject: Job 875682: <4FGL_J2325.4-4800_daily_bin933> in cluster <slac> Done

Job <4FGL_J2325.4-4800_daily_bin933> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 18:05:24 2021
Job was executed on host(s) <bullet0080>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 18:05:25 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:25 2021
Terminated at Wed Sep 29 18:21:03 2021
Results reported at Wed Sep 29 18:21:03 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-4800_daily_bin933 351.35 -48.0022 481161601 481420801 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 :                                   812.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             311.47 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   937 sec.
    Turnaround time :                            939 sec.

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

