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


Performing analysis on: 4FGL_J2325.7+1821_daily_bin1113
RA = 351.436, Dec = 18.3654
tmin = 527817601, tmax = 528076801
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='886896', job_status='RUN', time_executed='2021-09-29 18:37:37.079979', time_epoch_executed='1632965857.08' WHERE source_name='4FGL J2325.7+1821' and cadence='daily' and bin_id='1113'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/886896

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/886896/ft1_4FGL_J2325.7+1821_daily_bin1113.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/886896/ft2_4FGL_J2325.7+1821_daily_bin1113.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/886896/ft1_4FGL_J2325.7+1821_daily_bin1113.fits outfile=/scratch/kocevski/886896/ft1_filteredMKT_4FGL_J2325.7+1821_daily_bin1113.fits ra=351.436 dec=18.3654 rad=12.0 tmin=527817601.0 tmax=528076801.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.50
user 3.28
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/886896/ft2_4FGL_J2325.7+1821_daily_bin1113.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/886896/ft1_filteredMKT_4FGL_J2325.7+1821_daily_bin1113.fits evtable="EVENTS" outfile="/scratch/kocevski/886896/ft1_filtered_4FGL_J2325.7+1821_daily_bin1113.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/886896/ft1_filtered_4FGL_J2325.7+1821_daily_bin1113.fits" evtable="EVENTS" scfile=/scratch/kocevski/886896/ft2_4FGL_J2325.7+1821_daily_bin1113.fits sctable="SC_DATA" outfile=/scratch/kocevski/886896/ltcube_527817601_528076801_4FGL_J2325.7+1821_daily_bin1113.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/886896/ft2_4FGL_J2325.7+1821_daily_bin1113.fits
.....................!
real 11.78
user 11.44
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/886896/ft1_filtered_4FGL_J2325.7+1821_daily_bin1113.fits evtable="EVENTS" scfile=/scratch/kocevski/886896/ft2_4FGL_J2325.7+1821_daily_bin1113.fits sctable="SC_DATA" expcube=/scratch/kocevski/886896/ltcube_527817601_528076801_4FGL_J2325.7+1821_daily_bin1113.fits outfile=/scratch/kocevski/886896/expmap_527817601_528076801_4FGL_J2325.7+1821_daily_bin1113.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/886896/ltcube_527817601_528076801_4FGL_J2325.7+1821_daily_bin1113.fits
.....................!
real 191.00
user 185.57
sys 5.02

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/886896/ft1_filtered_4FGL_J2325.7+1821_daily_bin1113.fits scfile=/scratch/kocevski/886896/ft2_4FGL_J2325.7+1821_daily_bin1113.fits outfile=/scratch/kocevski/886896/cmap_527817601_528076801_4FGL_J2325.7+1821_daily_bin1113.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.52
user 0.39
sys 0.12

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/886896/ft1_filtered_4FGL_J2325.7+1821_daily_bin1113.fits evtable="EVENTS" scfile=/scratch/kocevski/886896/ft2_4FGL_J2325.7+1821_daily_bin1113.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/886896/Model_4FGL_J2325.7+1821_daily_bin1113.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/886896/ft1_filtered_4FGL_J2325.7+1821_daily_bin1113.fits.....................!
real 82.71
user 81.20
sys 1.32

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.6934       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .73850E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.5016       1.0000         .10000E-03   10000.    
     4 'norm      '    1.2849       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10123E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.8239       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.0179       1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.7078       1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.1017       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    11.119       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10158E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .11320E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    5.1493       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .87005E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    30.666       1.0000         .10000E-03   10000.    
    20 'norm      '    18.263       1.0000         .10000E-03   10000.    
    21 'Prefactor '    1.7971       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1634       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .89151       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=   7325.122     FROM MIGRAD    STATUS=CONVERGED    501 CALLS     2575 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.6950        2.5588        .47775E-06    .53122E-03
   2  Prefactor     .10001E-03    6.1624       -.13445E-05** at limit **
   3  Prefactor     1.5106        16.860        .37363E-05    .20856E-03
   4  norm          1.2850        1.5089        .11776E-06    .16350E-03
   5  Prefactor     .10000E-03    15.341        .56006E-06** at limit **
   6  Prefactor     3.8244        9.7086        .69037E-06    .43814E-04
   7  Prefactor     .10000E-03    9.1159       -.52385E-08** at limit **
   8  Prefactor     1.0179        .20117        .11952E-07    .35391E-03
   9  Prefactor     4.7083        5.3722        .39507E-07    .62442E-04
  10  Prefactor     4.1028        7.2442        .59863E-06    .10635E-03
  11  Prefactor     .10000E-03    4.1553        .18237E-07** at limit **
  12  Prefactor     .10000E-03    16.759       -.89251E-06** at limit **
  13  Prefactor     .10000E-03    4.8734        .43828E-08** at limit **
  14  Prefactor     11.115        7.5614        .52611E-07    .63540E-04
  15  Prefactor     .10000E-03    29.366        .19460E-05** at limit **
  16  Prefactor     .10000E-03    45.541        .37669E-06** at limit **
  17  norm          5.1489        10.267        .10254E-05    .65167E-03
  18  Prefactor     .10235E-03    5.6605       -.20595E-05** at limit **
  19  Prefactor     30.662        29.866        .27484E-06    .12634E-03
  20  norm          18.265        14.253        .10597E-07    .48716E-04
  21  Prefactor     1.7974        5.0482        .16221E-05    .21693E-03
  22  Normalizat    1.1634        .21098       -.12027E-05    .23984E-03
  23  Prefactor     .89146        .11918       -.17263E-06    .17207E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.69504
  Prefactor  = 0.000100005
  Prefactor  = 1.51062
  norm       = 1.285
  Prefactor  = 0.000100001
  Prefactor  = 3.82442
  Prefactor  = 0.0001
  Prefactor  = 1.01792
  Prefactor  = 4.70826
  Prefactor  = 4.10279
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 11.1152
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  norm       = 5.14886
  Prefactor  = 0.000102351
  Prefactor  = 30.6624
  norm       = 18.2651
  Prefactor  = 1.79742
  Normalizat = 1.16341
  Prefactor  = 0.891456
 **********
 **   18 **HESSE 
 **********

 FCN=   7325.122     FROM HESSE     STATUS=OK           376 CALLS     2951 TOTAL
                     EDM=   .30E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.6950        2.5155        .15746E-03   -1.5448    
   2  Prefactor     .10001E-03    33.898        .37532E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.5106        16.591        .34941E-03   -1.5462    
   4  norm          1.2850        1.4772        .10909E-03   -1.5481    
   5  Prefactor     .10000E-03    15.460        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.8244        9.6600        .20640E-03   -1.5317    
   7  Prefactor     .10000E-03    9.1247        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.0179        .20094        .16080E-04   -1.5506    
   9  Prefactor     4.7083        5.3724        .18546E-03   -1.5274    
  10  Prefactor     4.1028        7.2260        .19905E-03   -1.5303    
  11  Prefactor     .10000E-03    4.1604        .17038E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    17.035        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    4.8752        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     11.115        7.5583        .12015E-03   -1.5041    
  15  Prefactor     .10000E-03    30.034        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    46.255        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          5.1489        9.3810        .17717E-03   -1.5254    
  18  Prefactor     .10235E-03    74.626        .29499E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     30.662        29.789        .72353E-04   -1.4600    
  20  norm          18.265        14.247        .93720E-04   -1.4853    
  21  Prefactor     1.7974        5.0019        .30905E-03   -1.5440    
  22  Normalizat    1.1634        .24390        .30280E-03   -.87741    
  23  Prefactor     .89146        .14022        .20395E-03   -.96440    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.99459e-08
Minuit parameter uncertainties:
  1  2.51562
  2  0.00082534
  3  10.0158
  4  1.47722
  5  0.000213405
  6  9.66392
  7  1.50167e-06
  8  0.200944
  9  5.37299
  10  7.22753
  11  2.89268e-06
  12  0.000303946
  13  1.62854e-06
  14  7.55894
  15  0.000510063
  16  6.70832e-05
  17  9.38369
  18  0.0265266
  19  29.8029
  20  14.2493
  21  5.00302
  22  0.244141
  23  0.140279
Done.

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

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  1.000e-04  6.708e-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:  8.915e-01  1.403e-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.163e+00  2.441e-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: 9.88e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.65e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/886896/likelihoodResults_527817601_528076801_4FGL_J2325.7+1821_daily_bin1113.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) = 7325.12242931
delta logL = -0.000102955727016

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7325.02581245
delta logL = 0.0965139065602

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .98012       1.0000         .10000E-03   10000.    
     2 'Index     '    3.7694       1.0000          .0000       10.000    
     3 'Normalizat'    1.1323       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90165       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7325.026     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      307 TOTAL
                     EDM=   .49E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .98700        57.700        .18257E-03   -.97374E-03
   2  Index         3.7673        6.8634        .41629E-02   -.10016E-03
   3  Normalizat    1.1323        .24192        .30632E-03   -.21993E-03
   4  Prefactor     .90163        .14130        .20290E-03   -.12831E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.986998
  Index      = 3.76734
  Normalizat = 1.13228
  Prefactor  = 0.90163
 **********
 **   18 **HESSE 
 **********

 FCN=   7325.026     FROM HESSE     STATUS=OK            23 CALLS      330 TOTAL
                     EDM=   .52E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .98700        7.7335        .73027E-05   -1.5509    
   2  Index         3.7673        2.4479        .16652E-03   -.24910    
   3  Normalizat    1.1323        .24178        .12253E-04   -.88722    
   4  Prefactor     .90163        .14140        .81159E-05   -.96084    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.16026e-10
Minuit parameter uncertainties:
  1  5.52625
  2  2.56615
  3  0.242019
  4  0.141461
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/886896': 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): 0
logL (Free Index) = 7325.02581119
delta logL = 0.0965151604214

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  9.870e-01  5.526e+00  1.000e-04  1.000e+04 ( 1.000e-13)
422        Index:  3.767e+00  2.566e+00  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.016e-01  1.415e-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.132e+00  2.420e-01  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/886896/cmap_HighResolution_527817601_528076801_4FGL_J2325.7+1821_daily_bin1113.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.65e-03', job_status='DONE', photon_flux_upper_limit='9.88e-08', time_completed='2021-09-29 18:49:59.407946', job_id='886896', GAL2='0.90', fit_tolerance='1e-08', EG2='1.13', EG='1.16', time_epoch_completed='1632966599.41', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='9.65e-02', ts2='0.22', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1113' AND source_name='4FGL J2325.7+1821' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:49:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0075>
Subject: Job 886896: <4FGL_J2325.7+1821_daily_bin1113> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.7+1821_daily_bin1113 351.436 18.3654 527817601 528076801 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 :                                   733.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             298.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   874 sec.
    Turnaround time :                            876 sec.

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

