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


Performing analysis on: 4FGL_J2325.4-3559_daily_bin932
RA = 351.359, Dec = -35.9878
tmin = 480902401, tmax = 481161601
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='868117', job_status='RUN', time_executed='2021-09-29 17:44:24.138008', time_epoch_executed='1632962664.14' WHERE source_name='4FGL J2325.4-3559' and cadence='daily' and bin_id='932'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/868117

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/868117/ft1_4FGL_J2325.4-3559_daily_bin932.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/868117/ft2_4FGL_J2325.4-3559_daily_bin932.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/868117/ft1_4FGL_J2325.4-3559_daily_bin932.fits outfile=/scratch/kocevski/868117/ft1_filteredMKT_4FGL_J2325.4-3559_daily_bin932.fits ra=351.359 dec=-35.9878 rad=12.0 tmin=480902401.0 tmax=481161601.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.65
user 3.42
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/868117/ft1_filtered_4FGL_J2325.4-3559_daily_bin932.fits" evtable="EVENTS" scfile=/scratch/kocevski/868117/ft2_4FGL_J2325.4-3559_daily_bin932.fits sctable="SC_DATA" outfile=/scratch/kocevski/868117/ltcube_480902401_481161601_4FGL_J2325.4-3559_daily_bin932.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/868117/ft2_4FGL_J2325.4-3559_daily_bin932.fits
.....................!
real 11.83
user 11.49
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/868117/ft1_filtered_4FGL_J2325.4-3559_daily_bin932.fits evtable="EVENTS" scfile=/scratch/kocevski/868117/ft2_4FGL_J2325.4-3559_daily_bin932.fits sctable="SC_DATA" expcube=/scratch/kocevski/868117/ltcube_480902401_481161601_4FGL_J2325.4-3559_daily_bin932.fits outfile=/scratch/kocevski/868117/expmap_480902401_481161601_4FGL_J2325.4-3559_daily_bin932.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/868117/ltcube_480902401_481161601_4FGL_J2325.4-3559_daily_bin932.fits
.....................!
real 189.97
user 185.10
sys 4.52

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/868117/ft1_filtered_4FGL_J2325.4-3559_daily_bin932.fits scfile=/scratch/kocevski/868117/ft2_4FGL_J2325.4-3559_daily_bin932.fits outfile=/scratch/kocevski/868117/cmap_480902401_481161601_4FGL_J2325.4-3559_daily_bin932.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/868117/ft1_filtered_4FGL_J2325.4-3559_daily_bin932.fits scfile=/scratch/kocevski/868117/ft2_4FGL_J2325.4-3559_daily_bin932.fits outfile=/scratch/kocevski/868117/cmap_HighResolution_480902401_481161601_4FGL_J2325.4-3559_daily_bin932.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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/868117/ft1_filtered_4FGL_J2325.4-3559_daily_bin932.fits evtable="EVENTS" scfile=/scratch/kocevski/868117/ft2_4FGL_J2325.4-3559_daily_bin932.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/868117/Model_4FGL_J2325.4-3559_daily_bin932.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/868117/ft1_filtered_4FGL_J2325.4-3559_daily_bin932.fits.....................!
real 36.40
user 35.04
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    30.918       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.8730       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    20.548       1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.0138       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10253E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .11161E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .16704       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10100E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    12.385       1.0000         .10000E-03   10000.    
    17 'norm      '    .12410E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    49.370       1.0000         .10000E-03   10000.    
    20 'norm      '    .54374       1.0000         .10000E-03   10000.    
    21 'Prefactor '    8.4161       1.0000         .10000E-03   10000.    
    22 'norm      '    1.4556       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    36.512       1.0000         .10000E-03   10000.    
    25 'Prefactor '    9.4185       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .26931       1.0000         .10000E-03   10000.    
    27 'Prefactor '    123.67       1.0000         .10000E-03   10000.    
    28 'Normalizat'    .53957       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.5603       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=   4353.935     FROM MIGRAD    STATUS=CONVERGED    725 CALLS     3721 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     30.812        57.694       -.14830E-03    .87307E-05
   2  Prefactor     1.8730        2.5826       -.29603E-06   -.13493E-03
   3  Prefactor     .10000E-03    8.3108        .84707E-05** at limit **
   4  Prefactor     20.545        34.415       -.26454E-05    .38650E-04
   5  Prefactor     .91428        18.576       -.53898E-05    .22367E-03
   6  Prefactor     .10000E-03    37.150       -.14372E-04** at limit **
   7  Prefactor     .10001E-03    48.836        .10053E-04** at limit **
   8  Prefactor     .10000E-03    6.2023       -.26032E-05** at limit **
   9  norm          .10000E-03    1.2858       -.34223E-06** at limit **
  10  Prefactor     .10000E-03    5.0113       -.31767E-06** at limit **
  11  Prefactor     .10000E-03    3.0689       -.59599E-07** at limit **
  12  norm          .16745        .47026       -.66773E-06   -.33388E-02
  13  Prefactor     .10000E-03    55.428        .80221E-05** at limit **
  14  Prefactor     .10000E-03    5.9081        .17925E-05** at limit **
  15  norm          .10000E-03    8.7376       -.87297E-05** at limit **
  16  norm          12.381        7.4709       -.21906E-06    .24978E-03
  17  norm          .10000E-03    19.168       -.73367E-05** at limit **
  18  Prefactor     .10000E-03    17.792        .70059E-05** at limit **
  19  Prefactor     49.391        61.261        .21513E-04    .59449E-04
  20  norm          .54799        4.9453       -.15847E-05   -.31552E-03
  21  Prefactor     8.4179        16.879       -.14894E-05   -.35852E-04
  22  norm          1.4544        4.0935        .18562E-06   -.34595E-03
  23  Prefactor     .10000E-03    48.065        .10874E-04** at limit **
  24  Prefactor     36.515        59.754        .28308E-06    .41107E-06
  25  Prefactor     9.4198        7.6156       -.74407E-06   -.15607E-04
  26  Prefactor     .27036        4.7428        .16292E-05   -.15893E-03
  27  Prefactor     123.68        65.715        .93559E-05   -.76943E-06
  28  Normalizat    .53933        .22158        .60576E-05    .32509E-03
  29  Prefactor     1.5603        .24059        .21517E-05    .42132E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 30.8121
  Prefactor  = 1.87305
  Prefactor  = 0.0001
  Prefactor  = 20.5454
  Prefactor  = 0.914285
  Prefactor  = 0.0001
  Prefactor  = 0.00010001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.167445
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 12.3814
  norm       = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 49.3913
  norm       = 0.547988
  Prefactor  = 8.41786
  norm       = 1.45436
  Prefactor  = 0.0001
  Prefactor  = 36.5145
  Prefactor  = 9.41982
  Prefactor  = 0.270358
  Prefactor  = 123.682
  Normalizat = 0.539329
  Prefactor  = 1.56034
 **********
 **   18 **HESSE 
 **********

 FCN=   4353.935     FROM HESSE     STATUS=OK           557 CALLS     4278 TOTAL
                     EDM=   .54E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     30.812        57.749        .72059E-04   -1.4597    
   2  Prefactor     1.8730        2.5660        .12117E-03   -1.5434    
   3  Prefactor     .10000E-03    8.3127        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     20.545        34.421        .88360E-04   -1.4801    
   5  Prefactor     .91428        136.47        .53740E-02   -1.5517    
   6  Prefactor     .10000E-03    37.602        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10001E-03    50.772        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    6.2957        .16045E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    1.2875        .73057E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    5.0159        .14424E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    3.0768        .11283E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .16745        .45322        .72083E-03   -1.5626    
  13  Prefactor     .10000E-03    55.491        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    5.9258        .15656E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    8.7609        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          12.381        7.4213        .11383E-03   -1.5004    
  17  norm          .10000E-03    20.083        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    17.803        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     49.391        61.322        .57072E-04   -1.4301    
  20  norm          .54799        8.7585        .25534E-02   -1.5560    
  21  Prefactor     8.4179        16.855        .13818E-03   -1.5128    
  22  norm          1.4544        3.9930        .20664E-03   -1.5467    
  23  Prefactor     .10000E-03    48.067        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     36.515        59.739        .66325E-04   -1.4499    
  25  Prefactor     9.4198        7.6164        .13058E-03   -1.5094    
  26  Prefactor     .27036        46.032        .27323E-02   -1.5604    
  27  Prefactor     123.68        65.653        .18097E-03   -1.3479    
  28  Normalizat    .53933        .25994        .31632E-03   -1.1063    
  29  Prefactor     1.5603        .29046        .22196E-03   -.75863    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.3604e-09
Minuit parameter uncertainties:
  1  57.8542
  2  2.56615
  3  1.10479e-05
  4  34.454
  5  22.3914
  6  6.20895e-05
  7  0.00141655
  8  3.52067e-05
  9  2.68245e-06
  10  3.31954e-06
  11  1.2885e-05
  12  0.453231
  13  0.000203513
  14  2.20924e-05
  15  1.2403e-05
  16  7.42189
  17  0.000392747
  18  1.30023e-05
  19  61.4006
  20  4.38193
  21  16.8646
  22  3.99374
  23  0.00010561
  24  59.8371
  25  7.6172
  26  7.05978
  27  65.692
  28  0.260533
  29  0.290772
Done.

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

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  1.000e-04  3.927e-04  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.560e+00  2.908e-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.393e-01  2.605e-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.30e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.93e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/868117/likelihoodResults_480902401_481161601_4FGL_J2325.4-3559_daily_bin932.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) = 4353.93542067
delta logL = -0.000237764661506

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4353.83067713
delta logL = 0.104505779959

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.0318       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.9241       1.0000          .0000       5.0000    
     3 'Normalizat'    .50579       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.5803       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=   4353.831     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      259 TOTAL
                     EDM=   .55E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.0318        77.672        .12474E-01    .20933E-02
   2  alpha         3.9241        3.0069        .50000        .69337E-04
   3  Normalizat    .50582        .43475E-01    .73680E-01    .27365E-04
   4  Prefactor     1.5803        .49603E-01    .49943E-01   -.57346E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.03179
  alpha      = 3.92411
  Normalizat = 0.50582
  Prefactor  = 1.58028
 **********
 **   18 **HESSE 
 **********

 FCN=   4353.831     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      292 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.0318        233.80        .13993E-03   -1.5505    
   2  alpha         3.9241        3.0735        .43938E-01    .60607    
   3  Normalizat    .50582        .22995        .32621E-03   -1.1215    
   4  Prefactor     1.5803        .26908        .22077E-03   -.75315    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.20944e-09
Minuit parameter uncertainties:
  1  31.1855
  2  20.8389
  3  0.230387
  4  0.269326
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/868117': 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): 102
logL (Free Index) = 4353.83067712
delta logL = 0.104505785721

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  1.032e+00  3.119e+01  1.000e-04  1.000e+04 ( 1.000e-12)
426        alpha:  3.924e+00  2.084e+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:  1.580e+00  2.693e-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.058e-01  2.304e-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/868117/cmap_HighResolution_480902401_481161601_4FGL_J2325.4-3559_daily_bin932.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.93e-05', job_status='DONE', photon_flux_upper_limit='7.30e-08', time_completed='2021-09-29 17:55:28.729570', job_id='868117', GAL2='1.58', fit_tolerance='1e-08', EG2='0.51', EG='0.54', time_epoch_completed='1632963328.73', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.56', dlogl='1.05e-01', ts2='0.23', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='932' AND source_name='4FGL J2325.4-3559' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 17:55:28 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0218>
Subject: Job 868117: <4FGL_J2325.4-3559_daily_bin932> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-3559_daily_bin932 351.359 -35.9878 480902401 481161601 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 :                                   660.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             263.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   898 sec.
    Turnaround time :                            900 sec.

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

