/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 139 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 = 7417
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1725.0+1152_daily_bin1425
RA = 261.271, Dec = 11.8748
tmin = 608688001, tmax = 608947201
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='687382', job_status='RUN', time_executed='2021-09-17 09:43:01.684587', time_epoch_executed='1631896981.68' WHERE source_name='4FGL J1725.0+1152' and cadence='daily' and bin_id='1425'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/687382

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/687382/ft1_4FGL_J1725.0+1152_daily_bin1425.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/687382/ft2_4FGL_J1725.0+1152_daily_bin1425.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/687382/ft1_4FGL_J1725.0+1152_daily_bin1425.fits outfile=/scratch/kocevski/687382/ft1_filteredMKT_4FGL_J1725.0+1152_daily_bin1425.fits ra=261.271 dec=11.8748 rad=12.0 tmin=608688001.0 tmax=608947201.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.01
user 2.78
sys 0.21

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/687382/ft1_filtered_4FGL_J1725.0+1152_daily_bin1425.fits evtable="EVENTS" scfile=/scratch/kocevski/687382/ft2_4FGL_J1725.0+1152_daily_bin1425.fits sctable="SC_DATA" expcube=/scratch/kocevski/687382/ltcube_608688001_608947201_4FGL_J1725.0+1152_daily_bin1425.fits outfile=/scratch/kocevski/687382/expmap_608688001_608947201_4FGL_J1725.0+1152_daily_bin1425.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/687382/ltcube_608688001_608947201_4FGL_J1725.0+1152_daily_bin1425.fits
.....................!
real 191.77
user 186.31
sys 5.14

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/687382/ft1_filtered_4FGL_J1725.0+1152_daily_bin1425.fits scfile=/scratch/kocevski/687382/ft2_4FGL_J1725.0+1152_daily_bin1425.fits outfile=/scratch/kocevski/687382/cmap_608688001_608947201_4FGL_J1725.0+1152_daily_bin1425.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.38
sys 0.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.6056       1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.8696       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10086E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .15423E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.0354       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.4121       1.0000         .10000E-03   10000.    
     9 'norm      '    11.983       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10075E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    10.651       1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    19.692       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    1.0394       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.2143       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .96693       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=   12291.17     FROM MIGRAD    STATUS=CONVERGED    392 CALLS     1628 TOTAL
                     EDM=   .40E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.6071        9.9363        .22883E-05   -.28565E-03
   2  Prefactor     2.8691        8.6458        .61662E-05   -.31398E-03
   3  Prefactor     .10000E-03    42.580       -.62175E-05** at limit **
   4  Prefactor     .10000E-03    113.90       -.40621E-05** at limit **
   5  Prefactor     6.0292        7.9524       -.30747E-05   -.23817E-03
   6  Prefactor     .10000E-03    3.6339        .37121E-08** at limit **
   7  norm          .10000E-03    .73146        .22552E-08** at limit **
   8  Prefactor     2.4116        6.8291       -.14173E-05   -.33363E-03
   9  norm          11.982        7.3569       -.14318E-06    .40364E-04
  10  Prefactor     .10000E-03    36.166       -.18896E-05** at limit **
  11  Prefactor     .10000E-03    .65368        .26042E-07** at limit **
  12  norm          10.651        11.146       -.35901E-06   -.57106E-04
  13  norm          .10000E-03    2.0147       -.13933E-08** at limit **
  14  norm          19.691        10.884       -.14607E-06   -.36716E-05
  15  norm          .10000E-03    20.584        .63426E-06** at limit **
  16  norm          1.0395        .71504       -.46065E-07   -.12421E-02
  17  Prefactor     .10000E-03    47.214        .98554E-05** at limit **
  18  Normalizat    1.2142        .25334       -.59877E-06   -.42124E-04
  19  Prefactor     .96694        .70169E-01    .10113E-06   -.91014E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.60708
  Prefactor  = 2.86907
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.02919
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 2.41155
  norm       = 11.9822
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 10.6511
  norm       = 0.0001
  norm       = 19.6913
  norm       = 0.0001
  norm       = 1.03949
  Prefactor  = 0.0001
  Normalizat = 1.21419
  Prefactor  = 0.966944
 **********
 **   18 **HESSE 
 **********

 FCN=   12291.17     FROM HESSE     STATUS=OK           270 CALLS     1898 TOTAL
                     EDM=   .77E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.6071        9.7484        .25272E-03   -1.5385    
   2  Prefactor     2.8691        8.2578        .23996E-03   -1.5369    
   3  Prefactor     .10000E-03    42.864        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    114.54        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     6.0292        8.0708        .16344E-03   -1.5217    
   6  Prefactor     .10000E-03    3.6409        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    .73633        .92582E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.4116        6.8998        .26358E-03   -1.5397    
   9  norm          11.982        7.3534        .11572E-03   -1.5016    
  10  Prefactor     .10000E-03    36.172        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    .65807        .87492E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          10.651        11.156        .12277E-03   -1.5055    
  13  norm          .10000E-03    2.0478        .15364E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          19.691        10.889        .90258E-04   -1.4820    
  15  norm          .10000E-03    20.588        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.0395        .69187        .74556E-03   -1.5504    
  17  Prefactor     .10000E-03    47.424        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.2142        .28834        .47824E-03   -.86165    
  19  Prefactor     .96694        .80674E-01    .14744E-03   -.93840    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.74339e-10
Minuit parameter uncertainties:
  1  9.75434
  2  8.26108
  3  4.33038e-05
  4  0.000244505
  5  8.07229
  6  1.70811e-06
  7  3.59297e-07
  8  6.90212
  9  7.35397
  10  3.31843e-05
  11  1.88413e-06
  12  11.158
  13  6.03059e-07
  14  10.8897
  15  4.64997e-07
  16  0.691878
  17  9.94137e-06
  18  0.28872
  19  0.0806837
Done.

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

Extracting fit parameters...

4FGL J1725.0+1152
   Spectrum: LogParabola
268         norm:  1.198e+01  7.354e+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

GAL_V02
   Spectrum: PowerLaw
610    Prefactor:  9.669e-01  8.068e-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.214e+00  2.887e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 11.77
Ra Dec: 261.271 11.875
Photon Index (Fixed Index): 1.77 +/- 0.00
Photon Flux (Fixed Index): 2.70e-08 +/- 1.66e-08
Energy Flux (Fixed Index): 3.55e-05 +/- 2.18e-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) = 12289.1053632
delta logL = 2.0650728919

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12289.0870739
delta logL = 2.08336214237

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    10.642       1.0000         .10000E-03   10000.    
     2 'alpha     '    .91498       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2174       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96807       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=   12289.09     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      215 TOTAL
                     EDM=   .98E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.638        6.1465        .30705E-02   -.15014E-02
   2  alpha         .91467        .30027        .38351       -.69783E-04
   3  Normalizat    1.2174        .24703        .10772        .89732E-05
   4  Prefactor     .96808        .69286E-01    .33347E-01   -.11005E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 10.6382
  alpha      = 0.914673
  Normalizat = 1.21739
  Prefactor  = 0.968078
 **********
 **   18 **HESSE 
 **********

 FCN=   12289.09     FROM HESSE     STATUS=OK            31 CALLS      246 TOTAL
                     EDM=   .43E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.638        7.9840        .61410E-03   -1.5056    
   2  alpha         .91467        .39185        .16829E-02   -.68688    
   3  Normalizat    1.2174        .28201        .47749E-03   -.86067    
   4  Prefactor     .96808        .79378E-01    .14735E-03   -.93801    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.32109e-12
Minuit parameter uncertainties:
  1  7.9848
  2  0.394584
  3  0.282359
  4  0.0793873
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/687382': 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) = 12289.0870736
delta logL = 2.08336245366

Extracting fit parameters...

4FGL J1725.0+1152
   Spectrum: LogParabola
268         norm:  1.064e+01  7.985e+00  1.000e-04  1.000e+04 ( 1.000e-13)
269        alpha:  9.147e-01  3.946e-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:  9.681e-01  7.939e-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.217e+00  2.824e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 15.94
Ra Dec: 261.271 11.875
Photon Index (Free Index): 0.91 +/- 0.39
Photon Flux (Free Index): 1.31e-08 +/- 8.38e-09
Energy Flux (Free Index): 1.74e-04 +/- 1.42e-04

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/687382/cmap_HighResolution_608688001_608947201_4FGL_J1725.0+1152_daily_bin1425.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.70e-08', energy_flux2='1.74e-04', photon_flux_error='1.66e-08', dlogl='2.08e+00', energy_flux='3.55e-05', photon_flux2='1.31e-08', job_status='DONE', time_completed='2021-09-17 09:55:56.763174', photon_index_error2='0.39', photon_index2='0.91', ts='11.77', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', energy_flux_error2='1.42e-04', EG='1.21', time_epoch_completed='1631897756.76', return_code='0', job_id='687382', GAL2='0.97', EG2='1.22', return_code2='0', energy_flux_error='2.18e-05', photon_flux_error2='8.38e-09', ts2='15.94', photon_index='1.77' WHERE bin_id='1425' AND source_name='4FGL J1725.0+1152' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 17 09:55:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0069>
Subject: Job 687382: <4FGL_J1725.0+1152_daily_bin1425> in cluster <slac> Done

Job <4FGL_J1725.0+1152_daily_bin1425> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Sep 17 09:40:30 2021
Job was executed on host(s) <bullet0069>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 17 09:40:32 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:40:32 2021
Terminated at Fri Sep 17 09:55:57 2021
Results reported at Fri Sep 17 09:55:57 2021

Your job looked like:

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

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

