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


Performing analysis on: 4FGL_J2325.4-4800_daily_bin1131
RA = 351.35, Dec = -48.0022
tmin = 532483201, tmax = 532742401
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='877192', job_status='RUN', time_executed='2021-09-29 18:12:35.071002', time_epoch_executed='1632964355.07' WHERE source_name='4FGL J2325.4-4800' and cadence='daily' and bin_id='1131'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/877192

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/877192/ft1_4FGL_J2325.4-4800_daily_bin1131.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/877192/ft2_4FGL_J2325.4-4800_daily_bin1131.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/877192/ft1_4FGL_J2325.4-4800_daily_bin1131.fits outfile=/scratch/kocevski/877192/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin1131.fits ra=351.35 dec=-48.0022 rad=12.0 tmin=532483201.0 tmax=532742401.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.49
user 3.26
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/877192/ft1_filtered_4FGL_J2325.4-4800_daily_bin1131.fits" evtable="EVENTS" scfile=/scratch/kocevski/877192/ft2_4FGL_J2325.4-4800_daily_bin1131.fits sctable="SC_DATA" outfile=/scratch/kocevski/877192/ltcube_532483201_532742401_4FGL_J2325.4-4800_daily_bin1131.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/877192/ft2_4FGL_J2325.4-4800_daily_bin1131.fits
.....................!
real 12.46
user 12.09
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/877192/ft1_filtered_4FGL_J2325.4-4800_daily_bin1131.fits evtable="EVENTS" scfile=/scratch/kocevski/877192/ft2_4FGL_J2325.4-4800_daily_bin1131.fits sctable="SC_DATA" expcube=/scratch/kocevski/877192/ltcube_532483201_532742401_4FGL_J2325.4-4800_daily_bin1131.fits outfile=/scratch/kocevski/877192/expmap_532483201_532742401_4FGL_J2325.4-4800_daily_bin1131.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/877192/ltcube_532483201_532742401_4FGL_J2325.4-4800_daily_bin1131.fits
.....................!
real 190.11
user 185.59
sys 4.01

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/877192/ft1_filtered_4FGL_J2325.4-4800_daily_bin1131.fits scfile=/scratch/kocevski/877192/ft2_4FGL_J2325.4-4800_daily_bin1131.fits outfile=/scratch/kocevski/877192/cmap_532483201_532742401_4FGL_J2325.4-4800_daily_bin1131.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.55
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/877192/ft1_filtered_4FGL_J2325.4-4800_daily_bin1131.fits scfile=/scratch/kocevski/877192/ft2_4FGL_J2325.4-4800_daily_bin1131.fits outfile=/scratch/kocevski/877192/cmap_HighResolution_532483201_532742401_4FGL_J2325.4-4800_daily_bin1131.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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/877192/ft1_filtered_4FGL_J2325.4-4800_daily_bin1131.fits evtable="EVENTS" scfile=/scratch/kocevski/877192/ft2_4FGL_J2325.4-4800_daily_bin1131.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/877192/Model_4FGL_J2325.4-4800_daily_bin1131.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/877192/ft1_filtered_4FGL_J2325.4-4800_daily_bin1131.fits.....................!
real 38.04
user 36.64
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10084E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .16382E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10557E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .11450E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .13106E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    6.5363       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10138E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.3376       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .13850E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.1136       1.0000         .10000E-03   10000.    
    16 'Prefactor '    8.6004       1.0000         .10000E-03   10000.    
    17 'Prefactor '    12.181       1.0000         .10000E-03   10000.    
    18 'norm      '    .37962E-02   1.0000         .10000E-03   10000.    
    19 'norm      '    3.1734       1.0000         .10000E-03   10000.    
    20 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .86071       1.0000         .10000E-03   10000.    
    22 'Prefactor '    38.200       1.0000         .10000E-03   10000.    
    23 'norm      '    .22050E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    1.0818       1.0000         .10000E-03   10000.    
    26 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    1.5906       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10053E-03   1.0000         .10000E-03   10000.    
    30 'norm      '    6.3742       1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    32 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    33 'Normalizat'    1.6799       1.0000         .10000E-01   10.000    
    34 'Prefactor '    .52392       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=   4699.837     FROM MIGRAD    STATUS=CONVERGED   1692 CALLS     5703 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    17.191        .18142E-02** at limit **
   2  Prefactor     .10000E-03    143.07        .47202E-02** at limit **
   3  Prefactor     .10000E-03    17.678        .18142E-02** at limit **
   4  Prefactor     .10000E-03    10.392        .18142E-02** at limit **
   5  Prefactor     .10003E-03    21.551        .33662E-02** at limit **
   6  Prefactor     .10000E-03    203.75        .36285E-03** at limit **
   7  Prefactor     .10000E-03    2.1520        .98187E-03** at limit **
   8  norm          .10000E-03    2.5339        .10657E-02** at limit **
   9  Prefactor     .10000E-03    5.0303        .29555E-03** at limit **
  10  Prefactor     .10000E-03    78.302        .18142E-02** at limit **
  11  Prefactor     6.5342        8.5292        .15697E-03   -.74163E-04
  12  Prefactor     .10000E-03    28.039        .18142E-02** at limit **
  13  Prefactor     2.3479        14.396        .26818E-03   -.10047E-04
  14  Prefactor     .10000E-03    69.609        .18142E-02** at limit **
  15  Prefactor     3.1252        11.537        .22979E-03   -.36264E-04
  16  Prefactor     8.6135        43.134        .13669E-03    .79015E-05
  17  Prefactor     12.160        17.604        .11478E-03   -.61609E-04
  18  norm          .10006E-03    134.26        .42938E-02** at limit **
  19  norm          3.1745        4.6018        .17216E-03    .38036E-04
  20  norm          .10000E-03    2.6303        .10849E-02** at limit **
  21  Prefactor     .86442        3.5896        .25788E-03    .11087E-03
  22  Prefactor     38.145        54.304        .64848E-04    .12745E-03
  23  norm          .10000E-03    8.7396        .36285E-03** at limit **
  24  Prefactor     .10000E-03    7.3965        .18142E-02** at limit **
  25  norm          1.0829        .96900        .63084E-03   -.18865E-03
  26  norm          .10000E-03    2.8400        .11227E-02** at limit **
  27  Prefactor     1.5919        13.300        .33646E-03   -.50887E-04
  28  Prefactor     .10000E-03    1.2162        .73442E-03** at limit **
  29  Prefactor     .10000E-03    8.2183        .18142E-02** at limit **
  30  norm          6.3814        17.543        .15898E-03   -.78662E-06
  31  Prefactor     .10000E-03    2.2569        .10016E-02** at limit **
  32  Prefactor     .10000E-03    2.4567        .10422E-02** at limit **
  33  Normalizat    1.6805        .26522        .20519E-03    .35064E-03
  34  Prefactor     .52310        .26292        .35511E-03    .67006E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100028
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.53418
  Prefactor  = 0.0001
  Prefactor  = 2.34791
  Prefactor  = 0.000100002
  Prefactor  = 3.12525
  Prefactor  = 8.61348
  Prefactor  = 12.1596
  norm       = 0.000100063
  norm       = 3.1745
  norm       = 0.0001
  Prefactor  = 0.86442
  Prefactor  = 38.145
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 1.08286
  norm       = 0.0001
  Prefactor  = 1.59185
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 6.38144
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.68045
  Prefactor  = 0.523104
 **********
 **   18 **HESSE 
 **********

 FCN=   4699.837     FROM HESSE     STATUS=OK           700 CALLS     6403 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    17.191        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    147.10        .18881E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    17.678        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    10.399        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10003E-03    21.748        .67325E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    203.76        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    2.1520        .19637E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    2.5339        .21315E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    5.0304        .59109E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    78.311        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     6.5342        8.5280        .62789E-05   -1.5197    
  12  Prefactor     .10000E-03    28.043        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     2.3479        14.389        .10727E-04   -1.5402    
  14  Prefactor     .10000E-03    69.612        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.1252        11.535        .91917E-05   -1.5354    
  16  Prefactor     8.6135        43.086        .54675E-05   -1.5121    
  17  Prefactor     12.160        17.600        .45911E-05   -1.5010    
  18  norm          .10006E-03    140.68        .17175E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          3.1745        4.6017        .68866E-05   -1.5352    
  20  norm          .10000E-03    2.6303        .21699E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .86442        3.5882        .10315E-04   -1.5522    
  22  Prefactor     38.145        54.301        .12970E-04   -1.4472    
  23  norm          .10000E-03    8.7397        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    7.3967        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          1.0829        .96869        .25234E-04   -1.5500    
  26  norm          .10000E-03    2.8403        .22455E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     1.5919        13.297        .13458E-04   -1.5456    
  28  Prefactor     .10000E-03    1.2162        .14688E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .10000E-03    8.2188        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  norm          6.3814        17.542        .63591E-05   -1.5203    
  31  Prefactor     .10000E-03    2.2570        .20033E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Prefactor     .10000E-03    2.4571        .20843E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Normalizat    1.6805        .26531        .41039E-04   -.72826    
  34  Prefactor     .52310        .26305        .14205E-04   -1.1093    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.32135e-09
Minuit parameter uncertainties:
  1  6.20863e-06
  2  0.00159155
  3  1.50943e-05
  4  2.45085e-05
  5  0.00155803
  6  0.000710783
  7  2.14434e-06
  8  2.80921e-07
  9  2.24931e-06
  10  0.000328259
  11  8.52959
  12  5.45029e-05
  13  11.6289
  14  0.000679305
  15  11.5428
  16  38.5733
  17  17.6077
  18  0.0059636
  19  4.60225
  20  8.64855e-06
  21  3.52248
  22  54.3711
  23  8.33086e-05
  24  8.77972e-05
  25  0.968707
  26  1.70126e-05
  27  9.20396
  28  1.01956e-06
  29  7.03308e-05
  30  17.5566
  31  6.97666e-07
  32  7.34243e-06
  33  0.265532
  34  0.263668
Done.

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

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  8.644e-01  3.522e+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:  5.231e-01  2.637e-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.680e+00  2.655e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/877192/likelihoodResults_532483201_532742401_4FGL_J2325.4-4800_daily_bin1131.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) = 4699.83114369
delta logL = 0.00616699051261

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4699.82934894
delta logL = 0.0079617332085

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .65797       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3799       1.0000          .0000       10.000    
     3 'Normalizat'    1.6789       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .52400       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=   4699.829     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      232 TOTAL
                     EDM=   .66E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .65780        10.235        .46752E-01    .12465E-02
   2  Index         2.3796        .69778        .44150       -.71269E-05
   3  Normalizat    1.6789        .11253E-01    .46437E-01   -.39479E-05
   4  Prefactor     .52398        .11627E-01    .80120E-01    .28289E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.657796
  Index      = 2.37961
  Normalizat = 1.67894
  Prefactor  = 0.523978
 **********
 **   18 **HESSE 
 **********

 FCN=   4699.829     FROM HESSE     STATUS=OK            35 CALLS      267 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .65780        10.182        .19544E-02   -1.5546    
   2  Index         2.3796        3.2008        .50267E-02   -.55163    
   3  Normalizat    1.6789        .25138        .20526E-03   -.72867    
   4  Prefactor     .52398        .25853        .35484E-03   -1.1089    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.73244e-09
Minuit parameter uncertainties:
  1  5.17673
  2  3.62202
  3  0.251575
  4  0.259109
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/877192': 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) = 4699.82934891
delta logL = 0.00796176387121

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  6.578e-01  5.177e+00  1.000e-04  1.000e+04 ( 1.000e-13)
440        Index:  2.380e+00  3.622e+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:  5.240e-01  2.591e-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.679e+00  2.516e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.07
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/877192/cmap_HighResolution_532483201_532742401_4FGL_J2325.4-4800_daily_bin1131.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.60e-03', job_status='DONE', photon_flux_upper_limit='6.08e-08', time_completed='2021-09-29 18:26:47.063072', job_id='877192', GAL2='0.52', fit_tolerance='1e-08', EG2='1.68', EG='1.68', time_epoch_completed='1632965207.06', return_code2='0', ts='0.07', comment='SUCCESS', return_code='0', GAL='0.52', dlogl='7.96e-03', ts2='0.09', photon_index_error='0.00', photon_index='2.11' WHERE bin_id='1131' AND source_name='4FGL J2325.4-4800' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:26:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0205>
Subject: Job 877192: <4FGL_J2325.4-4800_daily_bin1131> in cluster <slac> Done

Job <4FGL_J2325.4-4800_daily_bin1131> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 18:10:16 2021
Job was executed on host(s) <bullet0205>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 18:10:17 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:10:17 2021
Terminated at Wed Sep 29 18:26:47 2021
Results reported at Wed Sep 29 18:26:47 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-4800_daily_bin1131 351.35 -48.0022 532483201 532742401 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 :                                   845.04 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             317.25 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   990 sec.
    Turnaround time :                            991 sec.

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

