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


Performing analysis on: 4FGL_J1725.0+1152_daily_bin1744
RA = 261.271, Dec = 11.8748
tmin = 691372801, tmax = 691632001
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='587731', job_status='RUN', time_executed='2022-12-02 01:26:21.470244', time_epoch_executed='1669973181.47' WHERE source_name='4FGL J1725.0+1152' and cadence='daily' and bin_id='1744'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/587731

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/587731/ft1_4FGL_J1725.0+1152_daily_bin1744.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/587731/ft2_4FGL_J1725.0+1152_daily_bin1744.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/587731/ft1_4FGL_J1725.0+1152_daily_bin1744.fits outfile=/scratch/kocevski/587731/ft1_filteredMKT_4FGL_J1725.0+1152_daily_bin1744.fits ra=261.271 dec=11.8748 rad=12.0 tmin=691372801.0 tmax=691632001.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 4.42
user 2.33
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/587731/ft2_4FGL_J1725.0+1152_daily_bin1744.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/587731/ft1_filteredMKT_4FGL_J1725.0+1152_daily_bin1744.fits evtable="EVENTS" outfile="/scratch/kocevski/587731/ft1_filtered_4FGL_J1725.0+1152_daily_bin1744.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 3.45
user 0.34
sys 0.18

Number of photons that the gtmktime cut: 1460

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/587731/ft1_filtered_4FGL_J1725.0+1152_daily_bin1744.fits" evtable="EVENTS" scfile=/scratch/kocevski/587731/ft2_4FGL_J1725.0+1152_daily_bin1744.fits sctable="SC_DATA" outfile=/scratch/kocevski/587731/ltcube_691372801_691632001_4FGL_J1725.0+1152_daily_bin1744.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/587731/ft2_4FGL_J1725.0+1152_daily_bin1744.fits
.....................!
real 13.69
user 12.29
sys 0.41

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/587731/ft1_filtered_4FGL_J1725.0+1152_daily_bin1744.fits evtable="EVENTS" scfile=/scratch/kocevski/587731/ft2_4FGL_J1725.0+1152_daily_bin1744.fits sctable="SC_DATA" expcube=/scratch/kocevski/587731/ltcube_691372801_691632001_4FGL_J1725.0+1152_daily_bin1744.fits outfile=/scratch/kocevski/587731/expmap_691372801_691632001_4FGL_J1725.0+1152_daily_bin1744.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/587731/ltcube_691372801_691632001_4FGL_J1725.0+1152_daily_bin1744.fits
.....................!
real 192.46
user 185.91
sys 5.37

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/587731/ft1_filtered_4FGL_J1725.0+1152_daily_bin1744.fits scfile=/scratch/kocevski/587731/ft2_4FGL_J1725.0+1152_daily_bin1744.fits outfile=/scratch/kocevski/587731/cmap_691372801_691632001_4FGL_J1725.0+1152_daily_bin1744.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.55
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/587731/ft1_filtered_4FGL_J1725.0+1152_daily_bin1744.fits scfile=/scratch/kocevski/587731/ft2_4FGL_J1725.0+1152_daily_bin1744.fits outfile=/scratch/kocevski/587731/cmap_HighResolution_691372801_691632001_4FGL_J1725.0+1152_daily_bin1744.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.57
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/587731/ft1_filtered_4FGL_J1725.0+1152_daily_bin1744.fits evtable="EVENTS" scfile=/scratch/kocevski/587731/ft2_4FGL_J1725.0+1152_daily_bin1744.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/587731/Model_4FGL_J1725.0+1152_daily_bin1744.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/587731/ft1_filtered_4FGL_J1725.0+1152_daily_bin1744.fits....................!
real 127.78
user 125.75
sys 1.43

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/587731/ft1_filtered_4FGL_J1725.0+1152_daily_bin1744.fits', '/scratch/kocevski/587731/ft2_4FGL_J1725.0+1152_daily_bin1744.fits', expMap='/scratch/kocevski/587731/expmap_691372801_691632001_4FGL_J1725.0+1152_daily_bin1744.fits', expCube='/scratch/kocevski/587731/ltcube_691372801_691632001_4FGL_J1725.0+1152_daily_bin1744.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/587731/Model_4FGL_J1725.0+1152_daily_bin1744.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/587731/ft1_filtered_4FGL_J1725.0+1152_daily_bin1744.fits
Spacecraft file(s): /scratch/kocevski/587731/ft2_4FGL_J1725.0+1152_daily_bin1744.fits
Exposure map: /scratch/kocevski/587731/expmap_691372801_691632001_4FGL_J1725.0+1152_daily_bin1744.fits
Exposure cube: /scratch/kocevski/587731/ltcube_691372801_691632001_4FGL_J1725.0+1152_daily_bin1744.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/587731/Model_4FGL_J1725.0+1152_daily_bin1744.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) = 15574.9355988

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11147E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    4.6763       1.0000          .0000       .10000E+07
     3 'Prefactor '    23.654       1.0000          .0000       .10000E+07
     4 'Prefactor '    .66183E-01   1.0000          .0000       .10000E+07
     5 'Prefactor '    .34272E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    16.291       1.0000          .0000       .10000E+07
     7 'norm      '    .10547E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    19.186       1.0000          .0000       .10000E+07
     9 'norm      '    10.428       1.0000          .0000       .10000E+07
    10 'Prefactor '    6.9164       1.0000          .0000       .10000E+07
    11 'Prefactor '    2.3134       1.0000          .0000       .10000E+07
    12 'norm      '    14.655       1.0000          .0000       .10000E+07
    13 'norm      '    2.8438       1.0000          .0000       .10000E+07
    14 'norm      '    .70229E-02   1.0000          .0000       .10000E+07
    15 'norm      '    .27159       1.0000          .0000       .10000E+07
    16 'Prefactor '    .74688E-03   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.1807       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0888       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=   15574.89     FROM MIGRAD    STATUS=CONVERGED    171 CALLS     1375 TOTAL
                     EDM=   .37E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        5.2206        .58600E-08** at limit **
   2  Prefactor     4.6264        7.0207        .99680E-08    .98234E-04
   3  Prefactor     24.079        28.779       -.21804E-07    .24279E-04
   4  Prefactor      .0000        24.129        .18886E-06** at limit **
   5  Prefactor     .11102E-09    83.579        .97213E-06** at limit **
   6  Prefactor     16.348        12.045       -.67122E-08    .16272E-04
   7  norm           .0000        .49340       -.16122E-07** at limit **
   8  Prefactor     19.062        12.963       -.15194E-06    .33896E-03
   9  norm          10.455        8.1554       -.84141E-07    .30628E-03
  10  Prefactor     17.037        127.15        .23039E-06   -.21574E-05
  11  Prefactor     2.3027        2.2059        .42397E-07   -.53911E-04
  12  norm          14.249        12.672        .14469E-06   -.28060E-03
  13  norm          2.8453        3.5832        .11831E-07    .81102E-04
  14  norm           .0000        11.801       -.10367E-06** at limit **
  15  norm          .27408        .71663       -.50985E-07    .68937E-03
  16  Prefactor      .0000        13.754        .47495E-06** at limit **
  17  Normalizat    1.1771        .27613       -.36604E-05    .42531E-05
  18  Prefactor     1.0888        .78683E-01    .10997E-05   -.87222E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 4.62643
  Prefactor  = 24.079
  Prefactor  = 0
  Prefactor  = 1.11022e-10
  Prefactor  = 16.3482
  norm       = 0
  Prefactor  = 19.0624
  norm       = 10.4551
  Prefactor  = 17.0368
  Prefactor  = 2.30266
  norm       = 14.2488
  norm       = 2.8453
  norm       = 0
  norm       = 0.27408
  Prefactor  = 0
  Normalizat = 1.17708
  Prefactor  = 1.0888
 **********
 **   18 **HESSE 
 **********

 FCN=   15574.89     FROM HESSE     STATUS=OK           296 CALLS     1671 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.2577        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.6264        7.0793        .46513E-03   -1.5665    
   3  Prefactor     24.079        28.707        .20566E-03   -1.5610    
   4  Prefactor      .0000        24.238        .14946E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .11102E-09    5.6564        .69629E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     16.348        12.040        .24788E-03   -1.5627    
   7  norm           .0000        .49586        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     19.062        13.009        .22838E-03   -1.5621    
   9  norm          10.455        8.1562        .31003E-03   -1.5643    
  10  Prefactor     17.037        129.32        .38125E-03   -1.5625    
  11  Prefactor     2.3027        2.2232        .67425E-03   -1.5678    
  12  norm          14.249        12.717        .26137E-03   -1.5632    
  13  norm          2.8453        3.6028        .60270E-03   -1.5674    
  14  norm           .0000        11.922        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .27408        .59051        .26076E-02   -1.5697    
  16  Prefactor      .0000        13.732        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.1771        .24631        .11657       -.87314    
  18  Prefactor     1.0888        .68861E-01    .38028E-01   -.89825    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.66636e-09
Minuit parameter uncertainties:
  1  5.89256e-07
  2  7.07934
  3  28.7074
  4  3.55433e-06
  5  5.58146e-05
  6  12.04
  7  1.21374e-07
  8  13.009
  9  8.15618
  10  93.8787
  11  2.22322
  12  12.7173
  13  3.60276
  14  2.13522e-05
  15  0.59051
  16  2.65685e-05
  17  0.246551
  18  0.0688665
Done.

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

Extracting fit parameters...

4FGL J1725.0+1152
   Spectrum: LogParabola
268         norm:  1.046e+01  8.156e+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:  1.089e+00  6.887e-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.177e+00  2.466e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.66
Ra Dec: 261.271 11.875
Photon Index (Fixed Index): 1.77 +/- 0.00
Photon Flux (Fixed Index): 2.36e-08 +/- 1.84e-08
Energy Flux (Fixed Index): 3.10e-05 +/- 2.42e-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) = 15574.8507604
delta logL = 0.0345122163126

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 15574.8498788
delta logL = 0.0353937959862

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    10.143       1.0000          .0000       .10000E+07
     2 'alpha     '    1.9350       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1730       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0887       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   15574.85     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      239 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.145        7.9396        .12575E-04   -.99656E-02
   2  alpha         1.9356        .64820        .17786E-01   -.16228E-03
   3  Normalizat    1.1728        .26432        .51772E-03    .33330E-03
   4  Prefactor     1.0887        .76453E-01    .15368E-03    .13281E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 10.1446
  alpha      = 1.93563
  Normalizat = 1.17284
  Prefactor  = 1.08873
 **********
 **   18 **HESSE 
 **********

 FCN=   15574.85     FROM HESSE     STATUS=OK            23 CALLS      262 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.145        7.8013        .25150E-05   -1.5644    
   2  alpha         1.9356        .63702        .71144E-03   -.22771    
   3  Normalizat    1.1728        .26432        .20709E-04   -.87446    
   4  Prefactor     1.0887        .76489E-01    .30737E-04   -.89827    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.41689e-09
Minuit parameter uncertainties:
  1  7.80134
  2  0.644517
  3  0.264624
  4  0.0764972
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/587731': 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) = 15574.8498778
delta logL = 0.0353948221127

Extracting fit parameters...

4FGL J1725.0+1152
   Spectrum: LogParabola
268         norm:  1.014e+01  7.801e+00  0.000e+00  1.000e+06 ( 1.000e-13)
269        alpha:  1.936e+00  6.445e-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:  1.089e+00  7.650e-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.173e+00  2.646e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.73
Ra Dec: 261.271 11.875
Photon Index (Free Index): 1.94 +/- 0.64
Photon Flux (Free Index): 3.08e-08 +/- 3.75e-08
Energy Flux (Free Index): 2.66e-05 +/- 2.39e-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/587731/cmap_HighResolution_691372801_691632001_4FGL_J1725.0+1152_daily_bin1744.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.36e-08', energy_flux2='2.66e-05', photon_flux_error='1.84e-08', dlogl='3.54e-02', energy_flux='3.10e-05', photon_flux2='3.08e-08', job_status='DONE', time_completed='2022-12-02 01:39:53.344228', photon_index_error2='0.64', photon_index2='1.94', ts='4.66', fit_tolerance='1e-08', GAL='1.09', photon_index_error='0.00', energy_flux_error2='2.39e-05', EG='1.18', time_epoch_completed='1669973993.34', return_code='0', job_id='587731', GAL2='1.09', EG2='1.17', return_code2='0', energy_flux_error='2.42e-05', photon_flux_error2='3.75e-08', ts2='4.73', photon_index='1.77' WHERE bin_id='1744' AND source_name='4FGL J1725.0+1152' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec  2 01:39:53 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0231>
Subject: Job 587731: <4FGL_J1725.0+1152_daily_bin1744> in cluster <slac> Done

Job <4FGL_J1725.0+1152_daily_bin1744> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Fri Dec  2 01:25:37 2022
Job was executed on host(s) <bullet0231>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec  2 01:25:38 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec  2 01:25:38 2022
Terminated at Fri Dec  2 01:39:54 2022
Results reported at Fri Dec  2 01:39:54 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1725.0+1152_daily_bin1744 261.271 11.8748 691372801 691632001 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 :                                   805.00 sec.
    Max Memory :                                 1144 MB
    Average Memory :                             361.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   855 sec.
    Turnaround time :                            857 sec.

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

