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


Performing analysis on: 4FGL_J2325.4-3559_daily_bin1005
RA = 351.359, Dec = -35.9878
tmin = 499824001, tmax = 500083201
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='868220', job_status='RUN', time_executed='2021-09-29 17:41:56.646570', time_epoch_executed='1632962516.65' WHERE source_name='4FGL J2325.4-3559' and cadence='daily' and bin_id='1005'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/868220

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/868220/ft1_4FGL_J2325.4-3559_daily_bin1005.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/868220/ft2_4FGL_J2325.4-3559_daily_bin1005.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/868220/ft1_4FGL_J2325.4-3559_daily_bin1005.fits outfile=/scratch/kocevski/868220/ft1_filteredMKT_4FGL_J2325.4-3559_daily_bin1005.fits ra=351.359 dec=-35.9878 rad=12.0 tmin=499824001.0 tmax=500083201.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.25
user 4.98
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/868220/ft2_4FGL_J2325.4-3559_daily_bin1005.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/868220/ft1_filteredMKT_4FGL_J2325.4-3559_daily_bin1005.fits evtable="EVENTS" outfile="/scratch/kocevski/868220/ft1_filtered_4FGL_J2325.4-3559_daily_bin1005.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/868220/ft1_filtered_4FGL_J2325.4-3559_daily_bin1005.fits" evtable="EVENTS" scfile=/scratch/kocevski/868220/ft2_4FGL_J2325.4-3559_daily_bin1005.fits sctable="SC_DATA" outfile=/scratch/kocevski/868220/ltcube_499824001_500083201_4FGL_J2325.4-3559_daily_bin1005.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/868220/ft2_4FGL_J2325.4-3559_daily_bin1005.fits
.....................!
real 12.02
user 11.67
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/868220/ft1_filtered_4FGL_J2325.4-3559_daily_bin1005.fits evtable="EVENTS" scfile=/scratch/kocevski/868220/ft2_4FGL_J2325.4-3559_daily_bin1005.fits sctable="SC_DATA" expcube=/scratch/kocevski/868220/ltcube_499824001_500083201_4FGL_J2325.4-3559_daily_bin1005.fits outfile=/scratch/kocevski/868220/expmap_499824001_500083201_4FGL_J2325.4-3559_daily_bin1005.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/868220/ltcube_499824001_500083201_4FGL_J2325.4-3559_daily_bin1005.fits
.....................!
real 190.22
user 184.84
sys 5.06

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/868220/ft1_filtered_4FGL_J2325.4-3559_daily_bin1005.fits scfile=/scratch/kocevski/868220/ft2_4FGL_J2325.4-3559_daily_bin1005.fits outfile=/scratch/kocevski/868220/cmap_499824001_500083201_4FGL_J2325.4-3559_daily_bin1005.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/868220/ft1_filtered_4FGL_J2325.4-3559_daily_bin1005.fits scfile=/scratch/kocevski/868220/ft2_4FGL_J2325.4-3559_daily_bin1005.fits outfile=/scratch/kocevski/868220/cmap_HighResolution_499824001_500083201_4FGL_J2325.4-3559_daily_bin1005.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/868220/ft1_filtered_4FGL_J2325.4-3559_daily_bin1005.fits evtable="EVENTS" scfile=/scratch/kocevski/868220/ft2_4FGL_J2325.4-3559_daily_bin1005.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/868220/Model_4FGL_J2325.4-3559_daily_bin1005.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/868220/ft1_filtered_4FGL_J2325.4-3559_daily_bin1005.fits......................!
real 23.78
user 22.52
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10128E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10493E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    17.867       1.0000         .10000E-03   10000.    
     7 'Prefactor '    58.797       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .22906E-01   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10019E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10117E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    22.243       1.0000         .10000E-03   10000.    
    16 'norm      '    3.2286       1.0000         .10000E-03   10000.    
    17 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.9297       1.0000         .10000E-03   10000.    
    19 'Prefactor '    29.500       1.0000         .10000E-03   10000.    
    20 'norm      '    .10969E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .11170E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    92.005       1.0000         .10000E-03   10000.    
    24 'Prefactor '    150.57       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    2.0539       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    28 'Normalizat'    1.1801       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .74005       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=   1794.446     FROM MIGRAD    STATUS=CONVERGED    713 CALLS     4328 TOTAL
                     EDM=   .81E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    74.784        .62321E-06** at limit **
   2  Prefactor     .10000E-03    6.0757       -.22912E-06** at limit **
   3  Prefactor     .10000E-03    24.343       -.17390E-07** at limit **
   4  Prefactor     .10000E-03    27.813       -.76528E-08** at limit **
   5  Prefactor     .10000E-03    37.730       -.76647E-06** at limit **
   6  Prefactor     17.874        32.728        .38706E-06    .53396E-05
   7  Prefactor     58.808        32.957        .75954E-06    .16049E-03
   8  Prefactor     .10000E-03    11.636       -.25430E-06** at limit **
   9  norm          .10139E-03    6.9752       -.18518E-05** at limit **
  10  Prefactor     .10000E-03    12.389       -.28418E-06** at limit **
  11  Prefactor     .10000E-03    9.2780       -.28718E-06** at limit **
  12  norm          .10000E-03    .36809       -.12412E-06** at limit **
  13  Prefactor     .10000E-03    43.923       -.44750E-07** at limit **
  14  Prefactor     .10000E-03    8.7813       -.19871E-06** at limit **
  15  norm          22.242        23.587        .10059E-06   -.58901E-05
  16  norm          3.2260        9.2816        .98809E-05    .15992E-03
  17  norm          .10000E-03    6.5794        .75610E-08** at limit **
  18  Prefactor     5.0117        220.42       -.73661E-05    .25841E-04
  19  Prefactor     29.500        95.781        .12078E-05   -.33753E-05
  20  norm          .10000E-03    8.2274        .15563E-05** at limit **
  21  Prefactor     .10000E-03    21.408        .18599E-06** at limit **
  22  norm          .10000E-03    10.711        .27082E-05** at limit **
  23  Prefactor     92.250        200.20        .40799E-05    .92210E-04
  24  Prefactor     150.56        151.47        .47982E-06   -.18845E-05
  25  Prefactor     .10000E-03    7.1270       -.20855E-06** at limit **
  26  Prefactor     2.0560        16.624        .18514E-05    .75371E-05
  27  Prefactor     .10000E-03    43.097       -.14852E-06** at limit **
  28  Normalizat    1.1799        .33682       -.58684E-05    .18823E-03
  29  Prefactor     .74025        .32782        .67515E-05    .44204E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.8739
  Prefactor  = 58.8085
  Prefactor  = 0.0001
  norm       = 0.000101389
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 22.2417
  norm       = 3.226
  norm       = 0.0001
  Prefactor  = 5.01167
  Prefactor  = 29.5
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 92.2504
  Prefactor  = 150.564
  Prefactor  = 0.0001
  Prefactor  = 2.05596
  Prefactor  = 0.0001
  Normalizat = 1.17993
  Prefactor  = 0.740252
 **********
 **   18 **HESSE 
 **********

 FCN=   1794.446     FROM HESSE     STATUS=OK           539 CALLS     4867 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    74.782        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    6.1105        .10196E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    24.351        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    27.815        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    37.900        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     17.874        32.720        .94753E-04   -1.4862    
   7  Prefactor     58.808        32.967        .52321E-04   -1.4173    
   8  Prefactor     .10000E-03    11.713        .14112E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10139E-03    103.28        .20740E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    12.404        .14561E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    9.3205        .12596E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    .37568        .50056E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    43.927        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    8.7900        .12261E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          22.242        23.587        .84929E-04   -1.4764    
  16  norm          3.2260        9.4121        .10549E-02   -1.5349    
  17  norm          .10000E-03    6.5819        .10613E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     5.0117        219.67        .18115E-03   -1.5260    
  19  Prefactor     29.500        95.879        .73766E-04   -1.4621    
  20  norm          .10000E-03    8.1171        .11742E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    21.423        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    10.776        .13513E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     92.250        199.63        .20948E-03   -1.3784    
  24  Prefactor     150.56        151.54        .32847E-04   -1.3248    
  25  Prefactor     .10000E-03    7.1387        .11045E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     2.0560        16.551        .28841E-03   -1.5421    
  27  Prefactor     .10000E-03    43.102        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    1.1799        .39529        .23160E-03   -.87225    
  29  Prefactor     .74025        .37891        .28661E-03   -1.0197    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.37135e-08
Minuit parameter uncertainties:
  1  0.0007321
  2  3.00901e-06
  3  5.33178e-05
  4  1.67794e-05
  5  0.000194796
  6  32.7524
  7  32.9768
  8  1.19807e-05
  9  0.0239946
  10  3.08233e-05
  11  2.84685e-06
  12  1.02351e-06
  13  2.42251e-05
  14  1.75102e-05
  15  23.5967
  16  9.41639
  17  3.35656e-06
  18  66.6224
  19  96.3861
  20  0.000125885
  21  2.24545e-06
  22  6.41874e-05
  23  201.115
  24  151.931
  25  5.55081e-06
  26  11.671
  27  4.28239e-05
  28  0.396299
  29  0.380246
Done.

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

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  1.000e-04  3.357e-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.403e-01  3.802e-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.180e+00  3.963e-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: 1.12e-07 ph cm-2 s-1
Energy Flux Upper Limit: 4.48e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/868220/likelihoodResults_499824001_500083201_4FGL_J2325.4-3559_daily_bin1005.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) = 1794.44641925
delta logL = -0.000676212647704

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1794.44574302
delta logL = 8.71546035341e-09

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.1225       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1799       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .74023       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=   1794.446     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      204 TOTAL
                     EDM=   .31E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    6.6089        .90712E-02** at limit **
   2  alpha         2.1155        3.4518        .41760        .54737E-05
   3  Normalizat    1.1799        .30995        .52385E-01    .98528E-05
   4  Prefactor     .74026        .31208        .64785E-01   -.80841E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.11546
  Normalizat = 1.17992
  Prefactor  = 0.740256
 **********
 **   18 **HESSE 
 **********

 FCN=   1794.446     FROM HESSE     STATUS=OK            33 CALLS      237 TOTAL
                     EDM=   .33E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    6.5899        .10633E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.1155        3.4509        .50000       -.15443    
   3  Normalizat    1.1799        .36629        .23161E-03   -.87226    
   4  Prefactor     .74026        .36832        .28660E-03   -1.0197    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.34911e-11
Minuit parameter uncertainties:
  1  9.08642e-07
  2  2.47031
  3  0.367089
  4  0.369542
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/868220': 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) = 1794.445743
delta logL = 2.89867330139e-08

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  1.000e-04  9.086e-07  1.000e-04  1.000e+04 ( 1.000e-12)
426        alpha:  2.115e+00  2.470e+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:  7.403e-01  3.695e-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.180e+00  3.671e-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/868220/cmap_HighResolution_499824001_500083201_4FGL_J2325.4-3559_daily_bin1005.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.48e-05', job_status='DONE', photon_flux_upper_limit='1.12e-07', time_completed='2021-09-29 17:50:03.782907', job_id='868220', GAL2='0.74', fit_tolerance='1e-08', EG2='1.18', EG='1.18', time_epoch_completed='1632963003.78', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.74', dlogl='2.90e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='1005' AND source_name='4FGL J2325.4-3559' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 17:50:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0261>
Subject: Job 868220: <4FGL_J2325.4-3559_daily_bin1005> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-3559_daily_bin1005 351.359 -35.9878 499824001 500083201 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 :                                   476.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             239.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   566 sec.
    Turnaround time :                            567 sec.

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

