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


Performing analysis on: 4FGL_J2325.7+1821_daily_bin1302
RA = 351.436, Dec = 18.3654
tmin = 576806401, tmax = 577065601
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='887203', job_status='RUN', time_executed='2021-09-29 18:39:13.423731', time_epoch_executed='1632965953.42' WHERE source_name='4FGL J2325.7+1821' and cadence='daily' and bin_id='1302'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/887203

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/887203/ft1_4FGL_J2325.7+1821_daily_bin1302.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/887203/ft2_4FGL_J2325.7+1821_daily_bin1302.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/887203/ft1_4FGL_J2325.7+1821_daily_bin1302.fits outfile=/scratch/kocevski/887203/ft1_filteredMKT_4FGL_J2325.7+1821_daily_bin1302.fits ra=351.436 dec=18.3654 rad=12.0 tmin=576806401.0 tmax=577065601.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.05
user 2.85
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/887203/ft2_4FGL_J2325.7+1821_daily_bin1302.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/887203/ft1_filteredMKT_4FGL_J2325.7+1821_daily_bin1302.fits evtable="EVENTS" outfile="/scratch/kocevski/887203/ft1_filtered_4FGL_J2325.7+1821_daily_bin1302.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.32
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/887203/ft1_filtered_4FGL_J2325.7+1821_daily_bin1302.fits" evtable="EVENTS" scfile=/scratch/kocevski/887203/ft2_4FGL_J2325.7+1821_daily_bin1302.fits sctable="SC_DATA" outfile=/scratch/kocevski/887203/ltcube_576806401_577065601_4FGL_J2325.7+1821_daily_bin1302.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/887203/ft2_4FGL_J2325.7+1821_daily_bin1302.fits
.....................!
real 12.51
user 12.10
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/887203/ft1_filtered_4FGL_J2325.7+1821_daily_bin1302.fits evtable="EVENTS" scfile=/scratch/kocevski/887203/ft2_4FGL_J2325.7+1821_daily_bin1302.fits sctable="SC_DATA" expcube=/scratch/kocevski/887203/ltcube_576806401_577065601_4FGL_J2325.7+1821_daily_bin1302.fits outfile=/scratch/kocevski/887203/expmap_576806401_577065601_4FGL_J2325.7+1821_daily_bin1302.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/887203/ltcube_576806401_577065601_4FGL_J2325.7+1821_daily_bin1302.fits
.....................!
real 192.08
user 186.93
sys 4.84

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/887203/ft1_filtered_4FGL_J2325.7+1821_daily_bin1302.fits scfile=/scratch/kocevski/887203/ft2_4FGL_J2325.7+1821_daily_bin1302.fits outfile=/scratch/kocevski/887203/cmap_576806401_577065601_4FGL_J2325.7+1821_daily_bin1302.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.53
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/887203/ft1_filtered_4FGL_J2325.7+1821_daily_bin1302.fits scfile=/scratch/kocevski/887203/ft2_4FGL_J2325.7+1821_daily_bin1302.fits outfile=/scratch/kocevski/887203/cmap_HighResolution_576806401_577065601_4FGL_J2325.7+1821_daily_bin1302.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.54
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/887203/ft1_filtered_4FGL_J2325.7+1821_daily_bin1302.fits evtable="EVENTS" scfile=/scratch/kocevski/887203/ft2_4FGL_J2325.7+1821_daily_bin1302.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/887203/Model_4FGL_J2325.7+1821_daily_bin1302.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/887203/ft1_filtered_4FGL_J2325.7+1821_daily_bin1302.fits.....................!
real 77.98
user 76.62
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/887203/ft1_filtered_4FGL_J2325.7+1821_daily_bin1302.fits', '/scratch/kocevski/887203/ft2_4FGL_J2325.7+1821_daily_bin1302.fits', expMap='/scratch/kocevski/887203/expmap_576806401_577065601_4FGL_J2325.7+1821_daily_bin1302.fits', expCube='/scratch/kocevski/887203/ltcube_576806401_577065601_4FGL_J2325.7+1821_daily_bin1302.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/887203/Model_4FGL_J2325.7+1821_daily_bin1302.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/887203/ft1_filtered_4FGL_J2325.7+1821_daily_bin1302.fits
Spacecraft file(s): /scratch/kocevski/887203/ft2_4FGL_J2325.7+1821_daily_bin1302.fits
Exposure map: /scratch/kocevski/887203/expmap_576806401_577065601_4FGL_J2325.7+1821_daily_bin1302.fits
Exposure cube: /scratch/kocevski/887203/ltcube_576806401_577065601_4FGL_J2325.7+1821_daily_bin1302.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/887203/Model_4FGL_J2325.7+1821_daily_bin1302.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) = 6424.38523258

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .72918       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10586E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    6.0191       1.0000         .10000E-03   10000.    
     4 'norm      '    1.8339       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    8.1550       1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.3806       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.3341       1.0000         .10000E-03   10000.    
     9 'Prefactor '    20.374       1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.9352       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    22.944       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    8.5556       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .26478       1.0000         .10000E-03   10000.    
    18 'Prefactor '    11.659       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10159E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    22.628       1.0000         .10000E-03   10000.    
    21 'Prefactor '    8.2439       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .63053       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1928       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=   6424.358     FROM MIGRAD    STATUS=CONVERGED    899 CALLS     2973 TOTAL
                     EDM=   .87E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .73043        7.8520        .41556E-03    .33349E-04
   2  Prefactor     .10000E-03    94.851        .36285E-03** at limit **
   3  Prefactor     6.0257        49.926        .16366E-03   -.14727E-04
   4  norm          1.8338        1.4769        .83944E-04   -.14031E-03
   5  Prefactor     .10000E-03    54.204        .18142E-02** at limit **
   6  Prefactor     8.1558        13.572        .14039E-03   -.27856E-04
   7  Prefactor     7.3806        11.352        .14763E-03   -.19714E-04
   8  Prefactor     2.3341        .29236        .14109E-04   -.24221E-02
   9  Prefactor     20.374        15.297        .88736E-04   -.19730E-04
  10  Prefactor     1.9367        12.602        .14926E-02    .31615E-03
  11  Prefactor     .10000E-03    10.215        .18142E-02** at limit **
  12  Prefactor     22.949        34.602        .83623E-04    .24471E-04
  13  Prefactor     .10000E-03    27.115        .18142E-02** at limit **
  14  Prefactor     .10000E-03    3.1185        .13793E-02** at limit **
  15  Prefactor     8.5209        22.061        .13705E-03    .24306E-04
  16  Prefactor     .10000E-03    6.7410        .18142E-02** at limit **
  17  norm          .27793        601.51        .41483E-02    .29611E-04
  18  Prefactor     11.633        15.778        .11732E-03    .21318E-04
  19  Prefactor     .10000E-03    21.429        .18142E-02** at limit **
  20  norm          22.628        17.164        .84205E-04   -.62106E-05
  21  Prefactor     8.2446        13.715        .13963E-03   -.41362E-04
  22  Normalizat    .63031        .33042        .48382E-03   -.43213E-04
  23  Prefactor     1.1928        .18007        .20659E-03    .10827E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.730433
  Prefactor  = 0.0001
  Prefactor  = 6.02566
  norm       = 1.83385
  Prefactor  = 0.0001
  Prefactor  = 8.15583
  Prefactor  = 7.38062
  Prefactor  = 2.33414
  Prefactor  = 20.3744
  Prefactor  = 1.93674
  Prefactor  = 0.0001
  Prefactor  = 22.949
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.52092
  Prefactor  = 0.0001
  norm       = 0.277934
  Prefactor  = 11.6334
  Prefactor  = 0.0001
  norm       = 22.6285
  Prefactor  = 8.24456
  Normalizat = 0.630314
  Prefactor  = 1.19285
 **********
 **   18 **HESSE 
 **********

 FCN=   6424.358     FROM HESSE     STATUS=OK           350 CALLS     3323 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .73043        7.8365        .16622E-04   -1.5537    
   2  Prefactor     .10000E-03    94.855        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     6.0257        49.871        .65464E-05   -1.5217    
   4  norm          1.8338        1.4768        .33578E-05   -1.5437    
   5  Prefactor     .10000E-03    54.212        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     8.1558        13.568        .56158E-05   -1.5137    
   7  Prefactor     7.3806        11.352        .59053E-05   -1.5165    
   8  Prefactor     2.3341        .29216        .28217E-05   -1.5402    
   9  Prefactor     20.374        15.295        .35494E-05   -1.4805    
  10  Prefactor     1.9367        12.559        .29851E-03   -1.5430    
  11  Prefactor     .10000E-03    10.218        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     22.949        34.581        .33449E-05   -1.4749    
  13  Prefactor     .10000E-03    27.116        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    3.1188        .27587E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     8.5209        17.564        .54819E-05   -1.5124    
  16  Prefactor     .10000E-03    6.7411        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .27793        304.19        .16593E-03   -1.5603    
  18  Prefactor     11.633        12.294        .46930E-05   -1.5026    
  19  Prefactor     .10000E-03    21.430        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          22.628        17.163        .33682E-05   -1.4756    
  21  Prefactor     8.2446        13.710        .55852E-05   -1.5134    
  22  Normalizat    .63031        .32989        .19353E-04   -1.0671    
  23  Prefactor     1.1928        .18012        .41318E-04   -.86552    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.76889e-10
Minuit parameter uncertainties:
  1  4.78545
  2  5.59514e-05
  3  34.7093
  4  1.47683
  5  1.21503e-05
  6  13.5732
  7  11.3557
  8  0.292156
  9  15.2978
  10  9.86651
  11  1.80226e-05
  12  34.6107
  13  0.00011991
  14  1.09295e-05
  15  17.5748
  16  6.71614e-06
  17  18.4812
  18  12.297
  19  7.44861e-06
  20  17.1666
  21  13.7156
  22  0.330925
  23  0.180218
Done.

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

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  1.000e-04  6.716e-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.193e+00  1.802e-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:  6.303e-01  3.309e-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.66e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.93e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/887203/likelihoodResults_576806401_577065601_4FGL_J2325.7+1821_daily_bin1302.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) = 6424.35826521
delta logL = -0.000700904634868

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6424.35756429
delta logL = 9.51149559114e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10134E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4103       1.0000          .0000       10.000    
     3 'Normalizat'    .63024       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1929       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=   6424.358     FROM MIGRAD    STATUS=CONVERGED    103 CALLS      255 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    26.617        .18142E-01** at limit **
   2  Index         1.8104        7.7346        .50000        .50377E-06
   3  Normalizat    .63032        .11277E-01    .48381E-03    .59586E-03
   4  Prefactor     1.1928        .64985E-02    .20659E-03    .14114E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.81038
  Normalizat = 0.63032
  Prefactor  = 1.19285
 **********
 **   18 **HESSE 
 **********

 FCN=   6424.358     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      284 TOTAL
                     EDM=   .83E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    205.99        .23831E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8104        5.5800        .50000       -.69180    
   3  Normalizat    .63032        .32116E-01    .19353E-04   -1.0671    
   4  Prefactor     1.1928        .18508E-01    .41318E-04   -.86552    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.25899e-09
Minuit parameter uncertainties:
  1  0.000262124
  2  797.328
  3  0.0321171
  4  0.0185082
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/887203': 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) = 6424.35756228
delta logL = 2.02344745048e-06

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  1.000e-04  2.621e-04  1.000e-04  1.000e+04 ( 1.000e-13)
422        Index:  1.810e+00  7.973e+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.193e+00  1.851e-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:  6.303e-01  3.212e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/887203/cmap_HighResolution_576806401_577065601_4FGL_J2325.7+1821_daily_bin1302.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.93e-03', job_status='DONE', photon_flux_upper_limit='7.66e-08', time_completed='2021-09-29 18:50:43.456433', job_id='887203', GAL2='1.19', fit_tolerance='1e-08', EG2='0.63', EG='0.63', time_epoch_completed='1632966643.46', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.19', dlogl='2.02e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1302' AND source_name='4FGL J2325.7+1821' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:50:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0224>
Subject: Job 887203: <4FGL_J2325.7+1821_daily_bin1302> in cluster <slac> Done

Job <4FGL_J2325.7+1821_daily_bin1302> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 18:35:54 2021
Job was executed on host(s) <bullet0224>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 18:35:55 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:35:55 2021
Terminated at Wed Sep 29 18:50:43 2021
Results reported at Wed Sep 29 18:50:43 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.7+1821_daily_bin1302 351.436 18.3654 576806401 577065601 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 :                                   686.36 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             246.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   888 sec.
    Turnaround time :                            889 sec.

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

