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


Performing analysis on: 4FGL_J2325.4-3559_daily_bin828
RA = 351.359, Dec = -35.9878
tmin = 453945601, tmax = 454204801
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='867967', job_status='RUN', time_executed='2021-09-29 17:43:00.733486', time_epoch_executed='1632962580.73' WHERE source_name='4FGL J2325.4-3559' and cadence='daily' and bin_id='828'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/867967

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/867967/ft1_4FGL_J2325.4-3559_daily_bin828.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/867967/ft2_4FGL_J2325.4-3559_daily_bin828.fits


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

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

Done.
real 4.03
user 3.82
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/867967/ft2_4FGL_J2325.4-3559_daily_bin828.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/867967/ft1_filteredMKT_4FGL_J2325.4-3559_daily_bin828.fits evtable="EVENTS" outfile="/scratch/kocevski/867967/ft1_filtered_4FGL_J2325.4-3559_daily_bin828.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.48
user 0.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/867967/ft1_filtered_4FGL_J2325.4-3559_daily_bin828.fits" evtable="EVENTS" scfile=/scratch/kocevski/867967/ft2_4FGL_J2325.4-3559_daily_bin828.fits sctable="SC_DATA" outfile=/scratch/kocevski/867967/ltcube_453945601_454204801_4FGL_J2325.4-3559_daily_bin828.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/867967/ft2_4FGL_J2325.4-3559_daily_bin828.fits
.....................!
real 11.87
user 11.50
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/867967/ft1_filtered_4FGL_J2325.4-3559_daily_bin828.fits evtable="EVENTS" scfile=/scratch/kocevski/867967/ft2_4FGL_J2325.4-3559_daily_bin828.fits sctable="SC_DATA" expcube=/scratch/kocevski/867967/ltcube_453945601_454204801_4FGL_J2325.4-3559_daily_bin828.fits outfile=/scratch/kocevski/867967/expmap_453945601_454204801_4FGL_J2325.4-3559_daily_bin828.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/867967/ltcube_453945601_454204801_4FGL_J2325.4-3559_daily_bin828.fits
.....................!
real 192.35
user 187.79
sys 4.24

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/867967/ft1_filtered_4FGL_J2325.4-3559_daily_bin828.fits scfile=/scratch/kocevski/867967/ft2_4FGL_J2325.4-3559_daily_bin828.fits outfile=/scratch/kocevski/867967/cmap_453945601_454204801_4FGL_J2325.4-3559_daily_bin828.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/867967/ft1_filtered_4FGL_J2325.4-3559_daily_bin828.fits scfile=/scratch/kocevski/867967/ft2_4FGL_J2325.4-3559_daily_bin828.fits outfile=/scratch/kocevski/867967/cmap_HighResolution_453945601_454204801_4FGL_J2325.4-3559_daily_bin828.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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/867967/ft1_filtered_4FGL_J2325.4-3559_daily_bin828.fits evtable="EVENTS" scfile=/scratch/kocevski/867967/ft2_4FGL_J2325.4-3559_daily_bin828.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/867967/Model_4FGL_J2325.4-3559_daily_bin828.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/867967/ft1_filtered_4FGL_J2325.4-3559_daily_bin828.fits.....................!
real 38.79
user 37.50
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    69.022       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10223E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    9.9736       1.0000         .10000E-03   10000.    
     5 'Prefactor '    20.084       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .19263E-02   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .97055E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .69746       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10109E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    77.619       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10077E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    5.6400       1.0000         .10000E-03   10000.    
    22 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .17896E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10362E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10115E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    60.875       1.0000         .10000E-03   10000.    
    28 'Normalizat'    1.6007       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .50033       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=   4603.117     FROM MIGRAD    STATUS=CONVERGED    747 CALLS     3725 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     69.015        73.512        .86187E-06    .99133E-04
   2  Prefactor     .10000E-03    2.2834       -.15342E-06** at limit **
   3  Prefactor     .10001E-03    34.656        .45381E-05** at limit **
   4  Prefactor     9.9508        37.663        .71519E-06    .45118E-04
   5  Prefactor     20.080        17.795       -.95286E-07   -.98544E-04
   6  Prefactor     .10002E-03    69.718        .33108E-04** at limit **
   7  Prefactor     .10000E-03    5.8323       -.27686E-06** at limit **
   8  Prefactor     .10000E-03    2.5891       -.72153E-07** at limit **
   9  norm          .10000E-03    .95362        .15862E-07** at limit **
  10  Prefactor     .10000E-03    3.4963        .19601E-06** at limit **
  11  Prefactor     .10000E-03    2.3754        .22618E-06** at limit **
  12  norm          .10000E-03    .18872        .25889E-06** at limit **
  13  Prefactor     .10008E-03    842.67        .33198E-04** at limit **
  14  Prefactor     .69776        9.6755       -.30970E-05    .19037E-03
  15  norm          .10000E-03    5.5518       -.61081E-08** at limit **
  16  norm          .10000E-03    2.2200       -.45039E-08** at limit **
  17  norm          .10000E-03    9.0293       -.38134E-06** at limit **
  18  Prefactor     77.623        46.757        .82542E-07    .34480E-04
  19  Prefactor     .10001E-03    27.902       -.37521E-05** at limit **
  20  norm          .10000E-03    3.8389       -.13554E-06** at limit **
  21  Prefactor     5.6312        23.179       -.17719E-05   -.57291E-04
  22  norm          .10000E-03    2.7148       -.15585E-06** at limit **
  23  Prefactor     .10000E-03    249.54        .13109E-05** at limit **
  24  Prefactor     .10000E-03    19.169        .57723E-06** at limit **
  25  Prefactor     .10000E-03    4.2509       -.37103E-06** at limit **
  26  Prefactor     .10000E-03    10.970       -.87426E-06** at limit **
  27  Prefactor     60.900        58.236       -.18074E-05   -.18699E-03
  28  Normalizat    1.6006        .22033       -.12923E-05   -.51042E-03
  29  Prefactor     .50025        .22226        .40129E-05    .14667E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 69.0153
  Prefactor  = 0.0001
  Prefactor  = 0.000100014
  Prefactor  = 9.95077
  Prefactor  = 20.0803
  Prefactor  = 0.00010002
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100085
  Prefactor  = 0.697763
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 77.623
  Prefactor  = 0.000100011
  norm       = 0.0001
  Prefactor  = 5.63117
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 60.8997
  Normalizat = 1.60065
  Prefactor  = 0.500254
 **********
 **   18 **HESSE 
 **********

 FCN=   4603.117     FROM HESSE     STATUS=OK           537 CALLS     4262 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     69.015        73.674        .48315E-04   -1.4045    
   2  Prefactor     .10000E-03    2.2995        .10011E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10001E-03    35.612        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     9.9508        37.702        .12688E-03   -1.5077    
   5  Prefactor     20.080        17.787        .89372E-04   -1.4811    
   6  Prefactor     .10002E-03    69.263        .38547E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    5.8528        .16005E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    2.5974        .10662E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    .95411        .64704E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    3.4986        .12392E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    2.3817        .10214E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    .24724        .57334E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10008E-03    866.26        .41564E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .69776        10.211        .41650E-03   -1.5541    
  15  norm          .10000E-03    5.5550        .15613E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    2.2210        .98702E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    9.1056        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     77.623        46.735        .45580E-04   -1.3944    
  19  Prefactor     .10001E-03    28.385        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    3.8595        .12912E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     5.6312        23.143        .16915E-03   -1.5233    
  22  norm          .10000E-03    2.7375        .10907E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    251.35        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    19.191        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    4.2718        .13658E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    11.501        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     60.900        58.654        .51426E-04   -1.4146    
  28  Normalizat    1.6006        .25781        .20507E-03   -.74988    
  29  Prefactor     .50025        .25764        .35563E-03   -1.1197    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.21834e-09
Minuit parameter uncertainties:
  1  73.7716
  2  4.63411e-06
  3  0.00143014
  4  37.792
  5  17.792
  6  0.0023821
  7  5.8923e-05
  8  1.3938e-05
  9  4.34105e-07
  10  2.38747e-05
  11  1.99151e-05
  12  5.75064e-06
  13  0.0173821
  14  5.33933
  15  1.81373e-06
  16  3.32939e-07
  17  0.000105438
  18  46.7574
  19  0.00112037
  20  8.94511e-06
  21  22.847
  22  1.65889e-05
  23  0.000593724
  24  0.000166421
  25  1.73514e-05
  26  0.000191197
  27  58.7095
  28  0.258029
  29  0.258241
Done.

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

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  1.000e-04  1.054e-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:  5.003e-01  2.582e-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.601e+00  2.580e-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.81e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.13e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/867967/likelihoodResults_453945601_454204801_4FGL_J2325.4-3559_daily_bin828.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) = 4603.11745317
delta logL = -0.00052291314023

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4603.11693028
delta logL = -2.53949110629e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10187E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1495       1.0000          .0000       5.0000    
     3 'Normalizat'    1.6006       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .50028       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   4603.074     FROM MIGRAD    STATUS=FAILED       132 CALLS      280 TOTAL
                     EDM=   .44E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .12706        31.207        .18120E-01    .19241E-02
   2  alpha         5.0000        4.7908        .16670    ** at limit **
   3  Normalizat    1.5797        .12480        .20507E-03    .12030E-04
   4  Prefactor     .51412        .82985E-01    .35563E-03    .32927E-05
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   4603.074     FROM SIMPLEX   STATUS=UNCHANGED    173 CALLS      453 TOTAL
                     EDM=   .58E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .12706        31.207        .38990E-07    .19241E-02
   2  alpha         5.0000        4.7908        .14765E-01** at limit **
   3  Normalizat    1.5797        .12480        .13587E-07    .12030E-04
   4  Prefactor     .51412        .82985E-01    .46685E-08    .32927E-05
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4603.074     FROM MIGRAD    STATUS=CONVERGED     34 CALLS      487 TOTAL
                     EDM=   .24E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .12705        .45499        .65342E-03    .29364E-03
   2  alpha         5.0000        4.9978        .66679E-02** at limit **
   3  Normalizat    1.5797        .25697        .82029E-05    .30490E-05
   4  Prefactor     .51412        .25840        .14225E-04    .22378E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.127055
  alpha      = 5
  Normalizat = 1.57968
  Prefactor  = 0.514121
 **********
 **   18 **HESSE 
 **********

 FCN=   4603.074     FROM HESSE     STATUS=OK            25 CALLS      512 TOTAL
                     EDM=   .10E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .12705        .45346        .26137E-04   -1.5637    
   2  alpha         5.0000        4.9978        .13336E-02    7.8540    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.5797        .25600        .16406E-05   -.75563    
   4  Prefactor     .51412        .25778        .28450E-05   -1.1133    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.0061e-11
Minuit parameter uncertainties:
  1  0.453473
  2  7.51022e-05
  3  0.25621
  4  0.258367
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/867967': 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) = 4603.07437266
delta logL = 0.0425575948047

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  1.271e-01  4.535e-01  1.000e-04  1.000e+04 ( 1.000e-12)
426        alpha:  5.000e+00  7.510e-05  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:  5.141e-01  2.584e-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.580e+00  2.562e-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/867967/cmap_HighResolution_453945601_454204801_4FGL_J2325.4-3559_daily_bin828.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.13e-05', job_status='DONE', photon_flux_upper_limit='7.81e-08', time_completed='2021-09-29 17:54:38.473728', job_id='867967', GAL2='0.51', fit_tolerance='1e-08', EG2='1.58', EG='1.60', time_epoch_completed='1632963278.47', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.50', dlogl='4.26e-02', ts2='0.09', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='828' AND source_name='4FGL J2325.4-3559' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 17:54:38 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0096>
Subject: Job 867967: <4FGL_J2325.4-3559_daily_bin828> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-3559_daily_bin828 351.359 -35.9878 453945601 454204801 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 :                                   695.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             313.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   858 sec.
    Turnaround time :                            860 sec.

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

