/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 234 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 = 7169
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2325.4-4800_daily_bin260
RA = 351.35, Dec = -48.0022
tmin = 306720001, tmax = 306979201
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='871402', job_status='RUN', time_executed='2021-09-29 17:54:49.136468', time_epoch_executed='1632963289.14' WHERE source_name='4FGL J2325.4-4800' and cadence='daily' and bin_id='260'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/871402

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/871402/ft1_4FGL_J2325.4-4800_daily_bin260.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/871402/ft2_4FGL_J2325.4-4800_daily_bin260.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/871402/ft1_4FGL_J2325.4-4800_daily_bin260.fits outfile=/scratch/kocevski/871402/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin260.fits ra=351.35 dec=-48.0022 rad=12.0 tmin=306720001.0 tmax=306979201.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.94
user 4.70
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/871402/ft2_4FGL_J2325.4-4800_daily_bin260.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/871402/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin260.fits evtable="EVENTS" outfile="/scratch/kocevski/871402/ft1_filtered_4FGL_J2325.4-4800_daily_bin260.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.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/871402/ft1_filtered_4FGL_J2325.4-4800_daily_bin260.fits" evtable="EVENTS" scfile=/scratch/kocevski/871402/ft2_4FGL_J2325.4-4800_daily_bin260.fits sctable="SC_DATA" outfile=/scratch/kocevski/871402/ltcube_306720001_306979201_4FGL_J2325.4-4800_daily_bin260.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/871402/ft2_4FGL_J2325.4-4800_daily_bin260.fits
.....................!
real 11.49
user 11.16
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/871402/ft1_filtered_4FGL_J2325.4-4800_daily_bin260.fits evtable="EVENTS" scfile=/scratch/kocevski/871402/ft2_4FGL_J2325.4-4800_daily_bin260.fits sctable="SC_DATA" expcube=/scratch/kocevski/871402/ltcube_306720001_306979201_4FGL_J2325.4-4800_daily_bin260.fits outfile=/scratch/kocevski/871402/expmap_306720001_306979201_4FGL_J2325.4-4800_daily_bin260.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/871402/ltcube_306720001_306979201_4FGL_J2325.4-4800_daily_bin260.fits
.....................!
real 189.50
user 185.21
sys 3.97

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/871402/ft1_filtered_4FGL_J2325.4-4800_daily_bin260.fits scfile=/scratch/kocevski/871402/ft2_4FGL_J2325.4-4800_daily_bin260.fits outfile=/scratch/kocevski/871402/cmap_306720001_306979201_4FGL_J2325.4-4800_daily_bin260.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.52
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/871402/ft1_filtered_4FGL_J2325.4-4800_daily_bin260.fits scfile=/scratch/kocevski/871402/ft2_4FGL_J2325.4-4800_daily_bin260.fits outfile=/scratch/kocevski/871402/cmap_HighResolution_306720001_306979201_4FGL_J2325.4-4800_daily_bin260.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/871402/ft1_filtered_4FGL_J2325.4-4800_daily_bin260.fits evtable="EVENTS" scfile=/scratch/kocevski/871402/ft2_4FGL_J2325.4-4800_daily_bin260.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/871402/Model_4FGL_J2325.4-4800_daily_bin260.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/871402/ft1_filtered_4FGL_J2325.4-4800_daily_bin260.fits.....................!
real 33.96
user 32.69
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .11424E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    14.011       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10026E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    12.468       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10222E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    15.335       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .12805E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    23.635       1.0000         .10000E-03   10000.    
    19 'norm      '    11.035       1.0000         .10000E-03   10000.    
    20 'norm      '    2.2302       1.0000         .10000E-03   10000.    
    21 'Prefactor '    5.0768       1.0000         .10000E-03   10000.    
    22 'Prefactor '    43.490       1.0000         .10000E-03   10000.    
    23 'norm      '    .10344E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    1.4314       1.0000         .10000E-03   10000.    
    25 'norm      '    24.144       1.0000         .10000E-03   10000.    
    26 'norm      '    2.6247       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10283E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    25.341       1.0000         .10000E-03   10000.    
    30 'norm      '    22.974       1.0000         .10000E-03   10000.    
    31 'Prefactor '    .13557E-03   1.0000         .10000E-03   10000.    
    32 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    33 'Normalizat'    1.2073       1.0000         .10000E-01   10.000    
    34 'Prefactor '    .73759       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=   3912.426     FROM MIGRAD    STATUS=CONVERGED    922 CALLS     4767 TOTAL
                     EDM=   .43E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    29.693        .11448E-05** at limit **
   2  Prefactor     .10000E-03    21.049       -.96461E-06** at limit **
   3  Prefactor     .10000E-03    113.48       -.17058E-05** at limit **
   4  Prefactor     .10000E-03    6.0075        .11142E-06** at limit **
   5  Prefactor     14.003        12.970        .14419E-06    .25782E-04
   6  Prefactor     .10000E-03    12.708       -.17354E-06** at limit **
   7  Prefactor     .10000E-03    7.1583        .11806E-06** at limit **
   8  norm          .10000E-03    6.0264        .12762E-06** at limit **
   9  Prefactor     .10000E-03    2.3221        .11315E-06** at limit **
  10  Prefactor     12.472        71.077       -.96872E-06   -.28297E-04
  11  Prefactor     .10000E-03    5.5761       -.42127E-06** at limit **
  12  Prefactor     15.317        31.341        .17113E-05    .23429E-04
  13  Prefactor     .10000E-03    4.0684       -.91005E-07** at limit **
  14  Prefactor     .10000E-03    50.813       -.21652E-06** at limit **
  15  Prefactor     .10000E-03    8.7618        .24743E-05** at limit **
  16  Prefactor     .10000E-03    18.170        .83483E-06** at limit **
  17  Prefactor     .10000E-03    9.5182        .32788E-07** at limit **
  18  norm          23.636        18.862       -.14343E-06   -.18411E-05
  19  norm          11.037        12.138        .37897E-06   -.81548E-05
  20  norm          2.2342        5.6154        .25797E-06    .13523E-03
  21  Prefactor     5.0692        9.8081       -.16041E-05    .22948E-04
  22  Prefactor     43.480        54.964        .15220E-05    .67849E-04
  23  norm          .10000E-03    6.8074       -.96108E-06** at limit **
  24  Prefactor     1.4403        129.23        .25639E-04   -.45282E-04
  25  norm          24.141        3.9507       -.19000E-06    .14844E-03
  26  norm          2.6248        5.7746        .41578E-07   -.69773E-06
  27  Prefactor     .10000E-03    5.3913        .49579E-07** at limit **
  28  Prefactor     .10000E-03    2.5834       -.51268E-06** at limit **
  29  Prefactor     25.315        29.254        .78175E-06    .53789E-04
  30  norm          22.937        43.922        .49714E-05    .67650E-04
  31  Prefactor     .10000E-03    6.9522       -.18113E-05** at limit **
  32  Prefactor     .10000E-03    2.6215        .11298E-07** at limit **
  33  Normalizat    1.2082        .24663       -.93954E-06    .23845E-05
  34  Prefactor     .73666        .25235       -.42804E-06    .99164E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.0026
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.4724
  Prefactor  = 0.0001
  Prefactor  = 15.3173
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 23.636
  norm       = 11.0374
  norm       = 2.23419
  Prefactor  = 5.0692
  Prefactor  = 43.4804
  norm       = 0.0001
  Prefactor  = 1.44035
  norm       = 24.1406
  norm       = 2.6248
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 25.3146
  norm       = 22.9373
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Normalizat = 1.20821
  Prefactor  = 0.736662
 **********
 **   18 **HESSE 
 **********

 FCN=   3912.426     FROM HESSE     STATUS=OK           722 CALLS     5489 TOTAL
                     EDM=   .87E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    29.691        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    21.115        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    114.14        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    6.0110        .14974E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     14.003        12.972        .10701E-03   -1.4959    
   6  Prefactor     .10000E-03    12.707        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    7.2152        .16344E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    6.0966        .14996E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    2.3440        .93056E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     12.472        70.487        .11345E-03   -1.5001    
  11  Prefactor     .10000E-03    5.6333        .14416E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     15.317        31.391        .10228E-03   -1.4925    
  13  Prefactor     .10000E-03    4.0720        .12321E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    50.821        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    26.101        .33886E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    18.157        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    9.5271        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          23.636        18.866        .82393E-04   -1.4735    
  19  norm          11.037        12.146        .60303E-03   -1.5043    
  20  norm          2.2342        5.6087        .21593E-03   -1.5409    
  21  Prefactor     5.0692        9.9116        .17845E-03   -1.5258    
  22  Prefactor     43.480        55.413        .60791E-04   -1.4388    
  23  norm          .10000E-03    6.9135        .15908E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     1.4403        137.39        .18051E-02   -1.5468    
  25  norm          24.141        3.9683        .45272E-04   -1.4725    
  26  norm          2.6248        5.7281        .20647E-03   -1.5384    
  27  Prefactor     .10000E-03    5.3937        .14185E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    2.6151        .98410E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     25.315        29.280        .79577E-04   -1.4701    
  30  norm          22.937        44.091        .83570E-04   -1.4750    
  31  Prefactor     .10000E-03    7.2552        .16296E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Prefactor     .10000E-03    2.6493        .98885E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Normalizat    1.2082        .30610        .24403E-03   -.86349    
  34  Prefactor     .73666        .31135        .31653E-03   -1.0211    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.68743e-10
Minuit parameter uncertainties:
  1  5.81872e-05
  2  3.20589e-05
  3  0.000420283
  4  1.84638e-06
  5  12.9744
  6  4.3255e-06
  7  8.90523e-06
  8  6.04695e-06
  9  8.03298e-06
  10  59.4076
  11  3.37884e-05
  12  31.4245
  13  9.35766e-06
  14  3.39518e-05
  15  0.000663365
  16  2.1216e-05
  17  3.34621e-06
  18  18.8705
  19  12.1486
  20  5.60998
  21  9.91483
  22  55.4783
  23  0.00010692
  24  28.2001
  25  3.96836
  26  5.72934
  27  1.154e-07
  28  4.34155e-05
  29  29.2964
  30  44.1534
  31  0.000264057
  32  1.57904e-07
  33  0.306557
  34  0.312087
Done.

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

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  5.069e+00  9.915e+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:  7.367e-01  3.121e-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.208e+00  3.066e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.48
Ra Dec: 351.350 -48.002
Photon Flux Upper Limit: 1.32e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.97e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/871402/likelihoodResults_306720001_306979201_4FGL_J2325.4-4800_daily_bin260.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) = 3912.38883839
delta logL = 0.0374565941106

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3912.38010848
delta logL = 0.0461864982835

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.9675       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3761       1.0000          .0000       10.000    
     3 'Normalizat'    1.2026       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73953       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=   3912.380     FROM MIGRAD    STATUS=CONVERGED     62 CALLS      227 TOTAL
                     EDM=   .99E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.9788        225.16        .50625E-02    .21789E-03
   2  Index         2.3743        6.1865        .18261        .54068E-04
   3  Normalizat    1.2027        .66543E-01    .55275E-01   -.42532E-05
   4  Prefactor     .73950        .66031E-01    .71375E-01    .80310E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.9788
  Index      = 2.37426
  Normalizat = 1.20267
  Prefactor  = 0.739495
 **********
 **   18 **HESSE 
 **********

 FCN=   3912.380     FROM HESSE     STATUS=OK            33 CALLS      260 TOTAL
                     EDM=   .49E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.9788        8.6092        .19224E-03   -1.5309    
   2  Index         2.3743        .93721        .66251E-02   -.55289    
   3  Normalizat    1.2027        .29098        .24442E-03   -.86520    
   4  Prefactor     .73950        .30202        .31588E-03   -1.0200    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.93761e-12
Minuit parameter uncertainties:
  1  8.61184
  2  0.944963
  3  0.291377
  4  0.302694
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/871402': 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) = 3912.38010621
delta logL = 0.0461887686729

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  3.979e+00  8.612e+00  1.000e-04  1.000e+04 ( 1.000e-13)
440        Index:  2.374e+00  9.450e-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:  7.395e-01  3.027e-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.203e+00  2.914e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.48
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/871402/cmap_HighResolution_306720001_306979201_4FGL_J2325.4-4800_daily_bin260.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.97e-03', job_status='DONE', photon_flux_upper_limit='1.32e-07', time_completed='2021-09-29 18:06:54.689205', job_id='871402', GAL2='0.74', fit_tolerance='1e-08', EG2='1.20', EG='1.21', time_epoch_completed='1632964014.69', return_code2='0', ts='0.48', comment='SUCCESS', return_code='0', GAL='0.74', dlogl='4.62e-02', ts2='0.58', photon_index_error='0.00', photon_index='2.11' WHERE bin_id='260' AND source_name='4FGL J2325.4-4800' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:06:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0046>
Subject: Job 871402: <4FGL_J2325.4-4800_daily_bin260> in cluster <slac> Done

Job <4FGL_J2325.4-4800_daily_bin260> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 17:50:44 2021
Job was executed on host(s) <bullet0046>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 17:50:47 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:50:47 2021
Terminated at Wed Sep 29 18:06:55 2021
Results reported at Wed Sep 29 18:06:55 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-4800_daily_bin260 351.35 -48.0022 306720001 306979201 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 :                                   724.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             249.40 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   967 sec.
    Turnaround time :                            971 sec.

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

