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


Performing analysis on: 4FGL_J2325.4-3559_daily_bin1471
RA = 351.359, Dec = -35.9878
tmin = 620611201, tmax = 620870401
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='869908', job_status='RUN', time_executed='2021-09-29 17:47:25.375325', time_epoch_executed='1632962845.38' WHERE source_name='4FGL J2325.4-3559' and cadence='daily' and bin_id='1471'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/869908

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/869908/ft1_4FGL_J2325.4-3559_daily_bin1471.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/869908/ft2_4FGL_J2325.4-3559_daily_bin1471.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/869908/ft1_4FGL_J2325.4-3559_daily_bin1471.fits outfile=/scratch/kocevski/869908/ft1_filteredMKT_4FGL_J2325.4-3559_daily_bin1471.fits ra=351.359 dec=-35.9878 rad=12.0 tmin=620611201.0 tmax=620870401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.80
user 3.55
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/869908/ft2_4FGL_J2325.4-3559_daily_bin1471.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/869908/ft2_4FGL_J2325.4-3559_daily_bin1471.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/869908/ft1_filteredMKT_4FGL_J2325.4-3559_daily_bin1471.fits evtable="EVENTS" outfile="/scratch/kocevski/869908/ft1_filtered_4FGL_J2325.4-3559_daily_bin1471.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.51
user 0.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/869908/ft1_filtered_4FGL_J2325.4-3559_daily_bin1471.fits" evtable="EVENTS" scfile=/scratch/kocevski/869908/ft2_4FGL_J2325.4-3559_daily_bin1471.fits sctable="SC_DATA" outfile=/scratch/kocevski/869908/ltcube_620611201_620870401_4FGL_J2325.4-3559_daily_bin1471.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/869908/ft2_4FGL_J2325.4-3559_daily_bin1471.fits
.....................!
real 12.25
user 11.84
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/869908/ft1_filtered_4FGL_J2325.4-3559_daily_bin1471.fits evtable="EVENTS" scfile=/scratch/kocevski/869908/ft2_4FGL_J2325.4-3559_daily_bin1471.fits sctable="SC_DATA" expcube=/scratch/kocevski/869908/ltcube_620611201_620870401_4FGL_J2325.4-3559_daily_bin1471.fits outfile=/scratch/kocevski/869908/expmap_620611201_620870401_4FGL_J2325.4-3559_daily_bin1471.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/869908/ltcube_620611201_620870401_4FGL_J2325.4-3559_daily_bin1471.fits
.....................!
real 190.72
user 185.05
sys 4.41

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 186 point sources and 0 extended sources

Setting source of interest to:
4FGL J2325.4-3559 @ 351.359 -35.9878

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/869908/ft1_filtered_4FGL_J2325.4-3559_daily_bin1471.fits scfile=/scratch/kocevski/869908/ft2_4FGL_J2325.4-3559_daily_bin1471.fits outfile=/scratch/kocevski/869908/cmap_620611201_620870401_4FGL_J2325.4-3559_daily_bin1471.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.359 yref=-35.9878 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/869908/ft1_filtered_4FGL_J2325.4-3559_daily_bin1471.fits scfile=/scratch/kocevski/869908/ft2_4FGL_J2325.4-3559_daily_bin1471.fits outfile=/scratch/kocevski/869908/cmap_HighResolution_620611201_620870401_4FGL_J2325.4-3559_daily_bin1471.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.359 yref=-35.9878 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.55
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/869908/ft1_filtered_4FGL_J2325.4-3559_daily_bin1471.fits evtable="EVENTS" scfile=/scratch/kocevski/869908/ft2_4FGL_J2325.4-3559_daily_bin1471.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/869908/Model_4FGL_J2325.4-3559_daily_bin1471.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/869908/ft1_filtered_4FGL_J2325.4-3559_daily_bin1471.fits......................!
real 22.00
user 20.61
sys 1.14

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/869908/ft1_filtered_4FGL_J2325.4-3559_daily_bin1471.fits', '/scratch/kocevski/869908/ft2_4FGL_J2325.4-3559_daily_bin1471.fits', expMap='/scratch/kocevski/869908/expmap_620611201_620870401_4FGL_J2325.4-3559_daily_bin1471.fits', expCube='/scratch/kocevski/869908/ltcube_620611201_620870401_4FGL_J2325.4-3559_daily_bin1471.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/869908/Model_4FGL_J2325.4-3559_daily_bin1471.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2325.4-3559'

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  7.197e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
426        alpha:  2.129e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
427         beta:  1.815e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
428           Eb:  6.031e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/869908/ft1_filtered_4FGL_J2325.4-3559_daily_bin1471.fits
Spacecraft file(s): /scratch/kocevski/869908/ft2_4FGL_J2325.4-3559_daily_bin1471.fits
Exposure map: /scratch/kocevski/869908/expmap_620611201_620870401_4FGL_J2325.4-3559_daily_bin1471.fits
Exposure cube: /scratch/kocevski/869908/ltcube_620611201_620870401_4FGL_J2325.4-3559_daily_bin1471.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/869908/Model_4FGL_J2325.4-3559_daily_bin1471.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) = 1661.01795071

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.7403       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    71.101       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10671E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .15085E-02   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10079E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    4.2006       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .69089E-01   1.0000         .10000E-03   10000.    
    11 'Prefactor '    15.975       1.0000         .10000E-03   10000.    
    12 'norm      '    .75982       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10322E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    23.192       1.0000         .10000E-03   10000.    
    16 'norm      '    .10078E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    113.08       1.0000         .10000E-03   10000.    
    19 'Prefactor '    35.050       1.0000         .10000E-03   10000.    
    20 'norm      '    .14605E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    31.638       1.0000         .10000E-03   10000.    
    22 'norm      '    7.8341       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .16560E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    13.079       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    25.849       1.0000         .10000E-03   10000.    
    28 'Normalizat'    .45711       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .85260       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5960E+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=   1660.929     FROM MIGRAD    STATUS=CONVERGED   1352 CALLS     4402 TOTAL
                     EDM=   .63E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    47.053        .18142E-02** at limit **
   2  Prefactor     6.7404        6.3779        .94429E-04   -.32326E-04
   3  Prefactor     .10000E-03    17.702        .16750E-02** at limit **
   4  Prefactor     71.159        85.448        .47608E-04   -.42983E-06
   5  Prefactor     .10000E-03    23.947        .18142E-02** at limit **
   6  Prefactor     .10000E-03    21.923        .18142E-02** at limit **
   7  Prefactor     .10000E-03    79.313        .38227E-02** at limit **
   8  Prefactor     .10000E-03    5.1669        .90402E-03** at limit **
   9  norm          4.1970        9.4487        .15350E-03    .12946E-03
  10  Prefactor     .10018E-03    67.041        .67522E-01** at limit **
  11  Prefactor     15.970        17.182        .10021E-03    .14326E-03
  12  norm          .75992        .78976        .33451E-04    .24419E-03
  13  Prefactor     .10000E-03    38.292        .18142E-02** at limit **
  14  Prefactor     .10000E-03    11.525        .13490E-02** at limit **
  15  norm          23.182        31.256        .83177E-04    .16163E-04
  16  norm          .10000E-03    4.2525        .82051E-03** at limit **
  17  norm          .10000E-03    8.3701        .11482E-02** at limit **
  18  Prefactor     113.12        63.433        .18915E-03   -.11645E-04
  19  Prefactor     35.078        67.011        .67690E-04   -.67181E-06
  20  norm          .10000E-03    7.8215        .11018E-02** at limit **
  21  Prefactor     31.642        29.943        .71235E-04   -.67827E-06
  22  norm          7.8332        10.012        .12878E-03   -.49748E-04
  23  Prefactor     .10000E-03    71.313        .18142E-02** at limit **
  24  Prefactor     .10000E-03    367.42        .18142E-02** at limit **
  25  Prefactor     13.079        12.959        .11076E-03   -.46626E-04
  26  Prefactor     .10000E-03    4.2005        .81417E-03** at limit **
  27  Prefactor     25.970        77.130        .78791E-04   -.46172E-05
  28  Normalizat    .45624        .31557        .25839E-03    .12154E-04
  29  Prefactor     .85360        .33598        .21589E-03    .49763E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 6.74042
  Prefactor  = 0.0001
  Prefactor  = 71.1591
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.197
  Prefactor  = 0.00010018
  Prefactor  = 15.9702
  norm       = 0.759924
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 23.1821
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 113.115
  Prefactor  = 35.0777
  norm       = 0.0001
  Prefactor  = 31.642
  norm       = 7.8332
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 13.0785
  Prefactor  = 0.0001
  Prefactor  = 25.9702
  Normalizat = 0.456237
  Prefactor  = 0.853599
 **********
 **   18 **HESSE 
 **********

 FCN=   1660.929     FROM HESSE     STATUS=OK           533 CALLS     4935 TOTAL
                     EDM=   .62E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    47.055        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     6.7404        6.3778        .37772E-05   -1.5189    
   3  Prefactor     .10000E-03    17.702        .33499E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     71.159        85.446        .95217E-05   -1.4019    
   5  Prefactor     .10000E-03    23.949        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    21.925        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    79.943        .76454E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    5.1669        .18080E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          4.1970        9.4123        .61402E-05   -1.5298    
  10  Prefactor     .10018E-03    56.765        .74800E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     15.970        17.191        .40083E-05   -1.4908    
  12  norm          .75992        .78973        .13380E-05   -1.5534    
  13  Prefactor     .10000E-03    38.292        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    11.525        .26981E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          23.182        31.254        .33271E-05   -1.4745    
  16  norm          .10000E-03    4.2526        .16410E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    8.3708        .22964E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     113.12        63.431        .75661E-05   -1.3577    
  19  Prefactor     35.078        67.001        .27076E-05   -1.4523    
  20  norm          .10000E-03    7.8225        .22037E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     31.642        29.942        .28494E-05   -1.4582    
  22  norm          7.8332        10.012        .51510E-05   -1.5148    
  23  Prefactor     .10000E-03    71.314        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    367.53        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     13.079        12.959        .44304E-05   -1.4985    
  26  Prefactor     .10000E-03    4.2006        .16283E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     25.970        77.117        .31517E-05   -1.4688    
  28  Normalizat    .45624        .31571        .10336E-04   -1.1449    
  29  Prefactor     .85360        .33618        .86357E-05   -.97782    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.21579e-11
Minuit parameter uncertainties:
  1  1.5541e-05
  2  6.37845
  3  8.90871e-06
  4  85.5943
  5  9.92006e-06
  6  1.2178e-05
  7  0.000348851
  8  1.66659e-06
  9  9.41564
  10  0.00640022
  11  17.1959
  12  0.789737
  13  9.64049e-06
  14  1.94634e-06
  15  31.2758
  16  7.77545e-07
  17  9.78061e-07
  18  63.4693
  19  67.1448
  20  3.79672e-05
  21  29.9558
  22  10.0144
  23  1.24301e-07
  24  0.000826131
  25  12.9614
  26  4.36322e-06
  27  77.4149
  28  0.316951
  29  0.336997
Done.

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

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  1.000e-04  9.781e-07  1.000e-04  1.000e+04 ( 1.000e-12)
426        alpha:  2.129e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
427         beta:  1.815e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
428           Eb:  6.031e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
593    Prefactor:  8.536e-01  3.370e-01  0.000e+00  1.000e+01 ( 1.000e+00)
594        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
595        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
592   Normalization:  4.562e-01  3.170e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 351.359 -35.988
Photon Flux Upper Limit: 9.23e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.70e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/869908/likelihoodResults_620611201_620870401_4FGL_J2325.4-3559_daily_bin1471.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) = 1660.92987777
delta logL = -0.000566821915527

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1660.92931097
delta logL = -2.57207375398e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1321       1.0000          .0000       5.0000    
     3 'Normalizat'    .45630       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85355       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5960E+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=   1660.929     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      232 TOTAL
                     EDM=   .26E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    13.636        .11487E-02** at limit **
   2  alpha         2.3428        3.2069        .16692       -.69983E-08
   3  Normalizat    .45624        .28556        .25838E-03   -.71246E-04
   4  Prefactor     .85360        .32382        .21589E-03   -.87882E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.34277
  Normalizat = 0.456236
  Prefactor  = 0.853598
 **********
 **   18 **HESSE 
 **********

 FCN=   1660.929     FROM HESSE     STATUS=OK            23 CALLS      255 TOTAL
                     EDM=   .27E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    8.4885        .22973E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.3428        3.4329        .66766E-02   -.62932E-01
   3  Normalizat    .45624        .28579        .10335E-04   -1.1449    
   4  Prefactor     .85360        .32408        .43179E-04   -.97782    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.74669e-11
Minuit parameter uncertainties:
  1  2.31682e-05
  2  542.572
  3  0.286711
  4  0.324815
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/869908': 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) = 1660.92931086
delta logL = 8.27053554531e-08

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  1.000e-04  2.317e-05  1.000e-04  1.000e+04 ( 1.000e-12)
426        alpha:  2.343e+00  5.426e+02  0.000e+00  5.000e+00 ( 1.000e+00)
427         beta:  1.815e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
428           Eb:  6.031e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
593    Prefactor:  8.536e-01  3.248e-01  0.000e+00  1.000e+01 ( 1.000e+00)
594        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
595        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
592   Normalization:  4.562e-01  2.867e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 351.359 -35.988

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/869908/cmap_HighResolution_620611201_620870401_4FGL_J2325.4-3559_daily_bin1471.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.70e-05', job_status='DONE', photon_flux_upper_limit='9.23e-08', time_completed='2021-09-29 17:58:19.679135', job_id='869908', GAL2='0.85', fit_tolerance='1e-08', EG2='0.46', EG='0.46', time_epoch_completed='1632963499.68', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.85', dlogl='8.27e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='1471' AND source_name='4FGL J2325.4-3559' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 17:58:19 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0066>
Subject: Job 869908: <4FGL_J2325.4-3559_daily_bin1471> in cluster <slac> Done

Job <4FGL_J2325.4-3559_daily_bin1471> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 17:46:00 2021
Job was executed on host(s) <bullet0066>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 17:46:01 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 17:46:01 2021
Terminated at Wed Sep 29 17:58:20 2021
Results reported at Wed Sep 29 17:58:20 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-3559_daily_bin1471 351.359 -35.9878 620611201 620870401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2325.4-3559 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   466.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             214.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   738 sec.
    Turnaround time :                            740 sec.

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

