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


Performing analysis on: 4FGL_J2325.4-3559_daily_bin1073
RA = 351.359, Dec = -35.9878
tmin = 517449601, tmax = 517708801
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='868318', job_status='RUN', time_executed='2021-09-29 17:42:15.149410', time_epoch_executed='1632962535.15' WHERE source_name='4FGL J2325.4-3559' and cadence='daily' and bin_id='1073'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/868318

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/868318/ft1_4FGL_J2325.4-3559_daily_bin1073.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/868318/ft2_4FGL_J2325.4-3559_daily_bin1073.fits


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

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

Done.
real 5.64
user 5.32
sys 0.27

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/868318/ft1_filtered_4FGL_J2325.4-3559_daily_bin1073.fits" evtable="EVENTS" scfile=/scratch/kocevski/868318/ft2_4FGL_J2325.4-3559_daily_bin1073.fits sctable="SC_DATA" outfile=/scratch/kocevski/868318/ltcube_517449601_517708801_4FGL_J2325.4-3559_daily_bin1073.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/868318/ft2_4FGL_J2325.4-3559_daily_bin1073.fits
.....................!
real 11.64
user 11.28
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/868318/ft1_filtered_4FGL_J2325.4-3559_daily_bin1073.fits evtable="EVENTS" scfile=/scratch/kocevski/868318/ft2_4FGL_J2325.4-3559_daily_bin1073.fits sctable="SC_DATA" expcube=/scratch/kocevski/868318/ltcube_517449601_517708801_4FGL_J2325.4-3559_daily_bin1073.fits outfile=/scratch/kocevski/868318/expmap_517449601_517708801_4FGL_J2325.4-3559_daily_bin1073.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/868318/ltcube_517449601_517708801_4FGL_J2325.4-3559_daily_bin1073.fits
.....................!
real 190.02
user 185.66
sys 3.98

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/868318/ft1_filtered_4FGL_J2325.4-3559_daily_bin1073.fits scfile=/scratch/kocevski/868318/ft2_4FGL_J2325.4-3559_daily_bin1073.fits outfile=/scratch/kocevski/868318/cmap_517449601_517708801_4FGL_J2325.4-3559_daily_bin1073.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.53
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/868318/ft1_filtered_4FGL_J2325.4-3559_daily_bin1073.fits scfile=/scratch/kocevski/868318/ft2_4FGL_J2325.4-3559_daily_bin1073.fits outfile=/scratch/kocevski/868318/cmap_HighResolution_517449601_517708801_4FGL_J2325.4-3559_daily_bin1073.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.53
user 0.41
sys 0.11

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/868318/ft1_filtered_4FGL_J2325.4-3559_daily_bin1073.fits evtable="EVENTS" scfile=/scratch/kocevski/868318/ft2_4FGL_J2325.4-3559_daily_bin1073.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/868318/Model_4FGL_J2325.4-3559_daily_bin1073.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/868318/ft1_filtered_4FGL_J2325.4-3559_daily_bin1073.fits.....................!
real 39.86
user 38.44
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    90.411       1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.7952       1.0000         .10000E-03   10000.    
     3 'Prefactor '    6.6298       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .39535       1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.0554       1.0000         .10000E-03   10000.    
     9 'norm      '    13.302       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.6473       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .82635       1.0000         .10000E-03   10000.    
    13 'Prefactor '    18.970       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .21785       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10063E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    14.928       1.0000         .10000E-03   10000.    
    21 'Prefactor '    3.0093       1.0000         .10000E-03   10000.    
    22 'norm      '    1.1805       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10927E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    28 'Normalizat'    1.0687       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.0760       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=   5113.122     FROM MIGRAD    STATUS=CONVERGED    721 CALLS     3707 TOTAL
                     EDM=   .66E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     90.474        82.862       -.58389E-05   -.20587E-04
   2  Prefactor     4.7969        5.7036       -.42642E-06    .10890E-04
   3  Prefactor     6.6327        21.170        .36946E-07    .18311E-05
   4  Prefactor     .10000E-03    45.400        .57727E-06** at limit **
   5  Prefactor     .10000E-03    4.9748       -.58291E-08** at limit **
   6  Prefactor     .10000E-03    10.897       -.31825E-06** at limit **
   7  Prefactor     .44968        42.679       -.16335E-04   -.12509E-03
   8  Prefactor     4.0649        9.5738       -.23910E-05    .10574E-04
   9  norm          13.302        6.6630        .14320E-06    .60753E-04
  10  Prefactor     2.6484        22.664       -.20635E-05   -.12160E-04
  11  Prefactor     .10000E-03    11.139        .29332E-06** at limit **
  12  norm          .82654        .78054        .53474E-07   -.29020E-03
  13  Prefactor     18.986        52.714       -.29887E-05    .58314E-05
  14  Prefactor     .10000E-03    7.1666        .18372E-07** at limit **
  15  norm          .10000E-03    3.4320        .17701E-07** at limit **
  16  norm          .10000E-03    4.4192       -.21299E-06** at limit **
  17  norm          .32523        22.242       -.10435E-04    .30415E-03
  18  Prefactor     .10000E-03    47.693        .10451E-05** at limit **
  19  Prefactor     .10000E-03    103.88       -.32124E-05** at limit **
  20  norm          14.930        6.4784        .51935E-06    .52104E-03
  21  Prefactor     3.0185        20.342       -.23045E-05    .14891E-04
  22  norm          1.1817        3.7844       -.31667E-05   -.62865E-04
  23  Prefactor     .10000E-03    54.779        .67402E-06** at limit **
  24  Prefactor     .10000E-03    140.41        .91036E-05** at limit **
  25  Prefactor     .10000E-03    4.0086        .18769E-09** at limit **
  26  Prefactor     .10000E-03    3.1391       -.12522E-06** at limit **
  27  Prefactor     .10000E-03    52.211        .16163E-05** at limit **
  28  Normalizat    1.0683        .21786        .32221E-05    .14209E-03
  29  Prefactor     1.0758        .22364        .24073E-06    .47863E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 90.4736
  Prefactor  = 4.79691
  Prefactor  = 6.63268
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.449684
  Prefactor  = 4.06493
  norm       = 13.3025
  Prefactor  = 2.64838
  Prefactor  = 0.0001
  norm       = 0.826537
  Prefactor  = 18.9864
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.325234
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 14.9299
  Prefactor  = 3.01851
  norm       = 1.18166
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.06832
  Prefactor  = 1.07585
 **********
 **   18 **HESSE 
 **********

 FCN=   5113.122     FROM HESSE     STATUS=OK           557 CALLS     4264 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     90.474        83.419        .21130E-03   -1.3803    
   2  Prefactor     4.7969        5.6972        .16506E-03   -1.5270    
   3  Prefactor     6.6327        21.121        .15585E-03   -1.5193    
   4  Prefactor     .10000E-03    45.518        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    4.9759        .15577E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    10.918        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .44968        50.276        .40777E-02   -1.5574    
   8  Prefactor     4.0649        9.5703        .20022E-03   -1.5305    
   9  norm          13.302        6.5996        .10982E-03   -1.4978    
  10  Prefactor     2.6484        22.397        .25057E-03   -1.5382    
  11  Prefactor     .10000E-03    11.247        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .82654        .75517        .51846E-03   -1.5526    
  13  Prefactor     18.986        52.804        .91958E-04   -1.4836    
  14  Prefactor     .10000E-03    7.2192        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    3.4324        .12938E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    4.4812        .14658E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .32523        75.029        .40309E-02   -1.5594    
  18  Prefactor     .10000E-03    47.798        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    104.92        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          14.930        6.4651        .10366E-03   -1.4935    
  21  Prefactor     3.0185        20.347        .23397E-03   -1.5360    
  22  norm          1.1817        3.8071        .23598E-03   -1.5491    
  23  Prefactor     .10000E-03    54.788        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    140.91        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    4.0332        .13975E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    3.1854        .12372E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    52.260        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    1.0683        .25568        .24706E-03   -.90775    
  29  Prefactor     1.0758        .26762        .26960E-03   -.90242    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.27929e-09
Minuit parameter uncertainties:
  1  83.5274
  2  5.69783
  3  21.1449
  4  2.92393e-05
  5  3.81864e-06
  6  1.56842e-05
  7  9.51681
  8  9.57388
  9  6.59996
  10  15.4107
  11  6.23049e-05
  12  0.755175
  13  52.9343
  14  2.7504e-05
  15  5.2515e-07
  16  2.2385e-05
  17  9.89072
  18  4.98625e-06
  19  0.000624474
  20  6.46539
  21  15.6814
  22  3.80787
  23  4.16107e-05
  24  0.000187516
  25  1.9379e-05
  26  1.27898e-06
  27  0.00010456
  28  0.255973
  29  0.267949
Done.

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

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  3.252e-01  9.891e+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

GAL_V02
   Spectrum: PowerLaw
593    Prefactor:  1.076e+00  2.679e-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:  1.068e+00  2.560e-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: 7.90e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.17e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/868318/likelihoodResults_517449601_517708801_4FGL_J2325.4-3559_daily_bin1073.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): 102
logL (Free Index) = 5113.07909125
delta logL = 0.0430225844666

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5112.98779988
delta logL = 0.134313956029

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.5919       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.1527       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0448       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0847       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=   5112.988     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      226 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.5948        238.15        .63362E-02    .49420E-03
   2  alpha         3.1525        3.1350        .43081        .26945E-04
   3  Normalizat    1.0450        .55837E-01    .40918E-01   -.57347E-04
   4  Prefactor     1.0844        .63141E-01    .60738E-01    .19775E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.59484
  alpha      = 3.15248
  Normalizat = 1.04504
  Prefactor  = 1.08437
 **********
 **   18 **HESSE 
 **********

 FCN=   5112.988     FROM HESSE     STATUS=OK            31 CALLS      257 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.5948        8.4267        .21769E-03   -1.5386    
   2  alpha         3.1525        1.8034        .30105E-01    .26405    
   3  Normalizat    1.0450        .24388        .24948E-03   -.91537    
   4  Prefactor     1.0844        .26437        .26862E-03   -.89968    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.42233e-08
Minuit parameter uncertainties:
  1  8.43054
  2  2.03673
  3  0.244138
  4  0.264689
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/868318': 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) = 5112.98779894
delta logL = 0.134314889458

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  2.595e+00  8.431e+00  1.000e-04  1.000e+04 ( 1.000e-12)
426        alpha:  3.152e+00  2.037e+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.084e+00  2.647e-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:  1.045e+00  2.441e-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/868318/cmap_HighResolution_517449601_517708801_4FGL_J2325.4-3559_daily_bin1073.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.17e-05', job_status='DONE', photon_flux_upper_limit='7.90e-08', time_completed='2021-09-29 17:54:26.146982', job_id='868318', GAL2='1.08', fit_tolerance='1e-08', EG2='1.05', EG='1.07', time_epoch_completed='1632963266.15', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='1.34e-01', ts2='0.28', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='1073' AND source_name='4FGL J2325.4-3559' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 17:54:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0222>
Subject: Job 868318: <4FGL_J2325.4-3559_daily_bin1073> in cluster <slac> Done

Job <4FGL_J2325.4-3559_daily_bin1073> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep 29 17:40:45 2021
Job was executed on host(s) <bullet0222>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 17:40: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 17:40:46 2021
Terminated at Wed Sep 29 17:54:26 2021
Results reported at Wed Sep 29 17:54:26 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-3559_daily_bin1073 351.359 -35.9878 517449601 517708801 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 :                                   725.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             321.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   820 sec.
    Turnaround time :                            821 sec.

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

