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


Performing analysis on: 4FGL_J2325.7+1821_daily_bin595
RA = 351.436, Dec = 18.3654
tmin = 393552001, tmax = 393811201
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='884632', job_status='RUN', time_executed='2021-09-29 18:26:27.606883', time_epoch_executed='1632965187.61' WHERE source_name='4FGL J2325.7+1821' and cadence='daily' and bin_id='595'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/884632

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/884632/ft1_4FGL_J2325.7+1821_daily_bin595.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/884632/ft2_4FGL_J2325.7+1821_daily_bin595.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/884632/ft1_4FGL_J2325.7+1821_daily_bin595.fits outfile=/scratch/kocevski/884632/ft1_filteredMKT_4FGL_J2325.7+1821_daily_bin595.fits ra=351.436 dec=18.3654 rad=12.0 tmin=393552001.0 tmax=393811201.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.47
user 3.25
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/884632/ft1_filtered_4FGL_J2325.7+1821_daily_bin595.fits" evtable="EVENTS" scfile=/scratch/kocevski/884632/ft2_4FGL_J2325.7+1821_daily_bin595.fits sctable="SC_DATA" outfile=/scratch/kocevski/884632/ltcube_393552001_393811201_4FGL_J2325.7+1821_daily_bin595.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/884632/ft2_4FGL_J2325.7+1821_daily_bin595.fits
.....................!
real 12.22
user 11.86
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/884632/ft1_filtered_4FGL_J2325.7+1821_daily_bin595.fits evtable="EVENTS" scfile=/scratch/kocevski/884632/ft2_4FGL_J2325.7+1821_daily_bin595.fits sctable="SC_DATA" expcube=/scratch/kocevski/884632/ltcube_393552001_393811201_4FGL_J2325.7+1821_daily_bin595.fits outfile=/scratch/kocevski/884632/expmap_393552001_393811201_4FGL_J2325.7+1821_daily_bin595.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/884632/ltcube_393552001_393811201_4FGL_J2325.7+1821_daily_bin595.fits
.....................!
real 190.85
user 185.38
sys 5.15

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/884632/ft1_filtered_4FGL_J2325.7+1821_daily_bin595.fits scfile=/scratch/kocevski/884632/ft2_4FGL_J2325.7+1821_daily_bin595.fits outfile=/scratch/kocevski/884632/cmap_393552001_393811201_4FGL_J2325.7+1821_daily_bin595.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.55
user 0.35
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/884632/ft1_filtered_4FGL_J2325.7+1821_daily_bin595.fits scfile=/scratch/kocevski/884632/ft2_4FGL_J2325.7+1821_daily_bin595.fits outfile=/scratch/kocevski/884632/cmap_HighResolution_393552001_393811201_4FGL_J2325.7+1821_daily_bin595.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=351.436 yref=18.3654 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/884632/ft1_filtered_4FGL_J2325.7+1821_daily_bin595.fits evtable="EVENTS" scfile=/scratch/kocevski/884632/ft2_4FGL_J2325.7+1821_daily_bin595.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/884632/Model_4FGL_J2325.7+1821_daily_bin595.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/884632/ft1_filtered_4FGL_J2325.7+1821_daily_bin595.fits.....................!
real 88.33
user 86.70
sys 1.47

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.7375       1.0000         .10000E-03   10000.    
     2 'Prefactor '    9.9219       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10064E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    1.9375       1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.9704       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.6903       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    17.382       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10237E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10071E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    24.585       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.4086       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    11.863       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10077E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .11170E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    22.009       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .88988       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0743       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=   7761.274     FROM MIGRAD    STATUS=CONVERGED    502 CALLS     2144 TOTAL
                     EDM=   .39E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7402        3.6499        .24306E-07   -.40458E-03
   2  Prefactor     9.9100        13.792        .20727E-06    .16621E-04
   3  Prefactor     .10000E-03    4.9382        .12125E-06** at limit **
   4  norm          1.9372        1.3785       -.20798E-08    .20922E-04
   5  Prefactor     4.9723        82.535        .34302E-05    .19351E-04
   6  Prefactor     .10000E-03    4.2520       -.84612E-07** at limit **
   7  Prefactor     .10000E-03    12.013       -.33097E-05** at limit **
   8  Prefactor     1.6902        .26824       -.94203E-08    .40298E-03
   9  Prefactor     .10000E-03    2.6689       -.49184E-08** at limit **
  10  Prefactor     17.385        10.979       -.59762E-07   -.55759E-04
  11  Prefactor     .10000E-03    19.113        .12224E-05** at limit **
  12  Prefactor     .10000E-03    8.4972       -.10232E-05** at limit **
  13  Prefactor     24.581        22.057       -.12353E-05   -.13152E-03
  14  Prefactor     .10000E-03    1.9588       -.23680E-08** at limit **
  15  Prefactor     6.4092        11.128        .19361E-05   -.55415E-03
  16  Prefactor     .10000E-03    10.161        .34565E-05** at limit **
  17  norm          11.864        11.260       -.62513E-06   -.49229E-04
  18  Prefactor     .10000E-03    3.4341        .40858E-07** at limit **
  19  Prefactor     .10000E-03    42.650       -.82189E-06** at limit **
  20  norm          22.009        16.580        .31308E-08   -.12772E-04
  21  Prefactor     .10000E-03    1.7932       -.13621E-07** at limit **
  22  Normalizat    .88979        .21634       -.21078E-07   -.38112E-04
  23  Prefactor     1.0743        .12556       -.48135E-07   -.33509E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.74024
  Prefactor  = 9.90996
  Prefactor  = 0.0001
  norm       = 1.93724
  Prefactor  = 4.97234
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 1.69025
  Prefactor  = 0.0001
  Prefactor  = 17.3846
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 24.5808
  Prefactor  = 0.0001
  Prefactor  = 6.4092
  Prefactor  = 0.000100001
  norm       = 11.8643
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 22.0091
  Prefactor  = 0.0001
  Normalizat = 0.889794
  Prefactor  = 1.0743
 **********
 **   18 **HESSE 
 **********

 FCN=   7761.274     FROM HESSE     STATUS=OK           366 CALLS     2510 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7402        3.6849        .21078E-03   -1.5444    
   2  Prefactor     9.9100        13.602        .12721E-03   -1.5078    
   3  Prefactor     .10000E-03    4.9457        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.9372        1.3794        .85028E-04   -1.5430    
   5  Prefactor     4.9723        83.352        .18039E-03   -1.5262    
   6  Prefactor     .10000E-03    4.2769        .17738E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    12.339        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.6902        .26959        .16223E-04   -1.5448    
   9  Prefactor     .10000E-03    2.6723        .14056E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     17.385        10.991        .96065E-04   -1.4874    
  11  Prefactor     .10000E-03    19.407        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    8.5290        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     24.581        22.179        .80789E-04   -1.4716    
  14  Prefactor     .10000E-03    1.9637        .12039E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     6.4092        15.313        .79273E-03   -1.5202    
  16  Prefactor     .10000E-03    10.497        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          11.864        11.840        .11631E-03   -1.5019    
  18  Prefactor     .10000E-03    3.4491        .15925E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    43.216        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          22.009        16.586        .85380E-04   -1.4769    
  21  Prefactor     .10000E-03    1.7964        .11520E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .88979        .24660        .36187E-03   -.96820    
  23  Prefactor     1.0743        .14406        .20041E-03   -.90292    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.48687e-09
Minuit parameter uncertainties:
  1  3.68538
  2  13.606
  3  3.47695e-06
  4  1.37947
  5  40.7829
  6  3.79867e-06
  7  0.00024338
  8  0.269591
  9  1.41189e-07
  10  10.9925
  11  0.00010636
  12  5.81844e-05
  13  22.1864
  14  4.38378e-07
  15  15.3224
  16  0.000230847
  17  11.8424
  18  2.34581e-06
  19  0.000108902
  20  16.5896
  21  3.19023e-07
  22  0.24691
  23  0.144109
Done.

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

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  1.000e-04  2.308e-04  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:  1.074e+00  1.441e-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.898e-01  2.469e-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: 7.66e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.93e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/884632/likelihoodResults_393552001_393811201_4FGL_J2325.7+1821_daily_bin595.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) = 7761.27444183
delta logL = -0.000453982594081

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7761.27398802
delta logL = -1.68398401001e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10150E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4380       1.0000          .0000       10.000    
     3 'Normalizat'    .88969       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0744       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=   7761.271     FROM MIGRAD    STATUS=CONVERGED    195 CALLS      349 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .52682E-01    2.5278        .21758E-01   -.14889E-02
   2  Index         4.3482        1.0298        .50000        .13550E-04
   3  Normalizat    .88379        .12879E-01    .36187E-03    .17653E-03
   4  Prefactor     1.0764        .78149E-02    .20041E-03    .33570E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0526817
  Index      = 4.34825
  Normalizat = 0.883787
  Prefactor  = 1.07642
 **********
 **   18 **HESSE 
 **********

 FCN=   7761.271     FROM HESSE     STATUS=OK            31 CALLS      380 TOTAL
                     EDM=   .43E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .52682E-01    2.4997        .11349E-02   -1.5754    
   2  Index         4.3482        6.9932        .74685E-02   -.13072    
   3  Normalizat    .88379        .24635        .14475E-04   -.97032    
   4  Prefactor     1.0764        .14500        .40082E-04   -.90224    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.34159e-08
Minuit parameter uncertainties:
  1  0.725114
  2  5.24153
  3  0.246667
  4  0.145051
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/884632': 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) = 7761.27089496
delta logL = 0.00309289133111

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  5.268e-02  7.251e-01  1.000e-04  1.000e+04 ( 1.000e-13)
422        Index:  4.348e+00  5.242e+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:  1.076e+00  1.451e-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.838e-01  2.467e-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/884632/cmap_HighResolution_393552001_393811201_4FGL_J2325.7+1821_daily_bin595.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.93e-03', job_status='DONE', photon_flux_upper_limit='7.66e-08', time_completed='2021-09-29 18:38:19.469496', job_id='884632', GAL2='1.08', fit_tolerance='1e-08', EG2='0.88', EG='0.89', time_epoch_completed='1632965899.47', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='3.09e-03', ts2='0.01', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='595' AND source_name='4FGL J2325.7+1821' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:38:19 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0078>
Subject: Job 884632: <4FGL_J2325.7+1821_daily_bin595> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.7+1821_daily_bin595 351.436 18.3654 393552001 393811201 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 :                                   707.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             314.87 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   725 sec.
    Turnaround time :                            727 sec.

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

