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


Performing analysis on: 4FGL_J2325.7+1821_daily_bin1603
RA = 351.436, Dec = 18.3654
tmin = 654825601, tmax = 655084801
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='917526', job_status='RUN', time_executed='2021-10-05 00:18:12.295019', time_epoch_executed='1633418292.3' WHERE source_name='4FGL J2325.7+1821' and cadence='daily' and bin_id='1603'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/917526

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/917526/ft1_4FGL_J2325.7+1821_daily_bin1603.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/917526/ft2_4FGL_J2325.7+1821_daily_bin1603.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/917526/ft1_4FGL_J2325.7+1821_daily_bin1603.fits outfile=/scratch/kocevski/917526/ft1_filteredMKT_4FGL_J2325.7+1821_daily_bin1603.fits ra=351.436 dec=18.3654 rad=12.0 tmin=654825601.0 tmax=655084801.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 2.97
user 2.78
sys 0.18

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/917526/ft1_filtered_4FGL_J2325.7+1821_daily_bin1603.fits evtable="EVENTS" scfile=/scratch/kocevski/917526/ft2_4FGL_J2325.7+1821_daily_bin1603.fits sctable="SC_DATA" expcube=/scratch/kocevski/917526/ltcube_654825601_655084801_4FGL_J2325.7+1821_daily_bin1603.fits outfile=/scratch/kocevski/917526/expmap_654825601_655084801_4FGL_J2325.7+1821_daily_bin1603.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/917526/ltcube_654825601_655084801_4FGL_J2325.7+1821_daily_bin1603.fits
.....................!
real 189.42
user 184.61
sys 4.49

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

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

This is gtbin version HEAD
real 0.53
user 0.37
sys 0.15

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

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/917526/ft1_filtered_4FGL_J2325.7+1821_daily_bin1603.fits', '/scratch/kocevski/917526/ft2_4FGL_J2325.7+1821_daily_bin1603.fits', expMap='/scratch/kocevski/917526/expmap_654825601_655084801_4FGL_J2325.7+1821_daily_bin1603.fits', expCube='/scratch/kocevski/917526/ltcube_654825601_655084801_4FGL_J2325.7+1821_daily_bin1603.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/917526/Model_4FGL_J2325.7+1821_daily_bin1603.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/917526/ft1_filtered_4FGL_J2325.7+1821_daily_bin1603.fits
Spacecraft file(s): /scratch/kocevski/917526/ft2_4FGL_J2325.7+1821_daily_bin1603.fits
Exposure map: /scratch/kocevski/917526/expmap_654825601_655084801_4FGL_J2325.7+1821_daily_bin1603.fits
Exposure cube: /scratch/kocevski/917526/ltcube_654825601_655084801_4FGL_J2325.7+1821_daily_bin1603.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/917526/Model_4FGL_J2325.7+1821_daily_bin1603.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 744.570650224

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 742.423216457

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .41083E-02   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .17351       1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.2299       1.0000         .10000E-03   10000.    
     4 'norm      '    4.2639       1.0000         .10000E-03   10000.    
     5 'Prefactor '    21.503       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .71814E-02   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .16612E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .32633       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .16142E-01   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .34213E-01   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .44812E-01   1.0000         .10000E-03   10000.    
    12 'Prefactor '    106.95       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .70450E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .62790E-02   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .41325E-02   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10848E-01   1.0000         .10000E-03   10000.    
    17 'norm      '    .59308E-01   1.0000         .10000E-03   10000.    
    18 'Prefactor '    91.051       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .31486E-01   1.0000         .10000E-03   10000.    
    20 'norm      '    .26431E-01   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .43018E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .16050E-01   1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1850       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5310E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   742.4189     FROM MIGRAD    STATUS=CONVERGED    221 CALLS      526 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .11227E-03    28.279       -.15359E-04** at limit **
   2  Prefactor     .10336E-03    161.54        .12057E-04** at limit **
   3  Prefactor     1.2299        1.1243         .0000         .0000    
   4  norm          4.2659        4.1247       -.56133E-05   -.45413E-03
   5  Prefactor     28.269        97.743        .79875E-05    .70513E-03
   6  Prefactor     .11208E-03    116.95       -.11362E-04** at limit **
   7  Prefactor     .10000E-03    21.288        .34403E-05** at limit **
   8  Prefactor     .31143        .41109        .46831E-06    .87322E-03
   9  Prefactor     .10235E-03    41.186        .15738E-05** at limit **
  10  Prefactor     .10030E-03    48.852       -.20736E-05** at limit **
  11  Prefactor     .10082E-03    54.841       -.58954E-05** at limit **
  12  Prefactor     107.80        68.117        .53631E-05   -.95938E-02
  13  Prefactor     .24284E-03    71.261       -.64084E-05** at limit **
  14  Prefactor     .10108E-03    57.483        .21696E-04** at limit **
  15  Prefactor     .10000E-03    38.464        .67133E-05** at limit **
  16  Prefactor     .10673E-03    19.659       -.20006E-05** at limit **
  17  norm          .10034E-03    46.336        .31910E-05** at limit **
  18  Prefactor     90.704        57.168        .41059E-05    .48343E-02
  19  Prefactor     .10133E-03    51.470       -.29379E-05** at limit **
  20  norm          .10004E-03    76.358        .60715E-05** at limit **
  21  Prefactor     .10025E-03    1.1569       -.27508E-05** at limit **
  22  Normalizat    .25294E-01    8.8368        .23580E-03   -.68405E-05
  23  Prefactor     1.1784        .44896        .94369E-05    .66874E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000112274
  Prefactor  = 0.000103363
  Prefactor  = 1.22989
  norm       = 4.26591
  Prefactor  = 28.2686
  Prefactor  = 0.000112084
  Prefactor  = 0.0001
  Prefactor  = 0.311434
  Prefactor  = 0.000102351
  Prefactor  = 0.000100302
  Prefactor  = 0.000100818
  Prefactor  = 107.802
  Prefactor  = 0.000242843
  Prefactor  = 0.000101079
  Prefactor  = 0.0001
  Prefactor  = 0.000106731
  norm       = 0.000100344
  Prefactor  = 90.7042
  Prefactor  = 0.000101333
  norm       = 0.000100039
  Prefactor  = 0.000100246
  Normalizat = 0.0252942
  Prefactor  = 1.17838
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   742.4189     FROM HESSE     STATUS=FAILED        17 CALLS      543 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .11227E-03    58.949        .97305E-02   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10336E-03    1754.0        .98560E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     583.22        581.73         .0000       -1.5486    
   4  norm          4.2659        1.0073       -.56133E-05   -1.5295    
   5  Prefactor     28.269        1.1465        .79875E-05   -1.4644    
   6  Prefactor     .11208E-03    .21758       -.11362E-04   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    .20571        .34403E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .31143        .58808        .46831E-06   -1.5596    
   9  Prefactor     .10235E-03    .20718        .15738E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10030E-03    .21127       -.20736E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10082E-03    .21366       -.58954E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     107.80        1.0040        .53631E-05   -1.3628    
  13  Prefactor     .24284E-03    .27499       -.64084E-05   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10108E-03    .22257        .21696E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    .23653        .67133E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10673E-03    .20599       -.20006E-05   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10034E-03    .21694        .31910E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     90.704        .99812        .41059E-05   -1.3800    
  19  Prefactor     .10133E-03    .21065       -.29379E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10004E-03    .20951        .60715E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10025E-03    .28169       -.27508E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .25294E-01    .25585        .23580E-03   -1.4925    
  23  Prefactor     1.1784        1.1055        .94369E-05   -.86999    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.63125e-09
Minuit parameter uncertainties:
  1  0.0538498
  2  0.158501
  3  1.12434
  4  1.00728
  5  1.14649
  6  0.00324295
  7  3.02397e-06
  8  0.588089
  9  0.00139583
  10  0.000504867
  11  0.000836003
  12  1.00396
  13  0.012535
  14  0.000979991
  15  1.9158e-06
  16  0.00235504
  17  0.000546695
  18  0.998125
  19  0.00105967
  20  0.000179808
  21  0.000526207
  22  0.125748
  23  1.12834
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 742.418908815

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  1.067e-04  2.355e-03  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.178e+00  1.128e+00  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:  2.529e-02  1.257e-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.12e-07 ph cm-2 s-1
Energy Flux Upper Limit: 5.51e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/917526/likelihoodResults_654825601_655084801_4FGL_J2325.7+1821_daily_bin1603.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) = 742.418954227
delta logL = -4.54119192455e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 742.41895419
delta logL = -4.53753283409e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96162E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4317       1.0000          .0000       10.000    
     3 'Normalizat'    .25295E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1784       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=   742.4189     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      201 TOTAL
                     EDM=   .59E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    109.33        .90732E-02** at limit **
   2  Index         2.4289        6.2142        .50000        .22791E-06
   3  Normalizat    .25431E-01    6.6575        .32348        .84518E-04
   4  Prefactor     1.1783        .64030        .35162E-01    .18476E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100006
  Index      = 2.42892
  Normalizat = 0.0254313
  Prefactor  = 1.17832
 **********
 **   18 **HESSE 
 **********

 FCN=   742.4189     FROM HESSE     STATUS=OK            33 CALLS      234 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    101.24        .18146E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4289        6.2136        .50000       -.54009    
   3  Normalizat    .25431E-01    2.1015        .12070E-01   -1.4922    
   4  Prefactor     1.1783        .27698        .16788E-03   -.87001    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.05269e-09
Minuit parameter uncertainties:
  1  0.00158926
  2  4.30873
  3  0.374498
  4  0.27732
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/917526': 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) = 742.418908792
delta logL = 2.28058070206e-08

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  1.000e-04  1.589e-03  1.000e-04  1.000e+04 ( 1.000e-13)
422        Index:  2.429e+00  4.309e+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.178e+00  2.773e-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:  2.543e-02  3.745e-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/917526/cmap_HighResolution_654825601_655084801_4FGL_J2325.7+1821_daily_bin1603.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.51e-02', job_status='DONE', photon_flux_upper_limit='7.12e-07', time_completed='2021-10-05 00:23:34.138831', job_id='917526', GAL2='1.18', fit_tolerance='1e-08', EG2='0.03', EG='0.03', time_epoch_completed='1633418614.14', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='101', GAL='1.18', dlogl='2.28e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1603' AND source_name='4FGL J2325.7+1821' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Oct  5 00:23:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0210>
Subject: Job 917526: <4FGL_J2325.7+1821_daily_bin1603> in cluster <slac> Done

Job <4FGL_J2325.7+1821_daily_bin1603> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Oct  5 00:15:41 2021
Job was executed on host(s) <bullet0210>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Oct  5 00:15:42 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Oct  5 00:15:42 2021
Terminated at Tue Oct  5 00:23:34 2021
Results reported at Tue Oct  5 00:23:34 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.7+1821_daily_bin1603 351.436 18.3654 654825601 655084801 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 :                                   325.00 sec.
    Max Memory :                                 1151 MB
    Average Memory :                             426.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   472 sec.
    Turnaround time :                            473 sec.

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

