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


Performing analysis on: 4FGL_J2325.4-4800_daily_bin994
RA = 351.35, Dec = -48.0022
tmin = 496972801, tmax = 497232001
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='875780', job_status='RUN', time_executed='2021-09-29 18:08:24.770514', time_epoch_executed='1632964104.77' WHERE source_name='4FGL J2325.4-4800' and cadence='daily' and bin_id='994'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/875780

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/875780/ft1_4FGL_J2325.4-4800_daily_bin994.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/875780/ft2_4FGL_J2325.4-4800_daily_bin994.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/875780/ft1_4FGL_J2325.4-4800_daily_bin994.fits outfile=/scratch/kocevski/875780/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin994.fits ra=351.35 dec=-48.0022 rad=12.0 tmin=496972801.0 tmax=497232001.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 5.26
user 5.00
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/875780/ft1_filtered_4FGL_J2325.4-4800_daily_bin994.fits" evtable="EVENTS" scfile=/scratch/kocevski/875780/ft2_4FGL_J2325.4-4800_daily_bin994.fits sctable="SC_DATA" outfile=/scratch/kocevski/875780/ltcube_496972801_497232001_4FGL_J2325.4-4800_daily_bin994.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/875780/ft2_4FGL_J2325.4-4800_daily_bin994.fits
.....................!
real 12.28
user 11.93
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/875780/ft1_filtered_4FGL_J2325.4-4800_daily_bin994.fits evtable="EVENTS" scfile=/scratch/kocevski/875780/ft2_4FGL_J2325.4-4800_daily_bin994.fits sctable="SC_DATA" expcube=/scratch/kocevski/875780/ltcube_496972801_497232001_4FGL_J2325.4-4800_daily_bin994.fits outfile=/scratch/kocevski/875780/expmap_496972801_497232001_4FGL_J2325.4-4800_daily_bin994.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/875780/ltcube_496972801_497232001_4FGL_J2325.4-4800_daily_bin994.fits
.....................!
real 190.55
user 185.12
sys 5.07

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/875780/ft1_filtered_4FGL_J2325.4-4800_daily_bin994.fits scfile=/scratch/kocevski/875780/ft2_4FGL_J2325.4-4800_daily_bin994.fits outfile=/scratch/kocevski/875780/cmap_496972801_497232001_4FGL_J2325.4-4800_daily_bin994.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.54
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/875780/ft1_filtered_4FGL_J2325.4-4800_daily_bin994.fits scfile=/scratch/kocevski/875780/ft2_4FGL_J2325.4-4800_daily_bin994.fits outfile=/scratch/kocevski/875780/cmap_HighResolution_496972801_497232001_4FGL_J2325.4-4800_daily_bin994.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=351.35 yref=-48.0022 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/875780/ft1_filtered_4FGL_J2325.4-4800_daily_bin994.fits evtable="EVENTS" scfile=/scratch/kocevski/875780/ft2_4FGL_J2325.4-4800_daily_bin994.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/875780/Model_4FGL_J2325.4-4800_daily_bin994.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/875780/ft1_filtered_4FGL_J2325.4-4800_daily_bin994.fits......................!
real 27.33
user 25.99
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.9322       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    19.747       1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.6870       1.0000         .10000E-03   10000.    
     8 'norm      '    .10465E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.3553       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    13.430       1.0000         .10000E-03   10000.    
    12 'Prefactor '    20.657       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .19785E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10328E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10127E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .38009       1.0000         .10000E-03   10000.    
    19 'norm      '    10.501       1.0000         .10000E-03   10000.    
    20 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    2.5471       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    9.1070       1.0000         .10000E-03   10000.    
    24 'Prefactor '    16.263       1.0000         .10000E-03   10000.    
    25 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    .79389       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    30 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    32 'Prefactor '    6.6500       1.0000         .10000E-03   10000.    
    33 'Normalizat'    .59344       1.0000         .10000E-01   10.000    
    34 'Prefactor '    .71400       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=   2875.605     FROM MIGRAD    STATUS=CONVERGED    907 CALLS     4791 TOTAL
                     EDM=   .26E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    29.054       -.65356E-06** at limit **
   2  Prefactor     .10000E-03    18.230        .24659E-06** at limit **
   3  Prefactor     .10000E-03    19.105       -.40683E-07** at limit **
   4  Prefactor     6.9325        10.770       -.45315E-07    .40611E-05
   5  Prefactor     .10000E-03    3.2663        .69762E-07** at limit **
   6  Prefactor     19.747        20.001       -.75220E-07   -.12752E-05
   7  Prefactor     7.6876        7.6171        .12789E-05    .41987E-04
   8  norm          .10000E-03    14.107        .12582E-06** at limit **
   9  Prefactor     1.3559        4.7505        .55311E-06    .66062E-05
  10  Prefactor     .10000E-03    30.432       -.41256E-06** at limit **
  11  Prefactor     13.435        8.9378        .22355E-06    .26662E-04
  12  Prefactor     20.616        33.275       -.37257E-05   -.12174E-03
  13  Prefactor     .10000E-03    15.681       -.12894E-05** at limit **
  14  Prefactor     .10000E-03    52.193        .17239E-05** at limit **
  15  Prefactor     .10000E-03    3.0802        .49375E-07** at limit **
  16  Prefactor     .10000E-03    32.424        .23527E-07** at limit **
  17  Prefactor     .10000E-03    6.1614       -.19026E-06** at limit **
  18  norm          .39272        11.410        .28564E-06   -.40391E-04
  19  norm          10.495        9.1209        .88600E-06    .70203E-04
  20  norm          .10000E-03    2.0400       -.18563E-07** at limit **
  21  Prefactor     2.5667        18.810       -.46569E-05   -.47490E-04
  22  Prefactor     .10000E-03    11.994       -.91289E-06** at limit **
  23  norm          9.1087        4.7202       -.27003E-06   -.93667E-04
  24  Prefactor     16.224        29.673        .31811E-05    .25948E-04
  25  norm          .10000E-03    .48285       -.15409E-06** at limit **
  26  norm          .79311        2.9001        .48810E-06   -.13488E-04
  27  Prefactor     .10000E-03    5.9222        .16526E-06** at limit **
  28  Prefactor     .10000E-03    2.4434       -.43045E-06** at limit **
  29  Prefactor     .10000E-03    19.810       -.11156E-05** at limit **
  30  norm          .10000E-03    9.2769        .26532E-06** at limit **
  31  Prefactor     .10000E-03    1.8552        .52600E-07** at limit **
  32  Prefactor     6.6520        4.9862       -.26422E-06    .88919E-04
  33  Normalizat    .59293        .20787        .45910E-05   -.23334E-04
  34  Prefactor     .71455        .21365       -.39512E-05    .20134E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.93248
  Prefactor  = 0.0001
  Prefactor  = 19.7468
  Prefactor  = 7.6876
  norm       = 0.0001
  Prefactor  = 1.35587
  Prefactor  = 0.0001
  Prefactor  = 13.4354
  Prefactor  = 20.6155
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.392723
  norm       = 10.4949
  norm       = 0.0001
  Prefactor  = 2.56666
  Prefactor  = 0.0001
  norm       = 9.10869
  Prefactor  = 16.2238
  norm       = 0.0001
  norm       = 0.793108
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.65197
  Normalizat = 0.592931
  Prefactor  = 0.714553
 **********
 **   18 **HESSE 
 **********

 FCN=   2875.605     FROM HESSE     STATUS=OK           730 CALLS     5521 TOTAL
                     EDM=   .23E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    29.105        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    18.256        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    19.138        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     6.9325        10.765        .15238E-03   -1.5181    
   5  Prefactor     .10000E-03    3.2713        .94635E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     19.747        20.001        .90133E-04   -1.4819    
   7  Prefactor     7.6876        7.6260        .70983E-03   -1.5153    
   8  norm          .10000E-03    14.414        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.3559        4.7398        .20441E-03   -1.5475    
  10  Prefactor     .10000E-03    30.467        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     13.435        8.9307        .10930E-03   -1.4975    
  12  Prefactor     20.616        33.563        .88127E-04   -1.4800    
  13  Prefactor     .10000E-03    15.773        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    52.335        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    3.0908        .91902E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    32.464        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    6.1732        .13000E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .39272        43.272        .35118E-02   -1.5583    
  19  norm          10.495        9.1008        .12364E-03   -1.5060    
  20  norm          .10000E-03    2.0403        .74785E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     2.5667        18.048        .25187E-03   -1.5388    
  22  Prefactor     .10000E-03    12.024        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          9.1087        4.6682        .78516E-04   -1.5104    
  24  Prefactor     16.224        29.321        .99317E-04   -1.4902    
  25  norm          .10000E-03    .48959        .36294E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .79311        2.7574        .16305E-02   -1.5530    
  27  Prefactor     .10000E-03    5.9359        .12745E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    4.0088        .16135E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .10000E-03    19.921        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  norm          .10000E-03    9.2814        .15955E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .10000E-03    1.8646        .71305E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Prefactor     6.6520        4.9962        .96325E-04   -1.5192    
  33  Normalizat    .59293        .23145        .21268E-03   -1.0828    
  34  Prefactor     .71455        .23858        .21340E-03   -1.0296    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.30466e-08
Minuit parameter uncertainties:
  1  8.88258e-05
  2  6.64748e-06
  3  3.20711e-05
  4  10.7675
  5  4.08418e-06
  6  20.0082
  7  7.62696
  8  5.37706e-05
  9  4.74112
  10  6.92532e-05
  11  8.93156
  12  33.5941
  13  0.000112794
  14  0.00029986
  15  3.42841e-06
  16  2.90156e-05
  17  7.23295e-06
  18  8.24982
  19  9.10201
  20  9.24035e-07
  21  13.6179
  22  6.25603e-05
  23  4.66839
  24  29.3469
  25  6.8684e-07
  26  2.75784
  27  6.63121e-07
  28  1.69482e-05
  29  7.18498e-05
  30  1.62288e-05
  31  2.42466e-06
  32  4.99649
  33  0.231829
  34  0.238923
Done.

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

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  2.567e+00  1.362e+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:  7.146e-01  2.389e-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:  5.929e-01  2.318e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/875780/likelihoodResults_496972801_497232001_4FGL_J2325.4-4800_daily_bin994.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) = 2875.60374516
delta logL = 0.00137734647524

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2875.60309278
delta logL = 0.00202972145416

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.8995       1.0000         .10000E-03   10000.    
     2 'Index     '    1.9982       1.0000          .0000       10.000    
     3 'Normalizat'    .59428       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .71356       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=   2875.603     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      203 TOTAL
                     EDM=   .72E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.8903        321.53        .59658E-02    .25667E-03
   2  Index         1.9983        5.8129        .25799        .57810E-05
   3  Normalizat    .59462        .35232E-01    .40861E-01    .13052E-04
   4  Prefactor     .71319        .35772E-01    .42581E-01    .78544E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.89035
  Index      = 1.99832
  Normalizat = 0.594615
  Prefactor  = 0.71319
 **********
 **   18 **HESSE 
 **********

 FCN=   2875.603     FROM HESSE     STATUS=OK            33 CALLS      236 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.8903        10.004        .23863E-03   -1.5368    
   2  Index         1.9983        1.6024        .96581E-02   -.64392    
   3  Normalizat    .59462        .21170        .21239E-03   -1.0821    
   4  Prefactor     .71319        .23274        .21358E-03   -1.0301    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.12035e-10
Minuit parameter uncertainties:
  1  10.0101
  2  1.64876
  3  0.211992
  4  0.233059
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/875780': 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) = 2875.60309087
delta logL = 0.00203163082415

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  2.890e+00  1.001e+01  1.000e-04  1.000e+04 ( 1.000e-13)
440        Index:  1.998e+00  1.649e+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:  7.132e-01  2.331e-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:  5.946e-01  2.120e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.12
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/875780/cmap_HighResolution_496972801_497232001_4FGL_J2325.4-4800_daily_bin994.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.27e-03', job_status='DONE', photon_flux_upper_limit='9.61e-08', time_completed='2021-09-29 18:18:42.893841', job_id='875780', GAL2='0.71', fit_tolerance='1e-08', EG2='0.59', EG='0.59', time_epoch_completed='1632964722.89', return_code2='0', ts='0.12', comment='SUCCESS', return_code='0', GAL='0.71', dlogl='2.03e-03', ts2='0.13', photon_index_error='0.00', photon_index='2.11' WHERE bin_id='994' AND source_name='4FGL J2325.4-4800' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:18:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0225>
Subject: Job 875780: <4FGL_J2325.4-4800_daily_bin994> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-4800_daily_bin994 351.35 -48.0022 496972801 497232001 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 :                                   615.07 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             289.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   789 sec.
    Turnaround time :                            793 sec.

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

