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


Performing analysis on: 4FGL_J2325.4-3559_daily_bin766
RA = 351.359, Dec = -35.9878
tmin = 437875201, tmax = 438134401
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='867876', job_status='RUN', time_executed='2021-09-29 17:40:29.821691', time_epoch_executed='1632962429.82' WHERE source_name='4FGL J2325.4-3559' and cadence='daily' and bin_id='766'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/867876

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/867876/ft1_4FGL_J2325.4-3559_daily_bin766.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/867876/ft2_4FGL_J2325.4-3559_daily_bin766.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/867876/ft1_4FGL_J2325.4-3559_daily_bin766.fits outfile=/scratch/kocevski/867876/ft1_filteredMKT_4FGL_J2325.4-3559_daily_bin766.fits ra=351.359 dec=-35.9878 rad=12.0 tmin=437875201.0 tmax=438134401.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.88
user 5.53
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/867876/ft2_4FGL_J2325.4-3559_daily_bin766.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/867876/ft1_filteredMKT_4FGL_J2325.4-3559_daily_bin766.fits evtable="EVENTS" outfile="/scratch/kocevski/867876/ft1_filtered_4FGL_J2325.4-3559_daily_bin766.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.51
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/867876/ft1_filtered_4FGL_J2325.4-3559_daily_bin766.fits" evtable="EVENTS" scfile=/scratch/kocevski/867876/ft2_4FGL_J2325.4-3559_daily_bin766.fits sctable="SC_DATA" outfile=/scratch/kocevski/867876/ltcube_437875201_438134401_4FGL_J2325.4-3559_daily_bin766.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/867876/ft2_4FGL_J2325.4-3559_daily_bin766.fits
.....................!
real 12.36
user 11.98
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/867876/ft1_filtered_4FGL_J2325.4-3559_daily_bin766.fits evtable="EVENTS" scfile=/scratch/kocevski/867876/ft2_4FGL_J2325.4-3559_daily_bin766.fits sctable="SC_DATA" expcube=/scratch/kocevski/867876/ltcube_437875201_438134401_4FGL_J2325.4-3559_daily_bin766.fits outfile=/scratch/kocevski/867876/expmap_437875201_438134401_4FGL_J2325.4-3559_daily_bin766.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/867876/ltcube_437875201_438134401_4FGL_J2325.4-3559_daily_bin766.fits
.....................!
real 190.39
user 185.29
sys 4.65

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 186 point sources and 0 extended sources

Setting source of interest to:
4FGL J2325.4-3559 @ 351.359 -35.9878

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/867876/ft1_filtered_4FGL_J2325.4-3559_daily_bin766.fits scfile=/scratch/kocevski/867876/ft2_4FGL_J2325.4-3559_daily_bin766.fits outfile=/scratch/kocevski/867876/cmap_437875201_438134401_4FGL_J2325.4-3559_daily_bin766.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/867876/ft1_filtered_4FGL_J2325.4-3559_daily_bin766.fits scfile=/scratch/kocevski/867876/ft2_4FGL_J2325.4-3559_daily_bin766.fits outfile=/scratch/kocevski/867876/cmap_HighResolution_437875201_438134401_4FGL_J2325.4-3559_daily_bin766.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.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/867876/ft1_filtered_4FGL_J2325.4-3559_daily_bin766.fits evtable="EVENTS" scfile=/scratch/kocevski/867876/ft2_4FGL_J2325.4-3559_daily_bin766.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/867876/Model_4FGL_J2325.4-3559_daily_bin766.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/867876/ft1_filtered_4FGL_J2325.4-3559_daily_bin766.fits....................!
real 29.43
user 28.10
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10946E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10660E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    32.558       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.0658       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.9275       1.0000         .10000E-03   10000.    
     9 'norm      '    .83527E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .13238E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    11.633       1.0000         .10000E-03   10000.    
    12 'norm      '    .10115E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    84.303       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10085E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    10.939       1.0000         .10000E-03   10000.    
    16 'norm      '    .10230E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .11179E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    78.610       1.0000         .10000E-03   10000.    
    19 'Prefactor '    8.9080       1.0000         .10000E-03   10000.    
    20 'norm      '    2.4351       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .18824       1.0000         .10000E-03   10000.    
    22 'norm      '    2.7543       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10084E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    39.865       1.0000         .10000E-03   10000.    
    25 'Prefactor '    1.1082       1.0000         .10000E-03   10000.    
    26 'Prefactor '    7.3347       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
    28 'Normalizat'    1.0895       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .53736       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5960E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3031.259     FROM MIGRAD    STATUS=CONVERGED   1304 CALLS     4284 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    67.714        .18142E-02** at limit **
   2  Prefactor     .10001E-03    3.9775        .15616E-02** at limit **
   3  Prefactor     .10000E-03    9.4935        .16564E-02** at limit **
   4  Prefactor     .10000E-03    34.793        .18142E-02** at limit **
   5  Prefactor     32.561        28.438        .70225E-04   -.12789E-04
   6  Prefactor     .10000E-03    16.939        .18142E-02** at limit **
   7  Prefactor     3.0613        14.983        .23168E-03    .16267E-04
   8  Prefactor     1.9229        10.587        .29920E-03    .34577E-04
   9  norm          .10000E-03    22.488        .19099E-02** at limit **
  10  Prefactor     .10000E-03    34.966        .18142E-02** at limit **
  11  Prefactor     11.639        8.1666        .11746E-03    .18763E-03
  12  norm          .10000E-03    .34106        .58641E-03** at limit **
  13  Prefactor     84.272        65.175        .21875E-03   -.52069E-04
  14  Prefactor     .10000E-03    5.6294        .12738E-02** at limit **
  15  norm          10.941        11.779        .60568E-03   -.64523E-04
  16  norm          .10000E-03    4.5811        .11445E-02** at limit **
  17  norm          .10000E-03    10.160        .17054E-02** at limit **
  18  Prefactor     78.614        53.447        .45294E-04   -.34562E-04
  19  Prefactor     8.7971        85.571        .13429E-03   -.36317E-04
  20  norm          2.4329        4.6769        .14639E-03    .75447E-04
  21  Prefactor     .17702        58.359        .87956E-01    .81903E-04
  22  norm          2.7537        3.1239        .10045E-03   -.15279E-04
  23  Prefactor     .10000E-03    44.157        .18142E-02** at limit **
  24  Prefactor     39.860        42.104        .31742E-03   -.10351E-04
  25  Prefactor     1.1071        4.3900        .22086E-03    .16017E-03
  26  Prefactor     7.3355        10.583        .14810E-03   -.13300E-03
  27  Prefactor     .10000E-03    22.527        .18142E-02** at limit **
  28  Normalizat    1.0905        .26789        .19445E-03   -.19664E-03
  29  Prefactor     .53650        .26249        .28868E-03   -.42631E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Prefactor  = 0.000100007
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 32.561
  Prefactor  = 0.0001
  Prefactor  = 3.06133
  Prefactor  = 1.92293
  norm       = 0.000100005
  Prefactor  = 0.000100001
  Prefactor  = 11.6388
  norm       = 0.0001
  Prefactor  = 84.2721
  Prefactor  = 0.0001
  norm       = 10.9406
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 78.6139
  Prefactor  = 8.79706
  norm       = 2.43292
  Prefactor  = 0.177016
  norm       = 2.75375
  Prefactor  = 0.0001
  Prefactor  = 39.8602
  Prefactor  = 1.10714
  Prefactor  = 7.33547
  Prefactor  = 0.0001
  Normalizat = 1.09048
  Prefactor  = 0.536499
 **********
 **   18 **HESSE 
 **********

 FCN=   3031.259     FROM HESSE     STATUS=OK           533 CALLS     4817 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    67.719        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10001E-03    3.9900        .31233E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    9.4938        .33127E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    34.793        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     32.561        28.437        .14045E-04   -1.4566    
   6  Prefactor     .10000E-03    16.940        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.0613        14.976        .92671E-05   -1.5358    
   8  Prefactor     1.9229        10.583        .11968E-04   -1.5431    
   9  norm          .10000E-03    22.732        .38198E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    34.971        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     11.639        8.1592        .46982E-05   -1.5026    
  12  norm          .10000E-03    .34108        .11728E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     84.272        65.174        .43751E-04   -1.3869    
  14  Prefactor     .10000E-03    5.6296        .25476E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          10.941        11.778        .24227E-04   -1.5046    
  16  norm          .10000E-03    4.5812        .22890E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    10.163        .34108E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     78.614        53.440        .90589E-05   -1.3932    
  19  Prefactor     8.7971        85.506        .53717E-05   -1.5115    
  20  norm          2.4329        4.6760        .58556E-05   -1.5396    
  21  Prefactor     .17702        49.514        .96830E-01   -1.5624    
  22  norm          2.7537        3.1239        .40180E-05   -1.5376    
  23  Prefactor     .10000E-03    44.158        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     39.860        42.102        .12697E-04   -1.4444    
  25  Prefactor     1.1071        4.3891        .88342E-05   -1.5498    
  26  Prefactor     7.3355        10.578        .59239E-05   -1.5166    
  27  Prefactor     .10000E-03    22.527        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    1.0905        .26769        .38889E-04   -.90058    
  29  Prefactor     .53650        .26256        .11547E-04   -1.1033    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.49899e-09
Minuit parameter uncertainties:
  1  0.000465099
  2  0.000332895
  3  1.58466e-05
  4  8.83482e-05
  5  28.4488
  6  1.76073e-05
  7  13.5473
  8  9.02435
  9  0.000665464
  10  0.000266277
  11  8.15996
  12  1.48802e-06
  13  65.229
  14  8.58546e-06
  15  11.7807
  16  1.85601e-05
  17  0.000103887
  18  53.4725
  19  54.9551
  20  4.67673
  21  5.92437
  22  3.12404
  23  0.000108797
  24  42.1336
  25  4.39041
  26  10.5811
  27  9.1378e-05
  28  0.268022
  29  0.263154
Done.

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

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  1.000e-04  1.039e-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.365e-01  2.632e-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.090e+00  2.680e-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: 8.27e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.32e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/867876/likelihoodResults_437875201_438134401_4FGL_J2325.4-3559_daily_bin766.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) = 3031.25949633
delta logL = -0.000468866075153

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3031.25902851
delta logL = -1.04743912743e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .12721E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1668       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0906       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .53640       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5960E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3031.226     FROM MIGRAD    STATUS=CONVERGED    141 CALLS      291 TOTAL
                     EDM=   .54E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .81893        80.374        .38545E-01    .45562E-03
   2  alpha         3.7331        2.7392        .16649        .23867E-04
   3  Normalizat    1.0716        .35716E-01    .19444E-03   -.59054E-05
   4  Prefactor     .54644        .38108E-01    .28869E-03   -.35639E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.818932
  alpha      = 3.73315
  Normalizat = 1.07157
  Prefactor  = 0.546435
 **********
 **   18 **HESSE 
 **********

 FCN=   3031.226     FROM HESSE     STATUS=OK            29 CALLS      320 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .81893        11.994        .14614E-02   -1.5527    
   2  alpha         3.7331        4.3630        .52869E-02    44.498    
   3  Normalizat    1.0716        .25062        .77776E-05   -.90670    
   4  Prefactor     .54644        .26025        .11547E-04   -1.0989    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.71855e-08
Minuit parameter uncertainties:
  1  6.26916
  2  4.37345
  3  0.250894
  4  0.260825
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/867876': 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) = 3031.22563916
delta logL = 0.0333882967961

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  8.189e-01  6.269e+00  1.000e-04  1.000e+04 ( 1.000e-12)
426        alpha:  3.733e+00  4.373e+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:  5.464e-01  2.608e-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.072e+00  2.509e-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/867876/cmap_HighResolution_437875201_438134401_4FGL_J2325.4-3559_daily_bin766.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.32e-05', job_status='DONE', photon_flux_upper_limit='8.27e-08', time_completed='2021-09-29 17:50:33.160612', job_id='867876', GAL2='0.55', fit_tolerance='1e-08', EG2='1.07', EG='1.09', time_epoch_completed='1632963033.16', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.54', dlogl='3.34e-02', ts2='0.07', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='766' AND source_name='4FGL J2325.4-3559' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 17:50:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0038>
Subject: Job 867876: <4FGL_J2325.4-3559_daily_bin766> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-3559_daily_bin766 351.359 -35.9878 437875201 438134401 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 :                                   601.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             313.25 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   620 sec.
    Turnaround time :                            622 sec.

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

