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


Performing analysis on: 4FGL_J1725.5+5851_daily_bin1701
RA = 261.388, Dec = 58.8578
tmin = 680227201, tmax = 680486401
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='160346', job_status='RUN', time_executed='2022-07-26 02:02:27.540827', time_epoch_executed='1658826147.54' WHERE source_name='4FGL J1725.5+5851' and cadence='daily' and bin_id='1701'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/160346

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/160346/ft1_4FGL_J1725.5+5851_daily_bin1701.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/160346/ft2_4FGL_J1725.5+5851_daily_bin1701.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/160346/ft1_4FGL_J1725.5+5851_daily_bin1701.fits outfile=/scratch/kocevski/160346/ft1_filteredMKT_4FGL_J1725.5+5851_daily_bin1701.fits ra=261.388 dec=58.8578 rad=12.0 tmin=680227201.0 tmax=680486401.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.89
user 2.70
sys 0.18

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/160346/ft2_4FGL_J1725.5+5851_daily_bin1701.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/160346/ft2_4FGL_J1725.5+5851_daily_bin1701.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/160346/ft1_filteredMKT_4FGL_J1725.5+5851_daily_bin1701.fits evtable="EVENTS" outfile="/scratch/kocevski/160346/ft1_filtered_4FGL_J1725.5+5851_daily_bin1701.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.50
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 1801

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/160346/ft1_filtered_4FGL_J1725.5+5851_daily_bin1701.fits" evtable="EVENTS" scfile=/scratch/kocevski/160346/ft2_4FGL_J1725.5+5851_daily_bin1701.fits sctable="SC_DATA" outfile=/scratch/kocevski/160346/ltcube_680227201_680486401_4FGL_J1725.5+5851_daily_bin1701.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/160346/ft2_4FGL_J1725.5+5851_daily_bin1701.fits
.....................!
real 13.92
user 13.57
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/160346/ft1_filtered_4FGL_J1725.5+5851_daily_bin1701.fits evtable="EVENTS" scfile=/scratch/kocevski/160346/ft2_4FGL_J1725.5+5851_daily_bin1701.fits sctable="SC_DATA" expcube=/scratch/kocevski/160346/ltcube_680227201_680486401_4FGL_J1725.5+5851_daily_bin1701.fits outfile=/scratch/kocevski/160346/expmap_680227201_680486401_4FGL_J1725.5+5851_daily_bin1701.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/160346/ltcube_680227201_680486401_4FGL_J1725.5+5851_daily_bin1701.fits
.....................!
real 191.93
user 186.04
sys 5.32

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 204 point sources and 0 extended sources

Setting source of interest to:
4FGL J1725.5+5851 @ 261.388 58.8578

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/160346/ft1_filtered_4FGL_J1725.5+5851_daily_bin1701.fits scfile=/scratch/kocevski/160346/ft2_4FGL_J1725.5+5851_daily_bin1701.fits outfile=/scratch/kocevski/160346/cmap_680227201_680486401_4FGL_J1725.5+5851_daily_bin1701.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=261.388 yref=58.8578 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.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/160346/ft1_filtered_4FGL_J1725.5+5851_daily_bin1701.fits scfile=/scratch/kocevski/160346/ft2_4FGL_J1725.5+5851_daily_bin1701.fits outfile=/scratch/kocevski/160346/cmap_HighResolution_680227201_680486401_4FGL_J1725.5+5851_daily_bin1701.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=261.388 yref=58.8578 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.55
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/160346/ft1_filtered_4FGL_J1725.5+5851_daily_bin1701.fits evtable="EVENTS" scfile=/scratch/kocevski/160346/ft2_4FGL_J1725.5+5851_daily_bin1701.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/160346/Model_4FGL_J1725.5+5851_daily_bin1701.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/160346/ft1_filtered_4FGL_J1725.5+5851_daily_bin1701.fits.....................!
real 157.16
user 154.87
sys 1.34

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/160346/ft1_filtered_4FGL_J1725.5+5851_daily_bin1701.fits', '/scratch/kocevski/160346/ft2_4FGL_J1725.5+5851_daily_bin1701.fits', expMap='/scratch/kocevski/160346/expmap_680227201_680486401_4FGL_J1725.5+5851_daily_bin1701.fits', expCube='/scratch/kocevski/160346/ltcube_680227201_680486401_4FGL_J1725.5+5851_daily_bin1701.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/160346/Model_4FGL_J1725.5+5851_daily_bin1701.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1725.5+5851'

4FGL J1725.5+5851
   Spectrum: PowerLaw
339    Prefactor:  2.242e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
340        Index:  2.202e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
341        Scale:  1.522e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/160346/ft1_filtered_4FGL_J1725.5+5851_daily_bin1701.fits
Spacecraft file(s): /scratch/kocevski/160346/ft2_4FGL_J1725.5+5851_daily_bin1701.fits
Exposure map: /scratch/kocevski/160346/expmap_680227201_680486401_4FGL_J1725.5+5851_daily_bin1701.fits
Exposure cube: /scratch/kocevski/160346/ltcube_680227201_680486401_4FGL_J1725.5+5851_daily_bin1701.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/160346/Model_4FGL_J1725.5+5851_daily_bin1701.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) = 18303.8996597

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.3424       1.0000         .10000E-03   10000.    
     2 'norm      '    2.5584       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.7092       1.0000         .10000E-03   10000.    
     5 'norm      '    3.1953       1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.7668       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    25.297       1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.3627       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .28378E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.2868       1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10024E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.1051       1.0000         .10000E-03   10000.    
    15 'Prefactor '    10.332       1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.1116       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .74246       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .80209       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    5.2715       1.0000         .10000E-03   10000.    
    21 'Prefactor '    28.460       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .11679E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    60.839       1.0000         .10000E-03   10000.    
    25 'Prefactor '    5.9080       1.0000         .10000E-03   10000.    
    26 'norm      '    6.6262       1.0000         .10000E-03   10000.    
    27 'Prefactor '    8.2865       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    .42510       1.0000         .10000E-03   10000.    
    30 'norm      '    2.0671       1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
    32 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    33 'Prefactor '    2.7445       1.0000         .10000E-03   10000.    
    34 'norm      '    8.5575       1.0000         .10000E-03   10000.    
    35 'Prefactor '    .48362E-03   1.0000         .10000E-03   10000.    
    36 'Prefactor '    2.4841       1.0000         .10000E-03   10000.    
    37 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    38 'Normalizat'    1.0249       1.0000         .10000E-01   10.000    
    39 'Prefactor '    .90347       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6650E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   18303.88     FROM MIGRAD    STATUS=CONVERGED   1169 CALLS     6197 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.3437        6.0108       -.55449E-06    .20452E-04
   2  norm          2.5582        4.6052       -.82974E-06   -.74323E-04
   3  Prefactor     .10000E-03    6.4469        .68121E-07** at limit **
   4  Prefactor     1.7099        2.1133        .19777E-06   -.29386E-02
   5  norm          3.1963        7.9018       -.36297E-06   -.10532E-04
   6  Prefactor     4.7685        3.8464       -.15748E-06    .10025E-04
   7  Prefactor     .10000E-03    10.599       -.14248E-06** at limit **
   8  norm          25.300        7.4437       -.98354E-07   -.23763E-04
   9  Prefactor     4.3635        1.8720       -.41206E-07    .82703E-04
  10  Prefactor     .10000E-03    2.4110       -.15634E-06** at limit **
  11  Prefactor     3.2895        12.118       -.16356E-05   -.24050E-04
  12  norm          .10000E-03    .21568        .18929E-08** at limit **
  13  norm          .10000E-03    .10649       -.98687E-07** at limit **
  14  Prefactor     2.1056        4.9569        .28112E-05    .39775E-05
  15  Prefactor     10.336        9.1077       -.20713E-06    .64869E-04
  16  Prefactor     3.1129        3.3559        .10918E-05    .81976E-04
  17  Prefactor     .74548        3.3769        .49753E-06   -.41768E-04
  18  Prefactor     .80153        1.5144        .14642E-07    .68548E-05
  19  Prefactor     .10000E-03    14.019       -.43378E-06** at limit **
  20  norm          5.2705        4.0041       -.20800E-06   -.74333E-05
  21  Prefactor     28.459        37.052        .60794E-06    .11144E-04
  22  Prefactor     .10000E-03    1.1891        .21392E-06** at limit **
  23  Prefactor     .10000E-03    28.498       -.14689E-05** at limit **
  24  Prefactor     60.812        59.097       -.24787E-04    .19408E-04
  25  Prefactor     5.9053        21.614       -.58949E-06    .27651E-05
  26  norm          6.6264        2.1717       -.39436E-07    .52438E-04
  27  Prefactor     8.2797        15.222        .29696E-05    .18008E-03
  28  Prefactor     .10000E-03    13.303       -.20383E-05** at limit **
  29  Prefactor     .46650        5.6971       -.20802E-05    .81770E-03
  30  norm          2.0674        2.2852       -.48708E-07   -.20825E-03
  31  Prefactor     .10000E-03    19.266       -.26098E-05** at limit **
  32  Prefactor     .10000E-03    77.981       -.60277E-05** at limit **
  33  Prefactor     2.7441        3.2508       -.11254E-06   -.22722E-02
  34  norm          8.5566        5.2329        .76176E-06    .20076E-03
  35  Prefactor     .10038E-03    5.5419        .12184E-05** at limit **
  36  Prefactor     2.4844        7.5970       -.43804E-06   -.86889E-05
  37  Prefactor     .10000E-03    15.272        .49526E-05** at limit **
  38  Normalizat    1.0247        .13178        .97291E-06    .31846E-03
  39  Prefactor     .90356        .94890E-01    .26158E-06    .43502E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.34371
  norm       = 2.55822
  Prefactor  = 0.0001
  Prefactor  = 1.7099
  norm       = 3.19632
  Prefactor  = 4.76847
  Prefactor  = 0.0001
  norm       = 25.2998
  Prefactor  = 4.36346
  Prefactor  = 0.0001
  Prefactor  = 3.28951
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 2.10555
  Prefactor  = 10.3357
  Prefactor  = 3.11288
  Prefactor  = 0.745477
  Prefactor  = 0.801533
  Prefactor  = 0.0001
  norm       = 5.27053
  Prefactor  = 28.4592
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 60.8119
  Prefactor  = 5.90533
  norm       = 6.62638
  Prefactor  = 8.27974
  Prefactor  = 0.0001
  Prefactor  = 0.466498
  norm       = 2.06736
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.74406
  norm       = 8.55663
  Prefactor  = 0.000100383
  Prefactor  = 2.48442
  Prefactor  = 0.0001
  Normalizat = 1.02474
  Prefactor  = 0.903562
 **********
 **   18 **HESSE 
 **********

 FCN=   18303.88     FROM HESSE     STATUS=OK           964 CALLS     7161 TOTAL
                     EDM=   .35E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.3437        5.9532        .15938E-03   -1.5204    
   2  norm          2.5582        4.5567        .25524E-03   -1.5388    
   3  Prefactor     .10000E-03    6.4543        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.7099        3.4896        .16078E-02   -1.5446    
   5  norm          3.1963        7.8867        .22668E-03   -1.5350    
   6  Prefactor     4.7685        3.8626        .18428E-03   -1.5271    
   7  Prefactor     .10000E-03    10.625        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          25.300        7.4441        .79645E-04   -1.4702    
   9  Prefactor     4.3635        1.8670        .11634E-03   -1.5290    
  10  Prefactor     .10000E-03    18.254        .40381E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.2895        12.093        .22334E-03   -1.5345    
  12  norm          .10000E-03    .21588        .18142E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    .12455        .83719E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.1056        4.9104        .28439E-03   -1.5418    
  15  Prefactor     10.336        8.9356        .12465E-03   -1.5065    
  16  Prefactor     3.1129        3.3311        .22987E-03   -1.5355    
  17  Prefactor     .74548        3.3256        .47484E-03   -1.5535    
  18  Prefactor     .80153        1.0695        .21768E-02   -1.5529    
  19  Prefactor     .10000E-03    14.027        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          5.2705        3.9115        .17506E-03   -1.5249    
  21  Prefactor     28.459        36.804        .75099E-04   -1.4641    
  22  Prefactor     .10000E-03    3.0865        .27927E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    28.610        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     60.812        59.067        .51441E-04   -1.4147    
  25  Prefactor     5.9053        21.464        .16521E-03   -1.5222    
  26  norm          6.6264        2.1690        .10932E-03   -1.5193    
  27  Prefactor     8.2797        15.257        .13927E-03   -1.5132    
  28  Prefactor     .10000E-03    13.743        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .46650        67.279        .57729E-02   -1.5571    
  30  norm          2.0674        2.2773        .10253E-02   -1.5420    
  31  Prefactor     .10000E-03    19.575        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Prefactor     .10000E-03    78.110        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Prefactor     2.7441        3.8707        .12287E-02   -1.5377    
  34  norm          8.5566        5.2210        .13703E-03   -1.5123    
  35  Prefactor     .10038E-03    54.364        .61295E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  36  Prefactor     2.4844        7.5769        .25937E-03   -1.5393    
  37  Prefactor     .10000E-03    15.269        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  38  Normalizat    1.0247        .16003        .29122E-03   -.92206    
  39  Prefactor     .90356        .11354        .24003E-03   -.96017    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.5182e-08
Minuit parameter uncertainties:
  1  5.95374
  2  4.55732
  3  1.42376e-06
  4  3.49003
  5  7.8893
  6  3.86284
  7  2.19415e-05
  8  7.4444
  9  1.86699
  10  0.000120335
  11  12.1015
  12  7.4791e-08
  13  3.94585e-06
  14  4.91137
  15  8.93675
  16  3.33127
  17  3.14913
  18  1.06948
  19  4.93359e-06
  20  3.91168
  21  36.8331
  22  3.79995e-05
  23  8.221e-05
  24  59.1237
  25  21.4923
  26  2.16905
  27  15.2638
  28  5.68905e-05
  29  11.2162
  30  2.2774
  31  1.57757e-05
  32  4.16277e-05
  33  3.87104
  34  5.22132
  35  0.00913386
  36  7.5798
  37  7.46273e-06
  38  0.160105
  39  0.113571
Done.

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

Extracting fit parameters...

4FGL J1725.5+5851
   Spectrum: PowerLaw
339    Prefactor:  7.455e-01  3.149e+00  1.000e-04  1.000e+04 ( 1.000e-13)
340        Index:  2.202e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
341        Scale:  1.522e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
662    Prefactor:  9.036e-01  1.136e-01  0.000e+00  1.000e+01 ( 1.000e+00)
663        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
664        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
661   Normalization:  1.025e+00  1.601e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.07
Ra Dec: 261.388 58.858
Photon Flux Upper Limit: 3.38e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.58e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/160346/likelihoodResults_680227201_680486401_4FGL_J1725.5+5851_daily_bin1701.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) = 18303.8073612
delta logL = 0.0725581467013

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 18303.8052797
delta logL = 0.0746396524009

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .64399       1.0000         .10000E-03   10000.    
     2 'Index     '    2.8186       1.0000          .0000       10.000    
     3 'Normalizat'    1.0190       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90541       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6650E+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=   18303.81     FROM MIGRAD    STATUS=CONVERGED    104 CALLS      269 TOTAL
                     EDM=   .46E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .64372        2.2986        .24862E-03    .15716E-03
   2  Index         2.8190        1.6424        .33058E-02    .25350E-04
   3  Normalizat    1.0190        .14305        .29194E-03    .12461E-05
   4  Prefactor     .90540        .11115        .23980E-03   -.75854E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.643719
  Index      = 2.81897
  Normalizat = 1.01902
  Prefactor  = 0.905401
 **********
 **   18 **HESSE 
 **********

 FCN=   18303.81     FROM HESSE     STATUS=OK            27 CALLS      296 TOTAL
                     EDM=   .48E-14    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .64372        2.1389        .49724E-04   -1.5548    
   2  Index         2.8190        1.5329        .66116E-03   -.45138    
   3  Normalizat    1.0190        .14318        .11678E-04   -.92396    
   4  Prefactor     .90540        .11124        .95920E-05   -.95953    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.76143e-15
Minuit parameter uncertainties:
  1  2.1392
  2  1.56417
  3  0.14323
  4  0.111266
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/160346': 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) = 18303.8052796
delta logL = 0.0746396880568

Extracting fit parameters...

4FGL J1725.5+5851
   Spectrum: PowerLaw
339    Prefactor:  6.437e-01  2.139e+00  1.000e-04  1.000e+04 ( 1.000e-13)
340        Index:  2.819e+00  1.564e+00  0.000e+00  1.000e+01 (-1.000e+00)
341        Scale:  1.522e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
662    Prefactor:  9.054e-01  1.113e-01  0.000e+00  1.000e+01 ( 1.000e+00)
663        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
664        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
661   Normalization:  1.019e+00  1.432e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.07
Ra Dec: 261.388 58.858

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/160346/cmap_HighResolution_680227201_680486401_4FGL_J1725.5+5851_daily_bin1701.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.58e-03', job_status='DONE', photon_flux_upper_limit='3.38e-08', time_completed='2022-07-26 02:59:02.494654', job_id='160346', GAL2='0.91', fit_tolerance='1e-08', EG2='1.02', EG='1.02', time_epoch_completed='1658829542.49', return_code2='0', ts='0.07', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='7.46e-02', ts2='0.22', photon_index_error='0.00', photon_index='2.20' WHERE bin_id='1701' AND source_name='4FGL J1725.5+5851' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jul 26 02:59:02 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0262>
Subject: Job 160347: <4FGL_J1725.5+5851_daily_bin1701> in cluster <slac> Done

Job <4FGL_J1725.5+5851_daily_bin1701> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Jul 26 00:06:54 2022
Job was executed on host(s) <bullet0262>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jul 26 02:01:10 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jul 26 02:01:10 2022
Terminated at Tue Jul 26 02:58:24 2022
Results reported at Tue Jul 26 02:58:24 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1725.5+5851_daily_bin1701 261.388 58.8578 680227201 680486401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1725.5+5851 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   3407.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             342.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   3434 sec.
    Turnaround time :                            10290 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0169>
Subject: Job 160346: <4FGL_J1725.5+5851_daily_bin1701> in cluster <slac> Done

Job <4FGL_J1725.5+5851_daily_bin1701> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Jul 26 00:06:54 2022
Job was executed on host(s) <bullet0169>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jul 26 02:01:09 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jul 26 02:01:09 2022
Terminated at Tue Jul 26 02:59:03 2022
Results reported at Tue Jul 26 02:59:03 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1725.5+5851_daily_bin1701 261.388 58.8578 680227201 680486401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1725.5+5851 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   3385.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             340.99 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   3473 sec.
    Turnaround time :                            10329 sec.

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

