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


Performing analysis on: 4FGL_J2325.7+1821_daily_bin1625
RA = 351.436, Dec = 18.3654
tmin = 660528001, tmax = 660787201
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='107450', job_status='RUN', time_executed='2021-12-10 00:40:51.014651', time_epoch_executed='1639125651.01' WHERE source_name='4FGL J2325.7+1821' and cadence='daily' and bin_id='1625'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/107450

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/107450/ft1_4FGL_J2325.7+1821_daily_bin1625.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/107450/ft2_4FGL_J2325.7+1821_daily_bin1625.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/107450/ft1_4FGL_J2325.7+1821_daily_bin1625.fits outfile=/scratch/kocevski/107450/ft1_filteredMKT_4FGL_J2325.7+1821_daily_bin1625.fits ra=351.436 dec=18.3654 rad=12.0 tmin=660528001.0 tmax=660787201.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.59
user 3.38
sys 0.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/107450/ft2_4FGL_J2325.7+1821_daily_bin1625.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/107450/ft1_filteredMKT_4FGL_J2325.7+1821_daily_bin1625.fits evtable="EVENTS" outfile="/scratch/kocevski/107450/ft1_filtered_4FGL_J2325.7+1821_daily_bin1625.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/107450/ft1_filtered_4FGL_J2325.7+1821_daily_bin1625.fits" evtable="EVENTS" scfile=/scratch/kocevski/107450/ft2_4FGL_J2325.7+1821_daily_bin1625.fits sctable="SC_DATA" outfile=/scratch/kocevski/107450/ltcube_660528001_660787201_4FGL_J2325.7+1821_daily_bin1625.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/107450/ft2_4FGL_J2325.7+1821_daily_bin1625.fits
.....................!
real 11.95
user 11.58
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/107450/ft1_filtered_4FGL_J2325.7+1821_daily_bin1625.fits evtable="EVENTS" scfile=/scratch/kocevski/107450/ft2_4FGL_J2325.7+1821_daily_bin1625.fits sctable="SC_DATA" expcube=/scratch/kocevski/107450/ltcube_660528001_660787201_4FGL_J2325.7+1821_daily_bin1625.fits outfile=/scratch/kocevski/107450/expmap_660528001_660787201_4FGL_J2325.7+1821_daily_bin1625.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/107450/ltcube_660528001_660787201_4FGL_J2325.7+1821_daily_bin1625.fits
.....................!
real 191.75
user 186.57
sys 4.86

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/107450/ft1_filtered_4FGL_J2325.7+1821_daily_bin1625.fits scfile=/scratch/kocevski/107450/ft2_4FGL_J2325.7+1821_daily_bin1625.fits outfile=/scratch/kocevski/107450/cmap_660528001_660787201_4FGL_J2325.7+1821_daily_bin1625.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/107450/ft1_filtered_4FGL_J2325.7+1821_daily_bin1625.fits scfile=/scratch/kocevski/107450/ft2_4FGL_J2325.7+1821_daily_bin1625.fits outfile=/scratch/kocevski/107450/cmap_HighResolution_660528001_660787201_4FGL_J2325.7+1821_daily_bin1625.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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/107450/ft1_filtered_4FGL_J2325.7+1821_daily_bin1625.fits evtable="EVENTS" scfile=/scratch/kocevski/107450/ft2_4FGL_J2325.7+1821_daily_bin1625.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/107450/Model_4FGL_J2325.7+1821_daily_bin1625.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/107450/ft1_filtered_4FGL_J2325.7+1821_daily_bin1625.fits.....................!
real 82.16
user 80.77
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 'Prefactor '    16.279       1.0000         .10000E-03   10000.    
     3 'Prefactor '    7.0940       1.0000         .10000E-03   10000.    
     4 'norm      '    .66799       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    32.527       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .65645       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    20.705       1.0000         .10000E-03   10000.    
    13 'Prefactor '    25.075       1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.8427       1.0000         .10000E-03   10000.    
    15 'Prefactor '    31.954       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10189E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    13.905       1.0000         .10000E-03   10000.    
    19 'Prefactor '    6.9845       1.0000         .10000E-03   10000.    
    20 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .89509       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .96737       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=   7323.431     FROM MIGRAD    STATUS=CONVERGED    486 CALLS     2488 TOTAL
                     EDM=   .27E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.4405        .48155E-07** at limit **
   2  Prefactor     16.279        10.622       -.83535E-06   -.54358E-07
   3  Prefactor     7.0939        8.3320       -.21435E-06   -.31477E-04
   4  norm          .66675        1.3259       -.22101E-06   -.12097E-02
   5  Prefactor     .10000E-03    6.8753        .17791E-07** at limit **
   6  Prefactor     32.530        13.997       -.99623E-06    .25581E-04
   7  Prefactor     .10000E-03    50.457       -.92461E-06** at limit **
   8  Prefactor     .65644        .16027        .11177E-08    .45261E-03
   9  Prefactor     .10000E-03    4.0821        .18851E-05** at limit **
  10  Prefactor     .10000E-03    2.9580       -.53833E-07** at limit **
  11  Prefactor     .10000E-03    3.0716       -.73010E-07** at limit **
  12  Prefactor     20.701        21.573       -.35749E-05   -.74561E-05
  13  Prefactor     25.074        18.438        .97602E-08    .74878E-05
  14  Prefactor     4.8436        5.2153       -.49204E-06   -.38232E-03
  15  Prefactor     31.955        13.936        .23373E-05    .14229E-03
  16  Prefactor     .10000E-03    4.1658       -.10494E-05** at limit **
  17  norm          .10000E-03    4.1577       -.84309E-06** at limit **
  18  Prefactor     13.904        8.2611        .12722E-05    .13386E-03
  19  Prefactor     6.9680        39.545       -.41385E-04   -.14848E-04
  20  norm          .10000E-03    9.5913       -.20619E-06** at limit **
  21  Prefactor     .10000E-03    5.0243        .29246E-06** at limit **
  22  Normalizat    .89506        .19772        .16136E-05    .56177E-04
  23  Prefactor     .96738        .11635        .94838E-06    .50774E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 16.279
  Prefactor  = 7.09393
  norm       = 0.666752
  Prefactor  = 0.0001
  Prefactor  = 32.5302
  Prefactor  = 0.0001
  Prefactor  = 0.656438
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 20.7011
  Prefactor  = 25.0743
  Prefactor  = 4.84357
  Prefactor  = 31.9547
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 13.9045
  Prefactor  = 6.96795
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.895064
  Prefactor  = 0.967382
 **********
 **   18 **HESSE 
 **********

 FCN=   7323.431     FROM HESSE     STATUS=OK           370 CALLS     2858 TOTAL
                     EDM=   .33E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.4653        .10009E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     16.279        10.619        .99267E-04   -1.4901    
   3  Prefactor     7.0939        8.3272        .15061E-03   -1.5175    
   4  norm          .66675        1.0260        .13273E-02   -1.5545    
   5  Prefactor     .10000E-03    6.8783        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     32.530        13.765        .70258E-04   -1.4567    
   7  Prefactor     .10000E-03    52.469        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .65644        .15997        .16202E-04   -1.5546    
   9  Prefactor     .10000E-03    4.0907        .16881E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    2.9744        .14370E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    3.0750        .14648E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     20.701        21.589        .88023E-04   -1.4798    
  13  Prefactor     25.074        18.439        .79997E-04   -1.4706    
  14  Prefactor     4.8436        5.2227        .18280E-03   -1.5268    
  15  Prefactor     31.955        13.937        .70883E-04   -1.4577    
  16  Prefactor     .10000E-03    4.1682        .17057E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    4.1669        .17010E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     13.904        8.2716        .10741E-03   -1.4962    
  19  Prefactor     6.9680        39.544        .15180E-03   -1.5180    
  20  norm          .10000E-03    9.6205        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    5.0829        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .89506        .22980        .32722E-03   -.96634    
  23  Prefactor     .96738        .13577        .19172E-03   -.93825    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.33994e-10
Minuit parameter uncertainties:
  1  2.87151e-06
  2  10.6202
  3  8.32854
  4  1.02605
  5  2.16876e-06
  6  13.7666
  7  0.000141897
  8  0.15997
  9  5.57202e-08
  10  6.96578e-06
  11  3.08838e-06
  12  21.5973
  13  18.4433
  14  5.22321
  15  13.938
  16  2.18854e-06
  17  2.75893e-05
  18  8.27224
  19  33.2322
  20  1.84446e-05
  21  1.8397e-05
  22  0.230049
  23  0.135815
Done.

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

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  1.000e-04  2.189e-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:  9.674e-01  1.358e-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.951e-01  2.300e-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: 4.73e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.67e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/107450/likelihoodResults_660528001_660787201_4FGL_J2325.7+1821_daily_bin1625.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) = 7323.43190477
delta logL = -0.00113941333711

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7323.43076524
delta logL = 1.16429873742e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10145E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4041       1.0000          .0000       10.000    
     3 'Normalizat'    .89514       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96733       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=   7323.431     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      243 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10398E-03    4.4688        .17573E-01** at limit **
   2  Index         2.3034        6.0984        .50000        .45483E-04
   3  Normalizat    .89506        .48055E-02    .32722E-03    .29184E-04
   4  Prefactor     .96738        .29363E-02    .19172E-03    .26744E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000103979
  Index      = 2.30339
  Normalizat = 0.895064
  Prefactor  = 0.967382
 **********
 **   18 **HESSE 
 **********

 FCN=   7323.431     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      272 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10398E-03    47.262        .18241E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3034        6.1511        .50000       -.56963    
   3  Normalizat    .89506        .15766E-01    .13089E-04   -.96634    
   4  Prefactor     .96738        .96333E-02    .76687E-05   -.93825    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.79112e-08
Minuit parameter uncertainties:
  1  0.0274491
  2  268.862
  3  0.0157656
  4  0.0096333
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/107450': 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) = 7323.43076426
delta logL = 1.1051834008e-06

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  1.040e-04  2.745e-02  1.000e-04  1.000e+04 ( 1.000e-13)
422        Index:  2.303e+00  2.689e+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:  9.674e-01  9.633e-03  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.951e-01  1.577e-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/107450/cmap_HighResolution_660528001_660787201_4FGL_J2325.7+1821_daily_bin1625.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.67e-03', job_status='DONE', photon_flux_upper_limit='4.73e-08', time_completed='2021-12-10 00:52:35.148028', job_id='107450', GAL2='0.97', fit_tolerance='1e-08', EG2='0.90', EG='0.90', time_epoch_completed='1639126355.15', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='1.11e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1625' AND source_name='4FGL J2325.7+1821' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec 10 00:52:35 PST 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0111>
Subject: Job 107450: <4FGL_J2325.7+1821_daily_bin1625> in cluster <slac> Done

Job <4FGL_J2325.7+1821_daily_bin1625> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Dec 10 00:40:36 2021
Job was executed on host(s) <bullet0111>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec 10 00:40:38 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec 10 00:40:38 2021
Terminated at Fri Dec 10 00:52:35 2021
Results reported at Fri Dec 10 00:52:35 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.7+1821_daily_bin1625 351.436 18.3654 660528001 660787201 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 :                                   706.27 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             362.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   717 sec.
    Turnaround time :                            719 sec.

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

