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


Performing analysis on: 4FGL_J2325.7+1821_daily_bin1161
RA = 351.436, Dec = 18.3654
tmin = 540259201, tmax = 540518401
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='886971', job_status='RUN', time_executed='2021-09-29 18:38:58.954597', time_epoch_executed='1632965938.95' WHERE source_name='4FGL J2325.7+1821' and cadence='daily' and bin_id='1161'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/886971

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/886971/ft1_4FGL_J2325.7+1821_daily_bin1161.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/886971/ft2_4FGL_J2325.7+1821_daily_bin1161.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/886971/ft1_4FGL_J2325.7+1821_daily_bin1161.fits outfile=/scratch/kocevski/886971/ft1_filteredMKT_4FGL_J2325.7+1821_daily_bin1161.fits ra=351.436 dec=18.3654 rad=12.0 tmin=540259201.0 tmax=540518401.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.55
user 3.35
sys 0.18

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

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

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/886971/ft1_filtered_4FGL_J2325.7+1821_daily_bin1161.fits" evtable="EVENTS" scfile=/scratch/kocevski/886971/ft2_4FGL_J2325.7+1821_daily_bin1161.fits sctable="SC_DATA" outfile=/scratch/kocevski/886971/ltcube_540259201_540518401_4FGL_J2325.7+1821_daily_bin1161.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/886971/ft2_4FGL_J2325.7+1821_daily_bin1161.fits
.....................!
real 11.86
user 11.48
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/886971/ft1_filtered_4FGL_J2325.7+1821_daily_bin1161.fits evtable="EVENTS" scfile=/scratch/kocevski/886971/ft2_4FGL_J2325.7+1821_daily_bin1161.fits sctable="SC_DATA" expcube=/scratch/kocevski/886971/ltcube_540259201_540518401_4FGL_J2325.7+1821_daily_bin1161.fits outfile=/scratch/kocevski/886971/expmap_540259201_540518401_4FGL_J2325.7+1821_daily_bin1161.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/886971/ltcube_540259201_540518401_4FGL_J2325.7+1821_daily_bin1161.fits
.....................!
real 191.07
user 185.83
sys 4.79

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/886971/ft1_filtered_4FGL_J2325.7+1821_daily_bin1161.fits scfile=/scratch/kocevski/886971/ft2_4FGL_J2325.7+1821_daily_bin1161.fits outfile=/scratch/kocevski/886971/cmap_540259201_540518401_4FGL_J2325.7+1821_daily_bin1161.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/886971/ft1_filtered_4FGL_J2325.7+1821_daily_bin1161.fits scfile=/scratch/kocevski/886971/ft2_4FGL_J2325.7+1821_daily_bin1161.fits outfile=/scratch/kocevski/886971/cmap_HighResolution_540259201_540518401_4FGL_J2325.7+1821_daily_bin1161.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.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/886971/ft1_filtered_4FGL_J2325.7+1821_daily_bin1161.fits evtable="EVENTS" scfile=/scratch/kocevski/886971/ft2_4FGL_J2325.7+1821_daily_bin1161.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/886971/Model_4FGL_J2325.7+1821_daily_bin1161.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/886971/ft1_filtered_4FGL_J2325.7+1821_daily_bin1161.fits.....................!
real 87.91
user 86.46
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.9934       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .55749       1.0000         .10000E-03   10000.    
     4 'norm      '    3.1650       1.0000         .10000E-03   10000.    
     5 'Prefactor '    10.409       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.0035       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.1784       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.4701       1.0000         .10000E-03   10000.    
    13 'Prefactor '    23.626       1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.1406       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    4.0679       1.0000         .10000E-03   10000.    
    17 'norm      '    .20083E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10325E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .54790       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1473       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .88810       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=   7560.658     FROM MIGRAD    STATUS=CONVERGED    525 CALLS     2566 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.9920        3.7997       -.89166E-07    .67436E-04
   2  Prefactor     .10000E-03    3.3042       -.32312E-06** at limit **
   3  Prefactor     .55719        9.5932       -.72289E-06   -.51574E-04
   4  norm          3.1649        1.6476       -.24391E-07    .32191E-04
   5  Prefactor     10.394        39.971       -.27483E-04    .54828E-05
   6  Prefactor     .10000E-03    2.5209        .84429E-07** at limit **
   7  Prefactor     .10000E-03    8.1860       -.12121E-06** at limit **
   8  Prefactor     3.0036        .32123        .10180E-06   -.10193E-02
   9  Prefactor     .10000E-03    5.3114        .12328E-06** at limit **
  10  Prefactor     1.1782        1.5627        .23605E-06   -.69940E-03
  11  Prefactor     .10000E-03    3.6132        .24748E-06** at limit **
  12  Prefactor     5.4678        14.120       -.11123E-06    .11010E-04
  13  Prefactor     23.620        25.230       -.66392E-05    .41630E-05
  14  Prefactor     2.1286        8.8603       -.12490E-05    .50550E-06
  15  Prefactor     .10000E-03    14.090        .81470E-06** at limit **
  16  Prefactor     4.0857        20.684       -.12327E-05    .25094E-04
  17  norm          .10000E-03    4.7306       -.70684E-06** at limit **
  18  Prefactor     .10000E-03    3.8434       -.45318E-06** at limit **
  19  Prefactor     .10000E-03    18.049        .80637E-06** at limit **
  20  norm          .39953        11.736       -.12915E-06   -.60552E-04
  21  Prefactor     .10000E-03    2.8300        .37994E-06** at limit **
  22  Normalizat    1.1473        .22001        .95914E-06    .24170E-03
  23  Prefactor     .88820        .12448        .12234E-05    .23561E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 9.99204
  Prefactor  = 0.0001
  Prefactor  = 0.557192
  norm       = 3.16494
  Prefactor  = 10.3945
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.00357
  Prefactor  = 0.0001
  Prefactor  = 1.17822
  Prefactor  = 0.0001
  Prefactor  = 5.4678
  Prefactor  = 23.62
  Prefactor  = 2.12858
  Prefactor  = 0.0001
  Prefactor  = 4.08569
  norm       = 0.000100003
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  norm       = 0.399529
  Prefactor  = 0.0001
  Normalizat = 1.14734
  Prefactor  = 0.888197
 **********
 **   18 **HESSE 
 **********

 FCN=   7560.658     FROM HESSE     STATUS=OK           376 CALLS     2942 TOTAL
                     EDM=   .40E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.9920        3.8174        .98414E-04   -1.5076    
   2  Prefactor     .10000E-03    3.3070        .15434E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .55719        9.9036        .46013E-03   -1.5559    
   4  norm          3.1649        1.6487        .78528E-04   -1.5352    
   5  Prefactor     10.394        40.007        .12419E-03   -1.5063    
   6  Prefactor     .10000E-03    2.5229        .13482E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    8.1899        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.0036        .32489        .14836E-04   -1.5361    
   9  Prefactor     .10000E-03    5.3327        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.1782        11.142        .21073E-02   -1.5491    
  11  Prefactor     .10000E-03    3.6149        .16141E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     5.4678        14.107        .17180E-03   -1.5240    
  13  Prefactor     23.620        25.279        .82409E-04   -1.4736    
  14  Prefactor     2.1286        8.3547        .28171E-03   -1.5416    
  15  Prefactor     .10000E-03    14.245        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     4.0857        19.251        .19990E-03   -1.5304    
  17  norm          .10000E-03    19.290        .34638E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    21.265        .30904E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    18.081        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .39953        145.71        .57051E-02   -1.5582    
  21  Prefactor     .10000E-03    2.8405        .14280E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.1473        .25457        .32774E-03   -.88246    
  23  Prefactor     .88820        .14694        .21676E-03   -.96555    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.96483e-08
Minuit parameter uncertainties:
  1  3.81751
  2  1.27582e-06
  3  4.69867
  4  1.64868
  5  40.1108
  6  1.41282e-06
  7  3.44944e-06
  8  0.324891
  9  8.88574e-06
  10  7.24778
  11  2.83518e-06
  12  14.1156
  13  25.2905
  14  8.35932
  15  2.06958e-05
  16  17.7467
  17  0.000510209
  18  0.000441217
  19  1.04269e-05
  20  15.2955
  21  4.9911e-06
  22  0.254845
  23  0.147004
Done.

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

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  4.086e+00  1.775e+01  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:  8.882e-01  1.470e-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:  1.147e+00  2.548e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/886971/likelihoodResults_540259201_540518401_4FGL_J2325.7+1821_daily_bin1161.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): 0
logL (Free Index) = 7560.3908034
delta logL = 0.267582145901

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7560.09990214
delta logL = 0.558483407685

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    8.4456       1.0000          .0000       10.000    
     3 'Normalizat'    1.0774       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91817       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=   7560.694     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      413 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6548.1        .90712E-02** at limit **
   2  Index         1.9495        7.1979        .50000       -.22895E-04
   3  Normalizat    1.1562        .54846E-01    .73815E-01    .10957E-02
   4  Prefactor     .88675        .32518E-01    .45236E-01    .94713E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100005
  Index      = 1.94948
  Normalizat = 1.15623
  Prefactor  = 0.886748
 **********
 **   18 **HESSE 
 **********

 FCN=   7560.694     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      442 TOTAL
                     EDM=   .37E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    8426.9        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9495        5.9466        .50000       -.65619    
   3  Normalizat    1.1562        .14609        .32663E-03   -.87966    
   4  Prefactor     .88675        .86745E-01    .21693E-03   -.96606    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.70779e-08
Minuit parameter uncertainties:
  1  0.0134681
  2  58.7039
  3  0.146138
  4  0.0867587
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/886971': 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) = 7560.69438285
delta logL = -0.0359973063423

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  1.000e-04  1.347e-02  1.000e-04  1.000e+04 ( 1.000e-13)
422        Index:  1.949e+00  5.870e+01  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:  8.867e-01  8.676e-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:  1.156e+00  1.461e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.08
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/886971/cmap_HighResolution_540259201_540518401_4FGL_J2325.7+1821_daily_bin1161.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.50e-03', job_status='DONE', photon_flux_upper_limit='9.68e-08', time_completed='2021-09-29 18:52:00.150510', job_id='886971', GAL2='0.89', fit_tolerance='1e-08', EG2='1.16', EG='1.15', time_epoch_completed='1632966720.15', return_code2='102', ts='0.08', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='-3.60e-02', ts2='-0.00', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1161' AND source_name='4FGL J2325.7+1821' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:52:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0304>
Subject: Job 886971: <4FGL_J2325.7+1821_daily_bin1161> in cluster <slac> Done

Job <4FGL_J2325.7+1821_daily_bin1161> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 18:35:31 2021
Job was executed on host(s) <bullet0304>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 18:35:34 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 18:35:34 2021
Terminated at Wed Sep 29 18:52:00 2021
Results reported at Wed Sep 29 18:52:00 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.7+1821_daily_bin1161 351.436 18.3654 540259201 540518401 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 :                                   766.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             303.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   986 sec.
    Turnaround time :                            989 sec.

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

