/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 129 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_bin1484
RA = 351.436, Dec = 18.3654
tmin = 623980801, tmax = 624240001
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='888415', job_status='RUN', time_executed='2021-09-29 18:42:40.859210', time_epoch_executed='1632966160.86' WHERE source_name='4FGL J2325.7+1821' and cadence='daily' and bin_id='1484'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/888415

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/888415/ft1_4FGL_J2325.7+1821_daily_bin1484.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/888415/ft2_4FGL_J2325.7+1821_daily_bin1484.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/888415/ft1_4FGL_J2325.7+1821_daily_bin1484.fits outfile=/scratch/kocevski/888415/ft1_filteredMKT_4FGL_J2325.7+1821_daily_bin1484.fits ra=351.436 dec=18.3654 rad=12.0 tmin=623980801.0 tmax=624240001.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 4.02
user 3.79
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/888415/ft1_filtered_4FGL_J2325.7+1821_daily_bin1484.fits" evtable="EVENTS" scfile=/scratch/kocevski/888415/ft2_4FGL_J2325.7+1821_daily_bin1484.fits sctable="SC_DATA" outfile=/scratch/kocevski/888415/ltcube_623980801_624240001_4FGL_J2325.7+1821_daily_bin1484.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/888415/ft2_4FGL_J2325.7+1821_daily_bin1484.fits
.....................!
real 12.08
user 11.73
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/888415/ft1_filtered_4FGL_J2325.7+1821_daily_bin1484.fits evtable="EVENTS" scfile=/scratch/kocevski/888415/ft2_4FGL_J2325.7+1821_daily_bin1484.fits sctable="SC_DATA" expcube=/scratch/kocevski/888415/ltcube_623980801_624240001_4FGL_J2325.7+1821_daily_bin1484.fits outfile=/scratch/kocevski/888415/expmap_623980801_624240001_4FGL_J2325.7+1821_daily_bin1484.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/888415/ltcube_623980801_624240001_4FGL_J2325.7+1821_daily_bin1484.fits
.....................!
real 193.55
user 187.92
sys 5.20

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/888415/ft1_filtered_4FGL_J2325.7+1821_daily_bin1484.fits scfile=/scratch/kocevski/888415/ft2_4FGL_J2325.7+1821_daily_bin1484.fits outfile=/scratch/kocevski/888415/cmap_623980801_624240001_4FGL_J2325.7+1821_daily_bin1484.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/888415/ft1_filtered_4FGL_J2325.7+1821_daily_bin1484.fits scfile=/scratch/kocevski/888415/ft2_4FGL_J2325.7+1821_daily_bin1484.fits outfile=/scratch/kocevski/888415/cmap_HighResolution_623980801_624240001_4FGL_J2325.7+1821_daily_bin1484.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.56
user 0.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/888415/ft1_filtered_4FGL_J2325.7+1821_daily_bin1484.fits evtable="EVENTS" scfile=/scratch/kocevski/888415/ft2_4FGL_J2325.7+1821_daily_bin1484.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/888415/Model_4FGL_J2325.7+1821_daily_bin1484.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/888415/ft1_filtered_4FGL_J2325.7+1821_daily_bin1484.fits.....................!
real 79.80
user 78.28
sys 1.27

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10328E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    23.183       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .12819E-02   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    18.118       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .33059       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.1462       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    27.084       1.0000         .10000E-03   10000.    
    13 'Prefactor '    14.460       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .72190E-02   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10056E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .34753E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    12.091       1.0000         .10000E-03   10000.    
    20 'norm      '    10.034       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .30141       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .99639       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .95332       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=   7004.185     FROM MIGRAD    STATUS=CONVERGED    932 CALLS     2686 TOTAL
                     EDM=   .70E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10002E-03    8.5352        .18133E-02** at limit **
   2  Prefactor     23.172        14.046        .83192E-04   -.62359E-03
   3  Prefactor     .10000E-03    9.0644        .18142E-02** at limit **
   4  norm          .10011E-03    1.6755        .27878E-01** at limit **
   5  Prefactor     .10000E-03    20.676        .18142E-02** at limit **
   6  Prefactor     18.126        11.974        .94094E-04    .18220E-03
   7  Prefactor     .10000E-03    11.530        .18142E-02** at limit **
   8  Prefactor     .33060        .14169        .19708E-04    .19717E-02
   9  Prefactor     .10000E-03    5.3626        .18142E-02** at limit **
  10  Prefactor     2.1469        7.1471        .28130E-03    .17213E-03
  11  Prefactor     .10000E-03    4.0606        .16458E-02** at limit **
  12  Prefactor     27.087        19.306        .76978E-04    .13292E-05
  13  Prefactor     14.468        18.558        .10533E-03   -.21803E-04
  14  Prefactor     .10002E-03    4.6347        .43172E-01** at limit **
  15  Prefactor     .10000E-03    4.7646        .17814E-02** at limit **
  16  Prefactor     .10000E-03    4.1674        .16677E-02** at limit **
  17  norm          .10005E-03    20.056        .39575E-02** at limit **
  18  Prefactor     .10000E-03    3.3714        .14931E-02** at limit **
  19  Prefactor     12.098        22.732        .11520E-03   -.98781E-04
  20  norm          10.034        9.7726        .63249E-03    .67332E-04
  21  Prefactor     .30778        50.562        .40168E-02   -.32706E-03
  22  Normalizat    .99644        .23329        .30321E-03   -.34225E-03
  23  Prefactor     .95321        .13730        .18761E-03   -.45264E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.00010002
  Prefactor  = 23.1724
  Prefactor  = 0.0001
  norm       = 0.000100114
  Prefactor  = 0.0001
  Prefactor  = 18.1257
  Prefactor  = 0.0001
  Prefactor  = 0.330603
  Prefactor  = 0.0001
  Prefactor  = 2.14694
  Prefactor  = 0.0001
  Prefactor  = 27.0873
  Prefactor  = 14.4676
  Prefactor  = 0.000100024
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100046
  Prefactor  = 0.0001
  Prefactor  = 12.0982
  norm       = 10.0336
  Prefactor  = 0.307776
  Normalizat = 0.996444
  Prefactor  = 0.95321
 **********
 **   18 **HESSE 
 **********

 FCN=   7004.185     FROM HESSE     STATUS=OK           368 CALLS     3054 TOTAL
                     EDM=   .80E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10002E-03    8.5990        .36267E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     23.172        14.036        .16638E-04   -1.4745    
   3  Prefactor     .10000E-03    9.0664        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10011E-03    1.4754        .30721E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    20.678        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     18.126        11.954        .37638E-05   -1.4856    
   7  Prefactor     .10000E-03    11.531        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .33060        .14162        .78832E-06   -1.5593    
   9  Prefactor     .10000E-03    5.3642        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.1469        7.1428        .11252E-04   -1.5415    
  11  Prefactor     .10000E-03    4.0608        .32916E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     27.087        19.298        .30791E-05   -1.4667    
  13  Prefactor     14.468        18.555        .42132E-05   -1.4947    
  14  Prefactor     .10002E-03    3.9097        .48644E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    4.7651        .35627E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    4.1676        .33354E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10005E-03    20.219        .79150E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    3.3722        .29862E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     12.098        22.722        .46082E-05   -1.5012    
  20  norm          10.034        9.7725        .25300E-04   -1.5074    
  21  Prefactor     .30778        50.657        .16067E-03   -1.5597    
  22  Normalizat    .99644        .23252        .12128E-04   -.93150    
  23  Prefactor     .95321        .13739        .37522E-04   -.94306    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.99161e-09
Minuit parameter uncertainties:
  1  0.000827737
  2  14.0384
  3  1.97981e-06
  4  0.000821582
  5  0.000190698
  6  11.9556
  7  3.13739e-05
  8  0.141624
  9  2.57652e-05
  10  7.14564
  11  2.34454e-05
  12  19.3026
  13  18.5622
  14  0.000612999
  15  4.33916e-05
  16  2.42408e-05
  17  0.00193849
  18  1.75101e-05
  19  22.7383
  20  9.774
  21  7.90259
  22  0.23276
  23  0.137443
Done.

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

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  1.000e-04  2.424e-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:  9.532e-01  1.374e-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:  9.964e-01  2.328e-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: 4.57e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.54e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/888415/likelihoodResults_623980801_624240001_4FGL_J2325.7+1821_daily_bin1484.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) = 7004.18623282
delta logL = -0.00113865668391

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7004.18509401
delta logL = 1.54630470206e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4139       1.0000          .0000       10.000    
     3 'Normalizat'    .99644       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95321       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=   7004.185     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      258 TOTAL
                     EDM=   .79E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    18.797        .16894E-01** at limit **
   2  Index         1.7948        6.8701        .50000        .42651E-06
   3  Normalizat    .99645        .92020E-02    .30321E-03    .11533E-03
   4  Prefactor     .95321        .56168E-02    .18761E-03    .20571E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.79481
  Normalizat = 0.996446
  Prefactor  = 0.95321
 **********
 **   18 **HESSE 
 **********

 FCN=   7004.185     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      287 TOTAL
                     EDM=   .87E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    203.88        .19065E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.7948        5.6505        .50000       -.69585    
   3  Normalizat    .99645        .31573E-01    .12128E-04   -.93150    
   4  Prefactor     .95321        .19272E-01    .37522E-04   -.94306    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.66051e-09
Minuit parameter uncertainties:
  1  0.000131129
  2  945.446
  3  0.0315734
  4  0.0192719
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/888415': 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): 102
logL (Free Index) = 7004.18509135
delta logL = 2.81142547465e-06

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  1.000e-04  1.311e-04  1.000e-04  1.000e+04 ( 1.000e-13)
422        Index:  1.795e+00  9.454e+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:  9.532e-01  1.927e-02  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:  9.964e-01  3.157e-02  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/888415/cmap_HighResolution_623980801_624240001_4FGL_J2325.7+1821_daily_bin1484.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.54e-03', job_status='DONE', photon_flux_upper_limit='4.57e-08', time_completed='2021-09-29 18:54:43.606208', job_id='888415', GAL2='0.95', fit_tolerance='1e-08', EG2='1.00', EG='1.00', time_epoch_completed='1632966883.61', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='2.81e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1484' AND source_name='4FGL J2325.7+1821' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:54:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0225>
Subject: Job 888415: <4FGL_J2325.7+1821_daily_bin1484> in cluster <slac> Done

Job <4FGL_J2325.7+1821_daily_bin1484> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 18:40:21 2021
Job was executed on host(s) <bullet0225>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 18:40:22 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:40:22 2021
Terminated at Wed Sep 29 18:54:44 2021
Results reported at Wed Sep 29 18:54:44 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.7+1821_daily_bin1484 351.436 18.3654 623980801 624240001 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 :                                   711.05 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             298.21 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   861 sec.
    Turnaround time :                            863 sec.

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

