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


Performing analysis on: 4FGL_J2325.7+1821_daily_bin1346
RA = 351.436, Dec = 18.3654
tmin = 588211201, tmax = 588470401
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='887272', job_status='RUN', time_executed='2021-09-29 18:39:50.245972', time_epoch_executed='1632965990.25' WHERE source_name='4FGL J2325.7+1821' and cadence='daily' and bin_id='1346'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/887272

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/887272/ft1_4FGL_J2325.7+1821_daily_bin1346.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/887272/ft2_4FGL_J2325.7+1821_daily_bin1346.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/887272/ft1_4FGL_J2325.7+1821_daily_bin1346.fits outfile=/scratch/kocevski/887272/ft1_filteredMKT_4FGL_J2325.7+1821_daily_bin1346.fits ra=351.436 dec=18.3654 rad=12.0 tmin=588211201.0 tmax=588470401.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.80
user 3.56
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/887272/ft1_filtered_4FGL_J2325.7+1821_daily_bin1346.fits" evtable="EVENTS" scfile=/scratch/kocevski/887272/ft2_4FGL_J2325.7+1821_daily_bin1346.fits sctable="SC_DATA" outfile=/scratch/kocevski/887272/ltcube_588211201_588470401_4FGL_J2325.7+1821_daily_bin1346.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/887272/ft2_4FGL_J2325.7+1821_daily_bin1346.fits
.....................!
real 11.89
user 11.46
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/887272/ft1_filtered_4FGL_J2325.7+1821_daily_bin1346.fits evtable="EVENTS" scfile=/scratch/kocevski/887272/ft2_4FGL_J2325.7+1821_daily_bin1346.fits sctable="SC_DATA" expcube=/scratch/kocevski/887272/ltcube_588211201_588470401_4FGL_J2325.7+1821_daily_bin1346.fits outfile=/scratch/kocevski/887272/expmap_588211201_588470401_4FGL_J2325.7+1821_daily_bin1346.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/887272/ltcube_588211201_588470401_4FGL_J2325.7+1821_daily_bin1346.fits
.....................!
real 191.50
user 185.45
sys 4.85

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/887272/ft1_filtered_4FGL_J2325.7+1821_daily_bin1346.fits scfile=/scratch/kocevski/887272/ft2_4FGL_J2325.7+1821_daily_bin1346.fits outfile=/scratch/kocevski/887272/cmap_588211201_588470401_4FGL_J2325.7+1821_daily_bin1346.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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/887272/ft1_filtered_4FGL_J2325.7+1821_daily_bin1346.fits scfile=/scratch/kocevski/887272/ft2_4FGL_J2325.7+1821_daily_bin1346.fits outfile=/scratch/kocevski/887272/cmap_HighResolution_588211201_588470401_4FGL_J2325.7+1821_daily_bin1346.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/887272/ft1_filtered_4FGL_J2325.7+1821_daily_bin1346.fits evtable="EVENTS" scfile=/scratch/kocevski/887272/ft2_4FGL_J2325.7+1821_daily_bin1346.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/887272/Model_4FGL_J2325.7+1821_daily_bin1346.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/887272/ft1_filtered_4FGL_J2325.7+1821_daily_bin1346.fits.....................!
real 91.42
user 89.79
sys 1.11

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.3167       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10209E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    3.4145       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    105.06       1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.4307       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .38416       1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.7417       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .25453E-01   1.0000         .10000E-03   10000.    
    12 'Prefactor '    25.397       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11220E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.3515       1.0000         .10000E-03   10000.    
    15 'Prefactor '    10.477       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.7798       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    10.399       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1061       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .95905       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=   8135.378     FROM MIGRAD    STATUS=CONVERGED    509 CALLS     2539 TOTAL
                     EDM=   .89E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.3201        3.2316        .39870E-06    .26644E-03
   2  Prefactor     .10000E-03    5.6240       -.38500E-06** at limit **
   3  Prefactor     .10000E-03    4.7685       -.47496E-07** at limit **
   4  norm          3.4143        1.9161        .89940E-08    .49067E-05
   5  Prefactor     .10000E-03    16.278        .54060E-07** at limit **
   6  Prefactor     105.07        21.129        .53017E-07    .43667E-05
   7  Prefactor     6.4373        19.901        .41596E-07    .40212E-05
   8  Prefactor     .38412        .17035        .13332E-07   -.11137E-03
   9  Prefactor     4.7428        7.4854        .14829E-05    .36910E-03
  10  Prefactor     .10000E-03    8.9243        .23974E-06** at limit **
  11  Prefactor     .10064E-03    26.256       -.11230E-04** at limit **
  12  Prefactor     25.398        28.042        .16500E-05    .28266E-03
  13  Prefactor     .10000E-03    81.047       -.69248E-05** at limit **
  14  Prefactor     4.3521        5.4335        .13438E-06   -.13603E-04
  15  Prefactor     10.475        8.0542       -.37351E-06   -.29288E-04
  16  Prefactor     .10000E-03    6.7663        .49298E-06** at limit **
  17  norm          .10000E-03    5.0690        .35532E-06** at limit **
  18  Prefactor     3.7778        8.0790        .56192E-05    .81256E-03
  19  Prefactor     .10000E-03    8.2210       -.63089E-06** at limit **
  20  norm          10.409        16.374        .88256E-06    .83144E-04
  21  Prefactor     .10000E-03    1.4773        .19422E-08** at limit **
  22  Normalizat    1.1060        .22187       -.30184E-05    .37405E-03
  23  Prefactor     .95899        .12065        .55477E-06    .49251E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.32012
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.4143
  Prefactor  = 0.0001
  Prefactor  = 105.073
  Prefactor  = 6.43726
  Prefactor  = 0.384122
  Prefactor  = 4.74276
  Prefactor  = 0.0001
  Prefactor  = 0.000100638
  Prefactor  = 25.3984
  Prefactor  = 0.0001
  Prefactor  = 4.3521
  Prefactor  = 10.4754
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 3.77782
  Prefactor  = 0.0001
  norm       = 10.4091
  Prefactor  = 0.0001
  Normalizat = 1.10602
  Prefactor  = 0.958986
 **********
 **   18 **HESSE 
 **********

 FCN=   8135.378     FROM HESSE     STATUS=OK           368 CALLS     2907 TOTAL
                     EDM=   .83E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.3201        3.2295        .14951E-03   -1.5344    
   2  Prefactor     .10000E-03    5.6461        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    4.7812        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          3.4143        1.9159        .90020E-04   -1.5338    
   5  Prefactor     .10000E-03    16.314        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     105.07        21.111        .39231E-04   -1.3654    
   7  Prefactor     6.4373        19.896        .15827E-03   -1.5200    
   8  Prefactor     .38412        .16771        .22801E-04   -1.5584    
   9  Prefactor     4.7428        7.5289        .92390E-03   -1.5272    
  10  Prefactor     .10000E-03    9.2179        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10064E-03    86.115        .55884E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     25.398        28.146        .79489E-04   -1.4700    
  13  Prefactor     .10000E-03    81.158        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     4.3521        5.4258        .19309E-03   -1.5291    
  15  Prefactor     10.475        8.0558        .12378E-03   -1.5061    
  16  Prefactor     .10000E-03    6.7790        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    5.1172        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     3.7778        8.6429        .10382E-02   -1.5319    
  19  Prefactor     .10000E-03    8.2321        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          10.409        16.375        .12425E-03   -1.5063    
  21  Prefactor     .10000E-03    1.4792        .10706E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.1060        .25919        .33320E-03   -.89559    
  23  Prefactor     .95899        .14302        .20641E-03   -.94109    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.34239e-09
Minuit parameter uncertainties:
  1  3.22966
  2  1.04784e-05
  3  2.43168e-06
  4  1.91598
  5  1.27276e-05
  6  21.1129
  7  19.9165
  8  0.167712
  9  7.53039
  10  1.27545e-05
  11  0.01484
  12  28.1607
  13  0.000146669
  14  5.42637
  15  8.05662
  16  1.95517e-05
  17  1.37073e-05
  18  8.64576
  19  2.95756e-05
  20  16.3825
  21  4.54088e-09
  22  0.25949
  23  0.143075
Done.

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

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  1.000e-04  1.955e-05  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.590e-01  1.431e-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.106e+00  2.595e-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: 6.34e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.91e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/887272/likelihoodResults_588211201_588470401_4FGL_J2325.7+1821_daily_bin1346.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) = 8135.37884075
delta logL = -0.000702716845808

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8135.37814143
delta logL = -3.39733833243e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11310E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4033       1.0000          .0000       10.000    
     3 'Normalizat'    1.1058       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95898       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=   8135.378     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      248 TOTAL
                     EDM=   .67E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10323E-03    6.1197        .18142E-01** at limit **
   2  Index         2.3096        7.8674        .50000        .26173E-04
   3  Normalizat    1.1060        .47218E-02    .33320E-03   -.11908E-04
   4  Prefactor     .95899        .27621E-02    .20641E-03   -.19223E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000103232
  Index      = 2.30958
  Normalizat = 1.10602
  Prefactor  = 0.958986
 **********
 **   18 **HESSE 
 **********

 FCN=   8135.378     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      277 TOTAL
                     EDM=   .67E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10323E-03    60.157        .24331E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3096        5.1742        .50000       -.56816    
   3  Normalizat    1.1060        .14871E-01    .13328E-04   -.89559    
   4  Prefactor     .95899        .86990E-02    .82563E-05   -.94109    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.74125e-09
Minuit parameter uncertainties:
  1  0.0279136
  2  290.942
  3  0.0148711
  4  0.00869904
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/887272': 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) = 8135.37813737
delta logL = 6.58112185192e-07

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  1.032e-04  2.791e-02  1.000e-04  1.000e+04 ( 1.000e-13)
422        Index:  2.310e+00  2.909e+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.590e-01  8.699e-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:  1.106e+00  1.487e-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/887272/cmap_HighResolution_588211201_588470401_4FGL_J2325.7+1821_daily_bin1346.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.91e-03', job_status='DONE', photon_flux_upper_limit='6.34e-08', time_completed='2021-09-29 18:52:29.210327', job_id='887272', GAL2='0.96', fit_tolerance='1e-08', EG2='1.11', EG='1.11', time_epoch_completed='1632966749.21', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='6.58e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1346' AND source_name='4FGL J2325.7+1821' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:52:29 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0073>
Subject: Job 887272: <4FGL_J2325.7+1821_daily_bin1346> in cluster <slac> Done

Job <4FGL_J2325.7+1821_daily_bin1346> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 18:36:00 2021
Job was executed on host(s) <bullet0073>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 18:36:03 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:36:03 2021
Terminated at Wed Sep 29 18:52:29 2021
Results reported at Wed Sep 29 18:52:29 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.7+1821_daily_bin1346 351.436 18.3654 588211201 588470401 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 :                                   748.32 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             246.59 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.

