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


Performing analysis on: 4FGL_J1725.0+1152_daily_bin1711
RA = 261.271, Dec = 11.8748
tmin = 682819201, tmax = 683078401
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='178638', job_status='RUN', time_executed='2022-09-16 20:09:31.936762', time_epoch_executed='1663384171.94' WHERE source_name='4FGL J1725.0+1152' and cadence='daily' and bin_id='1711'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/178638

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/178638/ft1_4FGL_J1725.0+1152_daily_bin1711.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/178638/ft2_4FGL_J1725.0+1152_daily_bin1711.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/178638/ft1_4FGL_J1725.0+1152_daily_bin1711.fits outfile=/scratch/kocevski/178638/ft1_filteredMKT_4FGL_J1725.0+1152_daily_bin1711.fits ra=261.271 dec=11.8748 rad=12.0 tmin=682819201.0 tmax=683078401.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.71
user 4.34
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/178638/ft2_4FGL_J1725.0+1152_daily_bin1711.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/178638/ft1_filteredMKT_4FGL_J1725.0+1152_daily_bin1711.fits evtable="EVENTS" outfile="/scratch/kocevski/178638/ft1_filtered_4FGL_J1725.0+1152_daily_bin1711.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.56
user 0.37
sys 0.15

Number of photons that the gtmktime cut: 1106

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/178638/ft1_filtered_4FGL_J1725.0+1152_daily_bin1711.fits evtable="EVENTS" scfile=/scratch/kocevski/178638/ft2_4FGL_J1725.0+1152_daily_bin1711.fits sctable="SC_DATA" expcube=/scratch/kocevski/178638/ltcube_682819201_683078401_4FGL_J1725.0+1152_daily_bin1711.fits outfile=/scratch/kocevski/178638/expmap_682819201_683078401_4FGL_J1725.0+1152_daily_bin1711.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/178638/ltcube_682819201_683078401_4FGL_J1725.0+1152_daily_bin1711.fits
.....................!
real 192.30
user 186.62
sys 4.41

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/178638/ft1_filtered_4FGL_J1725.0+1152_daily_bin1711.fits scfile=/scratch/kocevski/178638/ft2_4FGL_J1725.0+1152_daily_bin1711.fits outfile=/scratch/kocevski/178638/cmap_682819201_683078401_4FGL_J1725.0+1152_daily_bin1711.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.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/178638/ft1_filtered_4FGL_J1725.0+1152_daily_bin1711.fits scfile=/scratch/kocevski/178638/ft2_4FGL_J1725.0+1152_daily_bin1711.fits outfile=/scratch/kocevski/178638/cmap_HighResolution_682819201_683078401_4FGL_J1725.0+1152_daily_bin1711.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.40
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .33860E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    6.4749       1.0000          .0000       .10000E+07
     3 'Prefactor '    .12456E-01   1.0000          .0000       .10000E+07
     4 'Prefactor '    .25667E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .87229E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .63994E-02   1.0000          .0000       .10000E+07
     7 'norm      '    2.7138       1.0000          .0000       .10000E+07
     8 'Prefactor '    1.4162       1.0000          .0000       .10000E+07
     9 'norm      '    13.297       1.0000          .0000       .10000E+07
    10 'Prefactor '    166.02       1.0000          .0000       .10000E+07
    11 'Prefactor '    .14750E-05   1.0000          .0000       .10000E+07
    12 'norm      '    6.8053       1.0000          .0000       .10000E+07
    13 'norm      '    .82076E-05   1.0000          .0000       .10000E+07
    14 'norm      '    .17990       1.0000          .0000       .10000E+07
    15 'norm      '    6.6343       1.0000          .0000       .10000E+07
    16 'Prefactor '    .17601       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.4082       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .98840       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=   11630.91     FROM MIGRAD    STATUS=CONVERGED    153 CALLS     1316 TOTAL
                     EDM=   .65E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.2598       -.24813E-06** at limit **
   2  Prefactor     6.4961        8.3582        .17123E-07    .13206E-03
   3  Prefactor      .0000        13.737        .17599E-05** at limit **
   4  Prefactor      .0000        33.325       -.23504E-05** at limit **
   5  Prefactor      .0000        2.7215       -.62586E-07** at limit **
   6  Prefactor      .0000        7.2276        .14790E-05** at limit **
   7  norm          2.7199        2.8181        .41100E-06   -.38645E-03
   8  Prefactor     1.4646        5.4466        .20501E-06    .15621E-04
   9  norm          13.287        9.6719        .16784E-06    .11146E-03
  10  Prefactor     168.69        93.125       -.18680E-05   -.51795E-04
  11  Prefactor      .0000        1.3705       -.76239E-06** at limit **
  12  norm          6.7597        11.477        .65121E-06   -.49789E-04
  13  norm           .0000        1.3202       -.57203E-07** at limit **
  14  norm           .0000        144.35       -.45725E-05** at limit **
  15  norm          6.6359        1.3271        .11924E-06    .14187E-03
  16  Prefactor      .0000        245.54       -.10265E-04** at limit **
  17  Normalizat    1.4067        .31326        .39289E-05    .33267E-04
  18  Prefactor     .98844        .88071E-01   -.59607E-06    .91291E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 6.49611
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 2.71995
  Prefactor  = 1.46464
  norm       = 13.2874
  Prefactor  = 168.688
  Prefactor  = 0
  norm       = 6.75974
  norm       = 0
  norm       = 0
  norm       = 6.63585
  Prefactor  = 0
  Normalizat = 1.40668
  Prefactor  = 0.988439
 **********
 **   18 **HESSE 
 **********

 FCN=   11630.91     FROM HESSE     STATUS=OK           280 CALLS     1596 TOTAL
                     EDM=   .10E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.2563        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     6.4961        8.3432        .39418E-03   -1.5657    
   3  Prefactor      .0000        13.745        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        33.303        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        2.7148        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        7.2177        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          2.7199        2.8257        .61800E-03   -1.5675    
   8  Prefactor     1.4646        5.5037        .90929E-03   -1.5684    
   9  norm          13.287        9.6763        .27444E-03   -1.5635    
  10  Prefactor     168.69        93.128        .77618E-04   -1.5448    
  11  Prefactor      .0000        1.3621        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          6.7597        11.509        .38438E-03   -1.5656    
  13  norm           .0000        1.3168        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        142.74        .12145E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          6.6359        1.3254        .38936E-03   -1.5656    
  16  Prefactor      .0000        236.03        .12219E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.4067        .26910        .10915       -.80436    
  18  Prefactor     .98844        .74995E-01    .46122E-01   -.93116    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.04911e-06
Minuit parameter uncertainties:
  1  4.17403e-06
  2  8.34325
  3  1.08821e-05
  4  1.89314e-06
  5  2.49616e-06
  6  1.25277e-05
  7  2.82574
  8  5.50369
  9  9.6763
  10  93.1292
  11  1.93936e-06
  12  11.5091
  13  6.10259e-06
  14  4.89285e-05
  15  1.32542
  16  6.75915e-05
  17  0.269371
  18  0.0750027
Done.

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

Extracting fit parameters...

4FGL J1725.0+1152
   Spectrum: LogParabola
268         norm:  1.329e+01  9.676e+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:  9.884e-01  7.500e-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.407e+00  2.694e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.88
Ra Dec: 261.271 11.875
Photon Index (Fixed Index): 1.77 +/- 0.00
Photon Flux (Fixed Index): 2.99e-08 +/- 2.18e-08
Energy Flux (Fixed Index): 3.94e-05 +/- 2.87e-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) = 11630.8433147
delta logL = 0.0643920142884

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11630.843091
delta logL = 0.0646157300016

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    12.044       1.0000          .0000       .10000E+07
     2 'alpha     '    1.9499       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4020       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98849       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=   11630.84     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      265 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          12.054        238.97        .28840E-03    .27356E-02
   2  alpha         1.9508        3.2635        .28611        .76569E-04
   3  Normalizat    1.4020        .17033        .10929        .26417E-04
   4  Prefactor     .98845        .35570E-01    .46123E-01   -.11887E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 12.0542
  alpha      = 1.95084
  Normalizat = 1.402
  Prefactor  = 0.988453
 **********
 **   18 **HESSE 
 **********

 FCN=   11630.84     FROM HESSE     STATUS=OK            33 CALLS      298 TOTAL
                     EDM=   .46E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          12.054        10.027        .57680E-04   -1.5639    
   2  alpha         1.9508        .53484        .15969E-01   -.22147    
   3  Normalizat    1.4020        .30416        .48447E-03   -.80571    
   4  Prefactor     .98845        .86610E-01    .15937E-03   -.93115    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.62611e-09
Minuit parameter uncertainties:
  1  10.0275
  2  0.539217
  3  0.304558
  4  0.0866225
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/178638': 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) = 11630.8430869
delta logL = 0.0646198150771

Extracting fit parameters...

4FGL J1725.0+1152
   Spectrum: LogParabola
268         norm:  1.205e+01  1.003e+01  0.000e+00  1.000e+06 ( 1.000e-13)
269        alpha:  1.951e+00  5.392e-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.885e-01  8.662e-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.402e+00  3.046e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.00
Ra Dec: 261.271 11.875
Photon Index (Free Index): 1.95 +/- 0.54
Photon Flux (Free Index): 3.77e-08 +/- 3.41e-08
Energy Flux (Free Index): 3.14e-05 +/- 3.03e-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/178638/cmap_HighResolution_682819201_683078401_4FGL_J1725.0+1152_daily_bin1711.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.99e-08', energy_flux2='3.14e-05', photon_flux_error='2.18e-08', dlogl='6.46e-02', energy_flux='3.94e-05', photon_flux2='3.77e-08', job_status='DONE', time_completed='2022-09-16 20:21:12.969120', photon_index_error2='0.54', photon_index2='1.95', ts='5.88', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', energy_flux_error2='3.03e-05', EG='1.41', time_epoch_completed='1663384872.97', return_code='0', job_id='178638', GAL2='0.99', EG2='1.40', return_code2='0', energy_flux_error='2.87e-05', photon_flux_error2='3.41e-08', ts2='6.00', photon_index='1.77' WHERE bin_id='1711' AND source_name='4FGL J1725.0+1152' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 20:21:13 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0211>
Subject: Job 178638: <4FGL_J1725.0+1152_daily_bin1711> in cluster <slac> Done

Job <4FGL_J1725.0+1152_daily_bin1711> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Sep 16 20:05:21 2022
Job was executed on host(s) <bullet0211>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 20:05:48 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 20:05:48 2022
Terminated at Fri Sep 16 20:21:13 2022
Results reported at Fri Sep 16 20:21:13 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1725.0+1152_daily_bin1711 261.271 11.8748 682819201 683078401 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 :                                   701.14 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             314.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   925 sec.
    Turnaround time :                            952 sec.

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

