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


Performing analysis on: 4FGL_J1725.0+1152_daily_bin1051
RA = 261.271, Dec = 11.8748
tmin = 511747201, tmax = 512006401
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='685874', job_status='RUN', time_executed='2021-09-17 09:37:37.228840', time_epoch_executed='1631896657.23' WHERE source_name='4FGL J1725.0+1152' and cadence='daily' and bin_id='1051'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/685874

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/685874/ft1_4FGL_J1725.0+1152_daily_bin1051.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/685874/ft2_4FGL_J1725.0+1152_daily_bin1051.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/685874/ft1_4FGL_J1725.0+1152_daily_bin1051.fits outfile=/scratch/kocevski/685874/ft1_filteredMKT_4FGL_J1725.0+1152_daily_bin1051.fits ra=261.271 dec=11.8748 rad=12.0 tmin=511747201.0 tmax=512006401.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.29
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/685874/ft1_filtered_4FGL_J1725.0+1152_daily_bin1051.fits" evtable="EVENTS" scfile=/scratch/kocevski/685874/ft2_4FGL_J1725.0+1152_daily_bin1051.fits sctable="SC_DATA" outfile=/scratch/kocevski/685874/ltcube_511747201_512006401_4FGL_J1725.0+1152_daily_bin1051.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/685874/ft2_4FGL_J1725.0+1152_daily_bin1051.fits
.....................!
real 12.01
user 11.62
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/685874/ft1_filtered_4FGL_J1725.0+1152_daily_bin1051.fits evtable="EVENTS" scfile=/scratch/kocevski/685874/ft2_4FGL_J1725.0+1152_daily_bin1051.fits sctable="SC_DATA" expcube=/scratch/kocevski/685874/ltcube_511747201_512006401_4FGL_J1725.0+1152_daily_bin1051.fits outfile=/scratch/kocevski/685874/expmap_511747201_512006401_4FGL_J1725.0+1152_daily_bin1051.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/685874/ltcube_511747201_512006401_4FGL_J1725.0+1152_daily_bin1051.fits
.....................!
real 190.26
user 185.13
sys 4.82

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/685874/ft1_filtered_4FGL_J1725.0+1152_daily_bin1051.fits scfile=/scratch/kocevski/685874/ft2_4FGL_J1725.0+1152_daily_bin1051.fits outfile=/scratch/kocevski/685874/cmap_511747201_512006401_4FGL_J1725.0+1152_daily_bin1051.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/685874/ft1_filtered_4FGL_J1725.0+1152_daily_bin1051.fits scfile=/scratch/kocevski/685874/ft2_4FGL_J1725.0+1152_daily_bin1051.fits outfile=/scratch/kocevski/685874/cmap_HighResolution_511747201_512006401_4FGL_J1725.0+1152_daily_bin1051.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/685874/ft1_filtered_4FGL_J1725.0+1152_daily_bin1051.fits evtable="EVENTS" scfile=/scratch/kocevski/685874/ft2_4FGL_J1725.0+1152_daily_bin1051.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/685874/Model_4FGL_J1725.0+1152_daily_bin1051.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/685874/ft1_filtered_4FGL_J1725.0+1152_daily_bin1051.fits.....................!
real 106.10
user 104.66
sys 1.26

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .28271       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10802E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    6.0447       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .78707       1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.2946       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    2.2421       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    15.208       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    14.988       1.0000         .10000E-03   10000.    
    16 'norm      '    .85704       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    .90563       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.1281       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=   12874.36     FROM MIGRAD    STATUS=CONVERGED    430 CALLS     1978 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27470        3.4560       -.37322E-06   -.88586E-04
   2  Prefactor     .10000E-03    2.4998        .17742E-06** at limit **
   3  Prefactor     6.0441        43.763       -.96944E-05    .40568E-04
   4  Prefactor     .60609        59.182       -.15464E-05    .49808E-04
   5  Prefactor     1.2910        9.7231       -.32350E-05   -.67514E-03
   6  Prefactor     .10000E-03    15.628        .48344E-06** at limit **
   7  norm          2.2422        2.2546       -.13608E-06   -.51469E-03
   8  Prefactor     .10000E-03    25.506        .16908E-06** at limit **
   9  norm          15.206        11.511        .15590E-06    .23160E-06
  10  Prefactor     .10000E-03    39.159       -.12313E-06** at limit **
  11  Prefactor     .10000E-03    1.5564       -.86759E-07** at limit **
  12  norm          .10000E-03    3.0414       -.44587E-07** at limit **
  13  norm          .10000E-03    1.2058       -.27934E-07** at limit **
  14  norm          .10000E-03    4.9391        .37060E-07** at limit **
  15  norm          14.967        47.986        .25202E-04   -.17156E-03
  16  norm          .85708        .65840       -.50401E-07   -.90620E-03
  17  Prefactor     .10000E-03    22.236       -.80168E-07** at limit **
  18  Normalizat    .90567        .28084        .19408E-05    .49122E-04
  19  Prefactor     1.1281        .74339E-01   -.23957E-06    .45142E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.274702
  Prefactor  = 0.0001
  Prefactor  = 6.04407
  Prefactor  = 0.606095
  Prefactor  = 1.29095
  Prefactor  = 0.0001
  norm       = 2.24216
  Prefactor  = 0.0001
  norm       = 15.2062
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 14.9667
  norm       = 0.857076
  Prefactor  = 0.0001
  Normalizat = 0.90567
  Prefactor  = 1.12812
 **********
 **   18 **HESSE 
 **********

 FCN=   12874.36     FROM HESSE     STATUS=OK           280 CALLS     2258 TOTAL
                     EDM=   .44E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27470        52.520        .39722E-02   -1.5603    
   2  Prefactor     .10000E-03    15.233        .33818E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     6.0441        44.134        .16331E-03   -1.5216    
   4  Prefactor     .60609        53.520        .22534       -1.5552    
   5  Prefactor     1.2910        10.671        .38886E-03   -1.5481    
   6  Prefactor     .10000E-03    15.792        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          2.2422        2.2466        .16609E-03   -1.5408    
   8  Prefactor     .10000E-03    25.947        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          15.206        11.486        .10270E-03   -1.4928    
  10  Prefactor     .10000E-03    39.207        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    1.5806        .13786E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    3.0498        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    3.3516        .24267E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    5.0017        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          14.967        46.148        .10346E-03   -1.4934    
  16  norm          .85708        .63583        .77663E-03   -1.5523    
  17  Prefactor     .10000E-03    22.250        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .90567        .30823        .56594E-03   -.96261    
  19  Prefactor     1.1281        .82750E-01    .14387E-03   -.88573    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.43111e-08
Minuit parameter uncertainties:
  1  7.60205
  2  0.000172539
  3  32.6986
  4  11.4005
  5  7.42478
  6  5.37145e-06
  7  2.24664
  8  2.90214e-05
  9  11.488
  10  7.85651e-06
  11  8.1508e-07
  12  1.91528e-07
  13  9.12315e-06
  14  1.20184e-06
  15  46.2583
  16  0.635831
  17  1.10506e-07
  18  0.308829
  19  0.0827592
Done.

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

Extracting fit parameters...

4FGL J1725.0+1152
   Spectrum: LogParabola
268         norm:  1.521e+01  1.149e+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.128e+00  8.276e-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.057e-01  3.088e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.87
Ra Dec: 261.271 11.875
Photon Index (Fixed Index): 1.77 +/- 0.00
Photon Flux (Fixed Index): 3.43e-08 +/- 2.59e-08
Energy Flux (Fixed Index): 4.51e-05 +/- 3.40e-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) = 12874.2865312
delta logL = 0.0689674796886

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12874.2852134
delta logL = 0.0702852254108

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    15.315       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0435       1.0000          .0000       5.0000    
     3 'Normalizat'    .89030       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1280       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=   12874.29     FROM MIGRAD    STATUS=CONVERGED     64 CALLS      251 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          15.327        211.09        .25586E-02    .61582E-03
   2  alpha         2.0451        3.3884        .26913        .96839E-04
   3  Normalizat    .89016        .19211        .12850        .41334E-04
   4  Prefactor     1.1280        .31966E-01    .36607E-01   -.12668E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 15.3266
  alpha      = 2.0451
  Normalizat = 0.890156
  Prefactor  = 1.12799
 **********
 **   18 **HESSE 
 **********

 FCN=   12874.29     FROM HESSE     STATUS=OK            33 CALLS      284 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          15.327        11.205        .51172E-03   -1.4925    
   2  alpha         2.0451        .70918        .17537E-01   -.18298    
   3  Normalizat    .89016        .29136        .57021E-03   -.96807    
   4  Prefactor     1.1280        .81168E-01    .14384E-03   -.88577    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.37641e-08
Minuit parameter uncertainties:
  1  11.2066
  2  0.71941
  3  0.291874
  4  0.0811764
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/685874': 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) = 12874.285208
delta logL = 0.070290646463

Extracting fit parameters...

4FGL J1725.0+1152
   Spectrum: LogParabola
268         norm:  1.533e+01  1.121e+01  1.000e-04  1.000e+04 ( 1.000e-13)
269        alpha:  2.045e+00  7.194e-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.128e+00  8.118e-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:  8.902e-01  2.919e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.01
Ra Dec: 261.271 11.875
Photon Index (Free Index): 2.05 +/- 0.72
Photon Flux (Free Index): 5.75e-08 +/- 7.33e-08
Energy Flux (Free Index): 3.90e-05 +/- 2.97e-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/685874/cmap_HighResolution_511747201_512006401_4FGL_J1725.0+1152_daily_bin1051.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.43e-08', energy_flux2='3.90e-05', photon_flux_error='2.59e-08', dlogl='7.03e-02', energy_flux='4.51e-05', photon_flux2='5.75e-08', job_status='DONE', time_completed='2021-09-17 09:51:11.831551', photon_index_error2='0.72', photon_index2='2.05', ts='8.87', fit_tolerance='1e-08', GAL='1.13', photon_index_error='0.00', energy_flux_error2='2.97e-05', EG='0.91', time_epoch_completed='1631897471.83', return_code='0', job_id='685874', GAL2='1.13', EG2='0.89', return_code2='0', energy_flux_error='3.40e-05', photon_flux_error2='7.33e-08', ts2='9.01', photon_index='1.77' WHERE bin_id='1051' AND source_name='4FGL J1725.0+1152' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 17 09:51:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0047>
Subject: Job 685874: <4FGL_J1725.0+1152_daily_bin1051> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1725.0+1152_daily_bin1051 261.271 11.8748 511747201 512006401 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 :                                   812.13 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             322.97 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   933 sec.
    Turnaround time :                            934 sec.

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

