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


Performing analysis on: 4FGL_J2325.4-3559_daily_bin1285
RA = 351.359, Dec = -35.9878
tmin = 572400001, tmax = 572659201
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='869622', job_status='RUN', time_executed='2021-09-29 17:46:31.608514', time_epoch_executed='1632962791.61' WHERE source_name='4FGL J2325.4-3559' and cadence='daily' and bin_id='1285'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/869622

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/869622/ft1_4FGL_J2325.4-3559_daily_bin1285.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/869622/ft2_4FGL_J2325.4-3559_daily_bin1285.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/869622/ft1_4FGL_J2325.4-3559_daily_bin1285.fits outfile=/scratch/kocevski/869622/ft1_filteredMKT_4FGL_J2325.4-3559_daily_bin1285.fits ra=351.359 dec=-35.9878 rad=12.0 tmin=572400001.0 tmax=572659201.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.42
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/869622/ft1_filtered_4FGL_J2325.4-3559_daily_bin1285.fits" evtable="EVENTS" scfile=/scratch/kocevski/869622/ft2_4FGL_J2325.4-3559_daily_bin1285.fits sctable="SC_DATA" outfile=/scratch/kocevski/869622/ltcube_572400001_572659201_4FGL_J2325.4-3559_daily_bin1285.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/869622/ft2_4FGL_J2325.4-3559_daily_bin1285.fits
.....................!
real 11.96
user 11.61
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/869622/ft1_filtered_4FGL_J2325.4-3559_daily_bin1285.fits evtable="EVENTS" scfile=/scratch/kocevski/869622/ft2_4FGL_J2325.4-3559_daily_bin1285.fits sctable="SC_DATA" expcube=/scratch/kocevski/869622/ltcube_572400001_572659201_4FGL_J2325.4-3559_daily_bin1285.fits outfile=/scratch/kocevski/869622/expmap_572400001_572659201_4FGL_J2325.4-3559_daily_bin1285.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/869622/ltcube_572400001_572659201_4FGL_J2325.4-3559_daily_bin1285.fits
.....................!
real 190.96
user 186.01
sys 4.58

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/869622/ft1_filtered_4FGL_J2325.4-3559_daily_bin1285.fits scfile=/scratch/kocevski/869622/ft2_4FGL_J2325.4-3559_daily_bin1285.fits outfile=/scratch/kocevski/869622/cmap_572400001_572659201_4FGL_J2325.4-3559_daily_bin1285.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/869622/ft1_filtered_4FGL_J2325.4-3559_daily_bin1285.fits scfile=/scratch/kocevski/869622/ft2_4FGL_J2325.4-3559_daily_bin1285.fits outfile=/scratch/kocevski/869622/cmap_HighResolution_572400001_572659201_4FGL_J2325.4-3559_daily_bin1285.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.38
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    19.697       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    35.358       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    13.199       1.0000         .10000E-03   10000.    
    12 'norm      '    .77498       1.0000         .10000E-03   10000.    
    13 'Prefactor '    30.235       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .98608E-01   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    40.955       1.0000         .10000E-03   10000.    
    19 'Prefactor '    13.742       1.0000         .10000E-03   10000.    
    20 'norm      '    6.7990       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    1.7626       1.0000         .10000E-03   10000.    
    23 'Prefactor '    114.43       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10125E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    6.5360       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .20929E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    28 'Normalizat'    .76383       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.4542       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5960E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4847.252     FROM MIGRAD    STATUS=CONVERGED    766 CALLS     3769 TOTAL
                     EDM=   .68E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    32.306       -.46422E-05** at limit **
   2  Prefactor     19.699        7.6301        .63474E-07   -.33256E-04
   3  Prefactor     .10000E-03    16.746       -.77361E-07** at limit **
   4  Prefactor     .10000E-03    26.775        .17755E-05** at limit **
   5  Prefactor     35.350        28.281        .71725E-05   -.24391E-03
   6  Prefactor     .10000E-03    8.3102       -.86629E-06** at limit **
   7  Prefactor     .10000E-03    8.9385       -.20327E-06** at limit **
   8  Prefactor     .10000E-03    9.8415        .60103E-06** at limit **
   9  norm          .10000E-03    1.9360        .13668E-06** at limit **
  10  Prefactor     .10000E-03    6.4068        .26461E-06** at limit **
  11  Prefactor     13.254        13.332       -.62734E-05   -.59573E-03
  12  norm          .77494        .74398        .59918E-06   -.25003E-02
  13  Prefactor     30.219        56.249        .30257E-05   -.33272E-04
  14  Prefactor     .10209E-03    9.4580        .36147E-05** at limit **
  15  norm          .10000E-03    4.2037        .59633E-07** at limit **
  16  norm          .10000E-03    9.2548       -.87352E-06** at limit **
  17  norm          .10000E-03    7.4233        .48114E-07** at limit **
  18  Prefactor     40.970        47.706       -.20413E-05    .38304E-04
  19  Prefactor     13.876        74.396        .20464E-04   -.62339E-04
  20  norm          6.7964        7.5073        .52151E-06   -.12464E-03
  21  Prefactor     .10000E-03    5.7996       -.42771E-07** at limit **
  22  norm          1.7618        4.9760       -.63618E-06   -.58380E-03
  23  Prefactor     114.42        104.84       -.25065E-05    .80511E-05
  24  Prefactor     .10000E-03    94.987       -.63711E-05** at limit **
  25  Prefactor     6.5385        8.8048       -.58751E-06   -.14105E-03
  26  Prefactor     .10000E-03    3.7984        .67007E-06** at limit **
  27  Prefactor     .10000E-03    42.697        .31565E-05** at limit **
  28  Normalizat    .76269        .23102       -.98527E-06   -.28018E-03
  29  Prefactor     1.4555        .24128       -.56458E-06   -.27369E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 19.6987
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 35.3503
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 13.2544
  norm       = 0.774944
  Prefactor  = 30.2194
  Prefactor  = 0.00010209
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 40.9704
  Prefactor  = 13.8759
  norm       = 6.79637
  Prefactor  = 0.0001
  norm       = 1.76182
  Prefactor  = 114.424
  Prefactor  = 0.000100001
  Prefactor  = 6.53847
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Normalizat = 0.762691
  Prefactor  = 1.45548
 **********
 **   18 **HESSE 
 **********

 FCN=   4847.252     FROM HESSE     STATUS=OK           551 CALLS     4320 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    32.261        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     19.699        7.6290        .90246E-04   -1.4820    
   3  Prefactor     .10000E-03    16.763        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    26.821        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     35.350        27.988        .67395E-04   -1.4518    
   6  Prefactor     .10000E-03    8.3213        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    8.9761        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    10.121        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    1.9444        .94593E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    6.4137        .17212E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     13.254        14.045        .11025E-03   -1.4980    
  12  norm          .77494        .73248        .48784E-04   -1.5532    
  13  Prefactor     30.219        56.247        .72865E-04   -1.4608    
  14  Prefactor     .10209E-03    16.093        .64543E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    4.2049        .13942E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    9.3337        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    7.4919        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     40.970        47.752        .62637E-04   -1.4427    
  19  Prefactor     13.876        74.261        .10805E-03   -1.4963    
  20  norm          6.7964        7.4505        .15039E-03   -1.5187    
  21  Prefactor     .10000E-03    5.8044        .16376E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          1.7618        4.9385        .23829E-03   -1.5442    
  23  Prefactor     114.42        104.89        .18805E-03   -1.3564    
  24  Prefactor     .10000E-03    95.380        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     6.5385        8.8143        .15698E-03   -1.5197    
  26  Prefactor     .10000E-03    8.5430        .26298E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    42.720        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    .76269        .28602        .29783E-03   -1.0147    
  29  Prefactor     1.4555        .30025        .24813E-03   -.78794    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.40868e-09
Minuit parameter uncertainties:
  1  0.000202931
  2  7.62935
  3  7.61042e-06
  4  6.77918e-05
  5  27.9983
  6  9.28965e-07
  7  1.86838e-05
  8  1.10216e-05
  9  2.07919e-05
  10  4.61016e-05
  11  14.0489
  12  0.732488
  13  56.3463
  14  0.0116025
  15  5.84801e-07
  16  2.87162e-05
  17  2.84662e-05
  18  47.797
  19  64.3255
  20  7.45148
  21  3.89288e-06
  22  4.93965
  23  105.066
  24  0.000515218
  25  8.81602
  26  0.000173858
  27  0.000118897
  28  0.286584
  29  0.300613
Done.

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

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  1.000e-04  2.847e-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:  1.455e+00  3.006e-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:  7.627e-01  2.866e-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: 6.92e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.78e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/869622/likelihoodResults_572400001_572659201_4FGL_J2325.4-3559_daily_bin1285.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) = 4847.25226217
delta logL = -0.000635259929368

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4847.25162725
delta logL = -3.40760379913e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10874E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1585       1.0000          .0000       5.0000    
     3 'Normalizat'    .76274       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4554       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=   4847.240     FROM MIGRAD    STATUS=FAILED       144 CALLS      288 TOTAL
                     EDM=   .55E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .30730        48.182        .30672E-01    .35198E-03
   2  alpha         4.0046        2.9656        .16659        .23322E-03
   3  Normalizat    .75106        .30972E-01    .29783E-03    .19651E-03
   4  Prefactor     1.4625        .34350E-01    .24813E-03    .23684E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   4847.240     FROM SIMPLEX   STATUS=UNCHANGED     75 CALLS      363 TOTAL
                     EDM=   .13E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .30730        48.182        .33445E-03    .35198E-03
   2  alpha         4.0046        2.9656        .10233E-01    .23322E-03
   3  Normalizat    .75106        .30972E-01    .13925E-03    .19651E-03
   4  Prefactor     1.4625        .34350E-01    .50221E-04    .23684E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4847.240     FROM MIGRAD    STATUS=CONVERGED     34 CALLS      397 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .30731        593.31        .16567E-02   -.44369E-03
   2  alpha         4.0045        2.7459        .33318E-01   -.79177E-05
   3  Normalizat    .75106        .21221        .11913E-04    .19086E-03
   4  Prefactor     1.4625        .20211        .49626E-04    .23275E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.307305
  alpha      = 4.00454
  Normalizat = 0.751057
  Prefactor  = 1.46254
 **********
 **   18 **HESSE 
 **********

 FCN=   4847.240     FROM HESSE     STATUS=OK            25 CALLS      422 TOTAL
                     EDM=   .68E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .30731        6.6121        .66268E-04   -1.5597    
   2  alpha         4.0045        4.3912        .13327E-02    19.495    
   3  Normalizat    .75106        .27583        .23827E-05   -1.0191    
   4  Prefactor     1.4625        .29953        .99252E-05   -.78594    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.75095e-10
Minuit parameter uncertainties:
  1  2.85081
  2  5.27373
  3  0.276341
  4  0.299889
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/869622': 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) = 4847.23988175
delta logL = 0.0117451649157

Extracting fit parameters...

4FGL J2325.4-3559
   Spectrum: LogParabola
425         norm:  3.073e-01  2.851e+00  1.000e-04  1.000e+04 ( 1.000e-12)
426        alpha:  4.005e+00  5.274e+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:  1.463e+00  2.999e-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:  7.511e-01  2.763e-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/869622/cmap_HighResolution_572400001_572659201_4FGL_J2325.4-3559_daily_bin1285.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.78e-05', job_status='DONE', photon_flux_upper_limit='6.92e-08', time_completed='2021-09-29 17:58:53.006213', job_id='869622', GAL2='1.46', fit_tolerance='1e-08', EG2='0.75', EG='0.76', time_epoch_completed='1632963533.01', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.46', dlogl='1.17e-02', ts2='0.03', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='1285' AND source_name='4FGL J2325.4-3559' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 17:58:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0209>
Subject: Job 869622: <4FGL_J2325.4-3559_daily_bin1285> in cluster <slac> Done

Job <4FGL_J2325.4-3559_daily_bin1285> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 17:45:32 2021
Job was executed on host(s) <bullet0209>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 17:45:34 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:45:34 2021
Terminated at Wed Sep 29 17:58:53 2021
Results reported at Wed Sep 29 17:58:53 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-3559_daily_bin1285 351.359 -35.9878 572400001 572659201 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 :                                   713.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             272.28 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   799 sec.
    Turnaround time :                            801 sec.

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

