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


Performing analysis on: 4FGL_J2325.7+1821_daily_bin969
RA = 351.436, Dec = 18.3654
tmin = 490492801, tmax = 490752001
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='885668', job_status='RUN', time_executed='2021-09-29 18:31:02.209396', time_epoch_executed='1632965462.21' WHERE source_name='4FGL J2325.7+1821' and cadence='daily' and bin_id='969'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/885668

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/885668/ft1_4FGL_J2325.7+1821_daily_bin969.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/885668/ft2_4FGL_J2325.7+1821_daily_bin969.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/885668/ft1_4FGL_J2325.7+1821_daily_bin969.fits outfile=/scratch/kocevski/885668/ft1_filteredMKT_4FGL_J2325.7+1821_daily_bin969.fits ra=351.436 dec=18.3654 rad=12.0 tmin=490492801.0 tmax=490752001.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 5.80
user 5.56
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/885668/ft1_filtered_4FGL_J2325.7+1821_daily_bin969.fits" evtable="EVENTS" scfile=/scratch/kocevski/885668/ft2_4FGL_J2325.7+1821_daily_bin969.fits sctable="SC_DATA" outfile=/scratch/kocevski/885668/ltcube_490492801_490752001_4FGL_J2325.7+1821_daily_bin969.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/885668/ft2_4FGL_J2325.7+1821_daily_bin969.fits
.....................!
real 11.94
user 11.59
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/885668/ft1_filtered_4FGL_J2325.7+1821_daily_bin969.fits evtable="EVENTS" scfile=/scratch/kocevski/885668/ft2_4FGL_J2325.7+1821_daily_bin969.fits sctable="SC_DATA" expcube=/scratch/kocevski/885668/ltcube_490492801_490752001_4FGL_J2325.7+1821_daily_bin969.fits outfile=/scratch/kocevski/885668/expmap_490492801_490752001_4FGL_J2325.7+1821_daily_bin969.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/885668/ltcube_490492801_490752001_4FGL_J2325.7+1821_daily_bin969.fits
.....................!
real 191.11
user 186.86
sys 3.88

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/885668/ft1_filtered_4FGL_J2325.7+1821_daily_bin969.fits scfile=/scratch/kocevski/885668/ft2_4FGL_J2325.7+1821_daily_bin969.fits outfile=/scratch/kocevski/885668/cmap_490492801_490752001_4FGL_J2325.7+1821_daily_bin969.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=351.436 yref=18.3654 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/885668/ft1_filtered_4FGL_J2325.7+1821_daily_bin969.fits scfile=/scratch/kocevski/885668/ft2_4FGL_J2325.7+1821_daily_bin969.fits outfile=/scratch/kocevski/885668/cmap_HighResolution_490492801_490752001_4FGL_J2325.7+1821_daily_bin969.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.38
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.4140       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    115.62       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    9.4142       1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.6380       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .99716       1.0000         .10000E-03   10000.    
    13 'Prefactor '    30.781       1.0000         .10000E-03   10000.    
    14 'Prefactor '    9.4709       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    34.095       1.0000         .10000E-03   10000.    
    17 'norm      '    6.8510       1.0000         .10000E-03   10000.    
    18 'Prefactor '    21.040       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    1.3667       1.0000         .10000E-03   10000.    
    21 'Prefactor '    4.5152       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.3797       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .75752       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=   5051.910     FROM MIGRAD    STATUS=CONVERGED    500 CALLS     2489 TOTAL
                     EDM=   .31E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.4134        3.5304       -.65472E-07   -.16168E-03
   2  Prefactor     .10000E-03    6.4265       -.53325E-05** at limit **
   3  Prefactor     .10000E-03    5.3476       -.62319E-07** at limit **
   4  norm          .10000E-03    .85210       -.84175E-08** at limit **
   5  Prefactor     115.63        69.293        .46371E-05    .64392E-05
   6  Prefactor     .10000E-03    6.1112        .24544E-05** at limit **
   7  Prefactor     9.4040        34.377       -.15497E-04   -.41825E-05
   8  Prefactor     4.6379        .51433        .41748E-07    .40101E-03
   9  Prefactor     .10000E-03    28.874        .11849E-05** at limit **
  10  Prefactor     .10000E-03    9.1891       -.33995E-05** at limit **
  11  Prefactor     .10000E-03    19.803       -.71877E-06** at limit **
  12  Prefactor     .88943        24.322       -.32203E-05    .61784E-04
  13  Prefactor     30.781        28.674        .61989E-05    .57468E-04
  14  Prefactor     9.4672        9.5034        .49245E-06   -.29774E-04
  15  Prefactor     .10000E-03    6.8766        .36214E-05** at limit **
  16  Prefactor     34.090        25.424       -.20919E-05    .17529E-04
  17  norm          6.8497        8.7780       -.13408E-06   -.39775E-04
  18  Prefactor     21.032        13.400        .59378E-06   -.26008E-04
  19  Prefactor     .10000E-03    10.030        .30605E-05** at limit **
  20  norm          1.3727        35.085       -.45210E-05   -.17763E-03
  21  Prefactor     4.5144        5.4082        .37056E-08    .21108E-04
  22  Normalizat    1.3804        .29094        .11785E-06    .14821E-03
  23  Prefactor     .75710        .16122        .38172E-08    .19990E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.41338
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 115.631
  Prefactor  = 0.0001
  Prefactor  = 9.40404
  Prefactor  = 4.63786
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.889432
  Prefactor  = 30.7813
  Prefactor  = 9.46719
  Prefactor  = 0.0001
  Prefactor  = 34.09
  norm       = 6.84966
  Prefactor  = 21.0316
  Prefactor  = 0.0001
  norm       = 1.37275
  Prefactor  = 4.51439
  Normalizat = 1.38044
  Prefactor  = 0.757096
 **********
 **   18 **HESSE 
 **********

 FCN=   5051.910     FROM HESSE     STATUS=OK           370 CALLS     2859 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.4134        3.5308        .12963E-03   -1.5338    
   2  Prefactor     .10000E-03    6.4108        .17556E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    5.3555        .16053E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    .85646        .64072E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     115.63        69.311        .18708E-03   -1.3553    
   6  Prefactor     .10000E-03    6.1175        .17149E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     9.4040        34.412        .13061E-03   -1.5095    
   8  Prefactor     4.6379        .51705        .15678E-04   -1.5277    
   9  Prefactor     .10000E-03    29.552        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    9.2413        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    19.920        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .88943        213.35        .65486E-02   -1.5519    
  13  Prefactor     30.781        28.718        .72218E-04   -1.4598    
  14  Prefactor     9.4672        9.4984        .13022E-03   -1.5092    
  15  Prefactor     .10000E-03    6.8710        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     34.090        25.433        .68629E-04   -1.4540    
  17  norm          6.8497        8.7657        .15329E-03   -1.5184    
  18  Prefactor     21.032        13.491        .87321E-04   -1.4790    
  19  Prefactor     .10000E-03    10.021        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          1.3727        36.636        .37319E-03   -1.5474    
  21  Prefactor     4.5144        5.4078        .17599E-03   -1.5283    
  22  Normalizat    1.3804        .34104        .33401E-03   -.81196    
  23  Prefactor     .75710        .18759        .25053E-03   -1.0133    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.04216e-09
Minuit parameter uncertainties:
  1  3.53097
  2  3.67607e-06
  3  1.43266e-06
  4  6.36747e-07
  5  69.3599
  6  3.13955e-06
  7  34.4845
  8  0.517049
  9  5.30846e-06
  10  1.73707e-05
  11  1.03128e-05
  12  27.6493
  13  28.7306
  14  9.49987
  15  3.46624e-06
  16  25.441
  17  8.76737
  18  13.4929
  19  2.31879e-06
  20  14.1924
  21  5.4084
  22  0.341606
  23  0.187748
Done.

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

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  3.409e+01  2.544e+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:  7.571e-01  1.877e-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.380e+00  3.416e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 9.31
Ra Dec: 351.436 18.365
Photon Index (Fixed Index): 2.43 +/- 0.00
Photon Flux (Fixed Index): 7.20e-08 +/- 5.37e-08
Energy Flux (Fixed Index): 2.27e-05 +/- 1.69e-05

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) = 5050.62417647
delta logL = 1.2861517643

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5050.59224557
delta logL = 1.31808266003

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    27.694       1.0000         .10000E-03   10000.    
     2 'Index     '    1.3336       1.0000          .0000       10.000    
     3 'Normalizat'    1.4348       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .74369       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=   5050.592     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      218 TOTAL
                     EDM=   .38E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     27.645        25.746        .19032E-02   -.44383E-05
   2  Index         1.3329        .42121        .20790       -.48491E-04
   3  Normalizat    1.4345        .27642        .74381E-01    .40069E-06
   4  Prefactor     .74377        .15944        .42980E-01   -.13238E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 27.6449
  Index      = 1.3329
  Normalizat = 1.43454
  Prefactor  = 0.743773
 **********
 **   18 **HESSE 
 **********

 FCN=   5050.592     FROM HESSE     STATUS=OK            33 CALLS      251 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     27.645        34.623        .76128E-04   -1.4656    
   2  Index         1.3329        .62389        .83318E-02   -.82334    
   3  Normalizat    1.4345        .31997        .32913E-03   -.79635    
   4  Prefactor     .74377        .18472        .25283E-03   -1.0184    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.38439e-09
Minuit parameter uncertainties:
  1  34.6478
  2  0.627448
  3  0.320422
  4  0.184875
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/885668': 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) = 5050.59224417
delta logL = 1.31808405837

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  2.764e+01  3.465e+01  1.000e-04  1.000e+04 ( 1.000e-13)
422        Index:  1.333e+00  6.274e-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:  7.438e-01  1.849e-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.435e+00  3.204e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.91
Ra Dec: 351.436 18.365
Photon Index (Free Index): 1.33 +/- 0.63
Photon Flux (Free Index): 1.71e-08 +/- 2.23e-08
Energy Flux (Free Index): 9.42e-05 +/- 1.33e-04

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/885668/cmap_HighResolution_490492801_490752001_4FGL_J2325.7+1821_daily_bin969.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.20e-08', energy_flux2='9.42e-05', photon_flux_error='5.37e-08', dlogl='1.32e+00', energy_flux='2.27e-05', photon_flux2='1.71e-08', job_status='DONE', time_completed='2021-09-29 18:40:32.292440', photon_index_error2='0.63', photon_index2='1.33', ts='9.31', fit_tolerance='1e-08', GAL='0.76', photon_index_error='0.00', energy_flux_error2='1.33e-04', EG='1.38', time_epoch_completed='1632966032.29', return_code='0', job_id='885668', GAL2='0.74', EG2='1.43', return_code2='0', energy_flux_error='1.69e-05', photon_flux_error2='2.23e-08', ts2='11.91', photon_index='2.43' WHERE bin_id='969' AND source_name='4FGL J2325.7+1821' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:40:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0089>
Subject: Job 885668: <4FGL_J2325.7+1821_daily_bin969> in cluster <slac> Done

Job <4FGL_J2325.7+1821_daily_bin969> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Wed Sep 29 18:30:45 2021
Job was executed on host(s) <bullet0089>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 18:30:47 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:30:47 2021
Terminated at Wed Sep 29 18:40:33 2021
Results reported at Wed Sep 29 18:40:33 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.7+1821_daily_bin969 351.436 18.3654 490492801 490752001 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 :                                   563.36 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             314.84 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   585 sec.
    Turnaround time :                            588 sec.

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

