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


Performing analysis on: 4FGL_J1725.0+1152_daily_bin1096
RA = 261.271, Dec = 11.8748
tmin = 523411201, tmax = 523670401
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='685956', job_status='RUN', time_executed='2021-09-17 09:39:22.296586', time_epoch_executed='1631896762.3' WHERE source_name='4FGL J1725.0+1152' and cadence='daily' and bin_id='1096'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/685956

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/685956/ft1_4FGL_J1725.0+1152_daily_bin1096.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/685956/ft2_4FGL_J1725.0+1152_daily_bin1096.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/685956/ft1_4FGL_J1725.0+1152_daily_bin1096.fits outfile=/scratch/kocevski/685956/ft1_filteredMKT_4FGL_J1725.0+1152_daily_bin1096.fits ra=261.271 dec=11.8748 rad=12.0 tmin=523411201.0 tmax=523670401.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.53
user 3.31
sys 0.20

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/685956/ft1_filtered_4FGL_J1725.0+1152_daily_bin1096.fits evtable="EVENTS" scfile=/scratch/kocevski/685956/ft2_4FGL_J1725.0+1152_daily_bin1096.fits sctable="SC_DATA" expcube=/scratch/kocevski/685956/ltcube_523411201_523670401_4FGL_J1725.0+1152_daily_bin1096.fits outfile=/scratch/kocevski/685956/expmap_523411201_523670401_4FGL_J1725.0+1152_daily_bin1096.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/685956/ltcube_523411201_523670401_4FGL_J1725.0+1152_daily_bin1096.fits
.....................!
real 192.03
user 187.04
sys 4.66

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/685956/ft1_filtered_4FGL_J1725.0+1152_daily_bin1096.fits scfile=/scratch/kocevski/685956/ft2_4FGL_J1725.0+1152_daily_bin1096.fits outfile=/scratch/kocevski/685956/cmap_523411201_523670401_4FGL_J1725.0+1152_daily_bin1096.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.52
user 0.38
sys 0.14

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10379E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    8.0944       1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.2685       1.0000         .10000E-03   10000.    
     7 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    30.648       1.0000         .10000E-03   10000.    
     9 'norm      '    5.4485       1.0000         .10000E-03   10000.    
    10 'Prefactor '    205.13       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .75435E-02   1.0000         .10000E-03   10000.    
    12 'norm      '    .37151E-02   1.0000         .10000E-03   10000.    
    13 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10039E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    1.3586       1.0000         .10000E-03   10000.    
    17 'Prefactor '    18.830       1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.1374       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .97656       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=   10493.46     FROM MIGRAD    STATUS=CONVERGED    426 CALLS     2020 TOTAL
                     EDM=   .62E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.4209        .97130E-07** at limit **
   2  Prefactor     .10000E-03    3.3875        .12996E-06** at limit **
   3  Prefactor     .10001E-03    74.529        .20323E-06** at limit **
   4  Prefactor     .10000E-03    45.612       -.49796E-06** at limit **
   5  Prefactor     8.0966        7.5813        .21489E-06    .32307E-06
   6  Prefactor     6.2716        11.559        .56516E-06    .26023E-05
   7  norm          .10000E-03    .93058        .60992E-06** at limit **
   8  Prefactor     30.635        15.657        .76522E-07   -.18768E-03
   9  norm          5.4269        5.3618        .46286E-07   -.13455E-03
  10  Prefactor     204.98        93.870       -.59647E-05    .10990E-03
  11  Prefactor     .41206E-01    .82560        .56394E-06   -.60188E-04
  12  norm          .10000E-03    33.981       -.23837E-04** at limit **
  13  norm          .10000E-03    2.3599        .79986E-06** at limit **
  14  norm          .10000E-03    4.6124        .16566E-05** at limit **
  15  norm          .10000E-03    22.596       -.23302E-06** at limit **
  16  norm          1.3590        .98155        .10315E-06    .71122E-03
  17  Prefactor     18.839        40.593        .41970E-06   -.15616E-04
  18  Normalizat    1.1372        .27146       -.11909E-05   -.23907E-03
  19  Prefactor     .97645        .76583E-01   -.10817E-05   -.90940E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100006
  Prefactor  = 0.0001
  Prefactor  = 8.09657
  Prefactor  = 6.27158
  norm       = 0.000100001
  Prefactor  = 30.6345
  norm       = 5.42691
  Prefactor  = 204.979
  Prefactor  = 0.0412059
  norm       = 0.000100002
  norm       = 0.000100003
  norm       = 0.0001
  norm       = 0.0001
  norm       = 1.359
  Prefactor  = 18.839
  Normalizat = 1.13722
  Prefactor  = 0.976447
 **********
 **   18 **HESSE 
 **********

 FCN=   10493.46     FROM HESSE     STATUS=OK           270 CALLS     2290 TOTAL
                     EDM=   .64E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.4335        .15566E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    3.4262        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10001E-03    75.600        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    45.676        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     8.0966        7.5833        .14092E-03   -1.5139    
   6  Prefactor     6.2716        11.555        .16033E-03   -1.5207    
   7  norm          .10000E-03    1.6165        .19225E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     30.635        15.599        .72374E-04   -1.4600    
   9  norm          5.4269        5.4348        .17214E-03   -1.5242    
  10  Prefactor     204.98        93.208        .14110E-03   -1.2835    
  11  Prefactor     .41206E-01    9.2137        .17788E-02   -1.5667    
  12  norm          .10000E-03    33.589        .45492E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    8.1151        .30533E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    4.6432        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    22.595        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.3590        .96831        .81910E-04   -1.5475    
  17  Prefactor     18.839        40.596        .92299E-04   -1.4840    
  18  Normalizat    1.1372        .30482        .47649E-03   -.88566    
  19  Prefactor     .97645        .86814E-01    .14710E-03   -.93519    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.3564e-08
Minuit parameter uncertainties:
  1  1.87387e-05
  2  5.41354e-05
  3  0.00130153
  4  0.000183724
  5  7.58417
  6  11.5592
  7  8.00566e-05
  8  15.6011
  9  5.43532
  10  93.2751
  11  1.23102
  12  0.000451273
  13  0.000323029
  14  4.76538e-05
  15  1.41412e-06
  16  0.968319
  17  40.656
  18  0.305294
  19  0.0868265
Done.

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

Extracting fit parameters...

4FGL J1725.0+1152
   Spectrum: LogParabola
268         norm:  5.427e+00  5.435e+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.764e-01  8.683e-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.137e+00  3.053e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 9.53
Ra Dec: 261.271 11.875
Photon Index (Fixed Index): 1.77 +/- 0.00
Photon Flux (Fixed Index): 1.22e-08 +/- 1.22e-08
Energy Flux (Fixed Index): 1.61e-05 +/- 1.61e-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) = 10491.5571159
delta logL = 1.90669108986

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10491.3114148
delta logL = 2.15239212439

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.4799       1.0000         .10000E-03   10000.    
     2 'alpha     '    .33705       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1377       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97773       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=   10491.31     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      222 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.4811        1.8716        .88213E-02   -.62607E-03
   2  alpha         .33710        .56070        .50000        .34209E-04
   3  Normalizat    1.1377        .26051        .10747        .36760E-04
   4  Prefactor     .97772        .75605E-01    .33270E-01   -.79869E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.4811
  alpha      = 0.3371
  Normalizat = 1.13767
  Prefactor  = 0.977718
 **********
 **   18 **HESSE 
 **********

 FCN=   10491.31     FROM HESSE     STATUS=OK            33 CALLS      255 TOTAL
                     EDM=   .20E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.4811        3.0831        .11931E-03   -1.5465    
   2  alpha         .33710        .73223        .35967E-01   -1.0455    
   3  Normalizat    1.1377        .29408        .47640E-03   -.88551    
   4  Prefactor     .97772        .85649E-01    .14701E-03   -.93476    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.97646e-11
Minuit parameter uncertainties:
  1  3.08341
  2  0.781947
  3  0.294505
  4  0.0856613
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/685956': 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) = 10491.3114145
delta logL = 2.15239240975

Extracting fit parameters...

4FGL J1725.0+1152
   Spectrum: LogParabola
268         norm:  1.481e+00  3.083e+00  1.000e-04  1.000e+04 ( 1.000e-13)
269        alpha:  3.371e-01  7.819e-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.777e-01  8.566e-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.138e+00  2.945e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 13.84
Ra Dec: 261.271 11.875
Photon Index (Free Index): 0.34 +/- 0.78
Photon Flux (Free Index): 4.03e-09 +/- 4.10e-09
Energy Flux (Free Index): 1.32e-04 +/- 1.54e-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/685956/cmap_HighResolution_523411201_523670401_4FGL_J1725.0+1152_daily_bin1096.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.22e-08', energy_flux2='1.32e-04', photon_flux_error='1.22e-08', dlogl='2.15e+00', energy_flux='1.61e-05', photon_flux2='4.03e-09', job_status='DONE', time_completed='2021-09-17 09:51:46.861237', photon_index_error2='0.78', photon_index2='0.34', ts='9.53', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='1.54e-04', EG='1.14', time_epoch_completed='1631897506.86', return_code='0', job_id='685956', GAL2='0.98', EG2='1.14', return_code2='0', energy_flux_error='1.61e-05', photon_flux_error2='4.10e-09', ts2='13.84', photon_index='1.77' WHERE bin_id='1096' AND source_name='4FGL J1725.0+1152' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 17 09:51:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0079>
Subject: Job 685956: <4FGL_J1725.0+1152_daily_bin1096> in cluster <slac> Done

Job <4FGL_J1725.0+1152_daily_bin1096> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Fri Sep 17 09:35:45 2021
Job was executed on host(s) <bullet0079>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 17 09:35:47 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:47 2021
Terminated at Fri Sep 17 09:51:47 2021
Results reported at Fri Sep 17 09:51:47 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1725.0+1152_daily_bin1096 261.271 11.8748 523411201 523670401 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 :                                   740.11 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             292.72 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   960 sec.
    Turnaround time :                            962 sec.

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

