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


Performing analysis on: 4FGL_J2325.4-3559_daily_bin580
RA = 351.359, Dec = -35.9878
tmin = 389664001, tmax = 389923201
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='865345', job_status='RUN', time_executed='2021-09-29 17:34:44.287450', time_epoch_executed='1632962084.29' WHERE source_name='4FGL J2325.4-3559' and cadence='daily' and bin_id='580'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/865345

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/865345/ft1_4FGL_J2325.4-3559_daily_bin580.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/865345/ft2_4FGL_J2325.4-3559_daily_bin580.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/865345/ft1_4FGL_J2325.4-3559_daily_bin580.fits outfile=/scratch/kocevski/865345/ft1_filteredMKT_4FGL_J2325.4-3559_daily_bin580.fits ra=351.359 dec=-35.9878 rad=12.0 tmin=389664001.0 tmax=389923201.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 4.84
user 4.52
sys 0.29

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/865345/ft2_4FGL_J2325.4-3559_daily_bin580.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/865345/ft1_filteredMKT_4FGL_J2325.4-3559_daily_bin580.fits evtable="EVENTS" outfile="/scratch/kocevski/865345/ft1_filtered_4FGL_J2325.4-3559_daily_bin580.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/865345/ft1_filtered_4FGL_J2325.4-3559_daily_bin580.fits" evtable="EVENTS" scfile=/scratch/kocevski/865345/ft2_4FGL_J2325.4-3559_daily_bin580.fits sctable="SC_DATA" outfile=/scratch/kocevski/865345/ltcube_389664001_389923201_4FGL_J2325.4-3559_daily_bin580.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/865345/ft2_4FGL_J2325.4-3559_daily_bin580.fits
.....................!
real 11.50
user 11.14
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/865345/ft1_filtered_4FGL_J2325.4-3559_daily_bin580.fits evtable="EVENTS" scfile=/scratch/kocevski/865345/ft2_4FGL_J2325.4-3559_daily_bin580.fits sctable="SC_DATA" expcube=/scratch/kocevski/865345/ltcube_389664001_389923201_4FGL_J2325.4-3559_daily_bin580.fits outfile=/scratch/kocevski/865345/expmap_389664001_389923201_4FGL_J2325.4-3559_daily_bin580.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/865345/ltcube_389664001_389923201_4FGL_J2325.4-3559_daily_bin580.fits
.....................!
real 190.13
user 185.42
sys 4.35

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/865345/ft1_filtered_4FGL_J2325.4-3559_daily_bin580.fits scfile=/scratch/kocevski/865345/ft2_4FGL_J2325.4-3559_daily_bin580.fits outfile=/scratch/kocevski/865345/cmap_389664001_389923201_4FGL_J2325.4-3559_daily_bin580.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.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/865345/ft1_filtered_4FGL_J2325.4-3559_daily_bin580.fits scfile=/scratch/kocevski/865345/ft2_4FGL_J2325.4-3559_daily_bin580.fits outfile=/scratch/kocevski/865345/cmap_HighResolution_389664001_389923201_4FGL_J2325.4-3559_daily_bin580.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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/865345/ft1_filtered_4FGL_J2325.4-3559_daily_bin580.fits evtable="EVENTS" scfile=/scratch/kocevski/865345/ft2_4FGL_J2325.4-3559_daily_bin580.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/865345/Model_4FGL_J2325.4-3559_daily_bin580.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/865345/ft1_filtered_4FGL_J2325.4-3559_daily_bin580.fits.....................!
real 36.51
user 35.26
sys 1.13

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10166E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10279E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    11.211       1.0000         .10000E-03   10000.    
     6 'Prefactor '    23.704       1.0000         .10000E-03   10000.    
     7 'Prefactor '    14.552       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .14176E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    8.8866       1.0000         .10000E-03   10000.    
    12 'norm      '    1.2412       1.0000         .10000E-03   10000.    
    13 'Prefactor '    47.276       1.0000         .10000E-03   10000.    
    14 'Prefactor '    20.481       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    6.2687       1.0000         .10000E-03   10000.    
    18 'Prefactor '    40.836       1.0000         .10000E-03   10000.    
    19 'Prefactor '    120.44       1.0000         .10000E-03   10000.    
    20 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    39.280       1.0000         .10000E-03   10000.    
    22 'norm      '    7.8586       1.0000         .10000E-03   10000.    
    23 'Prefactor '    100.59       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10106E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .54180E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    11.171       1.0000         .10000E-03   10000.    
    27 'Prefactor '    14.791       1.0000         .10000E-03   10000.    
    28 'Normalizat'    .54667       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.2527       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=   4267.917     FROM MIGRAD    STATUS=CONVERGED    757 CALLS     3800 TOTAL
                     EDM=   .85E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    17.371       -.10712E-05** at limit **
   2  Prefactor     .10001E-03    89.943        .12780E-04** at limit **
   3  Prefactor     .10000E-03    20.163        .62832E-06** at limit **
   4  Prefactor     .10000E-03    65.448        .37584E-05** at limit **
   5  Prefactor     11.204        17.853        .36155E-06    .28708E-04
   6  Prefactor     23.697        22.822       -.68142E-06   -.53366E-05
   7  Prefactor     14.548        15.318       -.68547E-07    .15423E-04
   8  Prefactor     .10000E-03    4.5385       -.53025E-06** at limit **
   9  norm          .10000E-03    4.1672       -.65534E-06** at limit **
  10  Prefactor     .10000E-03    15.792        .77397E-06** at limit **
  11  Prefactor     8.8759        16.807       -.25255E-06   -.15714E-03
  12  norm          1.2411        .90723       -.10835E-06   -.50065E-03
  13  Prefactor     47.245        58.313        .11741E-05    .28014E-04
  14  Prefactor     20.475        18.777       -.15128E-06   -.76563E-04
  15  norm          .10000E-03    6.1205       -.15697E-06** at limit **
  16  norm          .10000E-03    2.8277       -.22186E-06** at limit **
  17  norm          6.2670        12.131       -.76343E-07    .51545E-04
  18  Prefactor     40.802        47.422        .84203E-06    .14167E-03
  19  Prefactor     120.40        80.251        .19075E-05    .49132E-04
  20  norm          .10000E-03    3.7726       -.10625E-05** at limit **
  21  Prefactor     39.291        27.347        .49505E-07    .41576E-04
  22  norm          7.8594        5.9817        .22432E-06    .32009E-03
  23  Prefactor     100.58        113.43        .12655E-05    .11956E-04
  24  Prefactor     .10000E-03    48.582       -.18474E-05** at limit **
  25  Prefactor     .10000E-03    16.695       -.84724E-05** at limit **
  26  Prefactor     11.170        7.1508        .93587E-08    .41448E-04
  27  Prefactor     14.915        45.668       -.55426E-05   -.64663E-04
  28  Normalizat    .54673        .23765        .16353E-05    .19832E-03
  29  Prefactor     1.2530        .23637       -.15097E-05   -.21018E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.000100012
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.2036
  Prefactor  = 23.6972
  Prefactor  = 14.5478
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.87593
  norm       = 1.24107
  Prefactor  = 47.2451
  Prefactor  = 20.4754
  norm       = 0.0001
  norm       = 0.0001
  norm       = 6.26702
  Prefactor  = 40.8022
  Prefactor  = 120.397
  norm       = 0.0001
  Prefactor  = 39.2906
  norm       = 7.85936
  Prefactor  = 100.581
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 11.1698
  Prefactor  = 14.9149
  Normalizat = 0.546733
  Prefactor  = 1.25298
 **********
 **   18 **HESSE 
 **********

 FCN=   4267.917     FROM HESSE     STATUS=OK           563 CALLS     4363 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    17.376        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10001E-03    7.0326        .38873E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    20.214        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    65.355        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     11.204        17.871        .11965E-03   -1.5038    
   6  Prefactor     23.697        22.830        .82273E-04   -1.4734    
   7  Prefactor     14.548        15.385        .10500E-03   -1.4945    
   8  Prefactor     .10000E-03    4.5598        .13591E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    9.6777        .24242E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    15.848        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     8.8759        16.195        .13446E-03   -1.5112    
  12  norm          1.2411        .91222        .43452E-04   -1.5485    
  13  Prefactor     47.245        58.335        .58317E-04   -1.4332    
  14  Prefactor     20.475        18.540        .88503E-04   -1.4803    
  15  norm          .10000E-03    6.1268        .15786E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    2.8395        .10730E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          6.2670        12.113        .16033E-03   -1.5207    
  18  Prefactor     40.802        47.579        .62728E-04   -1.4430    
  19  Prefactor     120.40        80.165        .18335E-03   -1.3509    
  20  norm          .10000E-03    3.8348        .12409E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     39.291        27.362        .63953E-04   -1.4453    
  22  norm          7.8594        5.9789        .12730E-03   -1.5147    
  23  Prefactor     100.58        113.47        .40084E-04   -1.3699    
  24  Prefactor     .10000E-03    48.667        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    17.039        .26524E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     11.170        7.1543        .11986E-03   -1.5039    
  27  Prefactor     14.915        47.163        .10414E-03   -1.4935    
  28  Normalizat    .54673        .27495        .31202E-03   -1.1030    
  29  Prefactor     1.2530        .27658        .23546E-03   -.84716    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.92581e-09
Minuit parameter uncertainties:
  1  3.33616e-05
  2  0.000571132
  3  2.89013e-05
  4  0.000255581
  5  17.8799
  6  22.8385
  7  15.3896
  8  2.42025e-06
  9  5.88928e-05
  10  6.03361e-05
  11  16.2035
  12  0.912228
  13  58.4057
  14  18.5451
  15  6.91491e-06
  16  8.32362e-06
  17  12.1174
  18  47.6237
  19  80.2369
  20  3.95175e-05
  21  27.3711
  22  5.97938
  23  113.718
  24  9.32457e-05
  25  0.000331505
  26  7.15483
  27  47.2813
  28  0.275642
  29  0.276901
Done.

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

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  6.267e+00  1.212e+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:  1.253e+00  2.769e-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:  5.467e-01  2.756e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/865345/likelihoodResults_389664001_389923201_4FGL_J2325.4-3559_daily_bin580.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) = 4267.52418223
delta logL = 0.393164816907

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4267.51343147
delta logL = 0.403915576877

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.0426       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.2020       1.0000          .0000       5.0000    
     3 'Normalizat'    .50026       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2796       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.

 FCN=   4267.513     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      243 TOTAL
                     EDM=   .48E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.0346        180.01        .40834E-02    .23327E-03
   2  alpha         3.2003        3.3376        .43417        .27886E-04
   3  Normalizat    .50020        .69085E-01    .73459E-01    .19169E-05
   4  Prefactor     1.2802        .73095E-01    .52727E-01   -.10706E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 6.03464
  alpha      = 3.20029
  Normalizat = 0.5002
  Prefactor  = 1.28018
 **********
 **   18 **HESSE 
 **********

 FCN=   4267.513     FROM HESSE     STATUS=OK            33 CALLS      276 TOTAL
                     EDM=   .48E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.0346        11.177        .15841E-03   -1.5217    
   2  alpha         3.2003        1.3460        .17767E-01    .28391    
   3  Normalizat    .50020        .24930        .32524E-03   -1.1241    
   4  Prefactor     1.2802        .27178        .23311E-03   -.83898    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.82312e-09
Minuit parameter uncertainties:
  1  11.1806
  2  1.42892
  3  0.249853
  4  0.272078
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/865345': 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) = 4267.51342002
delta logL = 0.403927029235

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  6.035e+00  1.118e+01  1.000e-04  1.000e+04 ( 1.000e-12)
426        alpha:  3.200e+00  1.429e+00  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:  1.280e+00  2.721e-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:  5.002e-01  2.499e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.18
Ra Dec: 351.359 -35.988
Photon Index (Free Index): 3.20 +/- 1.43
Photon Flux (Free Index): 6.08e-08 +/- 6.73e-08
Energy Flux (Free Index): 1.21e-05 +/- 1.32e-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/865345/cmap_HighResolution_389664001_389923201_4FGL_J2325.4-3559_daily_bin580.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.40e-05', comment='SUCCESS', energy_flux2='1.21e-05', dlogl='4.04e-01', photon_flux2='6.08e-08', job_status='DONE', time_completed='2021-09-29 17:45:48.187991', photon_index_error2='1.43', photon_index2='3.20', ts='0.34', fit_tolerance='1e-08', GAL='1.25', photon_index_error='0.00', photon_flux_upper_limit='1.10e-07', energy_flux_error2='1.32e-05', EG='0.55', time_epoch_completed='1632962748.19', return_code='0', job_id='865345', GAL2='1.28', EG2='0.50', return_code2='0', photon_flux_error2='6.73e-08', ts2='1.18', photon_index='2.13' WHERE bin_id='580' AND source_name='4FGL J2325.4-3559' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 17:45:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0044>
Subject: Job 865345: <4FGL_J2325.4-3559_daily_bin580> in cluster <slac> Done

Job <4FGL_J2325.4-3559_daily_bin580> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Wed Sep 29 17:30:37 2021
Job was executed on host(s) <bullet0044>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 17:30:40 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:30:40 2021
Terminated at Wed Sep 29 17:45:48 2021
Results reported at Wed Sep 29 17:45:48 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-3559_daily_bin580 351.359 -35.9878 389664001 389923201 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 :                                   663.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             242.29 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   908 sec.
    Turnaround time :                            911 sec.

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

