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


Performing analysis on: 4FGL_J1725.5+5851_weekly_bin730
RA = 261.388, Dec = 58.8578
tmin = 680486401, tmax = 681091201
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='659636', job_status='RUN', time_executed='2022-08-02 02:23:40.311681', time_epoch_executed='1659432220.31' WHERE source_name='4FGL J1725.5+5851' and cadence='weekly' and bin_id='730'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/659636

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/659636/ft1_4FGL_J1725.5+5851_weekly_bin730.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/659636/ft2_4FGL_J1725.5+5851_weekly_bin730.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/659636/ft1_4FGL_J1725.5+5851_weekly_bin730.fits outfile=/scratch/kocevski/659636/ft1_filteredMKT_4FGL_J1725.5+5851_weekly_bin730.fits ra=261.388 dec=58.8578 rad=12.0 tmin=680486401.0 tmax=681091201.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 6.29
user 5.96
sys 0.30

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/659636/ft2_4FGL_J1725.5+5851_weekly_bin730.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/659636/ft1_filteredMKT_4FGL_J1725.5+5851_weekly_bin730.fits evtable="EVENTS" outfile="/scratch/kocevski/659636/ft1_filtered_4FGL_J1725.5+5851_weekly_bin730.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.57
user 0.40
sys 0.17

Number of photons that the gtmktime cut: 4161

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/659636/ft1_filtered_4FGL_J1725.5+5851_weekly_bin730.fits" evtable="EVENTS" scfile=/scratch/kocevski/659636/ft2_4FGL_J1725.5+5851_weekly_bin730.fits sctable="SC_DATA" outfile=/scratch/kocevski/659636/ltcube_680486401_681091201_4FGL_J1725.5+5851_weekly_bin730.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/659636/ft2_4FGL_J1725.5+5851_weekly_bin730.fits
.....................!
real 33.90
user 33.47
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/659636/ft1_filtered_4FGL_J1725.5+5851_weekly_bin730.fits evtable="EVENTS" scfile=/scratch/kocevski/659636/ft2_4FGL_J1725.5+5851_weekly_bin730.fits sctable="SC_DATA" expcube=/scratch/kocevski/659636/ltcube_680486401_681091201_4FGL_J1725.5+5851_weekly_bin730.fits outfile=/scratch/kocevski/659636/expmap_680486401_681091201_4FGL_J1725.5+5851_weekly_bin730.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/659636/ltcube_680486401_681091201_4FGL_J1725.5+5851_weekly_bin730.fits
.....................!
real 192.49
user 186.79
sys 5.21

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/659636/ft1_filtered_4FGL_J1725.5+5851_weekly_bin730.fits scfile=/scratch/kocevski/659636/ft2_4FGL_J1725.5+5851_weekly_bin730.fits outfile=/scratch/kocevski/659636/cmap_680486401_681091201_4FGL_J1725.5+5851_weekly_bin730.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.60
user 0.44
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/659636/ft1_filtered_4FGL_J1725.5+5851_weekly_bin730.fits scfile=/scratch/kocevski/659636/ft2_4FGL_J1725.5+5851_weekly_bin730.fits outfile=/scratch/kocevski/659636/cmap_HighResolution_680486401_681091201_4FGL_J1725.5+5851_weekly_bin730.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.61
user 0.44
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/659636/ft1_filtered_4FGL_J1725.5+5851_weekly_bin730.fits', '/scratch/kocevski/659636/ft2_4FGL_J1725.5+5851_weekly_bin730.fits', expMap='/scratch/kocevski/659636/expmap_680486401_681091201_4FGL_J1725.5+5851_weekly_bin730.fits', expCube='/scratch/kocevski/659636/ltcube_680486401_681091201_4FGL_J1725.5+5851_weekly_bin730.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/659636/Model_4FGL_J1725.5+5851_weekly_bin730.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/659636/ft1_filtered_4FGL_J1725.5+5851_weekly_bin730.fits
Spacecraft file(s): /scratch/kocevski/659636/ft2_4FGL_J1725.5+5851_weekly_bin730.fits
Exposure map: /scratch/kocevski/659636/expmap_680486401_681091201_4FGL_J1725.5+5851_weekly_bin730.fits
Exposure cube: /scratch/kocevski/659636/ltcube_680486401_681091201_4FGL_J1725.5+5851_weekly_bin730.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/659636/Model_4FGL_J1725.5+5851_weekly_bin730.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) = 43072.8298771

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.1006       1.0000         .10000E-03   10000.    
     2 'norm      '    4.3478       1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.5774       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .12179E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    12.998       1.0000         .10000E-03   10000.    
     8 'norm      '    18.516       1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.4194       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11631E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.7165       1.0000         .10000E-03   10000.    
    12 'norm      '    .28896       1.0000         .10000E-03   10000.    
    13 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.9385       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .25043       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .57870       1.0000         .10000E-03   10000.    
    19 'Prefactor '    15.687       1.0000         .10000E-03   10000.    
    20 'norm      '    4.4880       1.0000         .10000E-03   10000.    
    21 'Prefactor '    14.612       1.0000         .10000E-03   10000.    
    22 'Prefactor '    1.1569       1.0000         .10000E-03   10000.    
    23 'Prefactor '    10.406       1.0000         .10000E-03   10000.    
    24 'Prefactor '    31.975       1.0000         .10000E-03   10000.    
    25 'Prefactor '    22.183       1.0000         .10000E-03   10000.    
    26 'norm      '    4.8897       1.0000         .10000E-03   10000.    
    27 'Prefactor '    7.6143       1.0000         .10000E-03   10000.    
    28 'Prefactor '    2.0747       1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    30 'norm      '    3.1398       1.0000         .10000E-03   10000.    
    31 'Prefactor '    .29909E-02   1.0000         .10000E-03   10000.    
    32 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    33 'Prefactor '    3.3966       1.0000         .10000E-03   10000.    
    34 'norm      '    5.9031       1.0000         .10000E-03   10000.    
    35 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    36 'Prefactor '    3.4030       1.0000         .10000E-03   10000.    
    37 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    38 'Normalizat'    .96160       1.0000         .10000E-01   10.000    
    39 'Prefactor '    1.0004       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   43072.73     FROM MIGRAD    STATUS=CONVERGED   1147 CALLS     5304 TOTAL
                     EDM=   .63E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.1005        4.3387         .0000       -.94176E-03
   2  norm          4.3476        2.7963         .0000       -.24802E-02
   3  Prefactor     2.5774        7.6984         .0000        .78055E-02
   4  Prefactor     .10000E-03    2.1986         .0000    ** at limit **
   5  norm          .10000E-03    4.7705         .0000    ** at limit **
   6  Prefactor     .10001E-03    .76925         .0000    ** at limit **
   7  Prefactor     13.000        12.383         .0000       -.11226E-02
   8  norm          18.516        4.0246         .0000       -.60746E-03
   9  Prefactor     3.4195        1.2764         .0000        .11940E-02
  10  Prefactor     .10001E-03    1.0939         .0000    ** at limit **
  11  Prefactor     2.7164        4.1555         .0000        .19047E-01
  12  norm          .28895        .31122         .0000        .70279E-02
  13  norm          .10000E-03    .60534E-01     .0000    ** at limit **
  14  Prefactor     5.9389        3.1978         .0000        .26593E-01
  15  Prefactor     .24756        1.1339         .0000        .28976E-02
  16  Prefactor     .10000E-03    .93134         .0000    ** at limit **
  17  Prefactor     .10000E-03    1.6325         .0000    ** at limit **
  18  Prefactor     .57872        .62632         .0000       -.12061E-02
  19  Prefactor     15.686        16.292         .0000        .23852E-04
  20  norm          4.4880        2.3470         .0000        .23848E-02
  21  Prefactor     14.613        15.153         .0000       -.19936E-03
  22  Prefactor     1.1572        1.7464         .0000        .56855E-02
  23  Prefactor     10.406        13.035         .0000        .44925E-03
  24  Prefactor     31.975        26.381         .0000        .82160E-03
  25  Prefactor     22.183        19.408         .0000        .13645E-02
  26  norm          4.8898        1.1758         .0000       -.18983E-03
  27  Prefactor     7.6143        6.3809         .0000        .88740E-04
  28  Prefactor     2.0715        4.5886         .0000        .16031E-02
  29  Prefactor     .10000E-03    2.4726         .0000    ** at limit **
  30  norm          3.1399        1.8079         .0000        .16743E-02
  31  Prefactor     .10000E-03    1.9456         .0000    ** at limit **
  32  Prefactor     .10000E-03    12.640         .0000    ** at limit **
  33  Prefactor     3.3960        2.4888         .0000        .61761E-01
  34  norm          5.9032        2.7128         .0000        .22860E-02
  35  Prefactor     .10001E-03    5.1185         .0000    ** at limit **
  36  Prefactor     3.4026        5.4320         .0000        .65675E-03
  37  Prefactor     .10000E-03    8.0058         .0000    ** at limit **
  38  Normalizat    .96165        .84065E-01     .0000        .57193E-04
  39  Prefactor     1.0004        .61790E-01     .0000        .18389E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.10053
  norm       = 4.34757
  Prefactor  = 2.57745
  Prefactor  = 0.0001
  norm       = 0.000100002
  Prefactor  = 0.000100005
  Prefactor  = 13.0003
  norm       = 18.5159
  Prefactor  = 3.4195
  Prefactor  = 0.000100014
  Prefactor  = 2.71643
  norm       = 0.288947
  norm       = 0.0001
  Prefactor  = 5.93888
  Prefactor  = 0.247563
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.578721
  Prefactor  = 15.6865
  norm       = 4.48805
  Prefactor  = 14.6127
  Prefactor  = 1.15724
  Prefactor  = 10.4059
  Prefactor  = 31.975
  Prefactor  = 22.183
  norm       = 4.88976
  Prefactor  = 7.61435
  Prefactor  = 2.0715
  Prefactor  = 0.0001
  norm       = 3.13988
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 3.39601
  norm       = 5.90315
  Prefactor  = 0.000100006
  Prefactor  = 3.40259
  Prefactor  = 0.000100002
  Normalizat = 0.96165
  Prefactor  = 1.00036
 **********
 **   18 **HESSE 
 **********

 FCN=   43072.73     FROM HESSE     STATUS=OK           962 CALLS     6266 TOTAL
                     EDM=   .42E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.1005        4.3209        .16255E-03   -1.5214    
   2  norm          4.3476        2.7825        .19318E-03   -1.5291    
   3  Prefactor     2.5774        7.6802        .12711E-02   -1.5387    
   4  Prefactor     .10000E-03    2.2491        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    4.8371        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10001E-03    6.9366        .34296E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     13.000        12.288        .11110E-03   -1.4987    
   8  norm          18.516        4.0254        .93078E-04   -1.4847    
   9  Prefactor     3.4195        1.2551        .13487E-03   -1.5338    
  10  Prefactor     .10001E-03    9.0160        .41591E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.7164        4.1389        .12355E-02   -1.5378    
  12  norm          .28895        .27200        .11366E-02   -1.5600    
  13  norm          .10000E-03    .10494        .95900E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     5.9389        3.1506        .82391E-03   -1.5221    
  15  Prefactor     .24756        6.5863        .41509E-02   -1.5608    
  16  Prefactor     .10000E-03    .95019        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    1.6697        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .57872        .62044        .16593E-03   -1.5556    
  19  Prefactor     15.686        16.245        .10112E-03   -1.4916    
  20  norm          4.4880        2.3214        .19006E-03   -1.5284    
  21  Prefactor     14.613        15.133        .10478E-03   -1.4943    
  22  Prefactor     1.1572        1.6962        .30756E-03   -1.5493    
  23  Prefactor     10.406        12.964        .12421E-03   -1.5063    
  24  Prefactor     31.975        26.374        .70860E-04   -1.4576    
  25  Prefactor     22.183        19.374        .85043E-04   -1.4766    
  26  norm          4.8898        1.1736        .10590E-03   -1.5266    
  27  Prefactor     7.6143        6.3780        .14533E-03   -1.5156    
  28  Prefactor     2.0715        4.5371        .28676E-03   -1.5420    
  29  Prefactor     .10000E-03    2.4926        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  norm          3.1399        1.7976        .19942E-03   -1.5354    
  31  Prefactor     .10000E-03    14.938        .55561E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Prefactor     .10000E-03    12.648        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Prefactor     3.3960        2.4736        .10976E-02   -1.5339    
  34  norm          5.9032        2.7095        .16528E-03   -1.5222    
  35  Prefactor     .10001E-03    5.2347        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  36  Prefactor     3.4026        5.4124        .21931E-03   -1.5339    
  37  Prefactor     .10000E-03    8.0082        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  38  Normalizat    .96165        .96982E-01    .30093E-03   -.94327    
  39  Prefactor     1.0004        .73193E-01    .23269E-03   -.92718    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.15979e-07
Minuit parameter uncertainties:
  1  4.32115
  2  2.7826
  3  7.68315
  4  8.74547e-06
  5  0.000180471
  6  0.000380425
  7  12.2902
  8  4.02542
  9  1.25516
  10  0.000705216
  11  4.13929
  12  0.271999
  13  5.41308e-07
  14  3.15071
  15  2.55364
  16  6.50308e-06
  17  3.17551e-06
  18  0.620443
  19  16.2498
  20  2.32146
  21  15.137
  22  1.69632
  23  12.9679
  24  26.3837
  25  19.3798
  26  1.17362
  27  6.37862
  28  4.53785
  29  1.05344e-05
  30  1.79758
  31  0.000419309
  32  0.000133567
  33  2.47369
  34  2.70952
  35  0.000353425
  36  5.4132
  37  0.000266397
  38  0.0969995
  39  0.0732003
Done.

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

Extracting fit parameters...

4FGL J1725.5+5851
   Spectrum: PowerLaw
339    Prefactor:  1.000e-04  3.176e-06  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:  1.000e+00  7.320e-02  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:  9.616e-01  9.700e-02  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/659636/likelihoodResults_680486401_681091201_4FGL_J1725.5+5851_weekly_bin730.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) = 43072.7307923
delta logL = -0.00285594794695

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 43072.7279356
delta logL = 6.89789885655e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1751       1.0000          .0000       10.000    
     3 'Normalizat'    .96166       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0004       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=   43072.73     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      249 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10120E-03    .26085E-01    .71859E-01** at limit **
   2  Index         2.1208        5.7027        .50000        .97647E-04
   3  Normalizat    .96165        .33172E-03    .30093E-03    .30827E-04
   4  Prefactor     1.0004        .26270E-03    .23269E-03   -.85990E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101198
  Index      = 2.1208
  Normalizat = 0.96165
  Prefactor  = 1.00036
 **********
 **   18 **HESSE 
 **********

 FCN=   43072.73     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      280 TOTAL
                     EDM=   .91E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10120E-03    4.8308        .38340E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1208        5.2096        .50000       -.61363    
   3  Normalizat    .96165        .31900E-02    .12037E-04   -.94326    
   4  Prefactor     1.0004        .25263E-02    .93075E-05   -.92718    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.09763e-09
Minuit parameter uncertainties:
  1  0.00481193
  2  58.758
  3  0.00318999
  4  0.00252627
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/659636': 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) = 43072.7279344
delta logL = 1.94516178453e-06

Extracting fit parameters...

4FGL J1725.5+5851
   Spectrum: PowerLaw
339    Prefactor:  1.012e-04  4.812e-03  1.000e-04  1.000e+04 ( 1.000e-13)
340        Index:  2.121e+00  5.876e+01  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:  1.000e+00  2.526e-03  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:  9.617e-01  3.190e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/659636/cmap_HighResolution_680486401_681091201_4FGL_J1725.5+5851_weekly_bin730.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.38e-03', job_status='DONE', photon_flux_upper_limit='1.82e-08', time_completed='2022-08-02 04:18:36.437625', job_id='659636', GAL2='1.00', fit_tolerance='1e-08', EG2='0.96', EG='0.96', time_epoch_completed='1659439116.44', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='1.95e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.20' WHERE bin_id='730' AND source_name='4FGL J1725.5+5851' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Aug  2 04:18:36 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0090>
Subject: Job 659637: <4FGL_J1725.5+5851_weekly_bin730> in cluster <slac> Done

Job <4FGL_J1725.5+5851_weekly_bin730> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Aug  2 00:06:52 2022
Job was executed on host(s) <bullet0090>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug  2 02:22:23 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug  2 02:22:23 2022
Terminated at Tue Aug  2 04:17:30 2022
Results reported at Tue Aug  2 04:17:30 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1725.5+5851_weekly_bin730 261.388 58.8578 680486401 681091201 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 :                                   6812.00 sec.
    Max Memory :                                 1261 MB
    Average Memory :                             380.09 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   6907 sec.
    Turnaround time :                            15038 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0259>
Subject: Job 659636: <4FGL_J1725.5+5851_weekly_bin730> in cluster <slac> Done

Job <4FGL_J1725.5+5851_weekly_bin730> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Aug  2 00:06:52 2022
Job was executed on host(s) <bullet0259>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug  2 02:22:22 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug  2 02:22:22 2022
Terminated at Tue Aug  2 04:18:37 2022
Results reported at Tue Aug  2 04:18:37 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1725.5+5851_weekly_bin730 261.388 58.8578 680486401 681091201 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 :                                   6873.00 sec.
    Max Memory :                                 1261 MB
    Average Memory :                             380.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   6974 sec.
    Turnaround time :                            15105 sec.

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

