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


Performing analysis on: 4FGL_J1725.0+1152_daily_bin1492
RA = 261.271, Dec = 11.8748
tmin = 626054401, tmax = 626313601
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='687476', job_status='RUN', time_executed='2021-09-17 09:40:55.966752', time_epoch_executed='1631896855.97' WHERE source_name='4FGL J1725.0+1152' and cadence='daily' and bin_id='1492'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/687476

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/687476/ft1_4FGL_J1725.0+1152_daily_bin1492.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/687476/ft2_4FGL_J1725.0+1152_daily_bin1492.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/687476/ft1_4FGL_J1725.0+1152_daily_bin1492.fits outfile=/scratch/kocevski/687476/ft1_filteredMKT_4FGL_J1725.0+1152_daily_bin1492.fits ra=261.271 dec=11.8748 rad=12.0 tmin=626054401.0 tmax=626313601.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 4.17
user 3.89
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/687476/ft1_filtered_4FGL_J1725.0+1152_daily_bin1492.fits" evtable="EVENTS" scfile=/scratch/kocevski/687476/ft2_4FGL_J1725.0+1152_daily_bin1492.fits sctable="SC_DATA" outfile=/scratch/kocevski/687476/ltcube_626054401_626313601_4FGL_J1725.0+1152_daily_bin1492.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/687476/ft2_4FGL_J1725.0+1152_daily_bin1492.fits
.....................!
real 11.65
user 11.29
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/687476/ft1_filtered_4FGL_J1725.0+1152_daily_bin1492.fits evtable="EVENTS" scfile=/scratch/kocevski/687476/ft2_4FGL_J1725.0+1152_daily_bin1492.fits sctable="SC_DATA" expcube=/scratch/kocevski/687476/ltcube_626054401_626313601_4FGL_J1725.0+1152_daily_bin1492.fits outfile=/scratch/kocevski/687476/expmap_626054401_626313601_4FGL_J1725.0+1152_daily_bin1492.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/687476/ltcube_626054401_626313601_4FGL_J1725.0+1152_daily_bin1492.fits
.....................!
real 194.74
user 189.66
sys 4.67

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/687476/ft1_filtered_4FGL_J1725.0+1152_daily_bin1492.fits scfile=/scratch/kocevski/687476/ft2_4FGL_J1725.0+1152_daily_bin1492.fits outfile=/scratch/kocevski/687476/cmap_626054401_626313601_4FGL_J1725.0+1152_daily_bin1492.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.38
sys 0.14

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .17724E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.7221       1.0000         .10000E-03   10000.    
     3 'Prefactor '    36.657       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10084E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.6872       1.0000         .10000E-03   10000.    
     7 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    18.077       1.0000         .10000E-03   10000.    
     9 'norm      '    .10022E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    27.700       1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.2651       1.0000         .10000E-03   10000.    
    12 'norm      '    .10141E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10030E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    84.546       1.0000         .10000E-03   10000.    
    16 'norm      '    .91998       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10563E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.0163       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .98329       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=   11158.92     FROM MIGRAD    STATUS=CONVERGED    393 CALLS     1906 TOTAL
                     EDM=   .49E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.3862        .33615E-06** at limit **
   2  Prefactor     3.7220        3.7019        .13486E-06    .23177E-04
   3  Prefactor     36.669        40.734       -.65372E-06   -.23057E-04
   4  Prefactor     .10000E-03    49.305       -.38933E-06** at limit **
   5  Prefactor     .10000E-03    2.6620        .86834E-07** at limit **
   6  Prefactor     2.6900        20.944        .21887E-04   -.10764E-03
   7  norm          .10000E-03    1.2374       -.34701E-06** at limit **
   8  Prefactor     18.069        20.826        .17954E-06   -.40132E-04
   9  norm          .10000E-03    6.3351       -.39920E-06** at limit **
  10  Prefactor     27.820        88.018        .40504E-05    .89573E-04
  11  Prefactor     7.2651        4.1949        .16669E-06   -.21007E-03
  12  norm          .10000E-03    7.4726        .25145E-05** at limit **
  13  norm          .10000E-03    1.2606        .10924E-06** at limit **
  14  norm          .10000E-03    3.6421        .82197E-06** at limit **
  15  norm          84.393        83.556       -.16543E-05   -.25806E-03
  16  norm          .91992        .74544        .20707E-06    .43737E-03
  17  Prefactor     .10000E-03    83.114        .18068E-06** at limit **
  18  Normalizat    1.0159        .29004       -.58623E-05   -.11009E-03
  19  Prefactor     .98341        .74055E-01    .48044E-06   -.61155E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 3.722
  Prefactor  = 36.6687
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.68997
  norm       = 0.0001
  Prefactor  = 18.0691
  norm       = 0.0001
  Prefactor  = 27.82
  Prefactor  = 7.26511
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 84.3926
  norm       = 0.919921
  Prefactor  = 0.0001
  Normalizat = 1.01586
  Prefactor  = 0.983406
 **********
 **   18 **HESSE 
 **********

 FCN=   11158.92     FROM HESSE     STATUS=OK           266 CALLS     2172 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9.2044        .31620E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.7220        3.7004        .19662E-03   -1.5322    
   3  Prefactor     36.669        40.937        .66194E-04   -1.4496    
   4  Prefactor     .10000E-03    49.385        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    2.6759        .16828E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.6900        20.990        .12428E-02   -1.5380    
   7  norm          .10000E-03    1.2575        .11481E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     18.069        20.751        .94202E-04   -1.4858    
   9  norm          .10000E-03    6.3463        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     27.820        87.583        .76119E-04   -1.4653    
  11  Prefactor     7.2651        4.1776        .14479E-03   -1.5169    
  12  norm          .10000E-03    7.5251        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    1.2665        .11582E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    3.6537        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          84.393        83.562        .21844E-03   -1.3868    
  16  norm          .91992        .71434        .78885E-03   -1.5516    
  17  Prefactor     .10000E-03    83.571        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.0159        .31976        .52348E-03   -.92501    
  19  Prefactor     .98341        .82960E-01    .14439E-03   -.93285    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.00019e-09
Minuit parameter uncertainties:
  1  2.28316e-05
  2  3.70066
  3  40.9681
  4  7.62407e-05
  5  1.37548e-06
  6  15.0355
  7  9.4962e-06
  8  20.7595
  9  1.36447e-07
  10  87.9917
  11  4.17774
  12  2.00632e-05
  13  7.74427e-07
  14  6.87508e-06
  15  83.6785
  16  0.714349
  17  0.000324373
  18  0.320364
  19  0.0829706
Done.

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

Extracting fit parameters...

4FGL J1725.0+1152
   Spectrum: LogParabola
268         norm:  1.000e-04  1.364e-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:  9.834e-01  8.297e-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.016e+00  3.204e-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.89e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.74e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/687476/likelihoodResults_626054401_626313601_4FGL_J1725.0+1152_daily_bin1492.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): 102
logL (Free Index) = 11158.9177701
delta logL = -0.000751035198846

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11158.9170194
delta logL = -3.45491571352e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10743E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7942       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0158       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98343       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=   11158.92     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      201 TOTAL
                     EDM=   .78E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    8.5688        .90712E-02** at limit **
   2  alpha         1.8238        3.3939        .43444       -.21197E-04
   3  Normalizat    1.0159        .26573        .11804        .35362E-04
   4  Prefactor     .98341        .72777E-01    .32676E-01   -.56004E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.82385
  Normalizat = 1.01586
  Prefactor  = 0.983407
 **********
 **   18 **HESSE 
 **********

 FCN=   11158.92     FROM HESSE     STATUS=OK            33 CALLS      234 TOTAL
                     EDM=   .52E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    6.8760        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.8238        3.3600        .50000       -.27387    
   3  Normalizat    1.0159        .29487        .52349E-03   -.92501    
   4  Prefactor     .98341        .81097E-01    .14439E-03   -.93285    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.23557e-10
Minuit parameter uncertainties:
  1  8.09143e-05
  2  2.42506
  3  0.295346
  4  0.081107
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/687476': 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) = 11158.9170186
delta logL = 5.16862201039e-07

Extracting fit parameters...

4FGL J1725.0+1152
   Spectrum: LogParabola
268         norm:  1.000e-04  8.091e-05  1.000e-04  1.000e+04 ( 1.000e-13)
269        alpha:  1.824e+00  2.425e+00  0.000e+00  5.000e+00 ( 1.000e+00)
270         beta:  5.873e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
271           Eb:  2.148e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
610    Prefactor:  9.834e-01  8.111e-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.016e+00  2.953e-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/687476/cmap_HighResolution_626054401_626313601_4FGL_J1725.0+1152_daily_bin1492.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.74e-05', job_status='DONE', photon_flux_upper_limit='5.89e-08', time_completed='2021-09-17 09:54:47.179130', job_id='687476', GAL2='0.98', fit_tolerance='1e-08', EG2='1.02', EG='1.02', time_epoch_completed='1631897687.18', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='5.17e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.77' WHERE bin_id='1492' AND source_name='4FGL J1725.0+1152' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 17 09:54:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0078>
Subject: Job 687476: <4FGL_J1725.0+1152_daily_bin1492> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1725.0+1152_daily_bin1492 261.271 11.8748 626054401 626313601 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 :                                   816.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             332.78 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   848 sec.
    Turnaround time :                            849 sec.

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

