/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 135 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 = 7483
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2325.4-3559_daily_bin222
RA = 351.359, Dec = -35.9878
tmin = 296870401, tmax = 297129601
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='864274', job_status='RUN', time_executed='2021-09-29 17:28:03.401829', time_epoch_executed='1632961683.4' WHERE source_name='4FGL J2325.4-3559' and cadence='daily' and bin_id='222'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/864274

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/864274/ft1_4FGL_J2325.4-3559_daily_bin222.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/864274/ft2_4FGL_J2325.4-3559_daily_bin222.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/864274/ft1_4FGL_J2325.4-3559_daily_bin222.fits outfile=/scratch/kocevski/864274/ft1_filteredMKT_4FGL_J2325.4-3559_daily_bin222.fits ra=351.359 dec=-35.9878 rad=12.0 tmin=296870401.0 tmax=297129601.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 3.62
user 3.40
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/864274/ft1_filtered_4FGL_J2325.4-3559_daily_bin222.fits" evtable="EVENTS" scfile=/scratch/kocevski/864274/ft2_4FGL_J2325.4-3559_daily_bin222.fits sctable="SC_DATA" outfile=/scratch/kocevski/864274/ltcube_296870401_297129601_4FGL_J2325.4-3559_daily_bin222.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/864274/ft2_4FGL_J2325.4-3559_daily_bin222.fits
.....................!
real 14.91
user 14.52
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/864274/ft1_filtered_4FGL_J2325.4-3559_daily_bin222.fits evtable="EVENTS" scfile=/scratch/kocevski/864274/ft2_4FGL_J2325.4-3559_daily_bin222.fits sctable="SC_DATA" expcube=/scratch/kocevski/864274/ltcube_296870401_297129601_4FGL_J2325.4-3559_daily_bin222.fits outfile=/scratch/kocevski/864274/expmap_296870401_297129601_4FGL_J2325.4-3559_daily_bin222.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/864274/ltcube_296870401_297129601_4FGL_J2325.4-3559_daily_bin222.fits
.....................!
real 190.70
user 185.45
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/864274/ft1_filtered_4FGL_J2325.4-3559_daily_bin222.fits scfile=/scratch/kocevski/864274/ft2_4FGL_J2325.4-3559_daily_bin222.fits outfile=/scratch/kocevski/864274/cmap_296870401_297129601_4FGL_J2325.4-3559_daily_bin222.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.56
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/864274/ft1_filtered_4FGL_J2325.4-3559_daily_bin222.fits scfile=/scratch/kocevski/864274/ft2_4FGL_J2325.4-3559_daily_bin222.fits outfile=/scratch/kocevski/864274/cmap_HighResolution_296870401_297129601_4FGL_J2325.4-3559_daily_bin222.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.58
user 0.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/864274/ft1_filtered_4FGL_J2325.4-3559_daily_bin222.fits evtable="EVENTS" scfile=/scratch/kocevski/864274/ft2_4FGL_J2325.4-3559_daily_bin222.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/864274/Model_4FGL_J2325.4-3559_daily_bin222.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/864274/ft1_filtered_4FGL_J2325.4-3559_daily_bin222.fits.....................!
real 40.46
user 39.20
sys 1.12

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.8603       1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.6490       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    20.853       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10086E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    14.014       1.0000         .10000E-03   10000.    
     9 'norm      '    5.7010       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    16.382       1.0000         .10000E-03   10000.    
    12 'norm      '    1.2244       1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.0733       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .17126E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    12.834       1.0000         .10000E-03   10000.    
    16 'norm      '    .10388E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10063E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    70.179       1.0000         .10000E-03   10000.    
    19 'Prefactor '    39.045       1.0000         .10000E-03   10000.    
    20 'norm      '    .10101E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    4.7440       1.0000         .10000E-03   10000.    
    22 'norm      '    .10023E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    5.0488       1.0000         .10000E-03   10000.    
    26 'Prefactor '    3.9190       1.0000         .10000E-03   10000.    
    27 'Prefactor '    10.927       1.0000         .10000E-03   10000.    
    28 'Normalizat'    .95707       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .92870       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5960E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5092.696     FROM MIGRAD    STATUS=CONVERGED     90 CALLS     3043 TOTAL
                     EDM=   .71E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.8594        1.0136       -.14597E-06    .16701E-03
   2  Prefactor     6.6487        1.0323        .31427E-06    .33122E-03
   3  Prefactor     .10005E-03    9.3949        .15852E-04** at limit **
   4  Prefactor     .10029E-03    15.136        .11541E-04** at limit **
   5  Prefactor     20.855        1.0144       -.17307E-07    .13009E-03
   6  Prefactor     .10018E-03    8.1635       -.65461E-05** at limit **
   7  Prefactor     .10002E-03    9.1435       -.14029E-04** at limit **
   8  Prefactor     14.013        1.0051       -.86842E-07   -.98227E-05
   9  norm          5.7009        1.1262        .27836E-06    .97177E-03
  10  Prefactor     .10000E-03    6.8556        .74970E-06** at limit **
  11  Prefactor     16.388        1.3039       -.50376E-06    .15655E-02
  12  norm          1.2244        .72445        .11832E-06    .26391E-02
  13  Prefactor     7.0749        1.0334        .26635E-06   -.23300E-03
  14  Prefactor     .10003E-03    94.502       -.18436E-04** at limit **
  15  norm          12.835        1.0010       -.10152E-07   -.11487E-04
  16  norm          .10000E-03    5.1187       -.46653E-06** at limit **
  17  norm          .10000E-03    3.9386       -.69258E-06** at limit **
  18  Prefactor     70.170        1.7498       -.52453E-06    .45348E-02
  19  Prefactor     39.031        3.0255       -.14500E-05    .73617E-02
  20  norm          .10000E-03    2.1985        .37105E-06** at limit **
  21  Prefactor     4.7443        1.0062       -.30363E-07    .13790E-05
  22  norm          .10000E-03    2.5841       -.58057E-07** at limit **
  23  Prefactor     .10010E-03    8.2651       -.35344E-05** at limit **
  24  Prefactor     .10005E-03    17.437       -.16793E-05** at limit **
  25  Prefactor     5.0492        4.2032        .22841E-05    .50142E-03
  26  Prefactor     3.9178        1.0175        .15443E-06    .10584E-04
  27  Prefactor     10.926        1.0184       -.14578E-06    .20639E-03
  28  Normalizat    .95731        .22712       -.46876E-06   -.12892E-03
  29  Prefactor     .92849        .25038       -.53173E-06   -.41411E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.85942
  Prefactor  = 6.64868
  Prefactor  = 0.000100047
  Prefactor  = 0.000100292
  Prefactor  = 20.855
  Prefactor  = 0.000100183
  Prefactor  = 0.000100023
  Prefactor  = 14.0133
  norm       = 5.7009
  Prefactor  = 0.0001
  Prefactor  = 16.3882
  norm       = 1.22444
  Prefactor  = 7.07492
  Prefactor  = 0.000100032
  norm       = 12.8347
  norm       = 0.0001
  norm       = 0.000100001
  Prefactor  = 70.17
  Prefactor  = 39.0308
  norm       = 0.0001
  Prefactor  = 4.74431
  norm       = 0.0001
  Prefactor  = 0.000100098
  Prefactor  = 0.00010005
  Prefactor  = 5.04922
  Prefactor  = 3.91776
  Prefactor  = 10.9256
  Normalizat = 0.95731
  Prefactor  = 0.928486
 **********
 **   18 **HESSE 
 **********

 FCN=   5092.696     FROM HESSE     STATUS=OK           617 CALLS     3660 TOTAL
                     EDM=   .40E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.8594        30.009        .31903E-02   -1.5080    
   2  Prefactor     6.6487        5.3783        .38905E-02   -1.5192    
   3  Prefactor     .10005E-03    10.092        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10029E-03    28.034        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     20.855        23.131        .21928E-02   -1.4794    
   6  Prefactor     .10018E-03    24.465        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10002E-03    9.5476        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     14.013        10.107        .26749E-02   -1.4959    
   9  norm          5.7009        4.7379        .42057E-02   -1.5230    
  10  Prefactor     .10000E-03    6.8546        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     16.388        13.346        .24739E-02   -1.4898    
  12  norm          1.2244        .91591        .10179E-01   -1.5487    
  13  Prefactor     7.0749        51.709        .37709E-02   -1.5176    
  14  Prefactor     .10003E-03    8.3578        .90712E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          12.835        12.205        .27953E-02   -1.4991    
  16  norm          .10000E-03    4.9914        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    3.9225        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     70.170        38.571        .11979E-02   -1.4031    
  19  Prefactor     39.031        46.703        .16036E-02   -1.4458    
  20  norm          .10000E-03    2.1871        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     4.7443        9.4077        .46183E-02   -1.5272    
  22  norm          .10000E-03    2.5574        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10010E-03    25.260        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10005E-03    18.532        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     5.0492        4.2428        .44738E-02   -1.5259    
  26  Prefactor     3.9178        6.9870        .50948E-02   -1.5312    
  27  Prefactor     10.926        28.971        .30301E-02   -1.5047    
  28  Normalizat    .95731        .20400        .45627E-01   -.94475    
  29  Prefactor     .92849        .21313        .45370E-01   -.95153    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.02879e-07
Minuit parameter uncertainties:
  1  30.0547
  2  5.37868
  3  0.00137302
  4  0.00572443
  5  23.1407
  6  0.00422898
  7  0.000930063
  8  10.1078
  9  4.73818
  10  5.4503e-05
  11  13.3482
  12  0.91592
  13  38.3001
  14  0.00103297
  15  12.2076
  16  5.55731e-05
  17  8.93293e-05
  18  38.5848
  19  46.7467
  20  3.44638e-05
  21  9.41064
  22  7.37369e-06
  23  0.00315523
  24  0.00193256
  25  4.24305
  26  6.98843
  27  29.0078
  28  0.204165
  29  0.213322
Done.

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

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  1.000e-04  8.933e-05  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.285e-01  2.133e-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:  9.573e-01  2.042e-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: 4.97e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.99e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/864274/likelihoodResults_296870401_297129601_4FGL_J2325.4-3559_daily_bin222.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) = 5092.6970108
delta logL = -0.00120632744711

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5092.69580455
delta logL = -7.38118615118e-08

Fit tolerance = 1e-08

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

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

 FCN=   5092.696     FROM MIGRAD    STATUS=FAILED        65 CALLS      206 TOTAL
                     EDM=   .43E+01    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10010E-03    6708.6         .0000    ** at limit **
   2  alpha         1.6459        1.5230         .0000        .10089E-04
   3  Normalizat    .95731        5.4173         .0000        .30502E-04
   4  Prefactor     .92848        5.4191         .0000        .31240E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   5092.696     FROM SIMPLEX   STATUS=UNCHANGED    173 CALLS      379 TOTAL
                     EDM=   .11E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10010E-03    6708.6        .35456E-03** at limit **
   2  alpha         1.6459        1.5230        .49658E-06    .10089E-04
   3  Normalizat    .95731        5.4173        .35390E-05    .30502E-04
   4  Prefactor     .92848        5.4191        .39404E-05    .31240E-04
                               ERR DEF=  .500    
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5092.696     FROM MIGRAD    STATUS=CONVERGED     44 CALLS      423 TOTAL
                     EDM=   .67E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    4.3683        .65105E-05** at limit **
   2  alpha         1.6458        3.3013       -.42101E-04    .10083E-04
   3  Normalizat    .95731        .22528       -.39804E-07   -.99050E-04
   4  Prefactor     .92848        .24798       -.14377E-06   -.92490E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.64577
  Normalizat = 0.957311
  Prefactor  = 0.928484
 **********
 **   18 **HESSE 
 **********

 FCN=   5092.696     FROM HESSE     STATUS=OK            29 CALLS      452 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    4.3639        .14465E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.6458        3.2922        .50000       -.34872    
   3  Normalizat    .95731        .22556        .96716E-05   -.94475    
   4  Prefactor     .92848        .24830        .10741E-04   -.95153    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.52536e-10
Minuit parameter uncertainties:
  1  5.45139e-05
  2  2.35003
  3  0.225788
  4  0.248607
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/864274': 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) = 5092.69580323
delta logL = 1.24077996588e-06

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  1.000e-04  5.451e-05  1.000e-04  1.000e+04 ( 1.000e-12)
426        alpha:  1.646e+00  2.350e+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:  9.285e-01  2.486e-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:  9.573e-01  2.258e-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/864274/cmap_HighResolution_296870401_297129601_4FGL_J2325.4-3559_daily_bin222.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.99e-05', job_status='DONE', photon_flux_upper_limit='4.97e-08', time_completed='2021-09-29 17:39:48.893764', job_id='864274', GAL2='0.93', fit_tolerance='1e-08', EG2='0.96', EG='0.96', time_epoch_completed='1632962388.89', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='1.24e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='222' AND source_name='4FGL J2325.4-3559' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 17:39:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0217>
Subject: Job 864274: <4FGL_J2325.4-3559_daily_bin222> in cluster <slac> Done

Job <4FGL_J2325.4-3559_daily_bin222> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 17:25:36 2021
Job was executed on host(s) <bullet0217>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 17:25:37 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:25:37 2021
Terminated at Wed Sep 29 17:39:49 2021
Results reported at Wed Sep 29 17:39:49 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-3559_daily_bin222 351.359 -35.9878 296870401 297129601 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 :                                   701.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             323.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   852 sec.
    Turnaround time :                            853 sec.

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

