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


Performing analysis on: 4FGL_J2325.7+1821_daily_bin1530
RA = 351.436, Dec = 18.3654
tmin = 635904001, tmax = 636163201
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='888485', job_status='RUN', time_executed='2021-09-29 18:44:20.346822', time_epoch_executed='1632966260.35' WHERE source_name='4FGL J2325.7+1821' and cadence='daily' and bin_id='1530'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/888485

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/888485/ft1_4FGL_J2325.7+1821_daily_bin1530.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/888485/ft2_4FGL_J2325.7+1821_daily_bin1530.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/888485/ft1_4FGL_J2325.7+1821_daily_bin1530.fits outfile=/scratch/kocevski/888485/ft1_filteredMKT_4FGL_J2325.7+1821_daily_bin1530.fits ra=351.436 dec=18.3654 rad=12.0 tmin=635904001.0 tmax=636163201.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 4.17
user 3.94
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/888485/ft2_4FGL_J2325.7+1821_daily_bin1530.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/888485/ft1_filteredMKT_4FGL_J2325.7+1821_daily_bin1530.fits evtable="EVENTS" outfile="/scratch/kocevski/888485/ft1_filtered_4FGL_J2325.7+1821_daily_bin1530.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.49
user 0.32
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/888485/ft1_filtered_4FGL_J2325.7+1821_daily_bin1530.fits" evtable="EVENTS" scfile=/scratch/kocevski/888485/ft2_4FGL_J2325.7+1821_daily_bin1530.fits sctable="SC_DATA" outfile=/scratch/kocevski/888485/ltcube_635904001_636163201_4FGL_J2325.7+1821_daily_bin1530.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/888485/ft2_4FGL_J2325.7+1821_daily_bin1530.fits
.....................!
real 12.78
user 11.50
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/888485/ft1_filtered_4FGL_J2325.7+1821_daily_bin1530.fits evtable="EVENTS" scfile=/scratch/kocevski/888485/ft2_4FGL_J2325.7+1821_daily_bin1530.fits sctable="SC_DATA" expcube=/scratch/kocevski/888485/ltcube_635904001_636163201_4FGL_J2325.7+1821_daily_bin1530.fits outfile=/scratch/kocevski/888485/expmap_635904001_636163201_4FGL_J2325.7+1821_daily_bin1530.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/888485/ltcube_635904001_636163201_4FGL_J2325.7+1821_daily_bin1530.fits
.....................!
real 191.50
user 185.73
sys 5.45

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/888485/ft1_filtered_4FGL_J2325.7+1821_daily_bin1530.fits scfile=/scratch/kocevski/888485/ft2_4FGL_J2325.7+1821_daily_bin1530.fits outfile=/scratch/kocevski/888485/cmap_635904001_636163201_4FGL_J2325.7+1821_daily_bin1530.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.54
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/888485/ft1_filtered_4FGL_J2325.7+1821_daily_bin1530.fits scfile=/scratch/kocevski/888485/ft2_4FGL_J2325.7+1821_daily_bin1530.fits outfile=/scratch/kocevski/888485/cmap_HighResolution_635904001_636163201_4FGL_J2325.7+1821_daily_bin1530.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.60
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/888485/ft1_filtered_4FGL_J2325.7+1821_daily_bin1530.fits evtable="EVENTS" scfile=/scratch/kocevski/888485/ft2_4FGL_J2325.7+1821_daily_bin1530.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/888485/Model_4FGL_J2325.7+1821_daily_bin1530.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/888485/ft1_filtered_4FGL_J2325.7+1821_daily_bin1530.fits.....................!
real 81.93
user 80.55
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.7569       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    2.5568       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    12.371       1.0000         .10000E-03   10000.    
     7 'Prefactor '    18.976       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .49116       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    16.414       1.0000         .10000E-03   10000.    
    14 'Prefactor '    6.9545       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    5.2757       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .92296E-01   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .95268       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1219       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.

 FCN=   7182.603     FROM MIGRAD    STATUS=CONVERGED    529 CALLS     2551 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.7560        3.1667        .46120E-02   -.30278E-03
   2  Prefactor     .10000E-03    2.8611        .90712E-02** at limit **
   3  Prefactor     .10000E-03    3.7697        .90712E-02** at limit **
   4  norm          2.5567        1.9483        .63833E-02    .12211E-03
   5  Prefactor     .10009E-03    17.208        .90712E-02** at limit **
   6  Prefactor     12.368        14.174        .28473E-02   -.34227E-03
   7  Prefactor     18.954        31.788        .22986E-02    .37566E-03
   8  Prefactor     .49121        .20239        .48739E-02    .78345E-03
   9  Prefactor     .10000E-03    7.5466        .90712E-02** at limit **
  10  Prefactor     .10000E-03    2.4545        .90712E-02** at limit **
  11  Prefactor     .10000E-03    10.173        .90712E-02** at limit **
  12  Prefactor     .10000E-03    4.2443        .90712E-02** at limit **
  13  Prefactor     16.412        17.699        .24714E-02    .57625E-04
  14  Prefactor     6.9541        5.2065        .38032E-02   -.10293E-02
  15  Prefactor     .10001E-03    24.661        .90712E-02** at limit **
  16  Prefactor     .10001E-03    12.207        .90712E-02** at limit **
  17  norm          5.3049        8.8491        .43748E-02   -.12263E-02
  18  Prefactor     .10003E-03    6.5716        .72113E-01** at limit **
  19  Prefactor     .10010E-03    18.993        .90712E-02** at limit **
  20  norm          .10000E-03    4.9737        .90712E-02** at limit **
  21  Prefactor     .10000E-03    3.3818        .90712E-02** at limit **
  22  Normalizat    .95279        .21775        .77606E-01   -.33243E-03
  23  Prefactor     1.1219        .12764        .36808E-01   -.41148E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.756
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.55668
  Prefactor  = 0.000100086
  Prefactor  = 12.3677
  Prefactor  = 18.9543
  Prefactor  = 0.491209
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 16.4119
  Prefactor  = 6.95415
  Prefactor  = 0.000100015
  Prefactor  = 0.000100007
  norm       = 5.30493
  Prefactor  = 0.000100028
  Prefactor  = 0.000100101
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.952789
  Prefactor  = 1.12194
 **********
 **   18 **HESSE 
 **********

 FCN=   7182.603     FROM HESSE     STATUS=OK           370 CALLS     2921 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.7560        3.1716        .11669E-03   -1.5272    
   2  Prefactor     .10000E-03    2.8627        .13999E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    3.7794        .16070E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          2.5567        1.9467        .97217E-04   -1.5388    
   5  Prefactor     .10009E-03    17.217        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     12.368        14.161        .11389E-03   -1.5004    
   7  Prefactor     18.954        31.960        .91943E-04   -1.4837    
   8  Prefactor     .49121        .20120        .21740E-04   -1.5568    
   9  Prefactor     .10000E-03    7.5836        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    2.4609        .12965E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    10.292        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    4.2453        .17052E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     16.412        17.701        .98857E-04   -1.4898    
  14  Prefactor     6.9541        5.2065        .15213E-03   -1.5180    
  15  Prefactor     .10001E-03    25.439        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10001E-03    12.239        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          5.3049        8.8551        .17499E-03   -1.5247    
  18  Prefactor     .10003E-03    9.4403        .57068E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10010E-03    19.043        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    4.9765        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    3.4120        .15218E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .95279        .24912        .34347E-03   -.94629    
  23  Prefactor     1.1219        .14650        .19296E-03   -.88768    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.59457e-08
Minuit parameter uncertainties:
  1  3.17174
  2  2.86112e-06
  3  1.8247e-05
  4  1.94675
  5  0.00244128
  6  14.165
  7  31.9891
  8  0.201204
  9  4.75112e-05
  10  6.43264e-06
  11  0.000188226
  12  3.65453e-05
  13  17.7063
  14  5.20682
  15  0.00122323
  16  0.000600656
  17  8.85726
  18  0.00103562
  19  0.00277458
  20  4.00333e-06
  21  1.0259e-05
  22  0.24942
  23  0.146548
Done.

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

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  1.000e-04  6.007e-04  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.122e+00  1.465e-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:  9.528e-01  2.494e-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: 8.64e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.69e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/888485/likelihoodResults_635904001_636163201_4FGL_J2325.7+1821_daily_bin1530.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) = 7182.6033599
delta logL = -0.00038931898689

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7182.60297037
delta logL = 2.09339305002e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3950       1.0000          .0000       10.000    
     3 'Normalizat'    .95281       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1219       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=   7182.603     FROM MIGRAD    STATUS=CONVERGED    104 CALLS      251 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .17396E-03    5.4217        .12878    ** at limit **
   2  Index         1.5009        5.7279        .50000        .30551E-05
   3  Normalizat    .95279        .31577E-02    .34347E-03    .25487E-04
   4  Prefactor     1.1219        .19207E-02    .19296E-03    .92017E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000173959
  Index      = 1.5009
  Normalizat = 0.952791
  Prefactor  = 1.12194
 **********
 **   18 **HESSE 
 **********

 FCN=   7182.603     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      284 TOTAL
                     EDM=   .65E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .17396E-03    1253.3        .65992E-02   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.5009        5.7491        .50000       -.77515    
   3  Normalizat    .95279        .19435E-01    .13739E-04   -.94629    
   4  Prefactor     1.1219        .11822E-01    .38592E-04   -.88768    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.45773e-06
Minuit parameter uncertainties:
  1  0.622419
  2  429.34
  3  0.0194356
  4  0.0118221
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/888485': 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) = 7182.60296731
delta logL = 3.27086308971e-06

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  1.740e-04  6.224e-01  1.000e-04  1.000e+04 ( 1.000e-13)
422        Index:  1.501e+00  4.293e+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.122e+00  1.182e-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:  9.528e-01  1.944e-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/888485/cmap_HighResolution_635904001_636163201_4FGL_J2325.7+1821_daily_bin1530.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.69e-03', job_status='DONE', photon_flux_upper_limit='8.64e-08', time_completed='2021-09-29 18:56:19.090766', job_id='888485', GAL2='1.12', fit_tolerance='1e-08', EG2='0.95', EG='0.95', time_epoch_completed='1632966979.09', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.12', dlogl='3.27e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1530' AND source_name='4FGL J2325.7+1821' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:56:19 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0035>
Subject: Job 888485: <4FGL_J2325.7+1821_daily_bin1530> in cluster <slac> Done

Job <4FGL_J2325.7+1821_daily_bin1530> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 18:40:27 2021
Job was executed on host(s) <bullet0035>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 18:40:28 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:40:28 2021
Terminated at Wed Sep 29 18:56:19 2021
Results reported at Wed Sep 29 18:56:19 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.7+1821_daily_bin1530 351.436 18.3654 635904001 636163201 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 :                                   703.11 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             278.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   951 sec.
    Turnaround time :                            952 sec.

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

