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


Performing analysis on: 4FGL_J2325.7+1821_daily_bin432
RA = 351.436, Dec = 18.3654
tmin = 351302401, tmax = 351561601
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='883198', job_status='RUN', time_executed='2021-09-29 18:20:52.890339', time_epoch_executed='1632964852.89' WHERE source_name='4FGL J2325.7+1821' and cadence='daily' and bin_id='432'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/883198

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/883198/ft1_4FGL_J2325.7+1821_daily_bin432.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/883198/ft2_4FGL_J2325.7+1821_daily_bin432.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/883198/ft1_4FGL_J2325.7+1821_daily_bin432.fits outfile=/scratch/kocevski/883198/ft1_filteredMKT_4FGL_J2325.7+1821_daily_bin432.fits ra=351.436 dec=18.3654 rad=12.0 tmin=351302401.0 tmax=351561601.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.40
user 3.19
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/883198/ft2_4FGL_J2325.7+1821_daily_bin432.fits

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

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/883198/ft1_filtered_4FGL_J2325.7+1821_daily_bin432.fits" evtable="EVENTS" scfile=/scratch/kocevski/883198/ft2_4FGL_J2325.7+1821_daily_bin432.fits sctable="SC_DATA" outfile=/scratch/kocevski/883198/ltcube_351302401_351561601_4FGL_J2325.7+1821_daily_bin432.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/883198/ft2_4FGL_J2325.7+1821_daily_bin432.fits
.....................!
real 12.05
user 11.69
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/883198/ft1_filtered_4FGL_J2325.7+1821_daily_bin432.fits evtable="EVENTS" scfile=/scratch/kocevski/883198/ft2_4FGL_J2325.7+1821_daily_bin432.fits sctable="SC_DATA" expcube=/scratch/kocevski/883198/ltcube_351302401_351561601_4FGL_J2325.7+1821_daily_bin432.fits outfile=/scratch/kocevski/883198/expmap_351302401_351561601_4FGL_J2325.7+1821_daily_bin432.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/883198/ltcube_351302401_351561601_4FGL_J2325.7+1821_daily_bin432.fits
.....................!
real 190.23
user 185.01
sys 4.90

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 163 point sources and 0 extended sources

Setting source of interest to:
4FGL J2325.7+1821 @ 351.436 18.3654

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/883198/ft1_filtered_4FGL_J2325.7+1821_daily_bin432.fits scfile=/scratch/kocevski/883198/ft2_4FGL_J2325.7+1821_daily_bin432.fits outfile=/scratch/kocevski/883198/cmap_351302401_351561601_4FGL_J2325.7+1821_daily_bin432.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.436 yref=18.3654 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.52
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/883198/ft1_filtered_4FGL_J2325.7+1821_daily_bin432.fits scfile=/scratch/kocevski/883198/ft2_4FGL_J2325.7+1821_daily_bin432.fits outfile=/scratch/kocevski/883198/cmap_HighResolution_351302401_351561601_4FGL_J2325.7+1821_daily_bin432.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.436 yref=18.3654 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.53
user 0.38
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/883198/ft1_filtered_4FGL_J2325.7+1821_daily_bin432.fits evtable="EVENTS" scfile=/scratch/kocevski/883198/ft2_4FGL_J2325.7+1821_daily_bin432.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/883198/Model_4FGL_J2325.7+1821_daily_bin432.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/883198/ft1_filtered_4FGL_J2325.7+1821_daily_bin432.fits.....................!
real 86.05
user 84.77
sys 1.13

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/883198/ft1_filtered_4FGL_J2325.7+1821_daily_bin432.fits', '/scratch/kocevski/883198/ft2_4FGL_J2325.7+1821_daily_bin432.fits', expMap='/scratch/kocevski/883198/expmap_351302401_351561601_4FGL_J2325.7+1821_daily_bin432.fits', expCube='/scratch/kocevski/883198/ltcube_351302401_351561601_4FGL_J2325.7+1821_daily_bin432.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/883198/Model_4FGL_J2325.7+1821_daily_bin432.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2325.7+1821'

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  3.854e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
422        Index:  2.432e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
423        Scale:  1.047e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/883198/ft1_filtered_4FGL_J2325.7+1821_daily_bin432.fits
Spacecraft file(s): /scratch/kocevski/883198/ft2_4FGL_J2325.7+1821_daily_bin432.fits
Exposure map: /scratch/kocevski/883198/expmap_351302401_351561601_4FGL_J2325.7+1821_daily_bin432.fits
Exposure cube: /scratch/kocevski/883198/ltcube_351302401_351561601_4FGL_J2325.7+1821_daily_bin432.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/883198/Model_4FGL_J2325.7+1821_daily_bin432.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) = 7937.22362102

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.9239       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    1.0523       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .13741       1.0000         .10000E-03   10000.    
     9 'Prefactor '    18.152       1.0000         .10000E-03   10000.    
    10 'Prefactor '    17.614       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    29.564       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    10.049       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    24.442       1.0000         .10000E-03   10000.    
    21 'Prefactor '    4.6649       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .82354       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1560       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5310E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7937.217     FROM MIGRAD    STATUS=CONVERGED    477 CALLS     2502 TOTAL
                     EDM=   .39E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.9240        2.9036       -.29400E-06   -.55085E-03
   2  Prefactor     .10000E-03    5.7623       -.15442E-05** at limit **
   3  Prefactor     .10000E-03    12.639        .10650E-04** at limit **
   4  norm          1.0523        .97736       -.10740E-06    .48602E-03
   5  Prefactor     .10000E-03    9.8217       -.30538E-05** at limit **
   6  Prefactor     .10000E-03    4.6592       -.31167E-05** at limit **
   7  Prefactor     .10000E-03    6.4021        .17825E-05** at limit **
   8  Prefactor     .13740        .12790        .39040E-07   -.22160E-02
   9  Prefactor     18.152        12.310        .10613E-06    .19909E-04
  10  Prefactor     17.615        9.5225       -.65632E-06   -.10939E-02
  11  Prefactor     .10000E-03    6.8198        .15935E-05** at limit **
  12  Prefactor     29.561        26.172       -.46540E-05    .94025E-05
  13  Prefactor     .10000E-03    10.065       -.21588E-05** at limit **
  14  Prefactor     10.049        8.2002       -.28453E-08   -.48445E-04
  15  Prefactor     .10000E-03    6.8253        .14681E-05** at limit **
  16  Prefactor     .10000E-03    8.7509       -.44566E-05** at limit **
  17  norm          .10000E-03    3.4884        .12026E-07** at limit **
  18  Prefactor     .10000E-03    4.4616        .27017E-05** at limit **
  19  Prefactor     .10000E-03    18.234       -.43512E-05** at limit **
  20  norm          24.442        18.252       -.49144E-07   -.23064E-04
  21  Prefactor     4.6646        5.9264       -.29535E-06   -.26508E-03
  22  Normalizat    .82359        .21843       -.46998E-06   -.75831E-04
  23  Prefactor     1.1560        .12576        .79030E-06   -.15240E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.92402
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.05234
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.1374
  Prefactor  = 18.1519
  Prefactor  = 17.6146
  Prefactor  = 0.0001
  Prefactor  = 29.5605
  Prefactor  = 0.0001
  Prefactor  = 10.0492
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 24.4422
  Prefactor  = 4.66462
  Normalizat = 0.823586
  Prefactor  = 1.15596
 **********
 **   18 **HESSE 
 **********

 FCN=   7937.217     FROM HESSE     STATUS=OK           370 CALLS     2872 TOTAL
                     EDM=   .77E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.9240        2.9053        .14408E-03   -1.5366    
   2  Prefactor     .10000E-03    5.7792        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    12.618        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.0523        1.0359        .82674E-03   -1.5503    
   5  Prefactor     .10000E-03    9.8304        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    4.6639        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    6.4054        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .13740        .12035        .28879E-03   -1.5634    
   9  Prefactor     18.152        12.311        .94008E-04   -1.4856    
  10  Prefactor     17.615        9.6342        .47716E-03   -1.4868    
  11  Prefactor     .10000E-03    6.8500        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     29.561        26.171        .73686E-04   -1.4620    
  13  Prefactor     .10000E-03    10.065        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     10.049        8.2007        .12641E-03   -1.5074    
  15  Prefactor     .10000E-03    6.8921        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    8.7441        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    3.5097        .16246E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    4.4941        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    18.303        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          24.442        18.253        .81024E-04   -1.4719    
  21  Prefactor     4.6646        5.9266        .18633E-03   -1.5276    
  22  Normalizat    .82359        .24696        .37176E-03   -.99200    
  23  Prefactor     1.1560        .14379        .18960E-03   -.87698    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.65496e-10
Minuit parameter uncertainties:
  1  2.90544
  2  1.94235e-06
  3  4.70606e-05
  4  1.03593
  5  2.31157e-06
  6  2.09321e-06
  7  1.47998e-06
  8  0.120352
  9  12.3125
  10  9.63503
  11  3.01079e-06
  12  26.1809
  13  1.49413e-05
  14  8.20162
  15  9.59308e-06
  16  3.60988e-06
  17  4.10638e-06
  18  8.66845e-06
  19  8.47857e-06
  20  18.257
  21  5.92732
  22  0.247297
  23  0.143838
Done.

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

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  1.000e-04  3.610e-06  1.000e-04  1.000e+04 ( 1.000e-13)
422        Index:  2.432e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
423        Scale:  1.047e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
528    Prefactor:  1.156e+00  1.438e-01  0.000e+00  1.000e+01 ( 1.000e+00)
529        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
530        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
527   Normalization:  8.236e-01  2.473e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 351.436 18.365
Photon Flux Upper Limit: 7.54e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.84e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/883198/likelihoodResults_351302401_351561601_4FGL_J2325.7+1821_daily_bin432.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) = 7937.21708443
delta logL = -0.000544738449207

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7937.21653981
delta logL = -1.16858245747e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10166E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4259       1.0000          .0000       10.000    
     3 'Normalizat'    .82353       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1560       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5310E+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=   7937.217     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      243 TOTAL
                     EDM=   .67E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10018E-03    111.49        .18142E-02** at limit **
   2  Index         2.4015        8.6806        .50000        .47543E-05
   3  Normalizat    .82359        .18796E-01    .37176E-03    .53211E-05
   4  Prefactor     1.1560        .11245E-01    .18960E-03    .71952E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100184
  Index      = 2.40148
  Normalizat = 0.823586
  Prefactor  = 1.15596
 **********
 **   18 **HESSE 
 **********

 FCN=   7937.217     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      272 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10018E-03    487.27        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4015        5.6846        .50000       -.54650    
   3  Normalizat    .82359        .41684E-01    .14870E-04   -.99200    
   4  Prefactor     1.1560        .24938E-01    .75842E-05   -.87698    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.20683e-09
Minuit parameter uncertainties:
  1  0.0190966
  2  994.665
  3  0.0416856
  4  0.0249381
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/883198': 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): 102
logL (Free Index) = 7937.21653967
delta logL = 2.62434696197e-08

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  1.002e-04  1.910e-02  1.000e-04  1.000e+04 ( 1.000e-13)
422        Index:  2.401e+00  9.947e+02  0.000e+00  1.000e+01 (-1.000e+00)
423        Scale:  1.047e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
528    Prefactor:  1.156e+00  2.494e-02  0.000e+00  1.000e+01 ( 1.000e+00)
529        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
530        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
527   Normalization:  8.236e-01  4.169e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 351.436 18.365

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/883198/cmap_HighResolution_351302401_351561601_4FGL_J2325.7+1821_daily_bin432.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.84e-03', job_status='DONE', photon_flux_upper_limit='7.54e-08', time_completed='2021-09-29 18:33:19.573766', job_id='883198', GAL2='1.16', fit_tolerance='1e-08', EG2='0.82', EG='0.82', time_epoch_completed='1632965599.57', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.16', dlogl='2.62e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='432' AND source_name='4FGL J2325.7+1821' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:33:19 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0261>
Subject: Job 883198: <4FGL_J2325.7+1821_daily_bin432> in cluster <slac> Done

Job <4FGL_J2325.7+1821_daily_bin432> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep 29 18:20:37 2021
Job was executed on host(s) <bullet0261>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 18:20:38 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 18:20:38 2021
Terminated at Wed Sep 29 18:33:20 2021
Results reported at Wed Sep 29 18:33:20 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.7+1821_daily_bin432 351.436 18.3654 351302401 351561601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2325.7+1821 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   724.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             359.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   761 sec.
    Turnaround time :                            763 sec.

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

