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


Performing analysis on: 4FGL_J2325.7+1821_daily_bin453
RA = 351.436, Dec = 18.3654
tmin = 356745601, tmax = 357004801
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='883228', job_status='RUN', time_executed='2021-09-29 18:20:57.878572', time_epoch_executed='1632964857.88' WHERE source_name='4FGL J2325.7+1821' and cadence='daily' and bin_id='453'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/883228

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/883228/ft1_4FGL_J2325.7+1821_daily_bin453.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/883228/ft2_4FGL_J2325.7+1821_daily_bin453.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/883228/ft1_4FGL_J2325.7+1821_daily_bin453.fits outfile=/scratch/kocevski/883228/ft1_filteredMKT_4FGL_J2325.7+1821_daily_bin453.fits ra=351.436 dec=18.3654 rad=12.0 tmin=356745601.0 tmax=357004801.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.32
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/883228/ft2_4FGL_J2325.7+1821_daily_bin453.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/883228/ft1_filteredMKT_4FGL_J2325.7+1821_daily_bin453.fits evtable="EVENTS" outfile="/scratch/kocevski/883228/ft1_filtered_4FGL_J2325.7+1821_daily_bin453.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.51
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/883228/ft1_filtered_4FGL_J2325.7+1821_daily_bin453.fits" evtable="EVENTS" scfile=/scratch/kocevski/883228/ft2_4FGL_J2325.7+1821_daily_bin453.fits sctable="SC_DATA" outfile=/scratch/kocevski/883228/ltcube_356745601_357004801_4FGL_J2325.7+1821_daily_bin453.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/883228/ft2_4FGL_J2325.7+1821_daily_bin453.fits
.....................!
real 11.83
user 11.43
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/883228/ft1_filtered_4FGL_J2325.7+1821_daily_bin453.fits evtable="EVENTS" scfile=/scratch/kocevski/883228/ft2_4FGL_J2325.7+1821_daily_bin453.fits sctable="SC_DATA" expcube=/scratch/kocevski/883228/ltcube_356745601_357004801_4FGL_J2325.7+1821_daily_bin453.fits outfile=/scratch/kocevski/883228/expmap_356745601_357004801_4FGL_J2325.7+1821_daily_bin453.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/883228/ltcube_356745601_357004801_4FGL_J2325.7+1821_daily_bin453.fits
.....................!
real 189.97
user 184.98
sys 4.60

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/883228/ft1_filtered_4FGL_J2325.7+1821_daily_bin453.fits scfile=/scratch/kocevski/883228/ft2_4FGL_J2325.7+1821_daily_bin453.fits outfile=/scratch/kocevski/883228/cmap_356745601_357004801_4FGL_J2325.7+1821_daily_bin453.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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/883228/ft1_filtered_4FGL_J2325.7+1821_daily_bin453.fits scfile=/scratch/kocevski/883228/ft2_4FGL_J2325.7+1821_daily_bin453.fits outfile=/scratch/kocevski/883228/cmap_HighResolution_356745601_357004801_4FGL_J2325.7+1821_daily_bin453.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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/883228/ft1_filtered_4FGL_J2325.7+1821_daily_bin453.fits evtable="EVENTS" scfile=/scratch/kocevski/883228/ft2_4FGL_J2325.7+1821_daily_bin453.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/883228/Model_4FGL_J2325.7+1821_daily_bin453.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/883228/ft1_filtered_4FGL_J2325.7+1821_daily_bin453.fits....................!
real 82.84
user 81.47
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    9.1066       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    2.8808       1.0000         .10000E-03   10000.    
     5 'Prefactor '    20.502       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    25.843       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .56544E-01   1.0000         .10000E-03   10000.    
     9 'Prefactor '    26.739       1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.4972       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10191E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10061E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10178E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .43236E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    12.983       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .24330E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    6.3840       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1707       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .87849       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=   7478.550     FROM MIGRAD    STATUS=CONVERGED    521 CALLS     2216 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.1252        .28778E-06** at limit **
   2  Prefactor     9.1091        8.6777       -.52881E-06    .34051E-04
   3  Prefactor     .10000E-03    4.6022       -.51763E-06** at limit **
   4  norm          2.8808        1.6239        .47572E-08    .36039E-04
   5  Prefactor     20.531        33.217        .17395E-04   -.11548E-03
   6  Prefactor     .10000E-03    2.8566        .24514E-07** at limit **
   7  Prefactor     25.848        18.125       -.40021E-05    .30222E-03
   8  Prefactor     .56359E-01    .10466       -.30643E-06   -.69632E-02
   9  Prefactor     26.744        14.010       -.14320E-05    .17693E-03
  10  Prefactor     3.4981        6.3630       -.38643E-06   -.18057E-03
  11  Prefactor     .10000E-03    23.203       -.19689E-09** at limit **
  12  Prefactor     .10000E-03    6.5004       -.34130E-05** at limit **
  13  Prefactor     .10000E-03    6.4226        .29638E-05** at limit **
  14  Prefactor     .10000E-03    3.9871       -.42406E-06** at limit **
  15  Prefactor     .10000E-03    4.2092        .10182E-06** at limit **
  16  Prefactor     .10000E-03    10.073       -.23997E-06** at limit **
  17  norm          .10005E-03    7.9241       -.35725E-05** at limit **
  18  Prefactor     12.956        8.9008        .18179E-05    .13919E-02
  19  Prefactor     .10002E-03    18.575        .78889E-06** at limit **
  20  norm          6.3846        13.410       -.11625E-05    .59406E-05
  21  Prefactor     .10000E-03    2.2893       -.10993E-06** at limit **
  22  Normalizat    1.1703        .19247       -.77529E-06    .55920E-03
  23  Prefactor     .87857        .11069       -.45727E-07    .54084E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 9.10908
  Prefactor  = 0.0001
  norm       = 2.88077
  Prefactor  = 20.5315
  Prefactor  = 0.0001
  Prefactor  = 25.8481
  Prefactor  = 0.0563589
  Prefactor  = 26.7445
  Prefactor  = 3.49812
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100045
  Prefactor  = 12.9562
  Prefactor  = 0.00010002
  norm       = 6.38463
  Prefactor  = 0.0001
  Normalizat = 1.17032
  Prefactor  = 0.878571
 **********
 **   18 **HESSE 
 **********

 FCN=   7478.550     FROM HESSE     STATUS=OK           366 CALLS     2582 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.1419        .89465E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     9.1091        8.6859        .13281E-03   -1.5104    
   3  Prefactor     .10000E-03    4.6099        .18115E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          2.8808        1.6226        .80491E-04   -1.5368    
   5  Prefactor     20.531        33.212        .88458E-04   -1.4801    
   6  Prefactor     .10000E-03    2.8599        .14273E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     25.848        17.760        .78802E-04   -1.4691    
   8  Prefactor     .56359E-01    .10688        .33837E-03   -1.5661    
   9  Prefactor     26.744        14.014        .77472E-04   -1.4673    
  10  Prefactor     3.4981        6.3414        .21620E-03   -1.5334    
  11  Prefactor     .10000E-03    23.646        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    6.4844        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    6.4106        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    4.0530        .16851E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    4.2169        .17319E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    10.118        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10005E-03    23.233        .40682E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     12.956        8.1312        .11117E-03   -1.4988    
  19  Prefactor     .10002E-03    132.08        .69869E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          6.3846        13.417        .15885E-03   -1.5203    
  21  Prefactor     .10000E-03    2.2964        .12777E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.1703        .22342        .29434E-03   -.87525    
  23  Prefactor     .87857        .12950        .19599E-03   -.96894    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.11399e-09
Minuit parameter uncertainties:
  1  1.31751e-06
  2  8.6871
  3  1.23126e-05
  4  1.62265
  5  33.2418
  6  3.67603e-06
  7  17.7638
  8  0.106882
  9  14.0154
  10  6.34257
  11  9.48307e-05
  12  6.74263e-05
  13  4.80496e-05
  14  1.93929e-05
  15  4.36471e-06
  16  1.87735e-05
  17  0.00205659
  18  8.13187
  19  0.00326738
  20  13.4232
  21  3.05374e-06
  22  0.223603
  23  0.129549
Done.

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

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  1.000e-04  1.877e-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.786e-01  1.295e-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.170e+00  2.236e-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.87e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.32e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/883228/likelihoodResults_356745601_357004801_4FGL_J2325.7+1821_daily_bin453.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) = 7478.54999079
delta logL = -0.000471024407489

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7478.54951978
delta logL = -1.41308191814e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4293       1.0000          .0000       10.000    
     3 'Normalizat'    1.1703       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87859       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=   7478.550     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      207 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2032.0        .90712E-02** at limit **
   2  Index         2.4270        5.2942        .50000        .19564E-05
   3  Normalizat    1.1703        .12525        .66533E-01    .56441E-04
   4  Prefactor     .87857        .73017E-01    .44732E-01    .56521E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.42696
  Normalizat = 1.17032
  Prefactor  = 0.878572
 **********
 **   18 **HESSE 
 **********

 FCN=   7478.550     FROM HESSE     STATUS=OK            33 CALLS      240 TOTAL
                     EDM=   .39E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    163.69        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4270        8.7648        .50000       -.54055    
   3  Normalizat    1.1703        .21419        .29434E-03   -.87525    
   4  Prefactor     .87857        .12632        .19599E-03   -.96894    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.89847e-11
Minuit parameter uncertainties:
  1  3.8575e-05
  2  17.319
  3  0.21435
  4  0.126364
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/883228': 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) = 7478.54951976
delta logL = 2.44563125307e-09

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  1.000e-04  3.857e-05  1.000e-04  1.000e+04 ( 1.000e-13)
422        Index:  2.427e+00  1.732e+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.786e-01  1.264e-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.170e+00  2.144e-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/883228/cmap_HighResolution_356745601_357004801_4FGL_J2325.7+1821_daily_bin453.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.32e-03', job_status='DONE', photon_flux_upper_limit='6.87e-08', time_completed='2021-09-29 18:32:51.868124', job_id='883228', GAL2='0.88', fit_tolerance='1e-08', EG2='1.17', EG='1.17', time_epoch_completed='1632965571.87', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='2.45e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='453' AND source_name='4FGL J2325.7+1821' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:32:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0079>
Subject: Job 883228: <4FGL_J2325.7+1821_daily_bin453> in cluster <slac> Done

Job <4FGL_J2325.7+1821_daily_bin453> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep 29 18:20:39 2021
Job was executed on host(s) <bullet0079>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 18:20:40 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:20:40 2021
Terminated at Wed Sep 29 18:32:52 2021
Results reported at Wed Sep 29 18:32:52 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.7+1821_daily_bin453 351.436 18.3654 356745601 357004801 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 :                                   685.22 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             326.91 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   732 sec.
    Turnaround time :                            733 sec.

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

