aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 86 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 = 7476
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2325.7+1821_daily_bin1664
RA = 351.436, Dec = 18.3654
tmin = 670636801, tmax = 670896001
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='316857', job_status='RUN', time_executed='2022-04-06 00:37:35.508044', time_epoch_executed='1649230655.51' WHERE source_name='4FGL J2325.7+1821' and cadence='daily' and bin_id='1664'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/316857

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/316857/ft1_4FGL_J2325.7+1821_daily_bin1664.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/316857/ft2_4FGL_J2325.7+1821_daily_bin1664.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/316857/ft1_4FGL_J2325.7+1821_daily_bin1664.fits outfile=/scratch/kocevski/316857/ft1_filteredMKT_4FGL_J2325.7+1821_daily_bin1664.fits ra=351.436 dec=18.3654 rad=12.0 tmin=670636801.0 tmax=670896001.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 5.37
user 5.13
sys 0.21

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

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

Number of photons that the gtmktime cut: 647

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/316857/ft1_filtered_4FGL_J2325.7+1821_daily_bin1664.fits" evtable="EVENTS" scfile=/scratch/kocevski/316857/ft2_4FGL_J2325.7+1821_daily_bin1664.fits sctable="SC_DATA" outfile=/scratch/kocevski/316857/ltcube_670636801_670896001_4FGL_J2325.7+1821_daily_bin1664.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/316857/ft2_4FGL_J2325.7+1821_daily_bin1664.fits
.....................!
real 13.24
user 11.20
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/316857/ft1_filtered_4FGL_J2325.7+1821_daily_bin1664.fits evtable="EVENTS" scfile=/scratch/kocevski/316857/ft2_4FGL_J2325.7+1821_daily_bin1664.fits sctable="SC_DATA" expcube=/scratch/kocevski/316857/ltcube_670636801_670896001_4FGL_J2325.7+1821_daily_bin1664.fits outfile=/scratch/kocevski/316857/expmap_670636801_670896001_4FGL_J2325.7+1821_daily_bin1664.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/316857/ltcube_670636801_670896001_4FGL_J2325.7+1821_daily_bin1664.fits
.....................!
real 189.20
user 183.98
sys 4.90

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/316857/ft1_filtered_4FGL_J2325.7+1821_daily_bin1664.fits scfile=/scratch/kocevski/316857/ft2_4FGL_J2325.7+1821_daily_bin1664.fits outfile=/scratch/kocevski/316857/cmap_670636801_670896001_4FGL_J2325.7+1821_daily_bin1664.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/316857/ft1_filtered_4FGL_J2325.7+1821_daily_bin1664.fits scfile=/scratch/kocevski/316857/ft2_4FGL_J2325.7+1821_daily_bin1664.fits outfile=/scratch/kocevski/316857/cmap_HighResolution_670636801_670896001_4FGL_J2325.7+1821_daily_bin1664.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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/316857/ft1_filtered_4FGL_J2325.7+1821_daily_bin1664.fits evtable="EVENTS" scfile=/scratch/kocevski/316857/ft2_4FGL_J2325.7+1821_daily_bin1664.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/316857/Model_4FGL_J2325.7+1821_daily_bin1664.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/316857/ft1_filtered_4FGL_J2325.7+1821_daily_bin1664.fits.....................!
real 80.88
user 79.55
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .27395E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    24.718       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    1.0719       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .22384E-02   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .33668       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .61438       1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.9478       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10746E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .68375       1.0000         .10000E-03   10000.    
    13 'Prefactor '    55.624       1.0000         .10000E-03   10000.    
    14 'Prefactor '    14.495       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    7.7487       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    1.6022       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .91813       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1831       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=   7363.784     FROM MIGRAD    STATUS=CONVERGED    500 CALLS     2555 TOTAL
                     EDM=   .93E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.7986        .13197E-05** at limit **
   2  Prefactor     24.736        15.653       -.74698E-05   -.43836E-03
   3  Prefactor     .10000E-03    6.4192        .12084E-05** at limit **
   4  norm          1.0722        1.2509       -.36696E-06    .22106E-03
   5  Prefactor     .10000E-03    12.846        .59121E-06** at limit **
   6  Prefactor     .10069E-03    8.3661       -.13185E-05** at limit **
   7  Prefactor     .10000E-03    5.9307       -.67547E-06** at limit **
   8  Prefactor     .33666        .15458       -.19438E-07   -.78220E-03
   9  Prefactor     .60970        7.7434       -.24374E-06   -.22542E-03
  10  Prefactor     4.9475        5.6232       -.36256E-06   -.27284E-03
  11  Prefactor     .10000E-03    27.281        .19404E-04** at limit **
  12  Prefactor     .73122        20.933        .60080E-05   -.14661E-03
  13  Prefactor     55.593        36.693       -.23845E-04   -.22192E-03
  14  Prefactor     14.493        9.2583       -.12719E-05   -.22316E-03
  15  Prefactor     .10000E-03    6.8360       -.13052E-05** at limit **
  16  Prefactor     .10000E-03    6.9383        .10411E-08** at limit **
  17  norm          7.7498        7.8826       -.19402E-07   -.33163E-05
  18  Prefactor     .10000E-03    3.7612       -.38330E-06** at limit **
  19  Prefactor     .10000E-03    26.794       -.20902E-04** at limit **
  20  norm          1.5897        36.725        .15709E-04   -.16751E-03
  21  Prefactor     .10000E-03    2.8423       -.17970E-06** at limit **
  22  Normalizat    .91843        .24096        .22645E-05   -.52326E-03
  23  Prefactor     1.1831        .13630        .68093E-06   -.91648E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100001
  Prefactor  = 24.7361
  Prefactor  = 0.0001
  norm       = 1.07218
  Prefactor  = 0.0001
  Prefactor  = 0.00010069
  Prefactor  = 0.0001
  Prefactor  = 0.33666
  Prefactor  = 0.609701
  Prefactor  = 4.9475
  Prefactor  = 0.000100003
  Prefactor  = 0.731221
  Prefactor  = 55.5932
  Prefactor  = 14.493
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 7.74983
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.5897
  Prefactor  = 0.0001
  Normalizat = 0.918434
  Prefactor  = 1.18307
 **********
 **   18 **HESSE 
 **********

 FCN=   7363.784     FROM HESSE     STATUS=OK           378 CALLS     2933 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    8.4436        .21404E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     24.736        15.416        .80571E-04   -1.4713    
   3  Prefactor     .10000E-03    6.4384        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.0722        1.2508        .46860E-04   -1.5501    
   5  Prefactor     .10000E-03    12.863        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10069E-03    11.717        .76863E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    5.9328        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .33666        .15204        .21715E-04   -1.5592    
   9  Prefactor     .60970        65.669        .44617E-02   -1.5552    
  10  Prefactor     4.9475        5.6153        .18081E-03   -1.5263    
  11  Prefactor     .10000E-03    28.110        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .73122        174.53        .72532E-02   -1.5537    
  13  Prefactor     55.593        36.738        .53785E-04   -1.4215    
  14  Prefactor     14.493        9.2679        .10520E-03   -1.4946    
  15  Prefactor     .10000E-03    6.8679        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    6.9431        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          7.7498        7.8713        .14405E-03   -1.5151    
  18  Prefactor     .10000E-03    3.7981        .16239E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    26.914        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          1.5897        36.514        .33489E-03   -1.5456    
  21  Prefactor     .10000E-03    2.8500        .14127E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .91843        .27116        .37326E-03   -.95815    
  23  Prefactor     1.1831        .15745        .19504E-03   -.86854    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.11931e-09
Minuit parameter uncertainties:
  1  0.000202057
  2  15.4189
  3  4.4767e-05
  4  1.25081
  5  5.73345e-06
  6  0.00568611
  7  3.18448e-06
  8  0.152038
  9  12.6684
  10  5.61591
  11  0.000557847
  12  22.6596
  13  36.7531
  14  9.26878
  15  1.19152e-05
  16  1.57092e-07
  17  7.87235
  18  1.86717e-05
  19  3.12297e-06
  20  15.2476
  21  3.54384e-06
  22  0.271569
  23  0.15751
Done.

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

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  1.000e-04  1.571e-07  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.183e+00  1.575e-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.184e-01  2.716e-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.22e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.59e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/316857/likelihoodResults_670636801_670896001_4FGL_J2325.7+1821_daily_bin1664.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) = 7363.78462058
delta logL = -0.000682816167682

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7363.78393768
delta logL = 7.837661542e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4148       1.0000          .0000       10.000    
     3 'Normalizat'    .91846       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1831       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=   7363.784     FROM MIGRAD    STATUS=CONVERGED    105 CALLS      258 TOTAL
                     EDM=   .18E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    22.914        .18142E-01** at limit **
   2  Index         1.9284        6.6841        .50000        .82400E-07
   3  Normalizat    .91844        .94475E-02    .37325E-03    .55495E-04
   4  Prefactor     1.1831        .55640E-02    .19504E-03    .10975E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.92841
  Normalizat = 0.918436
  Prefactor  = 1.18307
 **********
 **   18 **HESSE 
 **********

 FCN=   7363.784     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      287 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    200.69        .24288E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9284        7.5349        .50000       -.66152    
   3  Normalizat    .91844        .28671E-01    .14930E-04   -.95815    
   4  Prefactor     1.1831        .16886E-01    .39008E-04   -.86854    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.56452e-10
Minuit parameter uncertainties:
  1  8.475e-05
  2  838.594
  3  0.0286715
  4  0.0168858
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/316857': 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) = 7363.7839365
delta logL = 1.25506630866e-06

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  1.000e-04  8.475e-05  1.000e-04  1.000e+04 ( 1.000e-13)
422        Index:  1.928e+00  8.386e+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:  1.183e+00  1.689e-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.184e-01  2.867e-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/316857/cmap_HighResolution_670636801_670896001_4FGL_J2325.7+1821_daily_bin1664.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.59e-03', job_status='DONE', photon_flux_upper_limit='7.22e-08', time_completed='2022-04-06 00:49:13.042431', job_id='316857', GAL2='1.18', fit_tolerance='1e-08', EG2='0.92', EG='0.92', time_epoch_completed='1649231353.04', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.18', dlogl='1.26e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1664' AND source_name='4FGL J2325.7+1821' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Apr  6 00:49:13 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0261>
Subject: Job 316857: <4FGL_J2325.7+1821_daily_bin1664> in cluster <slac> Done

Job <4FGL_J2325.7+1821_daily_bin1664> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Wed Apr  6 00:35:56 2022
Job was executed on host(s) <bullet0261>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Apr  6 00:35:58 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Apr  6 00:35:58 2022
Terminated at Wed Apr  6 00:49:13 2022
Results reported at Wed Apr  6 00:49:13 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.7+1821_daily_bin1664 351.436 18.3654 670636801 670896001 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 :                                   698.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             276.39 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   795 sec.
    Turnaround time :                            797 sec.

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

