/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 163 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

number of points = 7593
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1725.0+1152_daily_bin1087
RA = 261.271, Dec = 11.8748
tmin = 521078401, tmax = 521337601
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='685942', job_status='RUN', time_executed='2021-09-17 09:38:39.988254', time_epoch_executed='1631896719.99' WHERE source_name='4FGL J1725.0+1152' and cadence='daily' and bin_id='1087'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/685942

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/685942/ft1_4FGL_J1725.0+1152_daily_bin1087.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/685942/ft2_4FGL_J1725.0+1152_daily_bin1087.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/685942/ft1_4FGL_J1725.0+1152_daily_bin1087.fits outfile=/scratch/kocevski/685942/ft1_filteredMKT_4FGL_J1725.0+1152_daily_bin1087.fits ra=261.271 dec=11.8748 rad=12.0 tmin=521078401.0 tmax=521337601.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.58
user 4.35
sys 0.22

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/685942/ft1_filtered_4FGL_J1725.0+1152_daily_bin1087.fits evtable="EVENTS" scfile=/scratch/kocevski/685942/ft2_4FGL_J1725.0+1152_daily_bin1087.fits sctable="SC_DATA" expcube=/scratch/kocevski/685942/ltcube_521078401_521337601_4FGL_J1725.0+1152_daily_bin1087.fits outfile=/scratch/kocevski/685942/expmap_521078401_521337601_4FGL_J1725.0+1152_daily_bin1087.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/685942/ltcube_521078401_521337601_4FGL_J1725.0+1152_daily_bin1087.fits
.....................!
real 190.18
user 184.97
sys 4.88

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/685942/ft1_filtered_4FGL_J1725.0+1152_daily_bin1087.fits scfile=/scratch/kocevski/685942/ft2_4FGL_J1725.0+1152_daily_bin1087.fits outfile=/scratch/kocevski/685942/cmap_521078401_521337601_4FGL_J1725.0+1152_daily_bin1087.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.54
user 0.38
sys 0.15

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

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/685942/ft1_filtered_4FGL_J1725.0+1152_daily_bin1087.fits', '/scratch/kocevski/685942/ft2_4FGL_J1725.0+1152_daily_bin1087.fits', expMap='/scratch/kocevski/685942/expmap_521078401_521337601_4FGL_J1725.0+1152_daily_bin1087.fits', expCube='/scratch/kocevski/685942/ltcube_521078401_521337601_4FGL_J1725.0+1152_daily_bin1087.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/685942/Model_4FGL_J1725.0+1152_daily_bin1087.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  1.000e-04  1.000e+04 ( 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  0.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/685942/ft1_filtered_4FGL_J1725.0+1152_daily_bin1087.fits
Spacecraft file(s): /scratch/kocevski/685942/ft2_4FGL_J1725.0+1152_daily_bin1087.fits
Exposure map: /scratch/kocevski/685942/expmap_521078401_521337601_4FGL_J1725.0+1152_daily_bin1087.fits
Exposure cube: /scratch/kocevski/685942/ltcube_521078401_521337601_4FGL_J1725.0+1152_daily_bin1087.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/685942/Model_4FGL_J1725.0+1152_daily_bin1087.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) = 11075.5927475

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.233       1.0000         .10000E-03   10000.    
     2 'Prefactor '    14.050       1.0000         .10000E-03   10000.    
     3 'Prefactor '    23.885       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10712E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    13.326       1.0000         .10000E-03   10000.    
     7 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.0081       1.0000         .10000E-03   10000.    
     9 'norm      '    23.369       1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.6702       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .74152       1.0000         .10000E-03   10000.    
    12 'norm      '    .10809E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    1.6133       1.0000         .10000E-03   10000.    
    14 'norm      '    .13237E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10075E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .39504E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.0248       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0249       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.

 FCN=   11075.59     FROM MIGRAD    STATUS=CONVERGED    430 CALLS     1940 TOTAL
                     EDM=   .60E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.233        9.5883        .14117E-06   -.53116E-04
   2  Prefactor     14.050        6.8225       -.43038E-06   -.22292E-04
   3  Prefactor     23.902        42.332       -.40521E-04   -.14773E-05
   4  Prefactor     .10000E-03    31.667        .12061E-05** at limit **
   5  Prefactor     .10000E-03    1.8885       -.38986E-07** at limit **
   6  Prefactor     13.300        17.931        .45623E-05   -.83162E-05
   7  norm          .10000E-03    .93561       -.15552E-07** at limit **
   8  Prefactor     3.0083        20.407       -.54549E-05   -.14042E-03
   9  norm          23.353        16.052       -.57419E-05   -.21748E-03
  10  Prefactor     3.4008        278.42       -.44934E-04   -.12935E-04
  11  Prefactor     .74586        2.8643        .11953E-05   -.95741E-03
  12  norm          .10000E-03    7.6536        .14983E-06** at limit **
  13  norm          1.6112        2.4129       -.40964E-06   -.92941E-03
  14  norm          .10000E-03    13.827        .11383E-05** at limit **
  15  norm          .10000E-03    21.762       -.37269E-06** at limit **
  16  norm          .10000E-03    .32520       -.16509E-06** at limit **
  17  Prefactor     .10000E-03    13.584       -.48159E-06** at limit **
  18  Normalizat    1.0245        .30844        .62505E-05   -.94545E-04
  19  Prefactor     1.0251        .77583E-01    .76333E-07    .31100E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.2333
  Prefactor  = 14.0501
  Prefactor  = 23.9025
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 13.3
  norm       = 0.0001
  Prefactor  = 3.00834
  norm       = 23.3535
  Prefactor  = 3.40083
  Prefactor  = 0.745861
  norm       = 0.0001
  norm       = 1.61122
  norm       = 0.000100001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.02449
  Prefactor  = 1.02507
 **********
 **   18 **HESSE 
 **********

 FCN=   11075.59     FROM HESSE     STATUS=OK           274 CALLS     2214 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.233        9.5736        .99409E-04   -1.4902    
   2  Prefactor     14.050        6.8224        .10686E-03   -1.4958    
   3  Prefactor     23.902        42.291        .81962E-04   -1.4730    
   4  Prefactor     .10000E-03    31.682        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    1.8914        .14122E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     13.300        17.986        .10972E-03   -1.4978    
   7  norm          .10000E-03    .93865        .99391E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.0083        19.641        .23402E-03   -1.5361    
   9  norm          23.353        15.649        .82861E-04   -1.4741    
  10  Prefactor     3.4008        277.62        .21084E-03   -1.5339    
  11  Prefactor     .74586        4.5412        .27696E-02   -1.5535    
  12  norm          .10000E-03    7.7371        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.6112        2.3981        .19476E-03   -1.5454    
  14  norm          .10000E-03    14.030        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    21.763        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    4.9801        .11489E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    13.586        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.0245        .34813        .54365E-03   -.92214    
  19  Prefactor     1.0251        .89838E-01    .14647E-03   -.91899    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.30371e-09
Minuit parameter uncertainties:
  1  9.57452
  2  6.82282
  3  42.3438
  4  3.16141e-05
  5  1.59423e-06
  6  17.9933
  7  3.02011e-06
  8  15.3807
  9  15.6517
  10  61.7517
  11  3.68101
  12  4.19059e-05
  13  2.39827
  14  0.000217188
  15  5.62194e-06
  16  2.49118e-05
  17  7.51281e-06
  18  0.348904
  19  0.0898507
Done.

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

Extracting fit parameters...

4FGL J1725.0+1152
   Spectrum: LogParabola
268         norm:  2.335e+01  1.565e+01  1.000e-04  1.000e+04 ( 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  0.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.025e+00  8.985e-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.024e+00  3.489e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.63
Ra Dec: 261.271 11.875
Photon Index (Fixed Index): 1.77 +/- 0.00
Photon Flux (Fixed Index): 5.26e-08 +/- 3.53e-08
Energy Flux (Fixed Index): 6.92e-05 +/- 4.64e-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) = 11075.3729008
delta logL = 0.213311362277

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11075.3632702
delta logL = 0.222941956185

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    18.995       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1122       1.0000          .0000       5.0000    
     3 'Normalizat'    .99920       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0275       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=   11075.36     FROM MIGRAD    STATUS=CONVERGED    103 CALLS      313 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          19.016        16.472        .91898E-04    .26746E-03
   2  alpha         2.1132        .58835        .12705E-01    .69614E-04
   3  Normalizat    .99914        .32615        .54961E-03   -.24822E-05
   4  Prefactor     1.0273        .87946E-01    .14629E-03   -.22891E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 19.0161
  alpha      = 2.1132
  Normalizat = 0.999138
  Prefactor  = 1.0273
 **********
 **   18 **HESSE 
 **********

 FCN=   11075.36     FROM HESSE     STATUS=OK            25 CALLS      338 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          19.016        15.106        .36759E-05   -1.4836    
   2  alpha         2.1132        .53986        .50819E-03   -.15534    
   3  Normalizat    .99914        .32531        .21984E-04   -.93059    
   4  Prefactor     1.0273        .87877E-01    .29259E-04   -.91825    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.05066e-10
Minuit parameter uncertainties:
  1  15.1089
  2  0.544257
  3  0.325955
  4  0.0878893
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/685942': 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) = 11075.3632559
delta logL = 0.222956215684

Extracting fit parameters...

4FGL J1725.0+1152
   Spectrum: LogParabola
268         norm:  1.902e+01  1.511e+01  1.000e-04  1.000e+04 ( 1.000e-13)
269        alpha:  2.113e+00  5.443e-01  0.000e+00  5.000e+00 ( 1.000e+00)
270         beta:  5.873e-02  0.000e+00  0.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.027e+00  8.789e-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:  9.991e-01  3.260e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.07
Ra Dec: 261.271 11.875
Photon Index (Free Index): 2.11 +/- 0.54
Photon Flux (Free Index): 8.18e-08 +/- 6.50e-08
Energy Flux (Free Index): 4.84e-05 +/- 3.62e-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/685942/cmap_HighResolution_521078401_521337601_4FGL_J1725.0+1152_daily_bin1087.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.26e-08', energy_flux2='4.84e-05', photon_flux_error='3.53e-08', dlogl='2.23e-01', energy_flux='6.92e-05', photon_flux2='8.18e-08', job_status='DONE', time_completed='2021-09-17 09:51:05.495537', photon_index_error2='0.54', photon_index2='2.11', ts='5.63', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', energy_flux_error2='3.62e-05', EG='1.02', time_epoch_completed='1631897465.5', return_code='0', job_id='685942', GAL2='1.03', EG2='1.00', return_code2='0', energy_flux_error='4.64e-05', photon_flux_error2='6.50e-08', ts2='6.07', photon_index='1.77' WHERE bin_id='1087' AND source_name='4FGL J1725.0+1152' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 17 09:51:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0054>
Subject: Job 685942: <4FGL_J1725.0+1152_daily_bin1087> in cluster <slac> Done

Job <4FGL_J1725.0+1152_daily_bin1087> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Fri Sep 17 09:35:44 2021
Job was executed on host(s) <bullet0054>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 17 09:35:46 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 17 09:35:46 2021
Terminated at Fri Sep 17 09:51:06 2021
Results reported at Fri Sep 17 09:51:06 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1725.0+1152_daily_bin1087 261.271 11.8748 521078401 521337601 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 :                                   741.39 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             325.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   919 sec.
    Turnaround time :                            922 sec.

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

