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


Performing analysis on: 4FGL_J2325.7+1821_daily_bin734
RA = 351.436, Dec = 18.3654
tmin = 429580801, tmax = 429840001
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='884771', job_status='RUN', time_executed='2021-09-29 18:26:39.175613', time_epoch_executed='1632965199.18' WHERE source_name='4FGL J2325.7+1821' and cadence='daily' and bin_id='734'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/884771

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/884771/ft1_4FGL_J2325.7+1821_daily_bin734.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/884771/ft2_4FGL_J2325.7+1821_daily_bin734.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/884771/ft1_4FGL_J2325.7+1821_daily_bin734.fits outfile=/scratch/kocevski/884771/ft1_filteredMKT_4FGL_J2325.7+1821_daily_bin734.fits ra=351.436 dec=18.3654 rad=12.0 tmin=429580801.0 tmax=429840001.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 6.26
user 5.94
sys 0.29

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/884771/ft1_filtered_4FGL_J2325.7+1821_daily_bin734.fits" evtable="EVENTS" scfile=/scratch/kocevski/884771/ft2_4FGL_J2325.7+1821_daily_bin734.fits sctable="SC_DATA" outfile=/scratch/kocevski/884771/ltcube_429580801_429840001_4FGL_J2325.7+1821_daily_bin734.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/884771/ft2_4FGL_J2325.7+1821_daily_bin734.fits
.....................!
real 12.32
user 11.99
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/884771/ft1_filtered_4FGL_J2325.7+1821_daily_bin734.fits evtable="EVENTS" scfile=/scratch/kocevski/884771/ft2_4FGL_J2325.7+1821_daily_bin734.fits sctable="SC_DATA" expcube=/scratch/kocevski/884771/ltcube_429580801_429840001_4FGL_J2325.7+1821_daily_bin734.fits outfile=/scratch/kocevski/884771/expmap_429580801_429840001_4FGL_J2325.7+1821_daily_bin734.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/884771/ltcube_429580801_429840001_4FGL_J2325.7+1821_daily_bin734.fits
.....................!
real 189.73
user 184.82
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/884771/ft1_filtered_4FGL_J2325.7+1821_daily_bin734.fits scfile=/scratch/kocevski/884771/ft2_4FGL_J2325.7+1821_daily_bin734.fits outfile=/scratch/kocevski/884771/cmap_429580801_429840001_4FGL_J2325.7+1821_daily_bin734.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/884771/ft1_filtered_4FGL_J2325.7+1821_daily_bin734.fits scfile=/scratch/kocevski/884771/ft2_4FGL_J2325.7+1821_daily_bin734.fits outfile=/scratch/kocevski/884771/cmap_HighResolution_429580801_429840001_4FGL_J2325.7+1821_daily_bin734.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.53
user 0.37
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.4910       1.0000         .10000E-03   10000.    
     2 'Prefactor '    15.181       1.0000         .10000E-03   10000.    
     3 'Prefactor '    10.630       1.0000         .10000E-03   10000.    
     4 'norm      '    1.4245       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10648E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    14.834       1.0000         .10000E-03   10000.    
     8 'Prefactor '    13.604       1.0000         .10000E-03   10000.    
     9 'Prefactor '    6.2693       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10234E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    14.019       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    8.1816       1.0000         .10000E-03   10000.    
    14 'Prefactor '    17.437       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10852E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    11.650       1.0000         .10000E-03   10000.    
    18 'Prefactor '    15.602       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10147E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    4.3833       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .82334       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .89306       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=   6135.937     FROM MIGRAD    STATUS=CONVERGED    496 CALLS     2507 TOTAL
                     EDM=   .93E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.4915        6.7696       -.20773E-05    .25874E-03
   2  Prefactor     15.181        18.391       -.69316E-07    .63075E-04
   3  Prefactor     10.630        12.953       -.13634E-06    .32824E-04
   4  norm          1.4237        2.3782       -.18537E-06   -.42386E-03
   5  Prefactor     .10000E-03    103.16       -.11595E-05** at limit **
   6  Prefactor     .10000E-03    8.7868       -.14861E-05** at limit **
   7  Prefactor     14.826        49.078       -.11549E-04    .66469E-04
   8  Prefactor     13.604        .85666        .33087E-07   -.23974E-03
   9  Prefactor     6.2684        9.2507       -.16639E-05   -.99386E-03
  10  Prefactor     .10000E-03    15.820        .13356E-05** at limit **
  11  Prefactor     14.019        19.644       -.65432E-07   -.24628E-04
  12  Prefactor     .10000E-03    31.546        .47311E-06** at limit **
  13  Prefactor     8.1775        43.453       -.63894E-05    .24335E-04
  14  Prefactor     17.440        12.217       -.19331E-07   -.36040E-04
  15  Prefactor     .10000E-03    9.1070        .21051E-05** at limit **
  16  Prefactor     .10000E-03    10.686       -.26222E-06** at limit **
  17  norm          11.640        19.603       -.13951E-05   -.44664E-04
  18  Prefactor     15.602        19.218        .82637E-06   -.75374E-04
  19  Prefactor     .10000E-03    19.070       -.15295E-05** at limit **
  20  norm          .10000E-03    10.671       -.38900E-06** at limit **
  21  Prefactor     4.3854        12.346       -.62344E-06   -.60731E-04
  22  Normalizat    .82300        .33324        .20798E-05   -.81234E-05
  23  Prefactor     .89327        .17650        .71659E-06    .15361E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 8.4915
  Prefactor  = 15.1806
  Prefactor  = 10.6303
  norm       = 1.42367
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.8265
  Prefactor  = 13.6036
  Prefactor  = 6.26839
  Prefactor  = 0.0001
  Prefactor  = 14.0187
  Prefactor  = 0.0001
  Prefactor  = 8.17752
  Prefactor  = 17.4396
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 11.6399
  Prefactor  = 15.6021
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 4.38536
  Normalizat = 0.822996
  Prefactor  = 0.893267
 **********
 **   18 **HESSE 
 **********

 FCN=   6135.937     FROM HESSE     STATUS=OK           376 CALLS     2883 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.4915        6.7116        .13757E-03   -1.5125    
   2  Prefactor     15.181        18.361        .10280E-03   -1.4929    
   3  Prefactor     10.630        12.946        .12289E-03   -1.5056    
   4  norm          1.4237        2.3561        .15230E-03   -1.5469    
   5  Prefactor     .10000E-03    103.53        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    8.7781        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     14.826        48.189        .10399E-03   -1.4938    
   8  Prefactor     13.604        .85701        .17032E-04   -1.4970    
   9  Prefactor     6.2684        10.156        .80160E-03   -1.5207    
  10  Prefactor     .10000E-03    16.239        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     14.019        19.637        .10697E-03   -1.4959    
  12  Prefactor     .10000E-03    31.639        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     8.1775        43.247        .14016E-03   -1.5136    
  14  Prefactor     17.440        12.222        .95915E-04   -1.4873    
  15  Prefactor     .10000E-03    9.0667        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    10.688        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          11.640        19.514        .11737E-03   -1.5025    
  18  Prefactor     15.602        19.215        .10140E-03   -1.4918    
  19  Prefactor     .10000E-03    19.059        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    10.693        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     4.3854        12.360        .19237E-03   -1.5289    
  22  Normalizat    .82300        .38751        .48821E-03   -.99221    
  23  Prefactor     .89327        .20722        .26679E-03   -.96377    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.85957e-09
Minuit parameter uncertainties:
  1  6.71216
  2  18.368
  3  12.949
  4  2.35626
  5  0.000143071
  6  4.48848e-05
  7  48.3159
  8  0.857008
  9  10.1589
  10  8.34452e-05
  11  19.6456
  12  2.52371e-05
  13  37.6536
  14  12.2236
  15  6.41443e-05
  16  4.00453e-06
  17  19.5243
  18  19.2225
  19  5.81557e-05
  20  3.38925e-06
  21  12.3668
  22  0.38882
  23  0.207408
Done.

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

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  1.000e-04  4.005e-06  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.933e-01  2.074e-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:  8.230e-01  3.888e-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: 1.13e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.77e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/884771/likelihoodResults_429580801_429840001_4FGL_J2325.7+1821_daily_bin734.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6135.9373184
delta logL = -0.000443757049652

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6135.93687463
delta logL = 8.83028405951e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4220       1.0000          .0000       10.000    
     3 'Normalizat'    .82298       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89328       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=   6135.937     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      238 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    452.57        .18142E-01** at limit **
   2  Index         1.9428        5.9527        .95279E-01   -.16585E-07
   3  Normalizat    .82300        .50225E-01    .48820E-03    .18606E-04
   4  Prefactor     .89327        .28771E-01    .26679E-03    .37968E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.94282
  Normalizat = 0.822997
  Prefactor  = 0.893266
 **********
 **   18 **HESSE 
 **********

 FCN=   6135.937     FROM HESSE     STATUS=OK            23 CALLS      261 TOTAL
                     EDM=   .52E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    11.987        .26424E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9428        5.0686        .38112E-02   -.65787    
   3  Normalizat    .82300        .35299        .19528E-04   -.99221    
   4  Prefactor     .89327        .20261        .10671E-04   -.96377    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.17665e-12
Minuit parameter uncertainties:
  1  3.9918e-07
  2  454.826
  3  0.353982
  4  0.20278
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/884771': 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) = 6135.93687415
delta logL = 4.87632860313e-07

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  1.000e-04  3.992e-07  1.000e-04  1.000e+04 ( 1.000e-13)
422        Index:  1.943e+00  4.548e+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:  8.933e-01  2.028e-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:  8.230e-01  3.540e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/884771/cmap_HighResolution_429580801_429840001_4FGL_J2325.7+1821_daily_bin734.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.77e-03', job_status='DONE', photon_flux_upper_limit='1.13e-07', time_completed='2021-09-29 18:38:20.422097', job_id='884771', GAL2='0.89', fit_tolerance='1e-08', EG2='0.82', EG='0.82', time_epoch_completed='1632965900.42', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='4.88e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='734' AND source_name='4FGL J2325.7+1821' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:38:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0278>
Subject: Job 884771: <4FGL_J2325.7+1821_daily_bin734> in cluster <slac> Done

Job <4FGL_J2325.7+1821_daily_bin734> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 18:26:30 2021
Job was executed on host(s) <bullet0278>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 18:26:31 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:26:31 2021
Terminated at Wed Sep 29 18:38:21 2021
Results reported at Wed Sep 29 18:38:21 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.7+1821_daily_bin734 351.436 18.3654 429580801 429840001 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.39 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             360.87 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   709 sec.
    Turnaround time :                            711 sec.

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

