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


Performing analysis on: 4FGL_J2325.4-4800_daily_bin1484
RA = 351.35, Dec = -48.0022
tmin = 623980801, tmax = 624240001
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='880044', job_status='RUN', time_executed='2021-09-29 18:17:56.239690', time_epoch_executed='1632964676.24' WHERE source_name='4FGL J2325.4-4800' and cadence='daily' and bin_id='1484'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/880044

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/880044/ft1_4FGL_J2325.4-4800_daily_bin1484.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/880044/ft2_4FGL_J2325.4-4800_daily_bin1484.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/880044/ft1_4FGL_J2325.4-4800_daily_bin1484.fits outfile=/scratch/kocevski/880044/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin1484.fits ra=351.35 dec=-48.0022 rad=12.0 tmin=623980801.0 tmax=624240001.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.99
user 3.76
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/880044/ft2_4FGL_J2325.4-4800_daily_bin1484.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/880044/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin1484.fits evtable="EVENTS" outfile="/scratch/kocevski/880044/ft1_filtered_4FGL_J2325.4-4800_daily_bin1484.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.50
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/880044/ft1_filtered_4FGL_J2325.4-4800_daily_bin1484.fits" evtable="EVENTS" scfile=/scratch/kocevski/880044/ft2_4FGL_J2325.4-4800_daily_bin1484.fits sctable="SC_DATA" outfile=/scratch/kocevski/880044/ltcube_623980801_624240001_4FGL_J2325.4-4800_daily_bin1484.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/880044/ft2_4FGL_J2325.4-4800_daily_bin1484.fits
.....................!
real 11.66
user 11.32
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/880044/ft1_filtered_4FGL_J2325.4-4800_daily_bin1484.fits evtable="EVENTS" scfile=/scratch/kocevski/880044/ft2_4FGL_J2325.4-4800_daily_bin1484.fits sctable="SC_DATA" expcube=/scratch/kocevski/880044/ltcube_623980801_624240001_4FGL_J2325.4-4800_daily_bin1484.fits outfile=/scratch/kocevski/880044/expmap_623980801_624240001_4FGL_J2325.4-4800_daily_bin1484.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/880044/ltcube_623980801_624240001_4FGL_J2325.4-4800_daily_bin1484.fits
.....................!
real 191.29
user 186.38
sys 4.61

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/880044/ft1_filtered_4FGL_J2325.4-4800_daily_bin1484.fits scfile=/scratch/kocevski/880044/ft2_4FGL_J2325.4-4800_daily_bin1484.fits outfile=/scratch/kocevski/880044/cmap_623980801_624240001_4FGL_J2325.4-4800_daily_bin1484.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/880044/ft1_filtered_4FGL_J2325.4-4800_daily_bin1484.fits scfile=/scratch/kocevski/880044/ft2_4FGL_J2325.4-4800_daily_bin1484.fits outfile=/scratch/kocevski/880044/cmap_HighResolution_623980801_624240001_4FGL_J2325.4-4800_daily_bin1484.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/880044/ft1_filtered_4FGL_J2325.4-4800_daily_bin1484.fits evtable="EVENTS" scfile=/scratch/kocevski/880044/ft2_4FGL_J2325.4-4800_daily_bin1484.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/880044/Model_4FGL_J2325.4-4800_daily_bin1484.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/880044/ft1_filtered_4FGL_J2325.4-4800_daily_bin1484.fits.....................!
real 34.85
user 33.47
sys 1.31

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10071E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10409E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    58.806       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10561E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10071E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10134E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    14.569       1.0000         .10000E-03   10000.    
     8 'norm      '    6.8879       1.0000         .10000E-03   10000.    
     9 'Prefactor '    13.487       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10115E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    35.338       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10106E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    6.1742       1.0000         .10000E-03   10000.    
    18 'norm      '    .10102E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10461E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    29.604       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .38530       1.0000         .10000E-03   10000.    
    23 'norm      '    5.0340       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .13410E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .51797       1.0000         .10000E-03   10000.    
    26 'norm      '    .11123E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    5.2665       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .13023E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10301E-03   1.0000         .10000E-03   10000.    
    30 'norm      '    .10037E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    .11354E-03   1.0000         .10000E-03   10000.    
    32 'Prefactor '    .61444E-01   1.0000         .10000E-03   10000.    
    33 'Normalizat'    1.0208       1.0000         .10000E-01   10.000    
    34 'Prefactor '    .68858       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4319.084     FROM MIGRAD    STATUS=CONVERGED   1670 CALLS     5592 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    33.807        .18142E-02** at limit **
   2  Prefactor     .10000E-03    62.996        .18142E-02** at limit **
   3  Prefactor     58.818        41.603        .52317E-04   -.17706E-03
   4  Prefactor     .10000E-03    10.989        .18142E-02** at limit **
   5  Prefactor     .10000E-03    2.6273        .10387E-02** at limit **
   6  Prefactor     .10000E-03    9.3459        .18142E-02** at limit **
   7  Prefactor     14.566        11.773        .10494E-03   -.11170E-03
   8  norm          6.8869        7.9194        .15287E-03    .12828E-03
   9  Prefactor     13.490        5.9268        .10186E-03    .42410E-03
  10  Prefactor     .10000E-03    49.355        .18142E-02** at limit **
  11  Prefactor     .10000E-03    7.6244        .22568E-02** at limit **
  12  Prefactor     .10000E-03    45.882        .18142E-02** at limit **
  13  Prefactor     35.349        15.695        .67414E-04    .71159E-03
  14  Prefactor     .10000E-03    33.758        .18142E-02** at limit **
  15  Prefactor     .10000E-03    2.2494        .96211E-03** at limit **
  16  Prefactor     .10000E-03    11.885        .18142E-02** at limit **
  17  Prefactor     6.1869        21.987        .16156E-03    .98935E-04
  18  norm          .10000E-03    5.4985        .15039E-02** at limit **
  19  norm          .10000E-03    2.2844        .96999E-03** at limit **
  20  norm          .10000E-03    3.1340        .11318E-02** at limit **
  21  Prefactor     29.613        11.480        .73636E-04    .35016E-03
  22  Prefactor     .35367        74.552        .10720        .16036E-03
  23  norm          5.0309        6.0437        .13399E-03    .98718E-03
  24  Prefactor     .10000E-03    35.875        .18142E-02** at limit **
  25  norm          .51683        1.1183        .10197E-02    .11937E-02
  26  norm          .10000E-03    4.9351        .28137E-03** at limit **
  27  Prefactor     5.2752        16.042        .17515E-03    .24990E-04
  28  Prefactor     .10005E-03    12.669        .17890E-02** at limit **
  29  Prefactor     .10000E-03    35.122        .18142E-02** at limit **
  30  norm          .10000E-03    8.5325        .18142E-02** at limit **
  31  Prefactor     .10000E-03    5.7920        .22052E-02** at limit **
  32  Prefactor     .10761        30.279        .20278E-02    .62945E-03
  33  Normalizat    1.0202        .25437        .22065E-03    .24821E-03
  34  Prefactor     .68878        .25272        .27910E-03    .20476E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 58.8184
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.5656
  norm       = 6.88693
  Prefactor  = 13.4897
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 35.3495
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.18687
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 29.6126
  Prefactor  = 0.353667
  norm       = 5.03086
  Prefactor  = 0.0001
  norm       = 0.516835
  norm       = 0.0001
  Prefactor  = 5.2752
  Prefactor  = 0.000100046
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 0.107607
  Normalizat = 1.02025
  Prefactor  = 0.688778
 **********
 **   18 **HESSE 
 **********

 FCN=   4319.084     FROM HESSE     STATUS=OK           712 CALLS     6304 TOTAL
                     EDM=   .98E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    33.808        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    63.026        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     58.818        41.594        .10463E-04   -1.4173    
   4  Prefactor     .10000E-03    10.992        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    2.6274        .20774E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    9.3459        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     14.566        11.773        .41975E-05   -1.4944    
   8  norm          6.8869        7.9194        .61148E-05   -1.5183    
   9  Prefactor     13.490        5.9257        .40746E-05   -1.4973    
  10  Prefactor     .10000E-03    49.360        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    7.6764        .45136E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    45.892        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     35.349        15.690        .13483E-04   -1.4518    
  14  Prefactor     .10000E-03    33.758        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    2.2494        .19242E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    11.885        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     6.1869        21.958        .64626E-05   -1.5210    
  18  norm          .10000E-03    5.4987        .30079E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    2.2844        .19400E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    3.1343        .22637E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     29.613        11.472        .14727E-04   -1.4619    
  22  Prefactor     .35367        66.443        .11347       -1.5589    
  23  norm          5.0309        5.9631        .53597E-05   -1.5259    
  24  Prefactor     .10000E-03    35.882        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .51683        1.1149        .40789E-04   -1.5564    
  26  norm          .10000E-03    4.9352        .56273E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     5.2752        16.035        .70059E-05   -1.5249    
  28  Prefactor     .10005E-03    12.781        .35779E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .10000E-03    35.138        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  norm          .10000E-03    8.5327        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .10000E-03    5.8123        .44104E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Prefactor     .10761        30.444        .81110E-04   -1.5642    
  33  Normalizat    1.0202        .25397        .44131E-04   -.92355    
  34  Prefactor     .68878        .25284        .11164E-04   -1.0397    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.81375e-09
Minuit parameter uncertainties:
  1  0.000158711
  2  0.000611019
  3  41.615
  4  4.75529e-06
  5  3.72846e-06
  6  8.8091e-06
  7  11.7746
  8  7.92065
  9  5.92593
  10  0.000248709
  11  3.17993e-05
  12  0.000319614
  13  15.6921
  14  9.21721e-05
  15  5.86892e-06
  16  1.48525e-05
  17  21.9868
  18  3.07504e-05
  19  1.65867e-06
  20  7.98112e-06
  21  11.4731
  22  9.70465
  23  5.96382
  24  8.98455e-05
  25  1.11499
  26  1.85951e-05
  27  16.0483
  28  0.00154011
  29  2.82397e-06
  30  2.85126e-05
  31  0.000298254
  32  3.62009
  33  0.254268
  34  0.253258
Done.

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

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  2.961e+01  1.147e+01  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.888e-01  2.533e-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.020e+00  2.543e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 23.64
Ra Dec: 351.350 -48.002
Photon Index (Fixed Index): 2.11 +/- 0.00
Photon Flux (Fixed Index): 1.28e-07 +/- 4.94e-08
Energy Flux (Fixed Index): 6.91e-05 +/- 2.68e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4318.48476966
delta logL = 0.599702860242

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4318.48306521
delta logL = 0.60140731105

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    17.774       1.0000         .10000E-03   10000.    
     2 'Index     '    2.5018       1.0000          .0000       10.000    
     3 'Normalizat'    .94776       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73966       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4318.483     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      291 TOTAL
                     EDM=   .83E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.775        13.461        .86902E-04   -.42216E-03
   2  Index         2.5019        .41029        .23796E-02   -.14588E-03
   3  Normalizat    .94765        .24678        .22739E-03    .45496E-04
   4  Prefactor     .73976        .25423        .26968E-03    .10661E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.7748
  Index      = 2.5019
  Normalizat = 0.947647
  Prefactor  = 0.739763
 **********
 **   18 **HESSE 
 **********

 FCN=   4318.483     FROM HESSE     STATUS=OK            25 CALLS      316 TOTAL
                     EDM=   .90E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.775        12.188        .34761E-05   -1.4865    
   2  Index         2.5019        .37128        .95183E-04   -.52316    
   3  Normalizat    .94765        .24572        .90957E-05   -.94806    
   4  Prefactor     .73976        .25368        .10787E-04   -1.0199    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.02501e-11
Minuit parameter uncertainties:
  1  12.1901
  2  0.371735
  3  0.246015
  4  0.25408
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/880044': 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) = 4318.4830649
delta logL = 0.601407625537

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  1.777e+01  1.219e+01  1.000e-04  1.000e+04 ( 1.000e-13)
440        Index:  2.502e+00  3.717e-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.398e-01  2.541e-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:  9.476e-01  2.460e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 24.89
Ra Dec: 351.350 -48.002
Photon Index (Free Index): 2.50 +/- 0.37
Photon Flux (Free Index): 1.80e-07 +/- 7.40e-08
Energy Flux (Free Index): 5.21e-05 +/- 1.95e-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/880044/cmap_HighResolution_623980801_624240001_4FGL_J2325.4-4800_daily_bin1484.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.28e-07', energy_flux2='5.21e-05', photon_flux_error='4.94e-08', dlogl='6.01e-01', energy_flux='6.91e-05', photon_flux2='1.80e-07', job_status='DONE', time_completed='2021-09-29 18:29:49.773326', photon_index_error2='0.37', photon_index2='2.50', ts='23.64', fit_tolerance='1e-08', GAL='0.69', photon_index_error='0.00', energy_flux_error2='1.95e-05', EG='1.02', time_epoch_completed='1632965389.77', return_code='0', job_id='880044', GAL2='0.74', EG2='0.95', return_code2='0', energy_flux_error='2.68e-05', photon_flux_error2='7.40e-08', ts2='24.89', photon_index='2.11' WHERE bin_id='1484' AND source_name='4FGL J2325.4-4800' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:29:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0278>
Subject: Job 880044: <4FGL_J2325.4-4800_daily_bin1484> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-4800_daily_bin1484 351.35 -48.0022 623980801 624240001 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 :                                   701.26 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             277.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   874 sec.
    Turnaround time :                            875 sec.

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

