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


Performing analysis on: 4FGL_J1725.5+5851_daily_bin673
RA = 261.388, Dec = 58.8578
tmin = 413769601, tmax = 414028801
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='692541', job_status='RUN', time_executed='2021-09-17 09:55:56.142786', time_epoch_executed='1631897756.14' WHERE source_name='4FGL J1725.5+5851' and cadence='daily' and bin_id='673'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/692541

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/692541/ft1_4FGL_J1725.5+5851_daily_bin673.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/692541/ft2_4FGL_J1725.5+5851_daily_bin673.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/692541/ft1_4FGL_J1725.5+5851_daily_bin673.fits outfile=/scratch/kocevski/692541/ft1_filteredMKT_4FGL_J1725.5+5851_daily_bin673.fits ra=261.388 dec=58.8578 rad=12.0 tmin=413769601.0 tmax=414028801.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 6.18
user 5.96
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/692541/ft2_4FGL_J1725.5+5851_daily_bin673.fits

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

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/692541/ft1_filtered_4FGL_J1725.5+5851_daily_bin673.fits" evtable="EVENTS" scfile=/scratch/kocevski/692541/ft2_4FGL_J1725.5+5851_daily_bin673.fits sctable="SC_DATA" outfile=/scratch/kocevski/692541/ltcube_413769601_414028801_4FGL_J1725.5+5851_daily_bin673.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/692541/ft2_4FGL_J1725.5+5851_daily_bin673.fits
.....................!
real 12.76
user 12.38
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/692541/ft1_filtered_4FGL_J1725.5+5851_daily_bin673.fits evtable="EVENTS" scfile=/scratch/kocevski/692541/ft2_4FGL_J1725.5+5851_daily_bin673.fits sctable="SC_DATA" expcube=/scratch/kocevski/692541/ltcube_413769601_414028801_4FGL_J1725.5+5851_daily_bin673.fits outfile=/scratch/kocevski/692541/expmap_413769601_414028801_4FGL_J1725.5+5851_daily_bin673.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/692541/ltcube_413769601_414028801_4FGL_J1725.5+5851_daily_bin673.fits
.....................!
real 190.94
user 185.23
sys 5.32

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
Added 204 point sources and 0 extended sources

Setting source of interest to:
4FGL J1725.5+5851 @ 261.388 58.8578

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/692541/ft1_filtered_4FGL_J1725.5+5851_daily_bin673.fits scfile=/scratch/kocevski/692541/ft2_4FGL_J1725.5+5851_daily_bin673.fits outfile=/scratch/kocevski/692541/cmap_413769601_414028801_4FGL_J1725.5+5851_daily_bin673.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.388 yref=58.8578 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

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/692541/ft1_filtered_4FGL_J1725.5+5851_daily_bin673.fits scfile=/scratch/kocevski/692541/ft2_4FGL_J1725.5+5851_daily_bin673.fits outfile=/scratch/kocevski/692541/cmap_HighResolution_413769601_414028801_4FGL_J1725.5+5851_daily_bin673.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.388 yref=58.8578 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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/692541/ft1_filtered_4FGL_J1725.5+5851_daily_bin673.fits evtable="EVENTS" scfile=/scratch/kocevski/692541/ft2_4FGL_J1725.5+5851_daily_bin673.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/692541/Model_4FGL_J1725.5+5851_daily_bin673.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 GAL_V02
Working on...
/scratch/kocevski/692541/ft1_filtered_4FGL_J1725.5+5851_daily_bin673.fits.....................!
real 47.24
user 45.97
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/692541/ft1_filtered_4FGL_J1725.5+5851_daily_bin673.fits', '/scratch/kocevski/692541/ft2_4FGL_J1725.5+5851_daily_bin673.fits', expMap='/scratch/kocevski/692541/expmap_413769601_414028801_4FGL_J1725.5+5851_daily_bin673.fits', expCube='/scratch/kocevski/692541/ltcube_413769601_414028801_4FGL_J1725.5+5851_daily_bin673.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/692541/Model_4FGL_J1725.5+5851_daily_bin673.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1725.5+5851'

4FGL J1725.5+5851
   Spectrum: PowerLaw
339    Prefactor:  2.242e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
340        Index:  2.202e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
341        Scale:  1.522e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/692541/ft1_filtered_4FGL_J1725.5+5851_daily_bin673.fits
Spacecraft file(s): /scratch/kocevski/692541/ft2_4FGL_J1725.5+5851_daily_bin673.fits
Exposure map: /scratch/kocevski/692541/expmap_413769601_414028801_4FGL_J1725.5+5851_daily_bin673.fits
Exposure cube: /scratch/kocevski/692541/ltcube_413769601_414028801_4FGL_J1725.5+5851_daily_bin673.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/692541/Model_4FGL_J1725.5+5851_daily_bin673.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) = 4480.34467666

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11171E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    20.539       1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.7259       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .88378       1.0000         .10000E-03   10000.    
     5 'norm      '    20.807       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    20.078       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .24348E-01   1.0000         .10000E-03   10000.    
    10 'Prefactor '    28.263       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .42634       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.0759       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    8.4511       1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.3974       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10023E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    7.7045       1.0000         .10000E-03   10000.    
    22 'Prefactor '    11.778       1.0000         .10000E-03   10000.    
    23 'Prefactor '    53.581       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10227E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .11182E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    3.5971       1.0000         .10000E-03   10000.    
    27 'Prefactor '    40.569       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .13110       1.0000         .10000E-03   10000.    
    29 'Prefactor '    15.434       1.0000         .10000E-03   10000.    
    30 'norm      '    7.6261       1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10520E-03   1.0000         .10000E-03   10000.    
    32 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    33 'Prefactor '    .10068E-03   1.0000         .10000E-03   10000.    
    34 'norm      '    19.230       1.0000         .10000E-03   10000.    
    35 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    36 'Prefactor '    22.704       1.0000         .10000E-03   10000.    
    37 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    38 'Normalizat'    1.1664       1.0000         .10000E-01   10.000    
    39 'Prefactor '    .80068       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6650E+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=   4480.308     FROM MIGRAD    STATUS=CONVERGED   2131 CALLS     7067 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    23.327        .18142E-02** at limit **
   2  norm          20.543        11.348        .88379E-04    .15475E-03
   3  Prefactor     4.7136        71.230        .18510E-03    .54050E-05
   4  Prefactor     .87826        21.034        .50994E-03   -.16634E-03
   5  norm          20.811        30.826        .87809E-04    .80013E-04
   6  Prefactor     .10000E-03    4.1279        .13220E-02** at limit **
   7  Prefactor     .10000E-03    14.483        .18142E-02** at limit **
   8  norm          20.076        13.555        .89387E-04    .50874E-06
   9  Prefactor     .15269E-01    6.2910        .35633E-01    .18842E-03
  10  Prefactor     28.263        23.508        .75358E-04    .40283E-03
  11  Prefactor     .10000E-03    10.162        .18142E-02** at limit **
  12  norm          .10000E-03    .49853        .45674E-03** at limit **
  13  norm          .42618        .44764        .43330E-04   -.16094E-02
  14  Prefactor     .10000E-03    5.8425        .15738E-02** at limit **
  15  Prefactor     4.0746        14.042        .99852E-03   -.43732E-04
  16  Prefactor     .10000E-03    7.2319        .17463E-02** at limit **
  17  Prefactor     8.4525        8.3147        .13790E-03    .54825E-04
  18  Prefactor     2.3976        3.1826        .13427E-03   -.21015E-03
  19  Prefactor     .10000E-03    39.959        .18142E-02** at limit **
  20  norm          .10000E-03    2.5256        .10384E-02** at limit **
  21  Prefactor     7.5734        151.20        .14447E-03   -.21483E-04
  22  Prefactor     11.776        8.3198        .11673E-03    .59605E-04
  23  Prefactor     53.567        66.675        .27398E-03    .74277E-05
  24  Prefactor     .10000E-03    73.532        .18142E-02** at limit **
  25  Prefactor     .10004E-03    67.790        .18142E-02** at limit **
  26  norm          3.5967        2.5230        .84877E-04   -.14412E-03
  27  Prefactor     40.577        38.579        .62933E-04    .31432E-05
  28  Prefactor     .29758E-01    18.496        .70872E-01    .62449E-04
  29  Prefactor     15.426        33.031        .10195E-03    .42374E-05
  30  norm          7.6238        6.2427        .14240E-03   -.11193E-03
  31  Prefactor     .10000E-03    69.541        .18142E-02** at limit **
  32  Prefactor     .10000E-03    47.331        .18142E-02** at limit **
  33  Prefactor     .10000E-03    3.5604        .12285E-02** at limit **
  34  norm          19.232        17.642        .91334E-04    .24895E-05
  35  Prefactor     .10000E-03    38.698        .18142E-02** at limit **
  36  Prefactor     22.704        33.178        .84064E-04   -.27048E-04
  37  Prefactor     .10000E-03    33.452        .18142E-02** at limit **
  38  Normalizat    1.1664        .30571        .27481E-03    .20106E-04
  39  Prefactor     .80091        .22345        .25196E-03    .35575E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 20.543
  Prefactor  = 4.71361
  Prefactor  = 0.878258
  norm       = 20.811
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 20.0763
  Prefactor  = 0.0152687
  Prefactor  = 28.2626
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.426185
  Prefactor  = 0.0001
  Prefactor  = 4.07459
  Prefactor  = 0.0001
  Prefactor  = 8.45253
  Prefactor  = 2.39761
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 7.57339
  Prefactor  = 11.7759
  Prefactor  = 53.5672
  Prefactor  = 0.0001
  Prefactor  = 0.000100038
  norm       = 3.59672
  Prefactor  = 40.5774
  Prefactor  = 0.0297581
  Prefactor  = 15.426
  norm       = 7.6238
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 19.2323
  Prefactor  = 0.0001
  Prefactor  = 22.7042
  Prefactor  = 0.0001
  Normalizat = 1.16641
  Prefactor  = 0.800915
 **********
 **   18 **HESSE 
 **********

 FCN=   4480.308     FROM HESSE     STATUS=OK           920 CALLS     7987 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    23.335        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          20.543        11.345        .35351E-05   -1.4801    
   3  Prefactor     4.7136        71.232        .74038E-05   -1.5274    
   4  Prefactor     .87826        21.004        .20398E-04   -1.5521    
   5  norm          20.811        30.813        .35124E-05   -1.4795    
   6  Prefactor     .10000E-03    4.1287        .26440E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    14.483        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          20.076        13.553        .35755E-05   -1.4812    
   9  Prefactor     .15269E-01    4.8882        .41931E-01   -1.5683    
  10  Prefactor     28.263        23.475        .15072E-04   -1.4644    
  11  Prefactor     .10000E-03    10.163        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    .49855        .91348E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .42618        .44754        .17332E-05   -1.5577    
  14  Prefactor     .10000E-03    5.8436        .31475E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     4.0746        14.031        .39941E-04   -1.5304    
  16  Prefactor     .10000E-03    7.2349        .34926E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     8.4525        8.3147        .55159E-05   -1.5126    
  18  Prefactor     2.3976        3.1826        .53708E-05   -1.5398    
  19  Prefactor     .10000E-03    39.960        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    2.5256        .20767E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     7.5734        151.08        .57788E-05   -1.5158    
  22  Prefactor     11.776        8.3195        .46692E-05   -1.5022    
  23  Prefactor     53.567        66.677        .10959E-04   -1.4243    
  24  Prefactor     .10000E-03    73.533        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10004E-03    67.791        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          3.5967        2.5230        .33951E-05   -1.5329    
  27  Prefactor     40.577        38.580        .12587E-04   -1.4433    
  28  Prefactor     .29758E-01    16.373        .77117E-01   -1.5674    
  29  Prefactor     15.426        33.036        .40780E-05   -1.4922    
  30  norm          7.6238        6.2423        .56961E-05   -1.5156    
  31  Prefactor     .10000E-03    69.574        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Prefactor     .10000E-03    47.332        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Prefactor     .10000E-03    3.5608        .24571E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  34  norm          19.232        17.641        .36534E-05   -1.4831    
  35  Prefactor     .10000E-03    38.699        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  36  Prefactor     22.704        33.181        .33626E-05   -1.4755    
  37  Prefactor     .10000E-03    33.452        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  38  Normalizat    1.1664        .30588        .10992E-04   -.87647    
  39  Prefactor     .80091        .22368        .50392E-04   -.99695    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.37819e-09
Minuit parameter uncertainties:
  1  8.62727e-05
  2  11.346
  3  36.6995
  4  8.59281
  5  30.8362
  6  2.2823e-05
  7  2.22726e-05
  8  13.5555
  9  0.544647
  10  23.4822
  11  5.34629e-06
  12  2.66452e-06
  13  0.447548
  14  6.96849e-05
  15  14.0419
  16  1.98509e-05
  17  8.31582
  18  3.1828
  19  2.1843e-05
  20  6.06432e-05
  21  67.8485
  22  8.32033
  23  66.7697
  24  1.3056e-05
  25  0.00319977
  26  2.52303
  27  38.6034
  28  1.39405
  29  33.0751
  30  6.2428
  31  0.000166464
  32  1.96223e-05
  33  1.51731e-05
  34  17.6461
  35  3.87693e-05
  36  33.2084
  37  1.67258e-05
  38  0.306347
  39  0.223931
Done.

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

Extracting fit parameters...

4FGL J1725.5+5851
   Spectrum: PowerLaw
339    Prefactor:  8.453e+00  8.316e+00  1.000e-04  1.000e+04 ( 1.000e-13)
340        Index:  2.202e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
341        Scale:  1.522e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
662    Prefactor:  8.009e-01  2.239e-01  0.000e+00  1.000e+01 ( 1.000e+00)
663        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
664        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
661   Normalization:  1.166e+00  3.063e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.66
Ra Dec: 261.388 58.858
Photon Index (Fixed Index): 2.20 +/- 0.00
Photon Flux (Fixed Index): 2.82e-08 +/- 2.78e-08
Energy Flux (Fixed Index): 1.26e-05 +/- 1.24e-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) = 4479.12437852
delta logL = 1.18328630592

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4479.11964618
delta logL = 1.18801863766

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.7590       1.0000         .10000E-03   10000.    
     2 'Index     '    1.1069       1.0000          .0000       10.000    
     3 'Normalizat'    1.1877       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79370       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6650E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4479.120     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      212 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.7641        7.9298        .35989E-02   -.18522E-02
   2  Index         1.1071        .47627        .23492       -.34418E-04
   3  Normalizat    1.1876        .23800        .61619E-01    .65639E-05
   4  Prefactor     .79377        .18531        .43635E-01    .10992E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.76407
  Index      = 1.10715
  Normalizat = 1.18765
  Prefactor  = 0.793774
 **********
 **   18 **HESSE 
 **********

 FCN=   4479.120     FROM HESSE     STATUS=OK            33 CALLS      245 TOTAL
                     EDM=   .11E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.7641        9.8199        .71979E-03   -1.5151    
   2  Index         1.1071        .62110        .98400E-02   -.89238    
   3  Normalizat    1.1876        .27936        .27255E-03   -.86985    
   4  Prefactor     .79377        .21765        .25291E-03   -.99958    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.11476e-11
Minuit parameter uncertainties:
  1  9.82198
  2  0.625228
  3  0.279715
  4  0.217884
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/692541': 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) = 4479.11964601
delta logL = 1.18801881438

Extracting fit parameters...

4FGL J1725.5+5851
   Spectrum: PowerLaw
339    Prefactor:  7.764e+00  9.822e+00  1.000e-04  1.000e+04 ( 1.000e-13)
340        Index:  1.107e+00  6.252e-01  0.000e+00  1.000e+01 (-1.000e+00)
341        Scale:  1.522e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
662    Prefactor:  7.938e-01  2.179e-01  0.000e+00  1.000e+01 ( 1.000e+00)
663        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
664        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
661   Normalization:  1.188e+00  2.797e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.03
Ra Dec: 261.388 58.858
Photon Index (Free Index): 1.11 +/- 0.63
Photon Flux (Free Index): 7.72e-09 +/- 8.95e-09
Energy Flux (Free Index): 8.44e-05 +/- 1.30e-04

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/692541/cmap_HighResolution_413769601_414028801_4FGL_J1725.5+5851_daily_bin673.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.82e-08', energy_flux2='8.44e-05', photon_flux_error='2.78e-08', dlogl='1.19e+00', energy_flux='1.26e-05', photon_flux2='7.72e-09', job_status='DONE', time_completed='2021-09-17 10:12:14.481639', photon_index_error2='0.63', photon_index2='1.11', ts='4.66', fit_tolerance='1e-08', GAL='0.80', photon_index_error='0.00', energy_flux_error2='1.30e-04', EG='1.17', time_epoch_completed='1631898734.48', return_code='0', job_id='692541', GAL2='0.79', EG2='1.19', return_code2='0', energy_flux_error='1.24e-05', photon_flux_error2='8.95e-09', ts2='7.03', photon_index='2.20' WHERE bin_id='673' AND source_name='4FGL J1725.5+5851' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 17 10:12:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0036>
Subject: Job 692541: <4FGL_J1725.5+5851_daily_bin673> in cluster <slac> Done

Job <4FGL_J1725.5+5851_daily_bin673> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Fri Sep 17 09:55:47 2021
Job was executed on host(s) <bullet0036>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 17 09:55:48 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:55:48 2021
Terminated at Fri Sep 17 10:12:14 2021
Results reported at Fri Sep 17 10:12:14 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1725.5+5851_daily_bin673 261.388 58.8578 413769601 414028801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1725.5+5851 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   973.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             324.23 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   986 sec.
    Turnaround time :                            987 sec.

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

