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


Performing analysis on: 4FGL_J2325.4-4800_daily_bin1019
RA = 351.35, Dec = -48.0022
tmin = 503452801, tmax = 503712001
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='875818', job_status='RUN', time_executed='2021-09-29 18:06:18.153420', time_epoch_executed='1632963978.15' WHERE source_name='4FGL J2325.4-4800' and cadence='daily' and bin_id='1019'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/875818

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/875818/ft1_4FGL_J2325.4-4800_daily_bin1019.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/875818/ft2_4FGL_J2325.4-4800_daily_bin1019.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/875818/ft1_4FGL_J2325.4-4800_daily_bin1019.fits outfile=/scratch/kocevski/875818/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin1019.fits ra=351.35 dec=-48.0022 rad=12.0 tmin=503452801.0 tmax=503712001.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.77
user 5.46
sys 0.29

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/875818/ft1_filtered_4FGL_J2325.4-4800_daily_bin1019.fits" evtable="EVENTS" scfile=/scratch/kocevski/875818/ft2_4FGL_J2325.4-4800_daily_bin1019.fits sctable="SC_DATA" outfile=/scratch/kocevski/875818/ltcube_503452801_503712001_4FGL_J2325.4-4800_daily_bin1019.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/875818/ft2_4FGL_J2325.4-4800_daily_bin1019.fits
.....................!
real 8.50
user 8.21
sys 0.27

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/875818/ft1_filtered_4FGL_J2325.4-4800_daily_bin1019.fits evtable="EVENTS" scfile=/scratch/kocevski/875818/ft2_4FGL_J2325.4-4800_daily_bin1019.fits sctable="SC_DATA" expcube=/scratch/kocevski/875818/ltcube_503452801_503712001_4FGL_J2325.4-4800_daily_bin1019.fits outfile=/scratch/kocevski/875818/expmap_503452801_503712001_4FGL_J2325.4-4800_daily_bin1019.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/875818/ltcube_503452801_503712001_4FGL_J2325.4-4800_daily_bin1019.fits
.....................!
real 141.11
user 137.05
sys 3.84

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/875818/ft1_filtered_4FGL_J2325.4-4800_daily_bin1019.fits scfile=/scratch/kocevski/875818/ft2_4FGL_J2325.4-4800_daily_bin1019.fits outfile=/scratch/kocevski/875818/cmap_503452801_503712001_4FGL_J2325.4-4800_daily_bin1019.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.44
user 0.29
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/875818/ft1_filtered_4FGL_J2325.4-4800_daily_bin1019.fits scfile=/scratch/kocevski/875818/ft2_4FGL_J2325.4-4800_daily_bin1019.fits outfile=/scratch/kocevski/875818/cmap_HighResolution_503452801_503712001_4FGL_J2325.4-4800_daily_bin1019.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.44
user 0.30
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/875818/ft1_filtered_4FGL_J2325.4-4800_daily_bin1019.fits evtable="EVENTS" scfile=/scratch/kocevski/875818/ft2_4FGL_J2325.4-4800_daily_bin1019.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/875818/Model_4FGL_J2325.4-4800_daily_bin1019.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/875818/ft1_filtered_4FGL_J2325.4-4800_daily_bin1019.fits.....................!
real 29.65
user 28.58
sys 1.01

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    39.611       1.0000         .10000E-03   10000.    
     3 'Prefactor '    28.207       1.0000         .10000E-03   10000.    
     4 'Prefactor '    15.063       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .45884E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    5.7927       1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.8183       1.0000         .10000E-03   10000.    
    10 'Prefactor '    8.0752       1.0000         .10000E-03   10000.    
    11 'Prefactor '    16.049       1.0000         .10000E-03   10000.    
    12 'Prefactor '    32.440       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    3.9419       1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    5.0436       1.0000         .10000E-03   10000.    
    20 'norm      '    1.9623       1.0000         .10000E-03   10000.    
    21 'Prefactor '    4.6688       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10918E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    1.3814       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .13441E-01   1.0000         .10000E-03   10000.    
    25 'norm      '    2.1236       1.0000         .10000E-03   10000.    
    26 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    3.0061       1.0000         .10000E-03   10000.    
    29 'Prefactor '    .13623E-03   1.0000         .10000E-03   10000.    
    30 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    32 'Prefactor '    8.2670       1.0000         .10000E-03   10000.    
    33 'Normalizat'    1.3300       1.0000         .10000E-01   10.000    
    34 'Prefactor '    .63672       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=   4742.985     FROM MIGRAD    STATUS=CONVERGED    927 CALLS     4828 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    25.749        .24556E-06** at limit **
   2  Prefactor     39.598        37.781       -.41153E-06   -.71803E-04
   3  Prefactor     28.200        50.239       -.33600E-06   -.39844E-04
   4  Prefactor     15.063        15.760       -.11316E-06    .47741E-04
   5  Prefactor     .10000E-03    3.4332       -.12954E-07** at limit **
   6  Prefactor     .10001E-03    234.89       -.24660E-05** at limit **
   7  Prefactor     .10000E-03    3.8989       -.18605E-08** at limit **
   8  norm          5.7928        5.8499       -.40443E-07    .56503E-04
   9  Prefactor     5.8186        4.7009        .55656E-07   -.24792E-03
  10  Prefactor     8.0717        30.732        .49173E-07   -.18024E-04
  11  Prefactor     16.050        9.1796        .25518E-07   -.15834E-03
  12  Prefactor     32.437        35.498        .24155E-07   -.54656E-04
  13  Prefactor     .10000E-03    8.2453       -.41699E-07** at limit **
  14  Prefactor     .10000E-03    66.036        .78979E-06** at limit **
  15  Prefactor     .10000E-03    1.5573       -.10203E-08** at limit **
  16  Prefactor     .10000E-03    36.299       -.15454E-06** at limit **
  17  Prefactor     3.9460        37.593        .60808E-06   -.11637E-03
  18  norm          .10000E-03    5.4807        .21373E-07** at limit **
  19  norm          5.0448        7.3460        .43632E-06    .47583E-05
  20  norm          1.9647        5.2143        .18094E-06   -.19414E-03
  21  Prefactor     4.6576        7.9522       -.23982E-05   -.12128E-02
  22  Prefactor     .10000E-03    53.728       -.69756E-06** at limit **
  23  norm          1.3834        3.7869        .19734E-06   -.25593E-03
  24  Prefactor     .10093E-03    32.231        .71704E-05** at limit **
  25  norm          2.1222        2.1789       -.12985E-06   -.17843E-02
  26  norm          .10000E-03    1.5289       -.17307E-07** at limit **
  27  Prefactor     .10000E-03    6.3239        .29542E-07** at limit **
  28  Prefactor     2.9945        5.5799        .21584E-07   -.11950E-03
  29  Prefactor     .10001E-03    121.97       -.10740E-05** at limit **
  30  norm          .10000E-03    15.973        .17590E-07** at limit **
  31  Prefactor     .10000E-03    3.5300        .49295E-07** at limit **
  32  Prefactor     8.2629        7.4269        .15629E-06    .57375E-04
  33  Normalizat    1.3300        .21878       -.72328E-06   -.29604E-03
  34  Prefactor     .63662        .21684        .12028E-06   -.20495E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 39.5976
  Prefactor  = 28.1995
  Prefactor  = 15.0628
  Prefactor  = 0.0001
  Prefactor  = 0.000100008
  Prefactor  = 0.0001
  norm       = 5.79284
  Prefactor  = 5.81861
  Prefactor  = 8.07169
  Prefactor  = 16.0501
  Prefactor  = 32.4375
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.94603
  norm       = 0.0001
  norm       = 5.04476
  norm       = 1.96472
  Prefactor  = 4.65761
  Prefactor  = 0.000100001
  norm       = 1.38344
  Prefactor  = 0.000100926
  norm       = 2.12222
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.99447
  Prefactor  = 0.000100009
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.2629
  Normalizat = 1.32996
  Prefactor  = 0.636619
 **********
 **   18 **HESSE 
 **********

 FCN=   4742.985     FROM HESSE     STATUS=OK           730 CALLS     5558 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    25.753        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     39.598        37.698        .63687E-04   -1.4449    
   3  Prefactor     28.200        50.160        .75434E-04   -1.4645    
   4  Prefactor     15.063        15.761        .51599E-03   -1.4932    
   5  Prefactor     .10000E-03    3.4344        .12462E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10001E-03    239.41        .42399E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    3.9024        .13281E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          5.7928        5.8546        .16344E-03   -1.5227    
   9  Prefactor     5.8186        4.7036        .12590E-03   -1.5225    
  10  Prefactor     8.0717        30.725        .14109E-03   -1.5140    
  11  Prefactor     16.050        9.1776        .99975E-04   -1.4906    
  12  Prefactor     32.437        35.534        .70352E-04   -1.4568    
  13  Prefactor     .10000E-03    8.3745        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    66.031        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    1.5583        .83931E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    36.337        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     3.9460        36.401        .20318E-03   -1.5311    
  18  norm          .10000E-03    5.5057        .15747E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          5.0448        7.3450        .17905E-03   -1.5259    
  20  norm          1.9647        5.0978        .21527E-03   -1.5428    
  21  Prefactor     4.6576        8.4637        .18625E-03   -1.5276    
  22  Prefactor     .10000E-03    53.980        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          1.3834        3.6674        .18395E-03   -1.5473    
  24  Prefactor     .10093E-03    102.98        .55676E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          2.1222        2.1205        .83250E-04   -1.5417    
  26  norm          .10000E-03    1.5407        .83074E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    6.3259        .16915E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     2.9945        5.5216        .20101E-03   -1.5362    
  29  Prefactor     .10001E-03    123.20        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  norm          .10000E-03    15.986        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .10000E-03    3.5491        .12629E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Prefactor     8.2629        7.4171        .13943E-03   -1.5133    
  33  Normalizat    1.3300        .26292        .22611E-03   -.82676    
  34  Prefactor     .63662        .25697        .32189E-03   -1.0607    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.0128e-08
Minuit parameter uncertainties:
  1  0.00011252
  2  37.7209
  3  50.2348
  4  15.7651
  5  4.96695e-07
  6  0.00273721
  7  9.20373e-07
  8  5.85515
  9  4.70391
  10  30.7848
  11  9.17841
  12  35.5576
  13  3.06917e-06
  14  0.000657285
  15  7.09912e-07
  16  7.49199e-05
  17  23.9891
  18  6.76625e-07
  19  7.34634
  20  5.0989
  21  8.46589
  22  0.00036281
  23  3.66797
  24  0.019569
  25  2.12056
  26  4.83829e-07
  27  5.28768e-06
  28  5.52254
  29  0.00209995
  30  4.40884e-06
  31  2.23525e-08
  32  7.41788
  33  0.263187
  34  0.257448
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
568    Prefactor:  6.366e-01  2.574e-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.330e+00  2.632e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.45
Ra Dec: 351.350 -48.002
Photon Flux Upper Limit: 1.07e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.11e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/875818/likelihoodResults_503452801_503712001_4FGL_J2325.4-4800_daily_bin1019.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4742.63435729
delta logL = 0.351038552853

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4742.62503367
delta logL = 0.360362168234

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.2183       1.0000         .10000E-03   10000.    
     2 'Index     '    2.8713       1.0000          .0000       10.000    
     3 'Normalizat'    1.2986       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .65326       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=   4742.625     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      251 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.2250        66.476        .69030E-02    .14230E-02
   2  Index         2.8708        3.4717        .10401        .30920E-03
   3  Normalizat    1.2984        .66027E-01    .51615E-01   -.45766E-03
   4  Prefactor     .65364        .64510E-01    .71786E-01   -.22543E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.22497
  Index      = 2.87083
  Normalizat = 1.29843
  Prefactor  = 0.653645
 **********
 **   18 **HESSE 
 **********

 FCN=   4742.625     FROM HESSE     STATUS=OK            31 CALLS      282 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.2250        6.5307        .10508E-03   -1.5410    
   2  Index         2.8708        1.2890        .56207E-02   -.43988    
   3  Normalizat    1.2984        .25208        .22820E-03   -.83613    
   4  Prefactor     .65364        .25455        .31774E-03   -1.0537    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.06578e-09
Minuit parameter uncertainties:
  1  6.53276
  2  1.30715
  3  0.252323
  4  0.255002
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/875818': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4742.62502838
delta logL = 0.360367463385

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  2.225e+00  6.533e+00  1.000e-04  1.000e+04 ( 1.000e-13)
440        Index:  2.871e+00  1.307e+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:  6.536e-01  2.550e-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.298e+00  2.523e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.19
Ra Dec: 351.350 -48.002
Photon Index (Free Index): 2.87 +/- 1.31
Photon Flux (Free Index): 5.33e-08 +/- 6.11e-08
Energy Flux (Free Index): 1.14e-05 +/- 1.30e-05

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/875818/cmap_HighResolution_503452801_503712001_4FGL_J2325.4-4800_daily_bin1019.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.11e-03', comment='SUCCESS', energy_flux2='1.14e-05', dlogl='3.60e-01', photon_flux2='5.33e-08', job_status='DONE', time_completed='2021-09-29 18:16:28.168230', photon_index_error2='1.31', photon_index2='2.87', ts='0.45', fit_tolerance='1e-08', GAL='0.64', photon_index_error='0.00', photon_flux_upper_limit='1.07e-07', energy_flux_error2='1.30e-05', EG='1.33', time_epoch_completed='1632964588.17', return_code='0', job_id='875818', GAL2='0.65', EG2='1.30', return_code2='0', photon_flux_error2='6.11e-08', ts2='1.19', photon_index='2.11' WHERE bin_id='1019' AND source_name='4FGL J2325.4-4800' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:16:28 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0086>
Subject: Job 875818: <4FGL_J2325.4-4800_daily_bin1019> in cluster <slac> Done

Job <4FGL_J2325.4-4800_daily_bin1019> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 18:05:36 2021
Job was executed on host(s) <bullet0086>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 18:05:38 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 18:05:38 2021
Terminated at Wed Sep 29 18:16:28 2021
Results reported at Wed Sep 29 18:16:28 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-4800_daily_bin1019 351.35 -48.0022 503452801 503712001 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 :                                   605.49 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             286.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   650 sec.
    Turnaround time :                            652 sec.

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

