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


Performing analysis on: 4FGL_J2325.4-4800_daily_bin670
RA = 351.35, Dec = -48.0022
tmin = 412992001, tmax = 413251201
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='874146', job_status='RUN', time_executed='2021-09-29 18:04:21.366462', time_epoch_executed='1632963861.37' WHERE source_name='4FGL J2325.4-4800' and cadence='daily' and bin_id='670'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/874146

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/874146/ft1_4FGL_J2325.4-4800_daily_bin670.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/874146/ft2_4FGL_J2325.4-4800_daily_bin670.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/874146/ft1_4FGL_J2325.4-4800_daily_bin670.fits outfile=/scratch/kocevski/874146/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin670.fits ra=351.35 dec=-48.0022 rad=12.0 tmin=412992001.0 tmax=413251201.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.58
user 3.37
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/874146/ft1_filtered_4FGL_J2325.4-4800_daily_bin670.fits" evtable="EVENTS" scfile=/scratch/kocevski/874146/ft2_4FGL_J2325.4-4800_daily_bin670.fits sctable="SC_DATA" outfile=/scratch/kocevski/874146/ltcube_412992001_413251201_4FGL_J2325.4-4800_daily_bin670.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/874146/ft2_4FGL_J2325.4-4800_daily_bin670.fits
.....................!
real 11.76
user 11.41
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/874146/ft1_filtered_4FGL_J2325.4-4800_daily_bin670.fits evtable="EVENTS" scfile=/scratch/kocevski/874146/ft2_4FGL_J2325.4-4800_daily_bin670.fits sctable="SC_DATA" expcube=/scratch/kocevski/874146/ltcube_412992001_413251201_4FGL_J2325.4-4800_daily_bin670.fits outfile=/scratch/kocevski/874146/expmap_412992001_413251201_4FGL_J2325.4-4800_daily_bin670.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/874146/ltcube_412992001_413251201_4FGL_J2325.4-4800_daily_bin670.fits
.....................!
real 190.27
user 185.40
sys 4.34

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/874146/ft1_filtered_4FGL_J2325.4-4800_daily_bin670.fits scfile=/scratch/kocevski/874146/ft2_4FGL_J2325.4-4800_daily_bin670.fits outfile=/scratch/kocevski/874146/cmap_412992001_413251201_4FGL_J2325.4-4800_daily_bin670.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.37
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/874146/ft1_filtered_4FGL_J2325.4-4800_daily_bin670.fits', '/scratch/kocevski/874146/ft2_4FGL_J2325.4-4800_daily_bin670.fits', expMap='/scratch/kocevski/874146/expmap_412992001_413251201_4FGL_J2325.4-4800_daily_bin670.fits', expCube='/scratch/kocevski/874146/ltcube_412992001_413251201_4FGL_J2325.4-4800_daily_bin670.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/874146/Model_4FGL_J2325.4-4800_daily_bin670.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/874146/ft1_filtered_4FGL_J2325.4-4800_daily_bin670.fits
Spacecraft file(s): /scratch/kocevski/874146/ft2_4FGL_J2325.4-4800_daily_bin670.fits
Exposure map: /scratch/kocevski/874146/expmap_412992001_413251201_4FGL_J2325.4-4800_daily_bin670.fits
Exposure cube: /scratch/kocevski/874146/ltcube_412992001_413251201_4FGL_J2325.4-4800_daily_bin670.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/874146/Model_4FGL_J2325.4-4800_daily_bin670.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 443.744676632

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 439.802469692

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.808       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .19475       1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.6234       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.5468       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .63277E-01   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .67058E-02   1.0000         .10000E-03   10000.    
     7 'Prefactor '    36.270       1.0000         .10000E-03   10000.    
     8 'norm      '    .76053E-01   1.0000         .10000E-03   10000.    
     9 'Prefactor '    18.436       1.0000         .10000E-03   10000.    
    10 'Prefactor '    169.36       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .12655E-02   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .55783       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .21528       1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.1256       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .11990E-01   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .60812       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .70561       1.0000         .10000E-03   10000.    
    18 'norm      '    .36233E-01   1.0000         .10000E-03   10000.    
    19 'norm      '    2.3578       1.0000         .10000E-03   10000.    
    20 'norm      '    .10115E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .87759E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .11998       1.0000         .10000E-03   10000.    
    23 'norm      '    .16314E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .19281       1.0000         .10000E-03   10000.    
    25 'norm      '    17.891       1.0000         .10000E-03   10000.    
    26 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    2.1836       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .45362E-01   1.0000         .10000E-03   10000.    
    29 'Prefactor '    .24082       1.0000         .10000E-03   10000.    
    30 'norm      '    .37614E-01   1.0000         .10000E-03   10000.    
    31 'Prefactor '    .23241E-01   1.0000         .10000E-03   10000.    
    32 'Prefactor '    .15626E-02   1.0000         .10000E-03   10000.    
    33 'Normalizat'    1.0674       1.0000         .10000E-01   10.000    
    34 'Prefactor '    .29364       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   439.7841     FROM MIGRAD    STATUS=CONVERGED    251 CALLS      477 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     27.027        184.99        .29145E-02    .66829E-03
   2  Prefactor     .10362E-03    165.10        .99536E-02** at limit **
   3  Prefactor     .28696E-03    410.17        .53062E-02** at limit **
   4  Prefactor     1.5468        1.0651         .0000         .0000    
   5  Prefactor     .10016E-03    .21784        .13038E-04** at limit **
   6  Prefactor     .10000E-03    .22016        .39895E-04** at limit **
   7  Prefactor     37.976        1.0233        .23867E-04    .11712E-01
   8  norm          .10016E-03    .22073       -.20502E-05** at limit **
   9  Prefactor     18.676        1.0068       -.13299E-05    .60894E-03
  10  Prefactor     170.44        1.0031        .43290E-05   -.27380E-01
  11  Prefactor     .10000E-03    .26521        .25500E-06** at limit **
  12  Prefactor     .11516E-03    .33089       -.14458E-04** at limit **
  13  Prefactor     .10027E-03    .25236        .20539E-04** at limit **
  14  Prefactor     .12595E-02    .12499        .14978E-03** at limit **
  15  Prefactor     .10156E-03    .20625       -.77249E-05** at limit **
  16  Prefactor     .10537E-03    .34249        .82618E-04** at limit **
  17  Prefactor     .17875E-03    .36501        .77532E-04** at limit **
  18  norm          .10000E-03    .21172       -.99843E-05** at limit **
  19  norm          2.6344        1.0829       -.41964E-05   -.19767E-03
  20  norm          .10000E-03    .20571        .90619E-06** at limit **
  21  Prefactor     .10000E-03    .27159        .93977E-05** at limit **
  22  Prefactor     .10037E-03    .23069        .95193E-05** at limit **
  23  norm          .10000E-03    .20571        .22581E-07** at limit **
  24  Prefactor     .11465E-03    .24724       -.22735E-04** at limit **
  25  norm          18.011        1.0037       -.10133E-04   -.47875E-04
  26  norm          .10000E-03    .20571        .30404E-07** at limit **
  27  Prefactor     2.1836        1.0290         .0000         .0000    
  28  Prefactor     .10000E-03    .21379       -.21610E-05** at limit **
  29  Prefactor     .11315E-03    .25819       -.14452E-04** at limit **
  30  norm          .23269E-03    .21203        .92484E-05** at limit **
  31  Prefactor     .10060E-03    .20879        .34680E-06** at limit **
  32  Prefactor     .10657E-03    .26108       -.43300E-05** at limit **
  33  Normalizat    1.0752        1.1869        .79906E-04    .62422E-04
  34  Prefactor     .27166        .58323       -.13545E-03    .31956E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 27.0268
  Prefactor  = 0.000103619
  Prefactor  = 0.000286957
  Prefactor  = 1.54684
  Prefactor  = 0.000100162
  Prefactor  = 0.000100001
  Prefactor  = 37.9765
  norm       = 0.000100158
  Prefactor  = 18.6759
  Prefactor  = 170.441
  Prefactor  = 0.0001
  Prefactor  = 0.00011516
  Prefactor  = 0.000100266
  Prefactor  = 0.00125955
  Prefactor  = 0.00010156
  Prefactor  = 0.000105365
  Prefactor  = 0.000178754
  norm       = 0.0001
  norm       = 2.63436
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100371
  norm       = 0.0001
  Prefactor  = 0.000114653
  norm       = 18.0109
  norm       = 0.0001
  Prefactor  = 2.18357
  Prefactor  = 0.0001
  Prefactor  = 0.000113152
  norm       = 0.00023269
  Prefactor  = 0.000100598
  Prefactor  = 0.000106571
  Normalizat = 1.07516
  Prefactor  = 0.271665
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   439.7841     FROM HESSE     STATUS=FAILED        15 CALLS      492 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     27.027        184.99        .29145E-02   -1.4668    
   2  Prefactor     .10362E-03    165.10        .99536E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .28696E-03    410.17        .53062E-02   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     576.92        575.19         .0000       -1.5459    
   5  Prefactor     .10016E-03    .21784        .13038E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    .22016        .39895E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     37.976        1.0233        .23867E-04   -1.4475    
   8  norm          .10016E-03    .22073       -.20502E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     18.676        1.0068       -.13299E-05   -1.4843    
  10  Prefactor     170.44        1.0031        .43290E-05   -1.3089    
  11  Prefactor     .10000E-03    .26521        .25500E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .11516E-03    .33089       -.14458E-04   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10027E-03    .25236        .20539E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .12595E-02    .12499        .14978E-03   -1.5715    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10156E-03    .20625       -.77249E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10537E-03    .34249        .82618E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .17875E-03    .36501        .77532E-04   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    .21172       -.99843E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          2.6344        1.0829       -.41964E-05   -1.5383    
  20  norm          .10000E-03    .20571        .90619E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    .27159        .93977E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10037E-03    .23069        .95193E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    .20571        .22581E-07   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .11465E-03    .24724       -.22735E-04   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          18.011        1.0037       -.10133E-04   -1.4859    
  26  norm          .10000E-03    .20571        .30404E-07   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     2.1836        1.0290         .0000       -1.5412    
  28  Prefactor     .10000E-03    .21379       -.21610E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .11315E-03    .25819       -.14452E-04   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  norm          .23269E-03    .21203        .92484E-05   -1.5710    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .10060E-03    .20879        .34680E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Prefactor     .10657E-03    .26108       -.43300E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Normalizat    1.0752        1.1869        .79906E-04   -.90553    
  34  Prefactor     .27166        .58323       -.13545E-03   -1.2396    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.23225e-09
Minuit parameter uncertainties:
  1  142.05
  2  0.0490221
  3  0.557698
  4  1.06512
  5  0.00037627
  6  2.91366e-05
  7  1.02326
  8  0.000373852
  9  1.00684
  10  1.00313
  11  4.79643e-08
  12  0.00447942
  13  0.000518613
  14  0.0240778
  15  0.00113458
  16  0.00271111
  17  0.0107231
  18  1.91464e-06
  19  1.08287
  20  6.09535e-07
  21  9.55713e-06
  22  0.000584731
  23  1.0021e-07
  24  0.00380678
  25  1.00372
  26  4.6411e-08
  27  1.02897
  28  1.88069e-06
  29  0.00368544
  30  0.0106085
  31  0.000706938
  32  0.00261955
  33  1.21833
  34  0.596529
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 439.784100459

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  1.000e-04  9.557e-06  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:  2.717e-01  5.965e-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.075e+00  1.218e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 351.350 -48.002
Photon Flux Upper Limit: 6.88e-07 ph cm-2 s-1
Energy Flux Upper Limit: 5.20e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/874146/likelihoodResults_412992001_413251201_4FGL_J2325.4-4800_daily_bin670.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) = 439.784216831
delta logL = -0.0001163715296

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 439.784100969
delta logL = -5.09452547703e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.8163       1.0000          .0000       10.000    
     3 'Normalizat'    1.0751       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .27167       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=   439.7841     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      233 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10004E-03    9.2051        .90712E-02** at limit **
   2  Index         2.8003        6.1808        .50000        .50946E-05
   3  Normalizat    1.0752        .78282E-02    .39116E-01    .17864E-03
   4  Prefactor     .27167        .74852E-02    .84278E-01    .13102E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100041
  Index      = 2.8003
  Normalizat = 1.07516
  Prefactor  = 0.271674
 **********
 **   18 **HESSE 
 **********

 FCN=   439.7841     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      262 TOTAL
                     EDM=   .48E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10004E-03    303.24        .11006E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.8003        6.9366        .50000       -.45553    
   3  Normalizat    1.0752        .45443E-01    .20600E-03   -.90553    
   4  Prefactor     .27167        .43303E-01    .37357E-03   -1.2396    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.82348e-07
Minuit parameter uncertainties:
  1  0.00712364
  2  504.245
  3  0.0454443
  4  0.0433085
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/874146': 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) = 439.784100943
delta logL = -4.83306848764e-07

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  1.000e-04  7.124e-03  1.000e-04  1.000e+04 ( 1.000e-13)
440        Index:  2.800e+00  5.042e+02  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:  2.717e-01  4.331e-02  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.075e+00  4.544e-02  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/874146/cmap_HighResolution_412992001_413251201_4FGL_J2325.4-4800_daily_bin670.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.20e-02', job_status='DONE', photon_flux_upper_limit='6.88e-07', time_completed='2021-09-29 18:09:53.739773', job_id='874146', GAL2='0.27', fit_tolerance='1e-08', EG2='1.08', EG='1.08', time_epoch_completed='1632964193.74', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='101', GAL='0.27', dlogl='-4.83e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.11' WHERE bin_id='670' AND source_name='4FGL J2325.4-4800' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:09:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0089>
Subject: Job 874146: <4FGL_J2325.4-4800_daily_bin670> in cluster <slac> Done

Job <4FGL_J2325.4-4800_daily_bin670> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 18:00:25 2021
Job was executed on host(s) <bullet0089>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 18:00:26 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:00:26 2021
Terminated at Wed Sep 29 18:09:56 2021
Results reported at Wed Sep 29 18:09:56 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-4800_daily_bin670 351.35 -48.0022 412992001 413251201 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 :                                   333.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             216.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   567 sec.
    Turnaround time :                            571 sec.

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

