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


Performing analysis on: 4FGL_J2325.4-3559_daily_bin770
RA = 351.359, Dec = -35.9878
tmin = 438912001, tmax = 439171201
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='867881', job_status='RUN', time_executed='2021-09-29 17:40:26.057414', time_epoch_executed='1632962426.06' WHERE source_name='4FGL J2325.4-3559' and cadence='daily' and bin_id='770'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/867881

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/867881/ft1_4FGL_J2325.4-3559_daily_bin770.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/867881/ft2_4FGL_J2325.4-3559_daily_bin770.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/867881/ft1_4FGL_J2325.4-3559_daily_bin770.fits outfile=/scratch/kocevski/867881/ft1_filteredMKT_4FGL_J2325.4-3559_daily_bin770.fits ra=351.359 dec=-35.9878 rad=12.0 tmin=438912001.0 tmax=439171201.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 6.24
user 5.96
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/867881/ft2_4FGL_J2325.4-3559_daily_bin770.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/867881/ft1_filteredMKT_4FGL_J2325.4-3559_daily_bin770.fits evtable="EVENTS" outfile="/scratch/kocevski/867881/ft1_filtered_4FGL_J2325.4-3559_daily_bin770.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.50
user 0.31
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/867881/ft1_filtered_4FGL_J2325.4-3559_daily_bin770.fits" evtable="EVENTS" scfile=/scratch/kocevski/867881/ft2_4FGL_J2325.4-3559_daily_bin770.fits sctable="SC_DATA" outfile=/scratch/kocevski/867881/ltcube_438912001_439171201_4FGL_J2325.4-3559_daily_bin770.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/867881/ft2_4FGL_J2325.4-3559_daily_bin770.fits
.....................!
real 12.37
user 11.92
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/867881/ft1_filtered_4FGL_J2325.4-3559_daily_bin770.fits evtable="EVENTS" scfile=/scratch/kocevski/867881/ft2_4FGL_J2325.4-3559_daily_bin770.fits sctable="SC_DATA" expcube=/scratch/kocevski/867881/ltcube_438912001_439171201_4FGL_J2325.4-3559_daily_bin770.fits outfile=/scratch/kocevski/867881/expmap_438912001_439171201_4FGL_J2325.4-3559_daily_bin770.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/867881/ltcube_438912001_439171201_4FGL_J2325.4-3559_daily_bin770.fits
.....................!
real 190.78
user 184.91
sys 5.51

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/867881/ft1_filtered_4FGL_J2325.4-3559_daily_bin770.fits scfile=/scratch/kocevski/867881/ft2_4FGL_J2325.4-3559_daily_bin770.fits outfile=/scratch/kocevski/867881/cmap_438912001_439171201_4FGL_J2325.4-3559_daily_bin770.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.55
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/867881/ft1_filtered_4FGL_J2325.4-3559_daily_bin770.fits scfile=/scratch/kocevski/867881/ft2_4FGL_J2325.4-3559_daily_bin770.fits outfile=/scratch/kocevski/867881/cmap_HighResolution_438912001_439171201_4FGL_J2325.4-3559_daily_bin770.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.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/867881/ft1_filtered_4FGL_J2325.4-3559_daily_bin770.fits evtable="EVENTS" scfile=/scratch/kocevski/867881/ft2_4FGL_J2325.4-3559_daily_bin770.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/867881/Model_4FGL_J2325.4-3559_daily_bin770.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/867881/ft1_filtered_4FGL_J2325.4-3559_daily_bin770.fits.....................!
real 31.19
user 29.89
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/867881/ft1_filtered_4FGL_J2325.4-3559_daily_bin770.fits', '/scratch/kocevski/867881/ft2_4FGL_J2325.4-3559_daily_bin770.fits', expMap='/scratch/kocevski/867881/expmap_438912001_439171201_4FGL_J2325.4-3559_daily_bin770.fits', expCube='/scratch/kocevski/867881/ltcube_438912001_439171201_4FGL_J2325.4-3559_daily_bin770.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/867881/Model_4FGL_J2325.4-3559_daily_bin770.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/867881/ft1_filtered_4FGL_J2325.4-3559_daily_bin770.fits
Spacecraft file(s): /scratch/kocevski/867881/ft2_4FGL_J2325.4-3559_daily_bin770.fits
Exposure map: /scratch/kocevski/867881/expmap_438912001_439171201_4FGL_J2325.4-3559_daily_bin770.fits
Exposure cube: /scratch/kocevski/867881/ltcube_438912001_439171201_4FGL_J2325.4-3559_daily_bin770.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/867881/Model_4FGL_J2325.4-3559_daily_bin770.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) = 3364.70405193

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    87.816       1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.4570       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 '    54.261       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .11801E-01   1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.0099       1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.4044       1.0000         .10000E-03   10000.    
     9 'norm      '    .11809E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    11.437       1.0000         .10000E-03   10000.    
    12 'norm      '    .10340E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    52.540       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    13.241       1.0000         .10000E-03   10000.    
    18 'Prefactor '    73.548       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .15077E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .82487       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10076E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    4.0815       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    28 'Normalizat'    .73140       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .83975       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.

 FCN=   3364.512     FROM MIGRAD    STATUS=CONVERGED    761 CALLS     3772 TOTAL
                     EDM=   .53E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     87.818        72.311        .52378E-06    .19476E-04
   2  Prefactor     3.4568        3.5594        .40803E-07   -.51183E-05
   3  Prefactor     .10000E-03    9.9503        .71778E-06** at limit **
   4  Prefactor     .10000E-03    40.833        .66607E-06** at limit **
   5  Prefactor     54.275        28.088       -.30724E-06   -.13363E-04
   6  Prefactor     .10001E-03    22.286       -.34919E-06** at limit **
   7  Prefactor     5.0101        7.0977        .20154E-05   -.76533E-03
   8  Prefactor     3.4046        5.9723       -.10548E-05   -.31986E-03
   9  norm          .10000E-03    4.5892        .27345E-06** at limit **
  10  Prefactor     .10000E-03    10.682       -.89551E-06** at limit **
  11  Prefactor     11.420        11.951       -.18861E-06   -.10016E-03
  12  norm          .10000E-03    .58830        .44828E-07** at limit **
  13  Prefactor     52.557        75.511        .55133E-05    .13326E-03
  14  Prefactor     .10000E-03    5.3370       -.47164E-08** at limit **
  15  norm          .10000E-03    4.6419       -.19902E-07** at limit **
  16  norm          .10000E-03    3.3737       -.47618E-08** at limit **
  17  norm          13.241        10.043        .12313E-06    .17658E-04
  18  Prefactor     73.528        47.983       -.65464E-06   -.15424E-03
  19  Prefactor     .10000E-03    90.981        .36937E-05** at limit **
  20  norm          .10001E-03    5.4081       -.47998E-06** at limit **
  21  Prefactor     .10000E-03    8.4748       -.13925E-06** at limit **
  22  norm          .82651        3.2590        .91994E-06   -.49971E-04
  23  Prefactor     .10000E-03    86.035       -.26807E-05** at limit **
  24  Prefactor     .10000E-03    41.768       -.11740E-05** at limit **
  25  Prefactor     4.0823        6.2632       -.76898E-06   -.30787E-03
  26  Prefactor     .10000E-03    4.3626       -.17629E-07** at limit **
  27  Prefactor     .10000E-03    28.854        .41245E-06** at limit **
  28  Normalizat    .73101        .20309        .35116E-06   -.58754E-05
  29  Prefactor     .84027        .21420       -.31605E-06    .22005E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 87.8183
  Prefactor  = 3.45681
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 54.2751
  Prefactor  = 0.000100013
  Prefactor  = 5.01012
  Prefactor  = 3.40465
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 11.4198
  norm       = 0.0001
  Prefactor  = 52.5573
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 13.2414
  Prefactor  = 73.5276
  Prefactor  = 0.000100002
  norm       = 0.000100009
  Prefactor  = 0.0001
  norm       = 0.82651
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 4.08231
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.731015
  Prefactor  = 0.840266
 **********
 **   18 **HESSE 
 **********

 FCN=   3364.512     FROM HESSE     STATUS=OK           551 CALLS     4323 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     87.818        72.518        .42874E-04   -1.3831    
   2  Prefactor     3.4568        3.5562        .10732E-03   -1.5336    
   3  Prefactor     .10000E-03    9.9822        .17895E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    40.908        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     54.275        27.973        .54452E-04   -1.4233    
   6  Prefactor     .10001E-03    179.73        .52558E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     5.0101        7.9985        .89831E-03   -1.5260    
   8  Prefactor     3.4046        6.0655        .18447E-03   -1.5339    
   9  norm          .10000E-03    12.397        .21252E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    10.729        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     11.420        9.5381        .11846E-03   -1.5032    
  12  norm          .10000E-03    .88740        .75822E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     52.557        77.728        .55332E-04   -1.4257    
  14  Prefactor     .10000E-03    5.3443        .13077E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    4.6431        .12206E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    3.3786        .10401E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          13.241        10.045        .11008E-03   -1.4980    
  18  Prefactor     73.528        42.945        .46815E-04   -1.3991    
  19  Prefactor     .10000E-03    92.013        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10001E-03    20.101        .21593E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    8.5062        .16493E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .82651        3.1439        .19312E-03   -1.5526    
  23  Prefactor     .10000E-03    86.492        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    41.881        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     4.0823        6.3634        .17162E-03   -1.5304    
  26  Prefactor     .10000E-03    4.4106        .11827E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    28.904        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    .73101        .24089        .22389E-03   -1.0268    
  29  Prefactor     .84027        .25272        .23444E-03   -.98261    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.96514e-09
Minuit parameter uncertainties:
  1  72.5914
  2  3.55642
  3  6.0897e-05
  4  0.000121483
  5  27.98
  6  0.00305332
  7  8.00021
  8  6.06658
  9  0.000254774
  10  8.17085e-05
  11  9.53933
  12  5.05018e-06
  13  77.8782
  14  2.79714e-06
  15  7.98523e-07
  16  5.08902e-06
  17  10.0468
  18  42.9628
  19  0.000840378
  20  0.000864383
  21  9.4535e-06
  22  3.14453
  23  0.000645968
  24  0.000184417
  25  6.36444
  26  1.75799e-06
  27  9.55863e-05
  28  0.241235
  29  0.253069
Done.

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

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  1.324e+01  1.005e+01  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.403e-01  2.531e-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:  7.310e-01  2.412e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.93
Ra Dec: 351.359 -35.988
Photon Index (Fixed Index): 2.13 +/- 0.00
Photon Flux (Fixed Index): 4.12e-08 +/- 3.13e-08
Energy Flux (Fixed Index): 1.65e-05 +/- 1.26e-05

TS (Fixed Index): 3.93
Ra Dec: 351.359 -35.988
Photon Flux Upper Limit: 1.15e-07 ph cm-2 s-1
Energy Flux Upper Limit: 4.62e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/867881/likelihoodResults_438912001_439171201_4FGL_J2325.4-3559_daily_bin770.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) = 3363.32358825
delta logL = 1.18814128939

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3363.32214397
delta logL = 1.18958556118

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.3482       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.3742       1.0000          .0000       5.0000    
     3 'Normalizat'    .64319       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89914       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=   3363.322     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      268 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.3488        8.6797        .84942E-04   -.95856E-03
   2  alpha         3.3741        .87402        .10144E-01   -.81011E-04
   3  Normalizat    .64326        .23521        .23707E-03    .56778E-04
   4  Prefactor     .89897        .25707        .22716E-03    .13549E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 8.34876
  alpha      = 3.37411
  Normalizat = 0.643257
  Prefactor  = 0.898971
 **********
 **   18 **HESSE 
 **********

 FCN=   3363.322     FROM HESSE     STATUS=OK            25 CALLS      293 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.3488        7.9323        .33977E-05   -1.5130    
   2  alpha         3.3741        .80115        .40574E-03    .35719    
   3  Normalizat    .64326        .23490        .94830E-05   -1.0618    
   4  Prefactor     .89897        .25687        .45432E-04   -.96177    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.3784e-10
Minuit parameter uncertainties:
  1  7.93335
  2  0.817662
  3  0.23527
  4  0.257219
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/867881': 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) = 3363.32214351
delta logL = 1.18958602574

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  8.349e+00  7.933e+00  1.000e-04  1.000e+04 ( 1.000e-12)
426        alpha:  3.374e+00  8.177e-01  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.990e-01  2.572e-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:  6.433e-01  2.353e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.42
Ra Dec: 351.359 -35.988
Photon Index (Free Index): 3.37 +/- 0.82
Photon Flux (Free Index): 1.05e-07 +/- 6.49e-08
Energy Flux (Free Index): 1.97e-05 +/- 1.07e-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/867881/cmap_HighResolution_438912001_439171201_4FGL_J2325.4-3559_daily_bin770.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.62e-05', comment='SUCCESS', photon_flux='4.12e-08', energy_flux2='1.97e-05', photon_flux_error='3.13e-08', dlogl='1.19e+00', energy_flux='1.65e-05', photon_flux2='1.05e-07', job_status='DONE', time_completed='2021-09-29 17:50:36.914852', photon_index_error2='0.82', photon_index2='3.37', ts='3.93', fit_tolerance='1e-08', GAL='0.84', photon_index_error='0.00', photon_flux_upper_limit='1.15e-07', energy_flux_error2='1.07e-05', EG='0.73', time_epoch_completed='1632963036.91', return_code='0', job_id='867881', GAL2='0.90', EG2='0.64', return_code2='0', energy_flux_error='1.26e-05', photon_flux_error2='6.49e-08', ts2='6.42', photon_index='2.13' WHERE bin_id='770' AND source_name='4FGL J2325.4-3559' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 17:50:36 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0051>
Subject: Job 867881: <4FGL_J2325.4-3559_daily_bin770> in cluster <slac> Done

Job <4FGL_J2325.4-3559_daily_bin770> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep 29 17:40:12 2021
Job was executed on host(s) <bullet0051>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 17:40:13 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:40:13 2021
Terminated at Wed Sep 29 17:50:37 2021
Results reported at Wed Sep 29 17:50:37 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-3559_daily_bin770 351.359 -35.9878 438912001 439171201 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 :                                   608.19 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             289.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   624 sec.
    Turnaround time :                            625 sec.

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

