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


Performing analysis on: 4FGL_J2325.4-3559_daily_bin1339
RA = 351.359, Dec = -35.9878
tmin = 586396801, tmax = 586656001
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='869704', job_status='RUN', time_executed='2021-09-29 17:48:39.681081', time_epoch_executed='1632962919.68' WHERE source_name='4FGL J2325.4-3559' and cadence='daily' and bin_id='1339'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/869704

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

Retrieving the FT1 file...

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

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

Retrieving 31 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/869704/ft1_4FGL_J2325.4-3559_daily_bin1339.fits


Retrieving the FT1 file...

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

Retrieving 31 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/869704/ft2_4FGL_J2325.4-3559_daily_bin1339.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/869704/ft1_4FGL_J2325.4-3559_daily_bin1339.fits outfile=/scratch/kocevski/869704/ft1_filteredMKT_4FGL_J2325.4-3559_daily_bin1339.fits ra=351.359 dec=-35.9878 rad=12.0 tmin=586396801.0 tmax=586656001.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 2.64
user 2.41
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/869704/ft1_filtered_4FGL_J2325.4-3559_daily_bin1339.fits" evtable="EVENTS" scfile=/scratch/kocevski/869704/ft2_4FGL_J2325.4-3559_daily_bin1339.fits sctable="SC_DATA" outfile=/scratch/kocevski/869704/ltcube_586396801_586656001_4FGL_J2325.4-3559_daily_bin1339.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/869704/ft2_4FGL_J2325.4-3559_daily_bin1339.fits
.....................!
real 10.96
user 10.61
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/869704/ft1_filtered_4FGL_J2325.4-3559_daily_bin1339.fits evtable="EVENTS" scfile=/scratch/kocevski/869704/ft2_4FGL_J2325.4-3559_daily_bin1339.fits sctable="SC_DATA" expcube=/scratch/kocevski/869704/ltcube_586396801_586656001_4FGL_J2325.4-3559_daily_bin1339.fits outfile=/scratch/kocevski/869704/expmap_586396801_586656001_4FGL_J2325.4-3559_daily_bin1339.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/869704/ltcube_586396801_586656001_4FGL_J2325.4-3559_daily_bin1339.fits
.....................!
real 190.59
user 185.48
sys 4.65

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/869704/ft1_filtered_4FGL_J2325.4-3559_daily_bin1339.fits scfile=/scratch/kocevski/869704/ft2_4FGL_J2325.4-3559_daily_bin1339.fits outfile=/scratch/kocevski/869704/cmap_586396801_586656001_4FGL_J2325.4-3559_daily_bin1339.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.52
user 0.35
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/869704/ft1_filtered_4FGL_J2325.4-3559_daily_bin1339.fits scfile=/scratch/kocevski/869704/ft2_4FGL_J2325.4-3559_daily_bin1339.fits outfile=/scratch/kocevski/869704/cmap_HighResolution_586396801_586656001_4FGL_J2325.4-3559_daily_bin1339.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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/869704/ft1_filtered_4FGL_J2325.4-3559_daily_bin1339.fits evtable="EVENTS" scfile=/scratch/kocevski/869704/ft2_4FGL_J2325.4-3559_daily_bin1339.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/869704/Model_4FGL_J2325.4-3559_daily_bin1339.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/869704/ft1_filtered_4FGL_J2325.4-3559_daily_bin1339.fits......................!
real 29.37
user 28.00
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.7504       1.0000         .10000E-03   10000.    
     3 'Prefactor '    16.542       1.0000         .10000E-03   10000.    
     4 'Prefactor '    22.823       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    57.049       1.0000         .10000E-03   10000.    
     7 'Prefactor '    14.552       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    5.8710       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    17.592       1.0000         .10000E-03   10000.    
    12 'norm      '    1.2309       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    15.627       1.0000         .10000E-03   10000.    
    15 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    41.791       1.0000         .10000E-03   10000.    
    19 'Prefactor '    40.714       1.0000         .10000E-03   10000.    
    20 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .13293E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    10.985       1.0000         .10000E-03   10000.    
    23 'Prefactor '    99.822       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    8.3261       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10500E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    25.399       1.0000         .10000E-03   10000.    
    28 'Normalizat'    1.1852       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .72897       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=   2881.147     FROM MIGRAD    STATUS=CONVERGED    735 CALLS     4492 TOTAL
                     EDM=   .46E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    28.621        .13296E-06** at limit **
   2  Prefactor     4.7484        9.3186       -.66129E-07    .18861E-04
   3  Prefactor     16.560        62.159        .93889E-06    .66390E-05
   4  Prefactor     22.822        61.615       -.33157E-06   -.56896E-07
   5  Prefactor     .10000E-03    20.834        .34205E-06** at limit **
   6  Prefactor     57.057        38.597        .37346E-06    .90338E-05
   7  Prefactor     14.555        29.582        .10485E-05    .10364E-04
   8  Prefactor     .10000E-03    5.0374       -.10922E-06** at limit **
   9  norm          5.8717        6.1672        .28877E-07   -.10354E-04
  10  Prefactor     .10000E-03    10.899       -.35926E-06** at limit **
  11  Prefactor     17.591        23.906       -.36789E-07    .21952E-04
  12  norm          1.2311        1.0281       -.57772E-07   -.12196E-03
  13  Prefactor     .10000E-03    122.46        .63966E-06** at limit **
  14  Prefactor     15.625        21.153        .74487E-07    .13091E-04
  15  norm          .10000E-03    29.811        .10793E-05** at limit **
  16  norm          .10000E-03    3.3021       -.41117E-06** at limit **
  17  norm          .10000E-03    5.1015       -.20864E-08** at limit **
  18  Prefactor     41.755        63.327        .22084E-05    .14298E-03
  19  Prefactor     40.719        62.030       -.12569E-06    .17951E-04
  20  norm          .10000E-03    6.6669       -.20362E-05** at limit **
  21  Prefactor     .10003E-03    209.15       -.19184E-04** at limit **
  22  norm          10.983        9.3451        .35142E-06    .40237E-03
  23  Prefactor     99.835        108.54       -.15003E-06    .12385E-04
  24  Prefactor     .10000E-03    39.839       -.13161E-06** at limit **
  25  Prefactor     8.3270        10.300        .19265E-06    .16349E-04
  26  Prefactor     .10000E-03    21.027        .32364E-05** at limit **
  27  Prefactor     25.402        73.927       -.18485E-05    .12952E-04
  28  Normalizat    1.1852        .30817       -.10177E-05    .38592E-04
  29  Prefactor     .72886        .29192        .24075E-05    .22187E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 4.74842
  Prefactor  = 16.5595
  Prefactor  = 22.8217
  Prefactor  = 0.0001
  Prefactor  = 57.057
  Prefactor  = 14.5548
  Prefactor  = 0.0001
  norm       = 5.87167
  Prefactor  = 0.0001
  Prefactor  = 17.591
  norm       = 1.23105
  Prefactor  = 0.0001
  Prefactor  = 15.6252
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 41.7552
  Prefactor  = 40.7186
  norm       = 0.0001
  Prefactor  = 0.000100026
  norm       = 10.9829
  Prefactor  = 99.8345
  Prefactor  = 0.0001
  Prefactor  = 8.32704
  Prefactor  = 0.000100002
  Prefactor  = 25.4016
  Normalizat = 1.18517
  Prefactor  = 0.728863
 **********
 **   18 **HESSE 
 **********

 FCN=   2881.147     FROM HESSE     STATUS=OK           551 CALLS     5043 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    28.623        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.7484        9.4415        .15067E-03   -1.5272    
   3  Prefactor     16.560        63.024        .98475E-04   -1.4894    
   4  Prefactor     22.822        61.660        .83845E-04   -1.4752    
   5  Prefactor     .10000E-03    20.866        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     57.057        38.670        .53112E-04   -1.4196    
   7  Prefactor     14.555        29.790        .10500E-03   -1.4945    
   8  Prefactor     .10000E-03    5.0480        .11767E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          5.8717        6.1565        .12889E-03   -1.5223    
  10  Prefactor     .10000E-03    10.898        .17302E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     17.591        24.076        .95491E-04   -1.4869    
  12  norm          1.2311        1.0291        .43106E-04   -1.5486    
  13  Prefactor     .10000E-03    122.64        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     15.625        21.068        .10132E-03   -1.4917    
  15  norm          .10000E-03    30.145        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    3.3066        .95295E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    5.1061        .11840E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     41.755        64.797        .62010E-04   -1.4415    
  19  Prefactor     40.719        62.118        .62822E-04   -1.4431    
  20  norm          .10000E-03    6.9490        .13688E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10003E-03    212.94        .55556E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          10.983        9.3596        .12088E-03   -1.5045    
  23  Prefactor     99.835        108.57        .20119E-03   -1.3706    
  24  Prefactor     .10000E-03    39.867        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     8.3270        10.283        .13893E-03   -1.5131    
  26  Prefactor     .10000E-03    21.492        .28887E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     25.402        73.604        .79486E-04   -1.4700    
  28  Normalizat    1.1852        .36266        .23725E-03   -.87062    
  29  Prefactor     .72886        .34627        .30658E-03   -1.0241    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.21543e-09
Minuit parameter uncertainties:
  1  1.96357e-05
  2  9.44449
  3  63.2788
  4  61.833
  5  1.80234e-05
  6  38.6874
  7  29.8207
  8  1.08186e-05
  9  6.15716
  10  5.10424e-06
  11  24.0891
  12  1.02907
  13  0.000107099
  14  21.0778
  15  5.65545e-05
  16  6.23439e-07
  17  8.82149e-06
  18  64.9067
  19  62.2167
  20  3.89975e-05
  21  0.00472666
  22  9.36089
  23  108.788
  24  7.85605e-05
  25  10.285
  26  0.000437185
  27  73.8688
  28  0.363436
  29  0.347305
Done.

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

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  1.000e-04  8.821e-06  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:  7.289e-01  3.473e-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.185e+00  3.634e-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.99e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.20e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/869704/likelihoodResults_586396801_586656001_4FGL_J2325.4-3559_daily_bin1339.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) = 2881.14830231
delta logL = -0.00091618593251

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2881.14738645
delta logL = -3.22026608046e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1314       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1849       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .72912       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=   2881.147     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      239 TOTAL
                     EDM=   .32E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    9.9016        .11843E-02** at limit **
   2  alpha         2.2760        3.2887        .16693       -.16346E-08
   3  Normalizat    1.1852        .32176        .23725E-03    .38863E-04
   4  Prefactor     .72885        .33506        .30658E-03    .25512E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.27603
  Normalizat = 1.18518
  Prefactor  = 0.728854
 **********
 **   18 **HESSE 
 **********

 FCN=   2881.147     FROM HESSE     STATUS=OK            23 CALLS      262 TOTAL
                     EDM=   .32E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    5.1456        .23686E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.2760        3.7614        .66770E-02   -.89707E-01
   3  Normalizat    1.1852        .32211        .94899E-05   -.87062    
   4  Prefactor     .72885        .33542        .12263E-04   -1.0241    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.23943e-12
Minuit parameter uncertainties:
  1  2.55192e-06
  2  385.98
  3  0.32265
  4  0.336357
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/869704': 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) = 2881.14738605
delta logL = 7.50360413804e-08

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
593    Prefactor:  7.289e-01  3.364e-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.185e+00  3.227e-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/869704/cmap_HighResolution_586396801_586656001_4FGL_J2325.4-3559_daily_bin1339.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.20e-05', job_status='DONE', photon_flux_upper_limit='7.99e-08', time_completed='2021-09-29 18:00:55.868306', job_id='869704', GAL2='0.73', fit_tolerance='1e-08', EG2='1.19', EG='1.19', time_epoch_completed='1632963655.87', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.73', dlogl='7.50e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='1339' AND source_name='4FGL J2325.4-3559' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:00:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0120>
Subject: Job 869704: <4FGL_J2325.4-3559_daily_bin1339> in cluster <slac> Done

Job <4FGL_J2325.4-3559_daily_bin1339> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 17:45:40 2021
Job was executed on host(s) <bullet0120>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 17:45:42 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:45:42 2021
Terminated at Wed Sep 29 18:00:56 2021
Results reported at Wed Sep 29 18:00:56 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-3559_daily_bin1339 351.359 -35.9878 586396801 586656001 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 :                                   572.41 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             273.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   914 sec.
    Turnaround time :                            916 sec.

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

