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


Performing analysis on: 4FGL_J1725.0+1152_daily_bin1757
RA = 261.271, Dec = 11.8748
tmin = 694742401, tmax = 695001601
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='211228', job_status='RUN', time_executed='2023-01-10 01:48:34.446559', time_epoch_executed='1673344114.45' WHERE source_name='4FGL J1725.0+1152' and cadence='daily' and bin_id='1757'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/211228

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/211228/ft1_4FGL_J1725.0+1152_daily_bin1757.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/211228/ft2_4FGL_J1725.0+1152_daily_bin1757.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/211228/ft1_4FGL_J1725.0+1152_daily_bin1757.fits outfile=/scratch/kocevski/211228/ft1_filteredMKT_4FGL_J1725.0+1152_daily_bin1757.fits ra=261.271 dec=11.8748 rad=12.0 tmin=694742401.0 tmax=695001601.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.05
user 2.70
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/211228/ft2_4FGL_J1725.0+1152_daily_bin1757.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/211228/ft2_4FGL_J1725.0+1152_daily_bin1757.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/211228/ft1_filteredMKT_4FGL_J1725.0+1152_daily_bin1757.fits evtable="EVENTS" outfile="/scratch/kocevski/211228/ft1_filtered_4FGL_J1725.0+1152_daily_bin1757.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.54
user 0.33
sys 0.17

Number of photons that the gtmktime cut: 1135

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/211228/ft1_filtered_4FGL_J1725.0+1152_daily_bin1757.fits" evtable="EVENTS" scfile=/scratch/kocevski/211228/ft2_4FGL_J1725.0+1152_daily_bin1757.fits sctable="SC_DATA" outfile=/scratch/kocevski/211228/ltcube_694742401_695001601_4FGL_J1725.0+1152_daily_bin1757.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/211228/ft2_4FGL_J1725.0+1152_daily_bin1757.fits
.....................!
real 17.49
user 17.07
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/211228/ft1_filtered_4FGL_J1725.0+1152_daily_bin1757.fits evtable="EVENTS" scfile=/scratch/kocevski/211228/ft2_4FGL_J1725.0+1152_daily_bin1757.fits sctable="SC_DATA" expcube=/scratch/kocevski/211228/ltcube_694742401_695001601_4FGL_J1725.0+1152_daily_bin1757.fits outfile=/scratch/kocevski/211228/expmap_694742401_695001601_4FGL_J1725.0+1152_daily_bin1757.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/211228/ltcube_694742401_695001601_4FGL_J1725.0+1152_daily_bin1757.fits
.....................!
real 193.44
user 187.32
sys 5.65

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
Extended source FHES J1723.5-0501 in ROI with RadialGaussian spatial model.
Added 179 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1725.0+1152 @ 261.271 11.8748

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/211228/ft1_filtered_4FGL_J1725.0+1152_daily_bin1757.fits scfile=/scratch/kocevski/211228/ft2_4FGL_J1725.0+1152_daily_bin1757.fits outfile=/scratch/kocevski/211228/cmap_694742401_695001601_4FGL_J1725.0+1152_daily_bin1757.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.271 yref=11.8748 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.58
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/211228/ft1_filtered_4FGL_J1725.0+1152_daily_bin1757.fits scfile=/scratch/kocevski/211228/ft2_4FGL_J1725.0+1152_daily_bin1757.fits outfile=/scratch/kocevski/211228/cmap_HighResolution_694742401_695001601_4FGL_J1725.0+1152_daily_bin1757.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.271 yref=11.8748 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.37
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/211228/ft1_filtered_4FGL_J1725.0+1152_daily_bin1757.fits evtable="EVENTS" scfile=/scratch/kocevski/211228/ft2_4FGL_J1725.0+1152_daily_bin1757.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/211228/Model_4FGL_J1725.0+1152_daily_bin1757.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 FHES J1723.5-0501
adding source GAL_V02
Working on...
/scratch/kocevski/211228/ft1_filtered_4FGL_J1725.0+1152_daily_bin1757.fits.....................!
real 103.36
user 101.25
sys 1.36

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/211228/ft1_filtered_4FGL_J1725.0+1152_daily_bin1757.fits', '/scratch/kocevski/211228/ft2_4FGL_J1725.0+1152_daily_bin1757.fits', expMap='/scratch/kocevski/211228/expmap_694742401_695001601_4FGL_J1725.0+1152_daily_bin1757.fits', expCube='/scratch/kocevski/211228/ltcube_694742401_695001601_4FGL_J1725.0+1152_daily_bin1757.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/211228/Model_4FGL_J1725.0+1152_daily_bin1757.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1725.0+1152'

4FGL J1725.0+1152
   Spectrum: LogParabola
268         norm:  8.675e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
269        alpha:  1.766e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
270         beta:  5.873e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
271           Eb:  2.148e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/211228/ft1_filtered_4FGL_J1725.0+1152_daily_bin1757.fits
Spacecraft file(s): /scratch/kocevski/211228/ft2_4FGL_J1725.0+1152_daily_bin1757.fits
Exposure map: /scratch/kocevski/211228/expmap_694742401_695001601_4FGL_J1725.0+1152_daily_bin1757.fits
Exposure cube: /scratch/kocevski/211228/ltcube_694742401_695001601_4FGL_J1725.0+1152_daily_bin1757.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/211228/Model_4FGL_J1725.0+1152_daily_bin1757.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) = 12310.5651525

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .36199E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    .50858E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    34.655       1.0000          .0000       .10000E+07
     4 'Prefactor '    .11236E-01   1.0000          .0000       .10000E+07
     5 'Prefactor '    .12053E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .40894E-05   1.0000          .0000       .10000E+07
     7 'norm      '    .32752E-08   1.0000          .0000       .10000E+07
     8 'Prefactor '    .45065E-04   1.0000          .0000       .10000E+07
     9 'norm      '    9.0425       1.0000          .0000       .10000E+07
    10 'Prefactor '    .47354E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    6.3176       1.0000          .0000       .10000E+07
    12 'norm      '    2.8582       1.0000          .0000       .10000E+07
    13 'norm      '    .57361       1.0000          .0000       .10000E+07
    14 'norm      '    .18340E-01   1.0000          .0000       .10000E+07
    15 'norm      '    2.2928       1.0000          .0000       .10000E+07
    16 'Prefactor '    .27865E-01   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.3242       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .89899       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6130E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12310.53     FROM MIGRAD    STATUS=CONVERGED    111 CALLS     1030 TOTAL
                     EDM=   .98E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .33307E-09    2.7909       -.33938E-06** at limit **
   2  Prefactor     .44409E-09    2.9479        .41963E-06** at limit **
   3  Prefactor     34.994        3.3972        .30279E-06   -.68609E-01
   4  Prefactor     .20373E-07    17.952        .14814E-05** at limit **
   5  Prefactor     .57759E-06    5.1603       -.22304E-05** at limit **
   6  Prefactor     .77716E-09    3.4787       -.10170E-09** at limit **
   7  norm           .0000        .70517       -.16919E-06** at limit **
   8  Prefactor     .41100E-06    5.6777        .12680E-05** at limit **
   9  norm          9.0406        1.8777       -.39794E-06   -.23212E-01
  10  Prefactor     .55511E-09    22.122       -.41101E-06** at limit **
  11  Prefactor     6.3209        3.9100        .10788E-06    .69896E-02
  12  norm          2.8789        8.3212        .47252E-05    .40073E-01
  13  norm          .56901        6.0241       -.57179E-07   -.13599E-02
  14  norm          .55511E-10    27.310        .15699E-06** at limit **
  15  norm          2.2916        1.0066        .36287E-07    .14553E-01
  16  Prefactor     .98597E-05    8.1533       -.42969E-05** at limit **
  17  Normalizat    1.3236        .27407       -.82699E-05    .26333E-04
  18  Prefactor     .89918        .81226E-01    .10395E-05    .12531E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.33067e-10
  Prefactor  = 4.44089e-10
  Prefactor  = 34.9936
  Prefactor  = 2.03726e-08
  Prefactor  = 5.77594e-07
  Prefactor  = 7.77156e-10
  norm       = 0
  Prefactor  = 4.11005e-07
  norm       = 9.04064
  Prefactor  = 5.55112e-10
  Prefactor  = 6.32089
  norm       = 2.87889
  norm       = 0.56901
  norm       = 5.55112e-11
  norm       = 2.29162
  Prefactor  = 9.85967e-06
  Normalizat = 1.32365
  Prefactor  = 0.899183
 **********
 **   18 **HESSE 
 **********

 FCN=   12310.53     FROM HESSE     STATUS=OK           284 CALLS     1314 TOTAL
                     EDM=   .17E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .33307E-09    2.7920        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .44409E-09    2.9543        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     34.994        26.151        .16989E-03   -1.5590    
   4  Prefactor     .20373E-07    18.212        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .57759E-06    9.2474        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .77716E-09    3.4835        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        .70420        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .41100E-06    8.6250        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          9.0406        8.3971        .33306E-03   -1.5648    
  10  Prefactor     .55511E-09    22.537        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     6.3209        4.0980        .39911E-03   -1.5658    
  12  norm          2.8789        9.6146        .60108E-03   -1.5674    
  13  norm          .56901        5.8934        .71626E-03   -1.5693    
  14  norm          .55511E-10    27.250        .17148E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.2916        1.0059        .67760E-03   -1.5678    
  16  Prefactor     .98597E-05    19.001        .27376E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.3236        .24001        .99072E-01   -.82863    
  18  Prefactor     .89918        .70118E-01    .34456E-01   -.96170    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.74118e-06
Minuit parameter uncertainties:
  1  6.31316e-05
  2  7.35978e-05
  3  26.1515
  4  0.00121787
  5  0.00462217
  6  0.000105362
  7  4.58531e-06
  8  0.00376567
  9  8.39716
  10  0.000221267
  11  4.09803
  12  9.61465
  13  3.66248
  14  9.18552e-05
  15  1.00589
  16  0.0273747
  17  0.240217
  18  0.070125
Done.

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

Extracting fit parameters...

4FGL J1725.0+1152
   Spectrum: LogParabola
268         norm:  9.041e+00  8.397e+00  0.000e+00  1.000e+06 ( 1.000e-13)
269        alpha:  1.766e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
270         beta:  5.873e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
271           Eb:  2.148e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
610    Prefactor:  8.992e-01  7.012e-02  0.000e+00  1.000e+01 ( 1.000e+00)
611        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
612        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
606   Normalization:  1.324e+00  2.402e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.52
Ra Dec: 261.271 11.875
Photon Index (Fixed Index): 1.77 +/- 0.00
Photon Flux (Fixed Index): 2.04e-08 +/- 1.89e-08
Energy Flux (Fixed Index): 2.68e-05 +/- 2.49e-05

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) = 12310.399702
delta logL = 0.132940532638

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12310.3263813
delta logL = 0.206261270192

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.0019       1.0000          .0000       .10000E+07
     2 'alpha     '    1.1268       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3235       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90226       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6130E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   12310.33     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      214 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.0019        5.1763        .44941E-03   -.22156E-01
   2  alpha         1.1260        .54885        .50000       -.69426E-04
   3  Normalizat    1.3234        .23316        .99103E-01    .29427E-04
   4  Prefactor     .90226        .68585E-01    .34415E-01   -.25479E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 5.00191
  alpha      = 1.12598
  Normalizat = 1.3234
  Prefactor  = 0.902258
 **********
 **   18 **HESSE 
 **********

 FCN=   12310.33     FROM HESSE     STATUS=OK            33 CALLS      247 TOTAL
                     EDM=   .33E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.0019        7.9604        .17976E-04   -1.5663    
   2  alpha         1.1260        .87227        .27902E-01   -.58189    
   3  Normalizat    1.3234        .26968        .43909E-03   -.82871    
   4  Prefactor     .90226        .79619E-01    .15207E-03   -.96062    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.3059e-08
Minuit parameter uncertainties:
  1  7.96044
  2  0.899854
  3  0.269965
  4  0.0796289
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/211228': 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) = 12310.3263799
delta logL = 0.206262620466

Extracting fit parameters...

4FGL J1725.0+1152
   Spectrum: LogParabola
268         norm:  5.002e+00  7.960e+00  0.000e+00  1.000e+06 ( 1.000e-13)
269        alpha:  1.126e+00  8.999e-01  0.000e+00  5.000e+00 ( 1.000e+00)
270         beta:  5.873e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
271           Eb:  2.148e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
610    Prefactor:  9.023e-01  7.963e-02  0.000e+00  1.000e+01 ( 1.000e+00)
611        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
612        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
606   Normalization:  1.323e+00  2.700e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.94
Ra Dec: 261.271 11.875
Photon Index (Free Index): 1.13 +/- 0.90
Photon Flux (Free Index): 5.94e-09 +/- 1.02e-08
Energy Flux (Free Index): 4.73e-05 +/- 6.59e-05

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/211228/cmap_HighResolution_694742401_695001601_4FGL_J1725.0+1152_daily_bin1757.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.04e-08', energy_flux2='4.73e-05', photon_flux_error='1.89e-08', dlogl='2.06e-01', energy_flux='2.68e-05', photon_flux2='5.94e-09', job_status='DONE', time_completed='2023-01-10 01:59:31.933608', photon_index_error2='0.90', photon_index2='1.13', ts='5.52', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', energy_flux_error2='6.59e-05', EG='1.32', time_epoch_completed='1673344771.93', return_code='0', job_id='211228', GAL2='0.90', EG2='1.32', return_code2='0', energy_flux_error='2.49e-05', photon_flux_error2='1.02e-08', ts2='5.94', photon_index='1.77' WHERE bin_id='1757' AND source_name='4FGL J1725.0+1152' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jan 10 01:59:31 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0040>
Subject: Job 211228: <4FGL_J1725.0+1152_daily_bin1757> in cluster <slac> Done

Job <4FGL_J1725.0+1152_daily_bin1757> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Tue Jan 10 01:45:21 2023
Job was executed on host(s) <bullet0040>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan 10 01:46:06 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan 10 01:46:06 2023
Terminated at Tue Jan 10 01:59:32 2023
Results reported at Tue Jan 10 01:59:32 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1725.0+1152_daily_bin1757 261.271 11.8748 694742401 695001601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1725.0+1152 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   659.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             273.24 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   806 sec.
    Turnaround time :                            851 sec.

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

