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


Performing analysis on: 4FGL_J1725.0+1152_daily_bin1444
RA = 261.271, Dec = 11.8748
tmin = 613612801, tmax = 613872001
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='687409', job_status='RUN', time_executed='2021-09-17 09:42:45.805385', time_epoch_executed='1631896965.81' WHERE source_name='4FGL J1725.0+1152' and cadence='daily' and bin_id='1444'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/687409

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/687409/ft1_4FGL_J1725.0+1152_daily_bin1444.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/687409/ft2_4FGL_J1725.0+1152_daily_bin1444.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/687409/ft1_4FGL_J1725.0+1152_daily_bin1444.fits outfile=/scratch/kocevski/687409/ft1_filteredMKT_4FGL_J1725.0+1152_daily_bin1444.fits ra=261.271 dec=11.8748 rad=12.0 tmin=613612801.0 tmax=613872001.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 2.55
user 2.34
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/687409/ft2_4FGL_J1725.0+1152_daily_bin1444.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/687409/ft1_filteredMKT_4FGL_J1725.0+1152_daily_bin1444.fits evtable="EVENTS" outfile="/scratch/kocevski/687409/ft1_filtered_4FGL_J1725.0+1152_daily_bin1444.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.33
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/687409/ft1_filtered_4FGL_J1725.0+1152_daily_bin1444.fits" evtable="EVENTS" scfile=/scratch/kocevski/687409/ft2_4FGL_J1725.0+1152_daily_bin1444.fits sctable="SC_DATA" outfile=/scratch/kocevski/687409/ltcube_613612801_613872001_4FGL_J1725.0+1152_daily_bin1444.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/687409/ft2_4FGL_J1725.0+1152_daily_bin1444.fits
.....................!
real 12.47
user 12.08
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/687409/ft1_filtered_4FGL_J1725.0+1152_daily_bin1444.fits evtable="EVENTS" scfile=/scratch/kocevski/687409/ft2_4FGL_J1725.0+1152_daily_bin1444.fits sctable="SC_DATA" expcube=/scratch/kocevski/687409/ltcube_613612801_613872001_4FGL_J1725.0+1152_daily_bin1444.fits outfile=/scratch/kocevski/687409/expmap_613612801_613872001_4FGL_J1725.0+1152_daily_bin1444.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/687409/ltcube_613612801_613872001_4FGL_J1725.0+1152_daily_bin1444.fits
.....................!
real 190.33
user 185.07
sys 4.85

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/687409/ft1_filtered_4FGL_J1725.0+1152_daily_bin1444.fits scfile=/scratch/kocevski/687409/ft2_4FGL_J1725.0+1152_daily_bin1444.fits outfile=/scratch/kocevski/687409/cmap_613612801_613872001_4FGL_J1725.0+1152_daily_bin1444.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/687409/ft1_filtered_4FGL_J1725.0+1152_daily_bin1444.fits scfile=/scratch/kocevski/687409/ft2_4FGL_J1725.0+1152_daily_bin1444.fits outfile=/scratch/kocevski/687409/cmap_HighResolution_613612801_613872001_4FGL_J1725.0+1152_daily_bin1444.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.52
user 0.38
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10398E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.0271       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .12334E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10918E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    25.576       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10363E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .36057       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .24959E-01   1.0000         .10000E-03   10000.    
     9 'norm      '    .10144E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    43.449       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    22.351       1.0000         .10000E-03   10000.    
    13 'norm      '    .10028E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    3.8261       1.0000         .10000E-03   10000.    
    15 'norm      '    .16174E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    7.7630       1.0000         .10000E-03   10000.    
    17 'Prefactor '    51.553       1.0000         .10000E-03   10000.    
    18 'Normalizat'    .64345       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0952       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=   8653.719     FROM MIGRAD    STATUS=CONVERGED    407 CALLS     2216 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    7.4878       -.11596E-06** at limit **
   2  Prefactor     3.0057        15.334        .13681E-04   -.19735E-03
   3  Prefactor     .10000E-03    55.870       -.49991E-05** at limit **
   4  Prefactor     .10000E-03    29.972       -.15631E-05** at limit **
   5  Prefactor     25.573        17.294        .35777E-05   -.78924E-03
   6  Prefactor     .10000E-03    5.6514       -.18569E-07** at limit **
   7  norm          .37004        1.5185       -.66481E-06   -.17974E-03
   8  Prefactor     .10014E-03    17.598        .87788E-05** at limit **
   9  norm          .10000E-03    4.1518       -.27599E-07** at limit **
  10  Prefactor     43.283        128.21       -.22242E-03   -.17051E-03
  11  Prefactor     .10000E-03    1.5174        .11098E-06** at limit **
  12  norm          22.355        20.154        .19656E-05   -.23483E-03
  13  norm          .10000E-03    3.5396        .49727E-07** at limit **
  14  norm          3.7919        25.258        .52223E-04    .19192E-03
  15  norm          .10000E-03    75.380        .52859E-05** at limit **
  16  norm          7.7629        1.7080        .15360E-06   -.81718E-03
  17  Prefactor     51.572        49.323        .10150E-04   -.68527E-05
  18  Normalizat    .64352        .33755        .17763E-05   -.33391E-03
  19  Prefactor     1.0953        .10032        .98980E-07   -.15913E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 3.00565
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 25.5728
  Prefactor  = 0.0001
  norm       = 0.370042
  Prefactor  = 0.000100142
  norm       = 0.0001
  Prefactor  = 43.2828
  Prefactor  = 0.0001
  norm       = 22.3552
  norm       = 0.0001
  norm       = 3.79193
  norm       = 0.0001
  norm       = 7.76295
  Prefactor  = 51.5721
  Normalizat = 0.643516
  Prefactor  = 1.09525
 **********
 **   18 **HESSE 
 **********

 FCN=   8653.719     FROM HESSE     STATUS=OK           272 CALLS     2488 TOTAL
                     EDM=   .27E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    7.4953        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.0057        15.046        .23324E-03   -1.5361    
   3  Prefactor     .10000E-03    56.235        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    29.977        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     25.573        17.153        .79210E-04   -1.4696    
   6  Prefactor     .10000E-03    5.6584        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .37004        5.6131        .21673E-02   -1.5586    
   8  Prefactor     .10014E-03    20.362        .10485       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    4.1542        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     43.283        129.11        .30410E-03   -1.4391    
  11  Prefactor     .10000E-03    1.5315        .11176E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          22.355        20.150        .84725E-04   -1.4762    
  13  norm          .10000E-03    3.5444        .17092E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          3.7919        25.095        .20634E-03   -1.5318    
  15  norm          .10000E-03    75.471        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          7.7629        1.7137        .54229E-04   -1.5151    
  17  Prefactor     51.572        49.380        .55857E-04   -1.4270    
  18  Normalizat    .64352        .34690        .63864E-03   -1.0617    
  19  Prefactor     1.0953        .10720        .15039E-03   -.89618    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.71689e-08
Minuit parameter uncertainties:
  1  2.94963e-05
  2  13.4549
  3  6.47656e-05
  4  5.83643e-05
  5  17.1563
  6  5.51071e-06
  7  2.88236
  8  0.00340367
  9  9.4217e-07
  10  129.952
  11  1.4545e-05
  12  20.1566
  13  8.95951e-06
  14  19.5215
  15  3.05303e-05
  16  1.71371
  17  49.4194
  18  0.348085
  19  0.10722
Done.

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

Extracting fit parameters...

4FGL J1725.0+1152
   Spectrum: LogParabola
268         norm:  1.000e-04  9.422e-07  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.095e+00  1.072e-01  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:  6.435e-01  3.481e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 261.271 11.875
Photon Flux Upper Limit: 5.04e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.63e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/687409/likelihoodResults_613612801_613872001_4FGL_J1725.0+1152_daily_bin1444.txt

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) = 8653.72038589
delta logL = -0.00113619357944

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8653.71925038
delta logL = -6.8239387474e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7669       1.0000          .0000       5.0000    
     3 'Normalizat'    .64391       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0951       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=   8653.533     FROM MIGRAD    STATUS=CONVERGED    157 CALLS      292 TOTAL
                     EDM=   .55E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .91690E-02    .14485E-01    .32602E-02   -.15357E-01
   2  alpha         5.0000        3.4029        .50000    ** at limit **
   3  Normalizat    .58536        .35024        .63863E-02    .89079E-05
   4  Prefactor     1.1042        .10443        .15039E-03   -.19655E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.00916896
  alpha      = 5
  Normalizat = 0.585363
  Prefactor  = 1.10418
 **********
 **   18 **HESSE 
 **********

 FCN=   8653.533     FROM HESSE     STATUS=OK            35 CALLS      327 TOTAL
                     EDM=   .17E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .91690E-02    .16185E-01    .13803E-03   -1.5727    
   2  alpha         5.0000        3.4265        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .58536        .35553        .25545E-03   -1.0861    
   4  Prefactor     1.1042        .10430        .60155E-05   -.89333    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.72984e-11
Minuit parameter uncertainties:
  1  0.0161849
  2  2.85676e-07
  3  0.356925
  4  0.104321
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/687409': 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) = 8653.53344588
delta logL = 0.185803812199

Extracting fit parameters...

4FGL J1725.0+1152
   Spectrum: LogParabola
268         norm:  9.169e-03  1.618e-02  1.000e-04  1.000e+04 ( 1.000e-13)
269        alpha:  5.000e+00  2.857e-07  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.104e+00  1.043e-01  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:  5.854e-01  3.569e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 261.271 11.875

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/687409/cmap_HighResolution_613612801_613872001_4FGL_J1725.0+1152_daily_bin1444.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.63e-05', job_status='DONE', photon_flux_upper_limit='5.04e-08', time_completed='2021-09-17 09:55:32.434984', job_id='687409', GAL2='1.10', fit_tolerance='1e-08', EG2='0.59', EG='0.64', time_epoch_completed='1631897732.44', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='1.86e-01', ts2='0.40', photon_index_error='0.00', photon_index='1.77' WHERE bin_id='1444' AND source_name='4FGL J1725.0+1152' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 17 09:55:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0080>
Subject: Job 687409: <4FGL_J1725.0+1152_daily_bin1444> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1725.0+1152_daily_bin1444 261.271 11.8748 613612801 613872001 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 :                                   733.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             289.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   898 sec.
    Turnaround time :                            901 sec.

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

