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


Performing analysis on: 4FGL_J2325.4-4800_daily_bin1339
RA = 351.35, Dec = -48.0022
tmin = 586396801, tmax = 586656001
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='877514', job_status='RUN', time_executed='2021-09-29 18:11:38.479307', time_epoch_executed='1632964298.48' WHERE source_name='4FGL J2325.4-4800' and cadence='daily' and bin_id='1339'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/877514

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

Retrieving the FT1 file...

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

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

Retrieving 31 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/877514/ft1_4FGL_J2325.4-4800_daily_bin1339.fits


Retrieving the FT1 file...

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

Retrieving 31 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/877514/ft2_4FGL_J2325.4-4800_daily_bin1339.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/877514/ft1_4FGL_J2325.4-4800_daily_bin1339.fits outfile=/scratch/kocevski/877514/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin1339.fits ra=351.35 dec=-48.0022 rad=12.0 tmin=586396801.0 tmax=586656001.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 2.60
user 2.41
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/877514/ft1_filtered_4FGL_J2325.4-4800_daily_bin1339.fits" evtable="EVENTS" scfile=/scratch/kocevski/877514/ft2_4FGL_J2325.4-4800_daily_bin1339.fits sctable="SC_DATA" outfile=/scratch/kocevski/877514/ltcube_586396801_586656001_4FGL_J2325.4-4800_daily_bin1339.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/877514/ft2_4FGL_J2325.4-4800_daily_bin1339.fits
.....................!
real 8.26
user 7.89
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/877514/ft1_filtered_4FGL_J2325.4-4800_daily_bin1339.fits evtable="EVENTS" scfile=/scratch/kocevski/877514/ft2_4FGL_J2325.4-4800_daily_bin1339.fits sctable="SC_DATA" expcube=/scratch/kocevski/877514/ltcube_586396801_586656001_4FGL_J2325.4-4800_daily_bin1339.fits outfile=/scratch/kocevski/877514/expmap_586396801_586656001_4FGL_J2325.4-4800_daily_bin1339.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/877514/ltcube_586396801_586656001_4FGL_J2325.4-4800_daily_bin1339.fits
.....................!
real 190.19
user 185.03
sys 4.85

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/877514/ft1_filtered_4FGL_J2325.4-4800_daily_bin1339.fits scfile=/scratch/kocevski/877514/ft2_4FGL_J2325.4-4800_daily_bin1339.fits outfile=/scratch/kocevski/877514/cmap_586396801_586656001_4FGL_J2325.4-4800_daily_bin1339.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.52
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/877514/ft1_filtered_4FGL_J2325.4-4800_daily_bin1339.fits scfile=/scratch/kocevski/877514/ft2_4FGL_J2325.4-4800_daily_bin1339.fits outfile=/scratch/kocevski/877514/cmap_HighResolution_586396801_586656001_4FGL_J2325.4-4800_daily_bin1339.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.53
user 0.38
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/877514/ft1_filtered_4FGL_J2325.4-4800_daily_bin1339.fits evtable="EVENTS" scfile=/scratch/kocevski/877514/ft2_4FGL_J2325.4-4800_daily_bin1339.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/877514/Model_4FGL_J2325.4-4800_daily_bin1339.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/877514/ft1_filtered_4FGL_J2325.4-4800_daily_bin1339.fits......................!
real 29.43
user 28.22
sys 1.15

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    16.248       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    22.760       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    12.738       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    16.764       1.0000         .10000E-03   10000.    
    13 'Prefactor '    10.153       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    10.015       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    7.2709       1.0000         .10000E-03   10000.    
    22 'Prefactor '    24.623       1.0000         .10000E-03   10000.    
    23 'norm      '    .10019E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    1.5512       1.0000         .10000E-03   10000.    
    26 'norm      '    10.588       1.0000         .10000E-03   10000.    
    27 'Prefactor '    2.0491       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
    30 'norm      '    23.257       1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    32 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    33 'Normalizat'    1.7412       1.0000         .10000E-01   10.000    
    34 'Prefactor '    .27785       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=   2993.920     FROM MIGRAD    STATUS=CONVERGED    895 CALLS     5637 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    25.627       -.82793E-05** at limit **
   2  Prefactor     16.251        25.190        .28186E-05    .39709E-04
   3  Prefactor     .10000E-03    33.123        .66085E-05** at limit **
   4  Prefactor     .10000E-03    19.789        .21562E-05** at limit **
   5  Prefactor     22.763        13.540        .16551E-06    .77771E-04
   6  Prefactor     .10000E-03    21.376       -.61475E-06** at limit **
   7  Prefactor     .10000E-03    7.4909       -.47131E-05** at limit **
   8  norm          .10000E-03    6.1969       -.29089E-05** at limit **
   9  Prefactor     .10000E-03    4.0273        .94291E-06** at limit **
  10  Prefactor     12.737        47.134       -.66500E-06   -.62661E-05
  11  Prefactor     .10000E-03    4.1956       -.14435E-05** at limit **
  12  Prefactor     16.772        49.151        .13263E-04    .10714E-04
  13  Prefactor     10.155        18.053       -.19996E-05   -.48389E-04
  14  Prefactor     .10000E-03    67.185        .22542E-04** at limit **
  15  Prefactor     .10000E-03    4.7914        .89439E-06** at limit **
  16  Prefactor     10.012        37.154       -.49113E-05   -.93851E-05
  17  Prefactor     .10000E-03    19.412        .23720E-05** at limit **
  18  norm          .10000E-03    21.822       -.22293E-05** at limit **
  19  norm          .10000E-03    7.0668        .79572E-05** at limit **
  20  norm          .10000E-03    3.3940       -.33878E-06** at limit **
  21  Prefactor     7.2724        7.6597        .23415E-06   -.10781E-03
  22  Prefactor     24.642        61.624        .30516E-04    .56118E-04
  23  norm          .10000E-03    7.2577       -.24147E-05** at limit **
  24  Prefactor     .10000E-03    18.461        .17295E-05** at limit **
  25  norm          1.5514        1.5372        .13015E-06   -.41120E-03
  26  norm          10.591        9.0980       -.19729E-05    .60917E-04
  27  Prefactor     2.0592        81.460        .14290E-04   -.22333E-04
  28  Prefactor     .10000E-03    1.7885        .23595E-07** at limit **
  29  Prefactor     .10000E-03    76.292       -.24424E-04** at limit **
  30  norm          23.264        30.632        .57116E-05    .75760E-04
  31  Prefactor     .10000E-03    8.5275       -.11121E-05** at limit **
  32  Prefactor     .10000E-03    2.8625       -.19166E-06** at limit **
  33  Normalizat    1.7412        .33212       -.19868E-05    .28596E-03
  34  Prefactor     .27786        .32948       -.45014E-05   -.74118E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 16.2511
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 22.7626
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.7374
  Prefactor  = 0.0001
  Prefactor  = 16.7715
  Prefactor  = 10.1551
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.0122
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 7.27236
  Prefactor  = 24.6418
  norm       = 0.000100004
  Prefactor  = 0.0001
  norm       = 1.5514
  norm       = 10.5905
  Prefactor  = 2.05921
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 23.2636
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Normalizat = 1.74116
  Prefactor  = 0.277859
 **********
 **   18 **HESSE 
 **********

 FCN=   2993.920     FROM HESSE     STATUS=OK           722 CALLS     6359 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    25.602        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     16.251        25.181        .99363E-04   -1.4901    
   3  Prefactor     .10000E-03    33.135        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    19.863        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     22.763        13.541        .83960E-04   -1.4753    
   6  Prefactor     .10000E-03    21.381        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    7.5120        .14610E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    6.2009        .13299E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    4.1031        .10720E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     12.737        46.984        .11223E-03   -1.4994    
  11  Prefactor     .10000E-03    4.2155        .10942E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     16.772        49.115        .97821E-04   -1.4889    
  13  Prefactor     10.155        17.957        .12575E-03   -1.5071    
  14  Prefactor     .10000E-03    66.987        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    4.7995        .11697E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     10.012        37.055        .12662E-03   -1.5075    
  17  Prefactor     .10000E-03    19.499        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    22.059        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    7.0773        .14168E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    3.3969        .98456E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     7.2724        7.6507        .14875E-03   -1.5169    
  22  Prefactor     24.642        61.688        .80726E-04   -1.4715    
  23  norm          .10000E-03    7.4172        .14393E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    18.525        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          1.5514        1.5184        .64233E-04   -1.5459    
  26  norm          10.591        9.0521        .12313E-03   -1.5057    
  27  Prefactor     2.0592        80.494        .28880E-03   -1.5421    
  28  Prefactor     .10000E-03    1.7935        .71442E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .10000E-03    76.930        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  norm          23.264        29.958        .83060E-04   -1.4743    
  31  Prefactor     .10000E-03    21.129        .29753E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Prefactor     .10000E-03    2.8879        .90385E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Normalizat    1.7412        .33857        .19740E-03   -.71210    
  34  Prefactor     .27786        .32507        .45900E-03   -1.2359    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.25237e-09
Minuit parameter uncertainties:
  1  7.26263e-06
  2  25.1971
  3  1.84843e-05
  4  2.02522e-05
  5  13.5432
  6  1.03149e-05
  7  1.99081e-05
  8  1.81198e-06
  9  1.22491e-05
  10  47.1207
  11  1.29397e-05
  12  49.234
  13  17.9668
  14  1.97653e-05
  15  3.91994e-06
  16  37.1403
  17  6.42025e-07
  18  1.80075e-05
  19  1.2636e-05
  20  3.22699e-05
  21  7.65171
  22  61.8486
  23  0.000339863
  24  7.60591e-06
  25  1.51841
  26  9.0533
  27  25.7859
  28  1.1581e-06
  29  0.000413384
  30  29.9773
  31  0.000360272
  32  3.70892e-06
  33  0.339021
  34  0.327226
Done.

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

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  7.272e+00  7.652e+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:  2.779e-01  3.272e-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.741e+00  3.390e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.33
Ra Dec: 351.350 -48.002
Photon Index (Fixed Index): 2.11 +/- 0.00
Photon Flux (Fixed Index): 3.13e-08 +/- 3.29e-08
Energy Flux (Fixed Index): 1.70e-05 +/- 1.79e-05

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

Saving results to:
/scratch/kocevski/877514/likelihoodResults_586396801_586656001_4FGL_J2325.4-4800_daily_bin1339.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) = 2993.91481422
delta logL = 0.00474069381971

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2993.91266995
delta logL = 0.00688496052453

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.8601       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0132       1.0000          .0000       10.000    
     3 'Normalizat'    1.7447       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .27580       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   2993.913     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      246 TOTAL
                     EDM=   .78E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.8606        9.7401        .14302E-03   -.44899E-03
   2  Index         2.0130        .80523        .75426E-02   -.11627E-03
   3  Normalizat    1.7447        .31984        .19725E-03    .39567E-04
   4  Prefactor     .27580        .31929        .46064E-03    .11616E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.86056
  Index      = 2.01298
  Normalizat = 1.74475
  Prefactor  = 0.2758
 **********
 **   18 **HESSE 
 **********

 FCN=   2993.913     FROM HESSE     STATUS=OK            25 CALLS      271 TOTAL
                     EDM=   .83E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.8606        9.4870        .28604E-04   -1.5147    
   2  Index         2.0130        .78442        .30170E-03   -.64026    
   3  Normalizat    1.7447        .31963        .78901E-05   -.71115    
   4  Prefactor     .27580        .31916        .18426E-04   -1.2371    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.26176e-10
Minuit parameter uncertainties:
  1  9.48881
  2  0.78951
  3  0.320014
  4  0.321218
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/877514': 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) = 2993.91266991
delta logL = 0.0068850095804

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  7.861e+00  9.489e+00  1.000e-04  1.000e+04 ( 1.000e-13)
440        Index:  2.013e+00  7.895e-01  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.758e-01  3.212e-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.745e+00  3.200e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.34
Ra Dec: 351.350 -48.002
Photon Index (Free Index): 2.01 +/- 0.79
Photon Flux (Free Index): 2.82e-08 +/- 4.01e-08
Energy Flux (Free Index): 1.89e-05 +/- 2.69e-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/877514/cmap_HighResolution_586396801_586656001_4FGL_J2325.4-4800_daily_bin1339.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.50e-03', comment='SUCCESS', photon_flux='3.13e-08', energy_flux2='1.89e-05', photon_flux_error='3.29e-08', dlogl='6.89e-03', energy_flux='1.70e-05', photon_flux2='2.82e-08', job_status='DONE', time_completed='2021-09-29 18:22:28.697062', photon_index_error2='0.79', photon_index2='2.01', ts='2.33', fit_tolerance='1e-08', GAL='0.28', photon_index_error='0.00', photon_flux_upper_limit='1.26e-07', energy_flux_error2='2.69e-05', EG='1.74', time_epoch_completed='1632964948.7', return_code='0', job_id='877514', GAL2='0.28', EG2='1.74', return_code2='0', energy_flux_error='1.79e-05', photon_flux_error2='4.01e-08', ts2='2.34', photon_index='2.11' WHERE bin_id='1339' AND source_name='4FGL J2325.4-4800' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:22:28 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0085>
Subject: Job 877514: <4FGL_J2325.4-4800_daily_bin1339> in cluster <slac> Done

Job <4FGL_J2325.4-4800_daily_bin1339> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 18:10:45 2021
Job was executed on host(s) <bullet0085>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 18:10:46 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 18:10:46 2021
Terminated at Wed Sep 29 18:22:29 2021
Results reported at Wed Sep 29 18:22:29 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-4800_daily_bin1339 351.35 -48.0022 586396801 586656001 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 :                                   645.52 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             347.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   702 sec.
    Turnaround time :                            704 sec.

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

