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


Performing analysis on: 4FGL_J2325.4-4800_daily_bin600
RA = 351.35, Dec = -48.0022
tmin = 394848001, tmax = 395107201
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='874042', job_status='RUN', time_executed='2021-09-29 18:03:49.621069', time_epoch_executed='1632963829.62' WHERE source_name='4FGL J2325.4-4800' and cadence='daily' and bin_id='600'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/874042

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

Retrieving the FT1 file...

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

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

Retrieving 50 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/874042/ft1_4FGL_J2325.4-4800_daily_bin600.fits


Retrieving the FT1 file...

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

Retrieving 50 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/874042/ft2_4FGL_J2325.4-4800_daily_bin600.fits


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

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

Done.
real 5.36
user 5.05
sys 0.26

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/874042/ft1_filtered_4FGL_J2325.4-4800_daily_bin600.fits" evtable="EVENTS" scfile=/scratch/kocevski/874042/ft2_4FGL_J2325.4-4800_daily_bin600.fits sctable="SC_DATA" outfile=/scratch/kocevski/874042/ltcube_394848001_395107201_4FGL_J2325.4-4800_daily_bin600.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/874042/ft2_4FGL_J2325.4-4800_daily_bin600.fits
.....................!
real 12.02
user 11.66
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/874042/ft1_filtered_4FGL_J2325.4-4800_daily_bin600.fits evtable="EVENTS" scfile=/scratch/kocevski/874042/ft2_4FGL_J2325.4-4800_daily_bin600.fits sctable="SC_DATA" expcube=/scratch/kocevski/874042/ltcube_394848001_395107201_4FGL_J2325.4-4800_daily_bin600.fits outfile=/scratch/kocevski/874042/expmap_394848001_395107201_4FGL_J2325.4-4800_daily_bin600.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/874042/ltcube_394848001_395107201_4FGL_J2325.4-4800_daily_bin600.fits
.....................!
real 190.34
user 185.21
sys 4.78

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/874042/ft1_filtered_4FGL_J2325.4-4800_daily_bin600.fits scfile=/scratch/kocevski/874042/ft2_4FGL_J2325.4-4800_daily_bin600.fits outfile=/scratch/kocevski/874042/cmap_394848001_395107201_4FGL_J2325.4-4800_daily_bin600.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=351.35 yref=-48.0022 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/874042/ft1_filtered_4FGL_J2325.4-4800_daily_bin600.fits scfile=/scratch/kocevski/874042/ft2_4FGL_J2325.4-4800_daily_bin600.fits outfile=/scratch/kocevski/874042/cmap_HighResolution_394848001_395107201_4FGL_J2325.4-4800_daily_bin600.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.57
user 0.37
sys 0.18

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    127.28       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .38760E-02   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.3816       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.7580       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    118.38       1.0000         .10000E-03   10000.    
    11 'Prefactor '    9.1698       1.0000         .10000E-03   10000.    
    12 'Prefactor '    18.972       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .16191E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10153E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10104E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    1.9419       1.0000         .10000E-03   10000.    
    24 'Prefactor '    31.756       1.0000         .10000E-03   10000.    
    25 'norm      '    6.4094       1.0000         .10000E-03   10000.    
    26 'norm      '    5.0524       1.0000         .10000E-03   10000.    
    27 'Prefactor '    26.574       1.0000         .10000E-03   10000.    
    28 'Prefactor '    4.8542       1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    30 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    32 'Prefactor '    .71558       1.0000         .10000E-03   10000.    
    33 'Normalizat'    1.0887       1.0000         .10000E-01   10.000    
    34 'Prefactor '    .81903       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=   4429.792     FROM MIGRAD    STATUS=CONVERGED    927 CALLS     4807 TOTAL
                     EDM=   .28E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     127.27        74.002        .40419E-06    .89682E-05
   2  Prefactor     .10011E-03    34.101       -.58625E-05** at limit **
   3  Prefactor     .10000E-03    20.429       -.56506E-06** at limit **
   4  Prefactor     .10000E-03    8.0329        .44920E-07** at limit **
   5  Prefactor     1.3825        10.411        .25573E-05    .82323E-04
   6  Prefactor     .10000E-03    19.986       -.55941E-06** at limit **
   7  Prefactor     .10000E-03    2.9901       -.39903E-07** at limit **
   8  norm          1.7578        9.7731        .18958E-05    .56483E-04
   9  Prefactor     .10000E-03    3.3910       -.84060E-07** at limit **
  10  Prefactor     118.38        73.107        .20803E-06    .13481E-04
  11  Prefactor     9.1693        9.2687        .48675E-06   -.14360E-04
  12  Prefactor     18.943        40.070       -.13824E-05   -.57411E-04
  13  Prefactor     .10000E-03    17.214        .50559E-05** at limit **
  14  Prefactor     .10000E-03    43.539       -.92528E-06** at limit **
  15  Prefactor     .10000E-03    6.9623       -.33755E-06** at limit **
  16  Prefactor     .10000E-03    29.088        .26997E-05** at limit **
  17  Prefactor     .10000E-03    12.087        .61120E-06** at limit **
  18  norm          .10000E-03    11.409       -.24595E-06** at limit **
  19  norm          .10000E-03    2.3023       -.48526E-08** at limit **
  20  norm          .10000E-03    2.9468       -.93713E-07** at limit **
  21  Prefactor     .10000E-03    2.8648       -.21216E-07** at limit **
  22  Prefactor     .10000E-03    14.370        .49829E-06** at limit **
  23  norm          1.9420        3.1554        .24195E-07   -.27225E-05
  24  Prefactor     31.755        19.617        .20418E-06   -.22005E-05
  25  norm          6.4093        2.0819        .66131E-07    .36763E-04
  26  norm          5.0528        4.7734        .16996E-06    .30563E-04
  27  Prefactor     26.572        18.479        .15185E-06    .54834E-05
  28  Prefactor     4.8532        4.4258       -.42780E-07    .85520E-05
  29  Prefactor     .10000E-03    10.921       -.63670E-06** at limit **
  30  norm          .10000E-03    8.2552       -.13243E-06** at limit **
  31  Prefactor     .10000E-03    1.9208       -.12797E-06** at limit **
  32  Prefactor     .71186        5.0181        .10564E-05   -.20486E-03
  33  Normalizat    1.0890        .23621       -.14781E-05    .48941E-04
  34  Prefactor     .81869        .23770        .13488E-05   -.56878E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 127.272
  Prefactor  = 0.000100114
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.38246
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.75781
  Prefactor  = 0.0001
  Prefactor  = 118.379
  Prefactor  = 9.16935
  Prefactor  = 18.9429
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.94201
  Prefactor  = 31.755
  norm       = 6.40927
  norm       = 5.05283
  Prefactor  = 26.5716
  Prefactor  = 4.85322
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.711856
  Normalizat = 1.08898
  Prefactor  = 0.818692
 **********
 **   18 **HESSE 
 **********

 FCN=   4429.792     FROM HESSE     STATUS=OK           728 CALLS     5535 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     127.27        74.013        .17842E-03   -1.3447    
   2  Prefactor     .10011E-03    134.56        .49885E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    20.463        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    8.0559        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.3825        11.551        .18512E-02   -1.5473    
   6  Prefactor     .10000E-03    20.014        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    2.9942        .11240E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.7578        10.139        .15804E-02   -1.5443    
   9  Prefactor     .10000E-03    3.4459        .11956E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     118.38        73.052        .36983E-04   -1.3528    
  11  Prefactor     9.1693        9.2598        .13235E-03   -1.5102    
  12  Prefactor     18.943        40.662        .91952E-04   -1.4837    
  13  Prefactor     .10000E-03    18.082        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    43.678        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    7.0743        .17148E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    29.424        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    12.127        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    11.483        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    2.3023        .98628E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    2.9555        .11145E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    2.8665        .10996E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    14.400        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          1.9420        3.1239        .14471E-03   -1.5429    
  24  Prefactor     31.755        19.619        .71104E-04   -1.4580    
  25  norm          6.4093        2.0823        .50792E-04   -1.5202    
  26  norm          5.0528        4.7656        .67582E-03   -1.5258    
  27  Prefactor     26.572        18.490        .77712E-04   -1.4677    
  28  Prefactor     4.8532        4.4163        .12629E-03   -1.5267    
  29  Prefactor     .10000E-03    10.950        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  norm          .10000E-03    8.2573        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .10000E-03    1.9274        .90061E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Prefactor     .71186        7.0906        .25010E-02   -1.5539    
  33  Normalizat    1.0890        .27567        .23990E-03   -.90106    
  34  Prefactor     .81869        .27684        .28665E-03   -.99043    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.19655e-09
Minuit parameter uncertainties:
  1  74.0669
  2  0.00784782
  3  5.13698e-05
  4  1.17692e-05
  5  7.9941
  6  6.2341e-05
  7  4.39225e-07
  8  8.44545
  9  5.10061e-06
  10  73.1075
  11  9.26122
  12  40.721
  13  0.000264593
  14  0.000236804
  15  1.23002e-05
  16  0.000341119
  17  4.44831e-05
  18  1.97927e-05
  19  5.2588e-07
  20  4.48507e-06
  21  2.64188e-06
  22  5.50986e-05
  23  3.12418
  24  19.6234
  25  2.0823
  26  4.76597
  27  18.4937
  28  4.41662
  29  5.37597e-05
  30  9.15894e-06
  31  1.85749e-06
  32  4.4937
  33  0.276031
  34  0.277315
Done.

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

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  1.000e-04  2.642e-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:  8.187e-01  2.773e-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.089e+00  2.760e-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: 6.33e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.78e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/874042/likelihoodResults_394848001_395107201_4FGL_J2325.4-4800_daily_bin600.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) = 4429.79364153
delta logL = -0.00161739842952

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4429.79202402
delta logL = 1.10871042125e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10052E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.0876       1.0000          .0000       10.000    
     3 'Normalizat'    1.0890       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81863       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   4429.792     FROM MIGRAD    STATUS=FAILED        87 CALLS      238 TOTAL
                     EDM=   .67E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10156E-03    54.893        .11143E-02** at limit **
   2  Index         2.0186        5.2813        .50000        .42248E-04
   3  Normalizat    1.0890        .22140E-01    .23990E-03    .71085E-05
   4  Prefactor     .81870        .23362E-01    .28665E-03    .39700E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   4429.792     FROM SIMPLEX   STATUS=UNCHANGED    142 CALLS      380 TOTAL
                     EDM=   .12E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10156E-03    54.893        .31108E-03** at limit **
   2  Index         2.0186        5.2813        .15764E-03    .42248E-04
   3  Normalizat    1.0890        .22140E-01    .12124E-05    .71085E-05
   4  Prefactor     .81870        .23362E-01    .12394E-05    .39700E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4429.792     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      426 TOTAL
                     EDM=   .89E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    57.329        .22286E-02** at limit **
   2  Index         1.6539        8.2846        .50000        .18877E-06
   3  Normalizat    1.0890        .21279E-01    .95959E-05   -.27581E-03
   4  Prefactor     .81869        .22454E-01    .11466E-04   -.22448E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.65385
  Normalizat = 1.08898
  Prefactor  = 0.818694
 **********
 **   18 **HESSE 
 **********

 FCN=   4429.792     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      455 TOTAL
                     EDM=   .41E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    258.06        .44572E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.6539        5.2533        .50000       -.73317    
   3  Normalizat    1.0890        .48974E-01    .19192E-05   -.90106    
   4  Prefactor     .81869        .51666E-01    .22932E-05   -.99043    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.09826e-11
Minuit parameter uncertainties:
  1  0.000319786
  2  869.4
  3  0.0489759
  4  0.0516686
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/874042': 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) = 4429.79202126
delta logL = 2.87424245471e-06

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  1.000e-04  3.198e-04  1.000e-04  1.000e+04 ( 1.000e-13)
440        Index:  1.654e+00  8.694e+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:  8.187e-01  5.167e-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.089e+00  4.898e-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/874042/cmap_HighResolution_394848001_395107201_4FGL_J2325.4-4800_daily_bin600.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.78e-03', job_status='DONE', photon_flux_upper_limit='6.33e-08', time_completed='2021-09-29 18:16:48.623942', job_id='874042', GAL2='0.82', fit_tolerance='1e-08', EG2='1.09', EG='1.09', time_epoch_completed='1632964608.62', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.82', dlogl='2.87e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.11' WHERE bin_id='600' AND source_name='4FGL J2325.4-4800' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:16:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0214>
Subject: Job 874042: <4FGL_J2325.4-4800_daily_bin600> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-4800_daily_bin600 351.35 -48.0022 394848001 395107201 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 :                                   778.55 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             232.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   991 sec.
    Turnaround time :                            993 sec.

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

