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


Performing analysis on: 4FGL_J1725.0+1152_daily_bin1765
RA = 261.271, Dec = 11.8748
tmin = 696816001, tmax = 697075201
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='641676', job_status='RUN', time_executed='2023-02-03 01:22:03.750649', time_epoch_executed='1675416123.75' WHERE source_name='4FGL J1725.0+1152' and cadence='daily' and bin_id='1765'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/641676

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/641676/ft1_4FGL_J1725.0+1152_daily_bin1765.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/641676/ft2_4FGL_J1725.0+1152_daily_bin1765.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/641676/ft1_4FGL_J1725.0+1152_daily_bin1765.fits outfile=/scratch/kocevski/641676/ft1_filteredMKT_4FGL_J1725.0+1152_daily_bin1765.fits ra=261.271 dec=11.8748 rad=12.0 tmin=696816001.0 tmax=697075201.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.66
user 3.44
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/641676/ft2_4FGL_J1725.0+1152_daily_bin1765.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/641676/ft1_filteredMKT_4FGL_J1725.0+1152_daily_bin1765.fits evtable="EVENTS" outfile="/scratch/kocevski/641676/ft1_filtered_4FGL_J1725.0+1152_daily_bin1765.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.34
sys 0.16

Number of photons that the gtmktime cut: 1089

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/641676/ft1_filtered_4FGL_J1725.0+1152_daily_bin1765.fits" evtable="EVENTS" scfile=/scratch/kocevski/641676/ft2_4FGL_J1725.0+1152_daily_bin1765.fits sctable="SC_DATA" outfile=/scratch/kocevski/641676/ltcube_696816001_697075201_4FGL_J1725.0+1152_daily_bin1765.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/641676/ft2_4FGL_J1725.0+1152_daily_bin1765.fits
.....................!
real 14.85
user 14.50
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/641676/ft1_filtered_4FGL_J1725.0+1152_daily_bin1765.fits evtable="EVENTS" scfile=/scratch/kocevski/641676/ft2_4FGL_J1725.0+1152_daily_bin1765.fits sctable="SC_DATA" expcube=/scratch/kocevski/641676/ltcube_696816001_697075201_4FGL_J1725.0+1152_daily_bin1765.fits outfile=/scratch/kocevski/641676/expmap_696816001_697075201_4FGL_J1725.0+1152_daily_bin1765.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/641676/ltcube_696816001_697075201_4FGL_J1725.0+1152_daily_bin1765.fits
.....................!
real 192.01
user 186.11
sys 5.55

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/641676/ft1_filtered_4FGL_J1725.0+1152_daily_bin1765.fits scfile=/scratch/kocevski/641676/ft2_4FGL_J1725.0+1152_daily_bin1765.fits outfile=/scratch/kocevski/641676/cmap_696816001_697075201_4FGL_J1725.0+1152_daily_bin1765.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/641676/ft1_filtered_4FGL_J1725.0+1152_daily_bin1765.fits scfile=/scratch/kocevski/641676/ft2_4FGL_J1725.0+1152_daily_bin1765.fits outfile=/scratch/kocevski/641676/cmap_HighResolution_696816001_697075201_4FGL_J1725.0+1152_daily_bin1765.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.55
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .57797E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    .43696E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    .97250E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .19876E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .59795E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .11088E-04   1.0000          .0000       .10000E+07
     7 'norm      '    1.6686       1.0000          .0000       .10000E+07
     8 'Prefactor '    .22138E-06   1.0000          .0000       .10000E+07
     9 'norm      '    5.7444       1.0000          .0000       .10000E+07
    10 'Prefactor '    133.15       1.0000          .0000       .10000E+07
    11 'Prefactor '    8.5175       1.0000          .0000       .10000E+07
    12 'norm      '    4.4483       1.0000          .0000       .10000E+07
    13 'norm      '    .10908E-01   1.0000          .0000       .10000E+07
    14 'norm      '    .35030       1.0000          .0000       .10000E+07
    15 'norm      '    1.2068       1.0000          .0000       .10000E+07
    16 'Prefactor '    .46308E-03   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.1295       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .94942       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=   11273.27     FROM MIGRAD    STATUS=CONVERGED    168 CALLS     1409 TOTAL
                     EDM=   .21E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.7142       -.11495E-08** at limit **
   2  Prefactor      .0000        2.2964        .59034E-08** at limit **
   3  Prefactor      .0000        15.438        .71416E-07** at limit **
   4  Prefactor      .0000        173.90       -.10177E-05** at limit **
   5  Prefactor      .0000        19.270       -.40836E-07** at limit **
   6  Prefactor      .0000        5.9738        .11375E-07** at limit **
   7  norm          1.6652        1.5287        .26099E-08    .36079E-04
   8  Prefactor      .0000        3.8244        .10492E-07** at limit **
   9  norm          5.7663        10.543       -.80498E-07    .60702E-04
  10  Prefactor     124.14        83.776       -.14635E-06    .47804E-05
  11  Prefactor     8.5351        3.6445       -.13880E-07   -.81997E-05
  12  norm          4.9815        10.480       -.11069E-07    .62007E-05
  13  norm           .0000        13.075        .16966E-08** at limit **
  14  norm           .0000        54.406       -.27709E-06** at limit **
  15  norm          1.2073        .86957        .73243E-08    .12187E-04
  16  Prefactor      .0000        22.346        .69477E-07** at limit **
  17  Normalizat    1.1328        .28318       -.85444E-06   -.70741E-05
  18  Prefactor     .94920        .81775E-01   -.95253E-07   -.15558E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 1.66525
  Prefactor  = 0
  norm       = 5.76627
  Prefactor  = 124.145
  Prefactor  = 8.53513
  norm       = 4.9815
  norm       = 0
  norm       = 0
  norm       = 1.20726
  Prefactor  = 0
  Normalizat = 1.13282
  Prefactor  = 0.949197
 **********
 **   18 **HESSE 
 **********

 FCN=   11273.27     FROM HESSE     STATUS=OK           280 CALLS     1689 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.6941        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        2.2918        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        15.423        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        173.28        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        18.944        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        5.9614        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.6652        1.5276        .81591E-03   -1.5682    
   8  Prefactor      .0000        3.8533        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          5.7663        10.590        .41884E-03   -1.5660    
  10  Prefactor     124.14        84.224        .86670E-04   -1.5485    
  11  Prefactor     8.5351        3.6497        .34324E-03   -1.5650    
  12  norm          4.9815        10.508        .47720E-03   -1.5663    
  13  norm           .0000        12.635        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        54.273        .95486E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.2073        .88318        .10308E-02   -1.5686    
  16  Prefactor      .0000        22.358        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.1328        .25065        .10558       -.88705    
  18  Prefactor     .94920        .71862E-01    .32908E-01   -.94443    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.80198e-10
Minuit parameter uncertainties:
  1  6.07043e-07
  2  1.82688e-07
  3  4.30232e-06
  4  9.55464e-05
  5  1.12928e-07
  6  2.1833e-08
  7  1.52758
  8  6.41826e-07
  9  10.5899
  10  84.225
  11  3.64972
  12  10.5077
  13  9.65818e-07
  14  2.63935e-05
  15  0.883183
  16  2.31916e-06
  17  0.250911
  18  0.0718692
Done.

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

Extracting fit parameters...

4FGL J1725.0+1152
   Spectrum: LogParabola
268         norm:  5.766e+00  1.059e+01  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:  9.492e-01  7.187e-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.133e+00  2.509e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.42
Ra Dec: 261.271 11.875
Photon Flux Upper Limit: 7.40e-08 ph cm-2 s-1
Energy Flux Upper Limit: 9.73e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/641676/likelihoodResults_696816001_697075201_4FGL_J1725.0+1152_daily_bin1765.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) = 11273.2721468
delta logL = 0.000492707686135

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11273.2721286
delta logL = 0.000510942727487

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.7153       1.0000          .0000       .10000E+07
     2 'alpha     '    1.8010       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1325       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94918       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11273.27     FROM MIGRAD    STATUS=CONVERGED    103 CALLS      278 TOTAL
                     EDM=   .49E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.7062        10.583        .83984E-04    .95050E-03
   2  alpha         1.7990        1.0365        .28489E-01    .51540E-04
   3  Normalizat    1.1325        .27833        .46800E-03   -.41782E-05
   4  Prefactor     .94921        .80789E-01    .14540E-03   -.12041E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.70616
  alpha      = 1.79902
  Normalizat = 1.13246
  Prefactor  = 0.949211
 **********
 **   18 **HESSE 
 **********

 FCN=   11273.27     FROM HESSE     STATUS=OK            27 CALLS      305 TOTAL
                     EDM=   .76E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.7062        10.344        .16797E-04   -1.5660    
   2  alpha         1.7990        1.0157        .56978E-02   -.28420    
   3  Normalizat    1.1325        .27842        .18720E-04   -.88716    
   4  Prefactor     .94921        .80832E-01    .58162E-05   -.94442    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.61358e-14
Minuit parameter uncertainties:
  1  10.3441
  2  1.04877
  3  0.278784
  4  0.0808422
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/641676': 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) = 11273.2721258
delta logL = 0.000513722159667

Extracting fit parameters...

4FGL J1725.0+1152
   Spectrum: LogParabola
268         norm:  5.706e+00  1.034e+01  0.000e+00  1.000e+06 ( 1.000e-13)
269        alpha:  1.799e+00  1.049e+00  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.492e-01  8.084e-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.132e+00  2.788e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.42
Ra Dec: 261.271 11.875

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/641676/cmap_HighResolution_696816001_697075201_4FGL_J1725.0+1152_daily_bin1765.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.73e-05', job_status='DONE', photon_flux_upper_limit='7.40e-08', time_completed='2023-02-03 01:34:32.462681', job_id='641676', GAL2='0.95', fit_tolerance='1e-08', EG2='1.13', EG='1.13', time_epoch_completed='1675416872.46', return_code2='0', ts='0.42', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='5.14e-04', ts2='0.42', photon_index_error='0.00', photon_index='1.77' WHERE bin_id='1765' AND source_name='4FGL J1725.0+1152' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb  3 01:34:32 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0250>
Subject: Job 641676: <4FGL_J1725.0+1152_daily_bin1765> in cluster <slac> Done

Job <4FGL_J1725.0+1152_daily_bin1765> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Fri Feb  3 01:20:26 2023
Job was executed on host(s) <bullet0250>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb  3 01:21:12 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb  3 01:21:12 2023
Terminated at Fri Feb  3 01:34:33 2023
Results reported at Fri Feb  3 01:34:33 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1725.0+1152_daily_bin1765 261.271 11.8748 696816001 697075201 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 :                                   751.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             368.29 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   800 sec.
    Turnaround time :                            847 sec.

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

