/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 5 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 = 7428
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1725.0+1152_daily_bin407
RA = 261.271, Dec = 11.8748
tmin = 344822401, tmax = 345081601
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='682020', job_status='RUN', time_executed='2021-09-17 09:20:38.940350', time_epoch_executed='1631895638.94' WHERE source_name='4FGL J1725.0+1152' and cadence='daily' and bin_id='407'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/682020

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/682020/ft1_4FGL_J1725.0+1152_daily_bin407.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/682020/ft2_4FGL_J1725.0+1152_daily_bin407.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/682020/ft1_4FGL_J1725.0+1152_daily_bin407.fits outfile=/scratch/kocevski/682020/ft1_filteredMKT_4FGL_J1725.0+1152_daily_bin407.fits ra=261.271 dec=11.8748 rad=12.0 tmin=344822401.0 tmax=345081601.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.40
user 3.19
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/682020/ft1_filtered_4FGL_J1725.0+1152_daily_bin407.fits" evtable="EVENTS" scfile=/scratch/kocevski/682020/ft2_4FGL_J1725.0+1152_daily_bin407.fits sctable="SC_DATA" outfile=/scratch/kocevski/682020/ltcube_344822401_345081601_4FGL_J1725.0+1152_daily_bin407.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/682020/ft2_4FGL_J1725.0+1152_daily_bin407.fits
.....................!
real 11.82
user 11.47
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/682020/ft1_filtered_4FGL_J1725.0+1152_daily_bin407.fits evtable="EVENTS" scfile=/scratch/kocevski/682020/ft2_4FGL_J1725.0+1152_daily_bin407.fits sctable="SC_DATA" expcube=/scratch/kocevski/682020/ltcube_344822401_345081601_4FGL_J1725.0+1152_daily_bin407.fits outfile=/scratch/kocevski/682020/expmap_344822401_345081601_4FGL_J1725.0+1152_daily_bin407.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/682020/ltcube_344822401_345081601_4FGL_J1725.0+1152_daily_bin407.fits
.....................!
real 191.69
user 187.42
sys 3.90

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/682020/ft1_filtered_4FGL_J1725.0+1152_daily_bin407.fits scfile=/scratch/kocevski/682020/ft2_4FGL_J1725.0+1152_daily_bin407.fits outfile=/scratch/kocevski/682020/cmap_344822401_345081601_4FGL_J1725.0+1152_daily_bin407.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/682020/ft1_filtered_4FGL_J1725.0+1152_daily_bin407.fits scfile=/scratch/kocevski/682020/ft2_4FGL_J1725.0+1152_daily_bin407.fits outfile=/scratch/kocevski/682020/cmap_HighResolution_344822401_345081601_4FGL_J1725.0+1152_daily_bin407.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.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.7534       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10102E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10128E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.9340       1.0000         .10000E-03   10000.    
     5 'Prefactor '    7.7824       1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.1509       1.0000         .10000E-03   10000.    
     7 'norm      '    .17317E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.6310       1.0000         .10000E-03   10000.    
     9 'norm      '    28.076       1.0000         .10000E-03   10000.    
    10 'Prefactor '    62.276       1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.1401       1.0000         .10000E-03   10000.    
    12 'norm      '    19.388       1.0000         .10000E-03   10000.    
    13 'norm      '    7.8241       1.0000         .10000E-03   10000.    
    14 'norm      '    2.3960       1.0000         .10000E-03   10000.    
    15 'norm      '    .10541E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    2.0650       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.1722       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0543       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=   11080.34     FROM MIGRAD    STATUS=CONVERGED    411 CALLS     1916 TOTAL
                     EDM=   .11E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.7515        5.8182        .11075E-06    .20038E-04
   2  Prefactor     .10000E-03    3.3526        .89932E-08** at limit **
   3  Prefactor     .10000E-03    21.730       -.15066E-06** at limit **
   4  Prefactor     2.5727        420.35        .42924E-05    .88709E-05
   5  Prefactor     7.7810        8.0481       -.18981E-06    .99316E-04
   6  Prefactor     4.1549        11.520       -.40250E-06   -.57949E-06
   7  norm          .10000E-03    2.0540       -.25844E-06** at limit **
   8  Prefactor     1.6301        25.612       -.37513E-05   -.42764E-04
   9  norm          28.092        15.134        .76735E-06    .26787E-03
  10  Prefactor     62.329        85.258       -.48904E-05    .27174E-04
  11  Prefactor     4.1382        3.3756        .12479E-05    .27248E-03
  12  norm          19.377        13.833        .34858E-06    .41330E-04
  13  norm          7.8280        4.5361        .16229E-06   -.57794E-04
  14  norm          2.3944        11.837        .85814E-05   -.64353E-04
  15  norm          .10000E-03    41.835        .37317E-06** at limit **
  16  norm          2.0650        .96763        .57011E-08    .54094E-04
  17  Prefactor     .10000E-03    14.061        .46721E-08** at limit **
  18  Normalizat    1.1722        .28223       -.56355E-06    .85391E-04
  19  Prefactor     1.0542        .79959E-01    .25297E-07    .52177E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.75155
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.5727
  Prefactor  = 7.78098
  Prefactor  = 4.15494
  norm       = 0.0001
  Prefactor  = 1.63008
  norm       = 28.0923
  Prefactor  = 62.329
  Prefactor  = 4.13816
  norm       = 19.3771
  norm       = 7.82799
  norm       = 2.3944
  norm       = 0.0001
  norm       = 2.06503
  Prefactor  = 0.0001
  Normalizat = 1.17221
  Prefactor  = 1.05425
 **********
 **   18 **HESSE 
 **********

 FCN=   11080.34     FROM HESSE     STATUS=OK           272 CALLS     2188 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.7515        5.8151        .14401E-03   -1.5151    
   2  Prefactor     .10000E-03    3.4017        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    21.786        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     2.5727        419.46        .23714E-03   -1.5387    
   5  Prefactor     7.7810        8.0145        .14374E-03   -1.5150    
   6  Prefactor     4.1549        11.486        .19784E-03   -1.5300    
   7  norm          .10000E-03    6.0102        .28911E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.6301        25.478        .33111E-03   -1.5453    
   9  norm          28.092        15.179        .75608E-04   -1.4647    
  10  Prefactor     62.329        84.790        .50848E-04   -1.4127    
  11  Prefactor     4.1382        3.3602        .77600E-03   -1.5301    
  12  norm          19.377        13.815        .90962E-04   -1.4827    
  13  norm          7.8280        4.5440        .71677E-03   -1.5148    
  14  norm          2.3944        11.885        .13228E-02   -1.5398    
  15  norm          .10000E-03    41.855        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          2.0650        .96442        .67825E-04   -1.5421    
  17  Prefactor     .10000E-03    14.064        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.1722        .31818        .50066E-03   -.87466    
  19  Prefactor     1.0542        .92342E-01    .15336E-03   -.90943    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.3019e-10
Minuit parameter uncertainties:
  1  5.81551
  2  4.70558e-06
  3  1.84033e-05
  4  66.176
  5  8.0156
  6  11.4924
  7  1.3466e-05
  8  12.8951
  9  15.1812
  10  84.9546
  11  3.36039
  12  13.8172
  13  4.54424
  14  10.6721
  15  2.24165e-06
  16  0.964428
  17  3.47535e-06
  18  0.31871
  19  0.0923559
Done.

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

Extracting fit parameters...

4FGL J1725.0+1152
   Spectrum: LogParabola
268         norm:  2.809e+01  1.518e+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.054e+00  9.236e-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.172e+00  3.187e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 16.67
Ra Dec: 261.271 11.875
Photon Index (Fixed Index): 1.77 +/- 0.00
Photon Flux (Fixed Index): 6.33e-08 +/- 3.42e-08
Energy Flux (Fixed Index): 8.32e-05 +/- 4.50e-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) = 11080.0297478
delta logL = 0.314564705788

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11080.000067
delta logL = 0.344245504246

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    24.306       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1665       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1331       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0563       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=   11080.00     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      305 TOTAL
                     EDM=   .93E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          24.296        14.757        .81251E-04    .57815E-03
   2  alpha         2.1656        .47523        .10808E-01    .12671E-03
   3  Normalizat    1.1329        .31010        .50744E-03   -.44494E-04
   4  Prefactor     1.0565        .89812E-01    .15306E-03   -.99033E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 24.2957
  alpha      = 2.16562
  Normalizat = 1.13288
  Prefactor  = 1.05646
 **********
 **   18 **HESSE 
 **********

 FCN=   11080.00     FROM HESSE     STATUS=OK            25 CALLS      330 TOTAL
                     EDM=   .86E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          24.296        13.813        .16250E-04   -1.4722    
   2  alpha         2.1656        .44448        .43232E-03   -.13415    
   3  Normalizat    1.1329        .30932        .20298E-04   -.88703    
   4  Prefactor     1.0565        .89807E-01    .30611E-04   -.90871    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.55695e-10
Minuit parameter uncertainties:
  1  13.8148
  2  0.4469
  3  0.309818
  4  0.0898197
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/682020': 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) = 11080.0000594
delta logL = 0.344253124022

Extracting fit parameters...

4FGL J1725.0+1152
   Spectrum: LogParabola
268         norm:  2.430e+01  1.381e+01  1.000e-04  1.000e+04 ( 1.000e-13)
269        alpha:  2.166e+00  4.469e-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.056e+00  8.982e-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.133e+00  3.098e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 17.38
Ra Dec: 261.271 11.875
Photon Index (Free Index): 2.17 +/- 0.45
Photon Flux (Free Index): 1.16e-07 +/- 8.26e-08
Energy Flux (Free Index): 6.26e-05 +/- 3.09e-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/682020/cmap_HighResolution_344822401_345081601_4FGL_J1725.0+1152_daily_bin407.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.33e-08', energy_flux2='6.26e-05', photon_flux_error='3.42e-08', dlogl='3.44e-01', energy_flux='8.32e-05', photon_flux2='1.16e-07', job_status='DONE', time_completed='2021-09-17 09:33:21.456105', photon_index_error2='0.45', photon_index2='2.17', ts='16.67', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', energy_flux_error2='3.09e-05', EG='1.17', time_epoch_completed='1631896401.46', return_code='0', job_id='682020', GAL2='1.06', EG2='1.13', return_code2='0', energy_flux_error='4.50e-05', photon_flux_error2='8.26e-08', ts2='17.38', photon_index='1.77' WHERE bin_id='407' AND source_name='4FGL J1725.0+1152' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 17 09:33:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0228>
Subject: Job 682020: <4FGL_J1725.0+1152_daily_bin407> in cluster <slac> Done

Job <4FGL_J1725.0+1152_daily_bin407> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Sep 17 09:20:24 2021
Job was executed on host(s) <bullet0228>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 17 09:20:26 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:20:26 2021
Terminated at Fri Sep 17 09:33:24 2021
Results reported at Fri Sep 17 09:33:24 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1725.0+1152_daily_bin407 261.271 11.8748 344822401 345081601 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 :                                   759.32 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             377.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   775 sec.
    Turnaround time :                            780 sec.

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

