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


Performing analysis on: 4FGL_J2325.4-3559_daily_bin616
RA = 351.359, Dec = -35.9878
tmin = 398995201, tmax = 399254401
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='866513', job_status='RUN', time_executed='2021-09-29 17:35:29.037918', time_epoch_executed='1632962129.04' WHERE source_name='4FGL J2325.4-3559' and cadence='daily' and bin_id='616'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/866513

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/866513/ft1_4FGL_J2325.4-3559_daily_bin616.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/866513/ft2_4FGL_J2325.4-3559_daily_bin616.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/866513/ft1_4FGL_J2325.4-3559_daily_bin616.fits outfile=/scratch/kocevski/866513/ft1_filteredMKT_4FGL_J2325.4-3559_daily_bin616.fits ra=351.359 dec=-35.9878 rad=12.0 tmin=398995201.0 tmax=399254401.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.39
user 5.10
sys 0.26

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/866513/ft1_filtered_4FGL_J2325.4-3559_daily_bin616.fits" evtable="EVENTS" scfile=/scratch/kocevski/866513/ft2_4FGL_J2325.4-3559_daily_bin616.fits sctable="SC_DATA" outfile=/scratch/kocevski/866513/ltcube_398995201_399254401_4FGL_J2325.4-3559_daily_bin616.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/866513/ft2_4FGL_J2325.4-3559_daily_bin616.fits
.....................!
real 12.24
user 11.91
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/866513/ft1_filtered_4FGL_J2325.4-3559_daily_bin616.fits evtable="EVENTS" scfile=/scratch/kocevski/866513/ft2_4FGL_J2325.4-3559_daily_bin616.fits sctable="SC_DATA" expcube=/scratch/kocevski/866513/ltcube_398995201_399254401_4FGL_J2325.4-3559_daily_bin616.fits outfile=/scratch/kocevski/866513/expmap_398995201_399254401_4FGL_J2325.4-3559_daily_bin616.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/866513/ltcube_398995201_399254401_4FGL_J2325.4-3559_daily_bin616.fits
.....................!
real 189.54
user 185.07
sys 4.07

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/866513/ft1_filtered_4FGL_J2325.4-3559_daily_bin616.fits scfile=/scratch/kocevski/866513/ft2_4FGL_J2325.4-3559_daily_bin616.fits outfile=/scratch/kocevski/866513/cmap_398995201_399254401_4FGL_J2325.4-3559_daily_bin616.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/866513/ft1_filtered_4FGL_J2325.4-3559_daily_bin616.fits scfile=/scratch/kocevski/866513/ft2_4FGL_J2325.4-3559_daily_bin616.fits outfile=/scratch/kocevski/866513/cmap_HighResolution_398995201_399254401_4FGL_J2325.4-3559_daily_bin616.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.56
user 0.41
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/866513/ft1_filtered_4FGL_J2325.4-3559_daily_bin616.fits evtable="EVENTS" scfile=/scratch/kocevski/866513/ft2_4FGL_J2325.4-3559_daily_bin616.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/866513/Model_4FGL_J2325.4-3559_daily_bin616.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/866513/ft1_filtered_4FGL_J2325.4-3559_daily_bin616.fits.....................!
real 41.36
user 40.06
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    21.648       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.0127       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    35.854       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.4120       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10022E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.2389       1.0000         .10000E-03   10000.    
    12 'norm      '    .45517       1.0000         .10000E-03   10000.    
    13 'Prefactor '    55.289       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    4.8266       1.0000         .10000E-03   10000.    
    16 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    28.348       1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.1215       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10388E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    2.1208       1.0000         .10000E-03   10000.    
    21 'Prefactor '    65.545       1.0000         .10000E-03   10000.    
    22 'norm      '    .10226E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    347.79       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .57140       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    28 'Normalizat'    1.0109       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .95506       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=   5179.403     FROM MIGRAD    STATUS=FAILED      1290 CALLS     4844 TOTAL
                     EDM=   .34E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     21.728        184.46        .86088E-04   -.10221E-04
   2  Prefactor     1.0142        4.2198        .28713E-03    .58559E-04
   3  Prefactor     .10000E-03    9.4007        .18142E-02** at limit **
   4  Prefactor     .10000E-03    14.705        .18142E-02** at limit **
   5  Prefactor     .10000E-03    8.8772        .18142E-02** at limit **
   6  Prefactor     35.852        26.878        .66929E-04   -.31764E-04
   7  Prefactor     2.4110        8.5377        .26359E-03    .15139E-04
   8  Prefactor     .10000E-03    9.3420        .36285E-03** at limit **
   9  norm          .10000E-03    3.5844        .18435E-02** at limit **
  10  Prefactor     .10000E-03    5.8581        .16965E-02** at limit **
  11  Prefactor     4.2332        7.5379        .97855E-03   -.11333E-03
  12  norm          .45545        .51236        .44406E-03   -.30599E-03
  13  Prefactor     55.299        47.531        .26973E-03    .96941E-06
  14  Prefactor     .10000E-03    12.430        .36285E-03** at limit **
  15  norm          4.8291        15.802        .91556E-03   -.17173E-04
  16  norm          .10000E-03    2.4747        .11048E-02** at limit **
  17  norm          28.347        11.947        .75246E-04    .57413E-04
  18  Prefactor     .97249        238.70        .12833        .13955E-03
  19  Prefactor     .10000E-03    46.403        .18142E-02** at limit **
  20  norm          2.1244        12.109        .12260E-02    .21026E-03
  21  Prefactor     65.541        40.354        .49572E-04   -.30364E-04
  22  norm          .10000E-03    5.9899        .17000E-02** at limit **
  23  Prefactor     347.78        169.25        .21832E-04    .48950E-05
  24  Prefactor     .10000E-03    17.324        .18142E-02** at limit **
  25  Prefactor     .10000E-03    5.0072        .15681E-02** at limit **
  26  Prefactor     .57073        28.836        .40002E-02    .16836E-02
  27  Prefactor     .10000E-03    17.169        .18142E-02** at limit **
  28  Normalizat    1.0113        .27376        .25079E-03   -.15662E-03
  29  Prefactor     .95462        .25828        .26787E-03   -.22494E-05
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   5179.403     FROM SIMPLEX   STATUS=PROGRESS    1529 CALLS     6373 TOTAL
                     EDM=   .18E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     21.729        184.46        .10634E-05   -1.4775    
   2  Prefactor     1.0142        4.2198        .11249E-06   -1.5507    
   3  Prefactor     .10000E-03    9.4007        .31496E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    14.705        .61473E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    8.8772        .38062E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     35.852        26.878        .52591E-07   -1.4510    
   7  Prefactor     2.4110        8.5377        .55421E-07   -1.5397    
   8  Prefactor     .10000E-03    9.3420        .42034E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    3.5844        .82322E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    5.8581        .99647E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     4.2332        7.5379        .55114E-07   -1.5296    
  12  norm          .45545        .51236        .56125E-07   -1.5573    
  13  Prefactor     55.299        47.531        .51389E-07   -1.4219    
  14  Prefactor     .10000E-03    12.430        .13658E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          4.8291        15.802        .55121E-07   -1.5268    
  16  norm          .10000E-03    2.4747        .18163E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          28.347        11.947        .52675E-07   -1.4643    
  18  Prefactor     .97249        238.70        .44342E-07   -1.5511    
  19  Prefactor     .10000E-03    46.403        .72622E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          2.1244        12.109        .55546E-07   -1.5416    
  21  Prefactor     65.541        40.354        .51057E-07   -1.4087    
  22  norm          .10000E-03    5.9899        .86398E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     347.78        169.25        .43349E-07   -1.1956    
  24  Prefactor     .10000E-03    17.324        .48433E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    5.0072        .19514E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .57073        28.836        .59049E-07   -1.5557    
  27  Prefactor     .10000E-03    17.169        .24254E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    1.0113        .27376        .33529E-07   -.92654    
  29  Prefactor     .95462        .25828        .34255E-07   -.94258    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5179.403     FROM MIGRAD    STATUS=CONVERGED    546 CALLS     6919 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     21.728        184.40        .17218E-04   -.13206E-05
   2  Prefactor     1.0142        4.2190        .11485E-04   -.39594E-06
   3  Prefactor     .10000E-03    9.4007        .36285E-03** at limit **
   4  Prefactor     .10000E-03    14.705        .36285E-03** at limit **
   5  Prefactor     .10000E-03    8.8778        .36285E-03** at limit **
   6  Prefactor     35.852        26.867        .26772E-05   -.25479E-05
   7  Prefactor     2.4110        8.5333        .10544E-04   -.21565E-06
   8  Prefactor     .10000E-03    9.3423        .72569E-04** at limit **
   9  norm          .10000E-03    3.5993        .36870E-03** at limit **
  10  Prefactor     .10000E-03    5.8583        .33930E-03** at limit **
  11  Prefactor     4.2332        7.5185        .39142E-04    .11618E-04
  12  norm          .45545        .51146        .17763E-04    .38402E-04
  13  Prefactor     55.299        47.529        .10789E-04   -.21074E-05
  14  Prefactor     .10000E-03    12.431        .72569E-04** at limit **
  15  norm          4.8292        15.795        .36622E-04   -.37252E-05
  16  norm          .10000E-03    2.4747        .22096E-03** at limit **
  17  norm          28.347        11.947        .30099E-05   -.18130E-04
  18  Prefactor     .97258        198.99        .13227        .12102E-03
  19  Prefactor     .10000E-03    46.406        .36285E-03** at limit **
  20  norm          2.1244        10.590        .49041E-04   -.10316E-03
  21  Prefactor     65.541        40.295        .99143E-05   -.14448E-04
  22  norm          .10000E-03    5.9927        .34000E-03** at limit **
  23  Prefactor     347.78        169.22        .43664E-05   -.52074E-06
  24  Prefactor     .10000E-03    17.324        .36285E-03** at limit **
  25  Prefactor     .10000E-03    5.0080        .31362E-03** at limit **
  26  Prefactor     .57077        28.963        .80003E-03    .66473E-04
  27  Prefactor     .10000E-03    17.169        .36285E-03** at limit **
  28  Normalizat    1.0113        .27276        .10031E-04   -.38306E-04
  29  Prefactor     .95462        .25817        .10715E-04   -.25465E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 21.7283
  Prefactor  = 1.01418
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 35.8521
  Prefactor  = 2.41095
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.2332
  norm       = 0.455447
  Prefactor  = 55.2988
  Prefactor  = 0.0001
  norm       = 4.82915
  norm       = 0.0001
  norm       = 28.3469
  Prefactor  = 0.972576
  Prefactor  = 0.0001
  norm       = 2.12437
  Prefactor  = 65.541
  norm       = 0.0001
  Prefactor  = 347.781
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.570768
  Prefactor  = 0.0001
  Normalizat = 1.01126
  Prefactor  = 0.954618
 **********
 **   18 **HESSE 
 **********

 FCN=   5179.403     FROM HESSE     STATUS=OK           533 CALLS     7452 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     21.728        184.29        .34435E-05   -1.4775    
   2  Prefactor     1.0142        4.2194        .22971E-05   -1.5507    
   3  Prefactor     .10000E-03    9.4007        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    14.705        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    8.8779        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     35.852        26.819        .53543E-06   -1.4510    
   7  Prefactor     2.4110        8.5316        .21087E-05   -1.5397    
   8  Prefactor     .10000E-03    9.3424        .14514E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    3.5999        .73740E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    5.8583        .67861E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     4.2332        7.5194        .15657E-05   -1.5296    
  12  norm          .45545        .51154        .71050E-06   -1.5573    
  13  Prefactor     55.299        47.556        .21579E-05   -1.4219    
  14  Prefactor     .10000E-03    12.431        .14514E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          4.8292        15.827        .14649E-05   -1.5268    
  16  norm          .10000E-03    2.4747        .44193E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          28.347        11.951        .60197E-06   -1.4643    
  18  Prefactor     .97258        208.43        .13071       -1.5511    
  19  Prefactor     .10000E-03    46.406        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          2.1244        10.868        .19616E-05   -1.5416    
  21  Prefactor     65.541        40.322        .19829E-05   -1.4087    
  22  norm          .10000E-03    5.9928        .68000E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     347.78        170.55        .87327E-06   -1.1956    
  24  Prefactor     .10000E-03    17.324        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    5.0080        .62724E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .57077        28.947        .16001E-03   -1.5557    
  27  Prefactor     .10000E-03    17.169        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    1.0113        .27333        .20063E-05   -.92654    
  29  Prefactor     .95462        .25886        .21429E-05   -.94258    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.83619e-09
Minuit parameter uncertainties:
  1  127.09
  2  4.13753
  3  5.93454e-09
  4  1.408e-07
  5  3.783e-07
  6  26.8285
  7  8.53593
  8  1.49232e-07
  9  6.59739e-07
  10  3.31519e-07
  11  7.52108
  12  0.511544
  13  47.5891
  14  3.93446e-07
  15  15.8403
  16  1.13446e-07
  17  11.952
  18  28.575
  19  2.58234e-06
  20  9.61236
  21  40.3393
  22  1.29868e-06
  23  170.797
  24  9.8362e-08
  25  2.6608e-07
  26  8.13288
  27  2.44176e-07
  28  0.273707
  29  0.259201
Done.

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

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  2.835e+01  1.195e+01  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:  9.546e-01  2.592e-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.011e+00  2.737e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 16.68
Ra Dec: 351.359 -35.988
Photon Index (Fixed Index): 2.13 +/- 0.00
Photon Flux (Fixed Index): 8.83e-08 +/- 3.72e-08
Energy Flux (Fixed Index): 3.54e-05 +/- 1.49e-05

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) = 5178.52262399
delta logL = 0.880678625114

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5178.31352549
delta logL = 1.08977712688

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    18.453       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.3272       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0684       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92867       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=   5178.314     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      218 TOTAL
                     EDM=   .29E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          18.442        9.9752        .23310E-02   -.14286E-04
   2  alpha         1.3262        .38266        .25109       -.29287E-04
   3  Normalizat    1.0685        .20257        .39464E-01    .11951E-04
   4  Prefactor     .92859        .21149        .45369E-01    .14837E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 18.4419
  alpha      = 1.32624
  Normalizat = 1.06846
  Prefactor  = 0.928588
 **********
 **   18 **HESSE 
 **********

 FCN=   5178.314     FROM HESSE     STATUS=OK            33 CALLS      251 TOTAL
                     EDM=   .88E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          18.442        13.929        .93238E-04   -1.4849    
   2  alpha         1.3262        .54590        .10806E-01   -.48873    
   3  Normalizat    1.0685        .23795        .24485E-03   -.90771    
   4  Prefactor     .92859        .24811        .27137E-03   -.95149    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.8266e-10
Minuit parameter uncertainties:
  1  13.9316
  2  0.551625
  3  0.238189
  4  0.248416
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/866513': 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) = 5178.31352339
delta logL = 1.08977922874

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  1.844e+01  1.393e+01  1.000e-04  1.000e+04 ( 1.000e-12)
426        alpha:  1.326e+00  5.516e-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:  9.286e-01  2.484e-01  0.000e+00  1.000e+01 ( 1.000e+00)
594        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
595        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
592   Normalization:  1.068e+00  2.382e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 18.87
Ra Dec: 351.359 -35.988
Photon Index (Free Index): 1.33 +/- 0.55
Photon Flux (Free Index): 3.78e-08 +/- 3.00e-08
Energy Flux (Free Index): 5.01e-05 +/- 3.18e-05

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/866513/cmap_HighResolution_398995201_399254401_4FGL_J2325.4-3559_daily_bin616.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.83e-08', energy_flux2='5.01e-05', photon_flux_error='3.72e-08', dlogl='1.09e+00', energy_flux='3.54e-05', photon_flux2='3.78e-08', job_status='DONE', time_completed='2021-09-29 17:49:39.520537', photon_index_error2='0.55', photon_index2='1.33', ts='16.68', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', energy_flux_error2='3.18e-05', EG='1.01', time_epoch_completed='1632962979.52', return_code='0', job_id='866513', GAL2='0.93', EG2='1.07', return_code2='0', energy_flux_error='1.49e-05', photon_flux_error2='3.00e-08', ts2='18.87', photon_index='2.13' WHERE bin_id='616' AND source_name='4FGL J2325.4-3559' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 17:49:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0032>
Subject: Job 866513: <4FGL_J2325.4-3559_daily_bin616> in cluster <slac> Done

Job <4FGL_J2325.4-3559_daily_bin616> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 17:35:12 2021
Job was executed on host(s) <bullet0032>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 17:35:14 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:35:14 2021
Terminated at Wed Sep 29 17:49:42 2021
Results reported at Wed Sep 29 17:49:42 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-3559_daily_bin616 351.359 -35.9878 398995201 399254401 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 :                                   848.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             325.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   865 sec.
    Turnaround time :                            870 sec.

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

