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


Performing analysis on: 4FGL_J2325.4-4800_daily_bin240
RA = 351.35, Dec = -48.0022
tmin = 301536001, tmax = 301795201
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='871374', job_status='RUN', time_executed='2021-09-29 17:50:56.481008', time_epoch_executed='1632963056.48' WHERE source_name='4FGL J2325.4-4800' and cadence='daily' and bin_id='240'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/871374

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/871374/ft1_4FGL_J2325.4-4800_daily_bin240.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/871374/ft2_4FGL_J2325.4-4800_daily_bin240.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/871374/ft1_4FGL_J2325.4-4800_daily_bin240.fits outfile=/scratch/kocevski/871374/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin240.fits ra=351.35 dec=-48.0022 rad=12.0 tmin=301536001.0 tmax=301795201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.64
user 4.39
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/871374/ft2_4FGL_J2325.4-4800_daily_bin240.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/871374/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin240.fits evtable="EVENTS" outfile="/scratch/kocevski/871374/ft1_filtered_4FGL_J2325.4-4800_daily_bin240.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.53
user 0.31
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/871374/ft1_filtered_4FGL_J2325.4-4800_daily_bin240.fits" evtable="EVENTS" scfile=/scratch/kocevski/871374/ft2_4FGL_J2325.4-4800_daily_bin240.fits sctable="SC_DATA" outfile=/scratch/kocevski/871374/ltcube_301536001_301795201_4FGL_J2325.4-4800_daily_bin240.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/871374/ft2_4FGL_J2325.4-4800_daily_bin240.fits
.....................!
real 11.53
user 11.17
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/871374/ft1_filtered_4FGL_J2325.4-4800_daily_bin240.fits evtable="EVENTS" scfile=/scratch/kocevski/871374/ft2_4FGL_J2325.4-4800_daily_bin240.fits sctable="SC_DATA" expcube=/scratch/kocevski/871374/ltcube_301536001_301795201_4FGL_J2325.4-4800_daily_bin240.fits outfile=/scratch/kocevski/871374/expmap_301536001_301795201_4FGL_J2325.4-4800_daily_bin240.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/871374/ltcube_301536001_301795201_4FGL_J2325.4-4800_daily_bin240.fits
.....................!
real 189.75
user 185.25
sys 4.15

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/871374/ft1_filtered_4FGL_J2325.4-4800_daily_bin240.fits scfile=/scratch/kocevski/871374/ft2_4FGL_J2325.4-4800_daily_bin240.fits outfile=/scratch/kocevski/871374/cmap_301536001_301795201_4FGL_J2325.4-4800_daily_bin240.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/871374/ft1_filtered_4FGL_J2325.4-4800_daily_bin240.fits scfile=/scratch/kocevski/871374/ft2_4FGL_J2325.4-4800_daily_bin240.fits outfile=/scratch/kocevski/871374/cmap_HighResolution_301536001_301795201_4FGL_J2325.4-4800_daily_bin240.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/871374/ft1_filtered_4FGL_J2325.4-4800_daily_bin240.fits evtable="EVENTS" scfile=/scratch/kocevski/871374/ft2_4FGL_J2325.4-4800_daily_bin240.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/871374/Model_4FGL_J2325.4-4800_daily_bin240.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/871374/ft1_filtered_4FGL_J2325.4-4800_daily_bin240.fits....................!
real 42.44
user 41.16
sys 1.15

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    20.611       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .11039E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    14.309       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    3.1463       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10069E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.9286       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .21061       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.4158       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    7.4897       1.0000         .10000E-03   10000.    
    16 'Prefactor '    19.907       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    3.1420       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .18488E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    11.103       1.0000         .10000E-03   10000.    
    23 'norm      '    .10093E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    8.7755       1.0000         .10000E-03   10000.    
    26 'norm      '    37.621       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .83798       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .84141       1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10275E-03   1.0000         .10000E-03   10000.    
    30 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    3.4964       1.0000         .10000E-03   10000.    
    32 'Prefactor '    .10134E-03   1.0000         .10000E-03   10000.    
    33 'Normalizat'    1.1419       1.0000         .10000E-01   10.000    
    34 'Prefactor '    .94650       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=   5751.192     FROM MIGRAD    STATUS=CONVERGED    910 CALLS     4088 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    20.999       -.37330E-05** at limit **
   2  Prefactor     20.603        20.490       -.23279E-05   -.73123E-04
   3  Prefactor     .10000E-03    42.727        .24307E-04** at limit **
   4  Prefactor     .10000E-03    6.0183        .16560E-05** at limit **
   5  Prefactor     14.308        10.496       -.14153E-06   -.13986E-03
   6  Prefactor     .10000E-03    23.921       -.31844E-07** at limit **
   7  Prefactor     .10000E-03    3.0646        .85030E-07** at limit **
   8  norm          3.1461        5.5323       -.33899E-06   -.23187E-03
   9  Prefactor     .10000E-03    4.8843       -.33512E-05** at limit **
  10  Prefactor     4.9157        77.108       -.35317E-04    .17363E-04
  11  Prefactor     .20952        2.9847       -.37504E-06    .43187E-04
  12  Prefactor     .10000E-03    7.5609        .25709E-05** at limit **
  13  Prefactor     5.4157        8.1217       -.25731E-06   -.69068E-04
  14  Prefactor     .10000E-03    54.042       -.22657E-04** at limit **
  15  Prefactor     7.4908        7.3608        .20669E-06    .32587E-04
  16  Prefactor     19.908        21.558        .45023E-06    .15431E-04
  17  Prefactor     .10000E-03    12.523        .46186E-05** at limit **
  18  norm          .10000E-03    8.3618       -.49230E-05** at limit **
  19  norm          .10000E-03    4.7446        .27576E-05** at limit **
  20  norm          3.1423        3.5491        .11279E-05    .83109E-04
  21  Prefactor     .10000E-03    17.289       -.29748E-06** at limit **
  22  Prefactor     11.115        31.618        .18267E-04    .20000E-04
  23  norm          .10000E-03    3.3053       -.88421E-06** at limit **
  24  Prefactor     .10000E-03    24.108        .89788E-06** at limit **
  25  norm          8.7750        2.1968       -.17839E-06   -.58895E-03
  26  norm          37.622        8.9541       -.93861E-06    .34606E-04
  27  Prefactor     .85623        12.153       -.20737E-05   -.31461E-04
  28  Prefactor     .85373        5.3092        .15655E-05   -.12654E-02
  29  Prefactor     .10000E-03    19.924       -.35497E-05** at limit **
  30  norm          .10000E-03    17.834       -.25505E-06** at limit **
  31  Prefactor     3.4975        6.0837        .25752E-06   -.51377E-03
  32  Prefactor     .10000E-03    2.4212        .10399E-06** at limit **
  33  Normalizat    1.1417        .20545       -.42938E-06    .22543E-03
  34  Prefactor     .94665        .21323        .14215E-05    .86063E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 20.603
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.3085
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.14612
  Prefactor  = 0.000100001
  Prefactor  = 4.91574
  Prefactor  = 0.209523
  Prefactor  = 0.0001
  Prefactor  = 5.41567
  Prefactor  = 0.0001
  Prefactor  = 7.4908
  Prefactor  = 19.908
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 3.14232
  Prefactor  = 0.0001
  Prefactor  = 11.115
  norm       = 0.000100001
  Prefactor  = 0.0001
  norm       = 8.77497
  norm       = 37.6222
  Prefactor  = 0.856232
  Prefactor  = 0.85373
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 3.4975
  Prefactor  = 0.0001
  Normalizat = 1.14172
  Prefactor  = 0.946653
 **********
 **   18 **HESSE 
 **********

 FCN=   5751.192     FROM HESSE     STATUS=OK           732 CALLS     4820 TOTAL
                     EDM=   .35E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    21.004        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     20.603        20.497        .88223E-04   -1.4800    
   3  Prefactor     .10000E-03    42.778        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    6.0275        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     14.308        10.497        .10589E-03   -1.4951    
   6  Prefactor     .10000E-03    23.972        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    3.0691        .12965E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          3.1461        5.5266        .22853E-03   -1.5353    
   9  Prefactor     .10000E-03    5.0397        .32461E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     4.9157        77.081        .18117E-03   -1.5265    
  11  Prefactor     .20952        27.111        .24724E-02   -1.5616    
  12  Prefactor     .10000E-03    7.5666        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     5.4157        8.1127        .17267E-03   -1.5242    
  14  Prefactor     .10000E-03    53.999        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     7.4908        7.3607        .14654E-03   -1.5161    
  16  Prefactor     19.908        21.559        .89770E-04   -1.4815    
  17  Prefactor     .10000E-03    12.575        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    8.3934        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    4.7749        .16124E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          3.1423        3.5495        .14728E-03   -1.5353    
  21  Prefactor     .10000E-03    17.913        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     11.115        31.467        .12023E-03   -1.5041    
  23  norm          .10000E-03    3.3734        .13439E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    24.399        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          8.7750        2.1793        .51978E-04   -1.5115    
  26  norm          37.622        8.9559        .65343E-04   -1.4480    
  27  Prefactor     .85623        54.471        .49416E-02   -1.5523    
  28  Prefactor     .85373        5.0971        .30608E-03   -1.5523    
  29  Prefactor     .10000E-03    19.982        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  norm          .10000E-03    17.869        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     3.4975        5.9376        .21623E-03   -1.5334    
  32  Prefactor     .10000E-03    2.4584        .11516E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Normalizat    1.1417        .25752        .24889E-03   -.88423    
  34  Prefactor     .94665        .26516        .29087E-03   -.94529    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.48307e-08
Minuit parameter uncertainties:
  1  1.41965e-06
  2  20.5043
  3  4.54253e-05
  4  1.39965e-06
  5  10.4986
  6  2.79334e-06
  7  3.07349e-09
  8  5.52745
  9  0.000144972
  10  38.9906
  11  4.76775
  12  1.51163e-06
  13  8.1143
  14  6.48378e-06
  15  7.36154
  16  21.5676
  17  6.76049e-06
  18  2.51852e-06
  19  9.26342e-07
  20  3.54969
  21  1.82689e-05
  22  31.5144
  23  0.00013147
  24  2.95093e-05
  25  2.17934
  26  8.95619
  27  13.6709
  28  4.17236
  29  5.19912e-05
  30  2.80691e-05
  31  5.9386
  32  2.48812e-06
  33  0.257808
  34  0.265521
Done.

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

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  1.000e-04  1.827e-05  1.000e-04  1.000e+04 ( 1.000e-13)
440        Index:  2.106e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
441        Scale:  1.869e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
568    Prefactor:  9.467e-01  2.655e-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.142e+00  2.578e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/871374/likelihoodResults_301536001_301795201_4FGL_J2325.4-4800_daily_bin240.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5751.19208571
delta logL = -0.000266464458946

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5751.19181205
delta logL = 7.18759292795e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14695E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2313       1.0000          .0000       10.000    
     3 'Normalizat'    1.1421       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94619       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=   5750.726     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      279 TOTAL
                     EDM=   .35E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55976        10.761        .10243E-01    .13256E-02
   2  Index         3.4578        2.5766        .90155E-01    .15844E-03
   3  Normalizat    1.0778        .42177E-01    .57566E-01    .63004E-04
   4  Prefactor     .98578        .45558E-01    .45591E-01    .10893E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.559765
  Index      = 3.45779
  Normalizat = 1.07778
  Prefactor  = 0.985776
 **********
 **   18 **HESSE 
 **********

 FCN=   5750.726     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      312 TOTAL
                     EDM=   .81E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55976        32.359        .59530E-04   -1.5558    
   2  Index         3.4578        6.7289        .51931E-02   -.31355    
   3  Normalizat    1.0778        .21861        .25458E-03   -.90468    
   4  Prefactor     .98578        .23406        .28505E-03   -.93205    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.07816e-07
Minuit parameter uncertainties:
  1  8.51601
  2  5.97153
  3  0.218793
  4  0.2343
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/871374': 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): 102
logL (Free Index) = 5750.72629965
delta logL = 0.465519587443

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  5.598e-01  8.516e+00  1.000e-04  1.000e+04 ( 1.000e-13)
440        Index:  3.458e+00  5.972e+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:  9.858e-01  2.343e-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.078e+00  2.188e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/871374/cmap_HighResolution_301536001_301795201_4FGL_J2325.4-4800_daily_bin240.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.63e-03', job_status='DONE', photon_flux_upper_limit='8.76e-08', time_completed='2021-09-29 18:05:22.430912', job_id='871374', GAL2='0.99', fit_tolerance='1e-08', EG2='1.08', EG='1.14', time_epoch_completed='1632963922.43', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='4.66e-01', ts2='0.97', photon_index_error='0.00', photon_index='2.11' WHERE bin_id='240' AND source_name='4FGL J2325.4-4800' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:05:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0279>
Subject: Job 871374: <4FGL_J2325.4-4800_daily_bin240> in cluster <slac> Done

Job <4FGL_J2325.4-4800_daily_bin240> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 17:50:43 2021
Job was executed on host(s) <bullet0279>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 17:50:45 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 17:50:45 2021
Terminated at Wed Sep 29 18:05:23 2021
Results reported at Wed Sep 29 18:05:23 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-4800_daily_bin240 351.35 -48.0022 301536001 301795201 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 :                                   858.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             329.13 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   877 sec.
    Turnaround time :                            880 sec.

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

