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 173 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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


Performing analysis on: 4FGL_J2325.7+1821_daily_bin1776
RA = 351.436, Dec = 18.3654
tmin = 699667201, tmax = 699926401
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='846338', job_status='RUN', time_executed='2023-03-08 01:28:24.980868', time_epoch_executed='1678267704.98' WHERE source_name='4FGL J2325.7+1821' and cadence='daily' and bin_id='1776'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/846338

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/846338/ft1_4FGL_J2325.7+1821_daily_bin1776.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/846338/ft2_4FGL_J2325.7+1821_daily_bin1776.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/846338/ft1_4FGL_J2325.7+1821_daily_bin1776.fits outfile=/scratch/kocevski/846338/ft1_filteredMKT_4FGL_J2325.7+1821_daily_bin1776.fits ra=351.436 dec=18.3654 rad=12.0 tmin=699667201.0 tmax=699926401.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.89
user 3.68
sys 0.19

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

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

Number of photons that the gtmktime cut: 646

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/846338/ft1_filtered_4FGL_J2325.7+1821_daily_bin1776.fits" evtable="EVENTS" scfile=/scratch/kocevski/846338/ft2_4FGL_J2325.7+1821_daily_bin1776.fits sctable="SC_DATA" outfile=/scratch/kocevski/846338/ltcube_699667201_699926401_4FGL_J2325.7+1821_daily_bin1776.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/846338/ft2_4FGL_J2325.7+1821_daily_bin1776.fits
.....................!
real 11.89
user 11.53
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/846338/ft1_filtered_4FGL_J2325.7+1821_daily_bin1776.fits evtable="EVENTS" scfile=/scratch/kocevski/846338/ft2_4FGL_J2325.7+1821_daily_bin1776.fits sctable="SC_DATA" expcube=/scratch/kocevski/846338/ltcube_699667201_699926401_4FGL_J2325.7+1821_daily_bin1776.fits outfile=/scratch/kocevski/846338/expmap_699667201_699926401_4FGL_J2325.7+1821_daily_bin1776.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/846338/ltcube_699667201_699926401_4FGL_J2325.7+1821_daily_bin1776.fits
.....................!
real 188.27
user 184.44
sys 3.50

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/846338/ft1_filtered_4FGL_J2325.7+1821_daily_bin1776.fits scfile=/scratch/kocevski/846338/ft2_4FGL_J2325.7+1821_daily_bin1776.fits outfile=/scratch/kocevski/846338/cmap_699667201_699926401_4FGL_J2325.7+1821_daily_bin1776.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.57
user 0.40
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/846338/ft1_filtered_4FGL_J2325.7+1821_daily_bin1776.fits scfile=/scratch/kocevski/846338/ft2_4FGL_J2325.7+1821_daily_bin1776.fits outfile=/scratch/kocevski/846338/cmap_HighResolution_699667201_699926401_4FGL_J2325.7+1821_daily_bin1776.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.60
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/846338/ft1_filtered_4FGL_J2325.7+1821_daily_bin1776.fits evtable="EVENTS" scfile=/scratch/kocevski/846338/ft2_4FGL_J2325.7+1821_daily_bin1776.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/846338/Model_4FGL_J2325.7+1821_daily_bin1776.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/846338/ft1_filtered_4FGL_J2325.7+1821_daily_bin1776.fits.....................!
real 81.73
user 80.38
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/846338/ft1_filtered_4FGL_J2325.7+1821_daily_bin1776.fits', '/scratch/kocevski/846338/ft2_4FGL_J2325.7+1821_daily_bin1776.fits', expMap='/scratch/kocevski/846338/expmap_699667201_699926401_4FGL_J2325.7+1821_daily_bin1776.fits', expCube='/scratch/kocevski/846338/ltcube_699667201_699926401_4FGL_J2325.7+1821_daily_bin1776.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/846338/Model_4FGL_J2325.7+1821_daily_bin1776.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  0.000e+00  1.000e+06 ( 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/846338/ft1_filtered_4FGL_J2325.7+1821_daily_bin1776.fits
Spacecraft file(s): /scratch/kocevski/846338/ft2_4FGL_J2325.7+1821_daily_bin1776.fits
Exposure map: /scratch/kocevski/846338/expmap_699667201_699926401_4FGL_J2325.7+1821_daily_bin1776.fits
Exposure cube: /scratch/kocevski/846338/ltcube_699667201_699926401_4FGL_J2325.7+1821_daily_bin1776.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/846338/Model_4FGL_J2325.7+1821_daily_bin1776.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) = 7174.05428947

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .16098E-08   1.0000          .0000       .10000E+07
     2 'Prefactor '    32.376       1.0000          .0000       .10000E+07
     3 'Prefactor '    27.655       1.0000          .0000       .10000E+07
     4 'norm      '    .61062E-09   1.0000          .0000       .10000E+07
     5 'Prefactor '    16.901       1.0000          .0000       .10000E+07
     6 'Prefactor '    .12627E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .47341       1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.6156       1.0000          .0000       .10000E+07
     9 'Prefactor '    10.098       1.0000          .0000       .10000E+07
    10 'Prefactor '    .19851       1.0000          .0000       .10000E+07
    11 'Prefactor '    .66846E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    .67572E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    .62083E-02   1.0000          .0000       .10000E+07
    14 'norm      '    .28311E-08   1.0000          .0000       .10000E+07
    15 'Prefactor '    1.3344       1.0000          .0000       .10000E+07
    16 'Prefactor '    18.961       1.0000          .0000       .10000E+07
    17 'norm      '    1.6270       1.0000          .0000       .10000E+07
    18 'Prefactor '    .53333E-04   1.0000          .0000       .10000E+07
    19 'Normalizat'    .83600       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0966       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=   7173.923     FROM MIGRAD    STATUS=CONVERGED    106 CALLS     1163 TOTAL
                     EDM=   .46E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        1.6071        .22102E-08** at limit **
   2  Prefactor     32.542        4.9247        .20833E-06   -.56609E-01
   3  Prefactor     27.746        7.5168       -.24351E-07   -.73397E-01
   4  norm          .55511E-10    .58945        .13933E-07** at limit **
   5  Prefactor     16.981        1.6039        .88015E-07    .61402E-02
   6  Prefactor     .46629E-08    3.5615       -.11449E-05** at limit **
   7  Prefactor     .47313        .16713       -.25016E-07    .62789E-04
   8  Prefactor     5.6758        1.2159       -.94907E-07   -.31325E-02
   9  Prefactor     10.101        6.6041       -.92813E-06    .22319E-02
  10  Prefactor     .74457E-06    42.220       -.30331E-05** at limit **
  11  Prefactor     .94369E-09    2.9483       -.68639E-06** at limit **
  12  Prefactor     .27200E-08    3.0178        .12693E-05** at limit **
  13  Prefactor     .44409E-09    14.279        .20811E-06** at limit **
  14  norm          .38303E-08    4.3560        .51042E-06** at limit **
  15  Prefactor     1.3429        12.615        .71900E-06   -.75799E-03
  16  Prefactor     18.708        20.612       -.21389E-05    .22943E-01
  17  norm          1.6412        2.7536        .10643E-05    .62036E-02
  18  Prefactor     .38858E-09    1.8963        .84431E-09** at limit **
  19  Normalizat    .83553        .24506       -.53870E-06    .15489E-04
  20  Prefactor     1.0968        .14214        .15270E-05   -.61326E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 32.5425
  Prefactor  = 27.7457
  norm       = 5.55112e-11
  Prefactor  = 16.9809
  Prefactor  = 4.66294e-09
  Prefactor  = 0.473131
  Prefactor  = 5.6758
  Prefactor  = 10.1014
  Prefactor  = 7.44571e-07
  Prefactor  = 9.4369e-10
  Prefactor  = 2.72005e-09
  Prefactor  = 4.44089e-10
  norm       = 3.83027e-09
  Prefactor  = 1.34289
  Prefactor  = 18.7084
  norm       = 1.64121
  Prefactor  = 3.88578e-10
  Normalizat = 0.835534
  Prefactor  = 1.09677
 **********
 **   18 **HESSE 
 **********

 FCN=   7173.923     FROM HESSE     STATUS=OK           331 CALLS     1494 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        1.6001        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     32.542        16.608        .17577E-03   -1.5594    
   3  Prefactor     27.746        16.701        .19019E-03   -1.5603    
   4  norm          .55511E-10    .58813        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     16.981        19.615        .24335E-03   -1.5626    
   6  Prefactor     .46629E-08    3.6572        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .47313        .17173        .44263E-02   -1.5570    
   8  Prefactor     5.6758        8.7411        .42369E-03   -1.5660    
   9  Prefactor     10.101        21.716        .31508E-03   -1.5644    
  10  Prefactor     .74457E-06    50.139        .11802E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .94369E-09    3.0418        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .27200E-08    3.2412        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .44409E-09    14.276        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .38303E-08    4.4018        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.3429        13.019        .94959E-03   -1.5685    
  16  Prefactor     18.708        23.587        .22973E-03   -1.5621    
  17  norm          1.6412        11.203        .82898E-03   -1.5682    
  18  Prefactor     .38858E-09    1.9010        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .83553        .21823        .80398E-01   -.98764    
  20  Prefactor     1.0968        .12419        .37718E-01   -.89570    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.33081e-06
Minuit parameter uncertainties:
  1  9.72278e-06
  2  16.6078
  3  16.7013
  4  1.13826e-05
  5  19.6152
  6  0.000260786
  7  0.171735
  8  8.74116
  9  21.716
  10  0.0122201
  11  0.000107205
  12  0.000187014
  13  0.000156042
  14  0.000260116
  15  8.36261
  16  23.5869
  17  8.5758
  18  5.25897e-05
  19  0.218464
  20  0.124219
Done.

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

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  4.441e-10  1.560e-04  0.000e+00  1.000e+06 ( 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.097e+00  1.242e-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.355e-01  2.185e-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.40e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.73e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/846338/likelihoodResults_699667201_699926401_4FGL_J2325.7+1821_daily_bin1776.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) = 7173.9271626
delta logL = -0.00401868323843

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7173.92314622
delta logL = -2.30847399507e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .36918E-04   1.0000          .0000       .10000E+07
     2 'Index     '    2.6150       1.0000          .0000       10.000    
     3 'Normalizat'    .83546       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0969       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7173.923     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      234 TOTAL
                     EDM=   .16E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        7.4385        .42118E-03** at limit **
   2  Index         1.3604        .78660       -.95151E-04     .0000    
   3  Normalizat    .83553        1.1733       -.99721E-05   -.67352E-04
   4  Prefactor     1.0968        1.1505        .26283E-05   -.20393E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.36043
  Normalizat = 0.835534
  Prefactor  = 1.09677
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   7173.923     FROM HESSE     STATUS=FAILED         9 CALLS      243 TOTAL
                     EDM=   .16E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        7.4385        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .14995        1.3076       -.95151E-04   -.81527    
   3  Normalizat    .83553        1.1733       -.99721E-05   -.98764    
   4  Prefactor     1.0968        1.1505        .26283E-05   -.89570    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.61548e-11
Minuit parameter uncertainties:
  1  1.1197e-05
  2  0.793675
  3  1.21221
  4  1.17826
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/846338': 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): 101
logL (Free Index) = 7173.92314391
delta logL = 1.00044417195e-11

Extracting fit parameters...

4FGL J2325.7+1821
   Spectrum: PowerLaw
421    Prefactor:  0.000e+00  1.120e-05  0.000e+00  1.000e+06 ( 1.000e-13)
422        Index:  1.360e+00  7.937e-01  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.097e+00  1.178e+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:  8.355e-01  1.212e+00  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/846338/cmap_HighResolution_699667201_699926401_4FGL_J2325.7+1821_daily_bin1776.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.73e-03', job_status='DONE', photon_flux_upper_limit='7.40e-08', time_completed='2023-03-08 01:37:30.655583', job_id='846338', GAL2='1.10', fit_tolerance='1e-08', EG2='0.84', EG='0.84', time_epoch_completed='1678268250.66', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='1.00e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1776' AND source_name='4FGL J2325.7+1821' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Mar  8 01:37:30 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0006>
Subject: Job 846338: <4FGL_J2325.7+1821_daily_bin1776> in cluster <slac> Done

Job <4FGL_J2325.7+1821_daily_bin1776> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Mar  8 01:25:19 2023
Job was executed on host(s) <bullet0006>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Mar  8 01:25:20 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Mar  8 01:25:20 2023
Terminated at Wed Mar  8 01:37:31 2023
Results reported at Wed Mar  8 01:37:31 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.7+1821_daily_bin1776 351.436 18.3654 699667201 699926401 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 :                                   548.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             283.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   730 sec.
    Turnaround time :                            732 sec.

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

