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


Performing analysis on: 4FGL_J1725.0+1152_daily_bin1275
RA = 261.271, Dec = 11.8748
tmin = 569808001, tmax = 570067201
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='687170', job_status='RUN', time_executed='2021-09-17 09:42:21.552007', time_epoch_executed='1631896941.55' WHERE source_name='4FGL J1725.0+1152' and cadence='daily' and bin_id='1275'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/687170

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/687170/ft1_4FGL_J1725.0+1152_daily_bin1275.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/687170/ft2_4FGL_J1725.0+1152_daily_bin1275.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/687170/ft1_4FGL_J1725.0+1152_daily_bin1275.fits outfile=/scratch/kocevski/687170/ft1_filteredMKT_4FGL_J1725.0+1152_daily_bin1275.fits ra=261.271 dec=11.8748 rad=12.0 tmin=569808001.0 tmax=570067201.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.54
user 3.31
sys 0.21

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/687170/ft1_filtered_4FGL_J1725.0+1152_daily_bin1275.fits evtable="EVENTS" scfile=/scratch/kocevski/687170/ft2_4FGL_J1725.0+1152_daily_bin1275.fits sctable="SC_DATA" expcube=/scratch/kocevski/687170/ltcube_569808001_570067201_4FGL_J1725.0+1152_daily_bin1275.fits outfile=/scratch/kocevski/687170/expmap_569808001_570067201_4FGL_J1725.0+1152_daily_bin1275.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/687170/ltcube_569808001_570067201_4FGL_J1725.0+1152_daily_bin1275.fits
.....................!
real 192.53
user 187.63
sys 4.46

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/687170/ft1_filtered_4FGL_J1725.0+1152_daily_bin1275.fits scfile=/scratch/kocevski/687170/ft2_4FGL_J1725.0+1152_daily_bin1275.fits outfile=/scratch/kocevski/687170/cmap_569808001_570067201_4FGL_J1725.0+1152_daily_bin1275.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.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/687170/ft1_filtered_4FGL_J1725.0+1152_daily_bin1275.fits scfile=/scratch/kocevski/687170/ft2_4FGL_J1725.0+1152_daily_bin1275.fits outfile=/scratch/kocevski/687170/cmap_HighResolution_569808001_570067201_4FGL_J1725.0+1152_daily_bin1275.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=261.271 yref=11.8748 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.6178       1.0000         .10000E-03   10000.    
     3 'Prefactor '    21.095       1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.7291       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    1.4311       1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.9615       1.0000         .10000E-03   10000.    
     9 'norm      '    5.7121       1.0000         .10000E-03   10000.    
    10 'Prefactor '    67.846       1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.4919       1.0000         .10000E-03   10000.    
    12 'norm      '    11.452       1.0000         .10000E-03   10000.    
    13 'norm      '    .23360       1.0000         .10000E-03   10000.    
    14 'norm      '    5.6652       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    1.6745       1.0000         .10000E-03   10000.    
    17 'Prefactor '    16.494       1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.0912       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0335       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=   11223.53     FROM MIGRAD    STATUS=CONVERGED    374 CALLS     1891 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.1745        .77541E-07** at limit **
   2  Prefactor     5.6185        6.9692        .53422E-06    .23469E-03
   3  Prefactor     21.083        27.414       -.13388E-05   -.41477E-03
   4  Prefactor     6.7343        130.80        .21812E-05    .29498E-04
   5  Prefactor     .10000E-03    3.8737        .16962E-06** at limit **
   6  Prefactor     .10000E-03    13.927       -.83201E-07** at limit **
   7  norm          1.4310        1.7138        .18338E-06    .31891E-03
   8  Prefactor     6.9638        14.104        .45103E-07    .63674E-04
   9  norm          5.7123        9.1612       -.19224E-06    .19459E-04
  10  Prefactor     67.851        66.498       -.40474E-06    .56741E-04
  11  Prefactor     2.4914        2.9930        .71234E-06    .76104E-03
  12  norm          11.451        8.7698        .16248E-05    .78063E-03
  13  norm          .23662        4.9797        .28690E-05   -.97523E-03
  14  norm          5.6651        6.6785        .98555E-07    .46727E-04
  15  norm          .10000E-03    21.981       -.27653E-08** at limit **
  16  norm          1.6745        .76098        .42672E-07    .22843E-03
  17  Prefactor     16.493        45.512        .23781E-06   -.16502E-04
  18  Normalizat    1.0911        .27757        .51844E-06   -.11491E-03
  19  Prefactor     1.0335        .78404E-01   -.59710E-06   -.42352E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 5.6185
  Prefactor  = 21.0831
  Prefactor  = 6.73427
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.43103
  Prefactor  = 6.96379
  norm       = 5.71234
  Prefactor  = 67.8515
  Prefactor  = 2.49141
  norm       = 11.4512
  norm       = 0.236618
  norm       = 5.66508
  norm       = 0.0001
  norm       = 1.67449
  Prefactor  = 16.4931
  Normalizat = 1.09105
  Prefactor  = 1.03353
 **********
 **   18 **HESSE 
 **********

 FCN=   11223.53     FROM HESSE     STATUS=OK           274 CALLS     2165 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.2321        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     5.6185        7.0073        .16949E-03   -1.5234    
   3  Prefactor     21.083        27.938        .87208E-04   -1.4789    
   4  Prefactor     6.7343        131.12        .15468E-03   -1.5189    
   5  Prefactor     .10000E-03    3.9348        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    14.096        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.4310        1.6977        .14804E-03   -1.5469    
   8  Prefactor     6.9638        14.025        .15205E-03   -1.5180    
   9  norm          5.7123        9.1299        .16806E-03   -1.5230    
  10  Prefactor     67.851        66.548        .48729E-04   -1.4059    
  11  Prefactor     2.4914        3.0194        .18283E-03   -1.5392    
  12  norm          11.451        9.1713        .59192E-03   -1.5031    
  13  norm          .23662        7.5528        .30147E-02   -1.5611    
  14  norm          5.6651        6.6751        .16877E-03   -1.5232    
  15  norm          .10000E-03    21.983        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.6745        .75635        .60184E-04   -1.5449    
  17  Prefactor     16.493        45.525        .98618E-04   -1.4896    
  18  Normalizat    1.0911        .31790        .49916E-03   -.90040    
  19  Prefactor     1.0335        .90266E-01    .14791E-03   -.91620    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.11549e-09
Minuit parameter uncertainties:
  1  8.55854e-06
  2  7.00832
  3  27.9556
  4  59.5803
  5  1.15576e-05
  6  4.1487e-06
  7  1.69778
  8  14.0313
  9  9.13208
  10  66.6206
  11  3.01961
  12  9.1724
  13  2.67347
  14  6.67601
  15  2.17126e-06
  16  0.756355
  17  45.6215
  18  0.318455
  19  0.0902792
Done.

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

Extracting fit parameters...

4FGL J1725.0+1152
   Spectrum: LogParabola
268         norm:  5.712e+00  9.132e+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

GAL_V02
   Spectrum: PowerLaw
610    Prefactor:  1.034e+00  9.028e-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.091e+00  3.185e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/687170/likelihoodResults_569808001_570067201_4FGL_J1725.0+1152_daily_bin1275.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) = 11223.3492122
delta logL = 0.184601204744

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11223.329881
delta logL = 0.203932360173

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.2122       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3835       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0774       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0341       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11223.33     FROM MIGRAD    STATUS=CONVERGED    102 CALLS      268 TOTAL
                     EDM=   .72E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.2152        9.1204        .98175E-03    .29420E-03
   2  alpha         2.3844        1.1527        .14141E-01    .19861E-03
   3  Normalizat    1.0772        .30353        .50181E-03    .15587E-05
   4  Prefactor     1.0342        .88114E-01    .14783E-03   -.92285E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 4.21517
  alpha      = 2.38436
  Normalizat = 1.07724
  Prefactor  = 1.03417
 **********
 **   18 **HESSE 
 **********

 FCN=   11223.33     FROM HESSE     STATUS=OK            29 CALLS      297 TOTAL
                     EDM=   .10E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.2152        7.7189        .19635E-03   -1.5297    
   2  alpha         2.3844        .98623        .28283E-02   -.46274E-01
   3  Normalizat    1.0772        .30296        .10036E-03   -.90486    
   4  Prefactor     1.0342        .88064E-01    .59131E-05   -.91599    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.00292e-11
Minuit parameter uncertainties:
  1  7.72074
  2  1.01385
  3  0.303445
  4  0.0880767
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/687170': 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) = 11223.3298792
delta logL = 0.203934192516

Extracting fit parameters...

4FGL J1725.0+1152
   Spectrum: LogParabola
268         norm:  4.215e+00  7.721e+00  1.000e-04  1.000e+04 ( 1.000e-13)
269        alpha:  2.384e+00  1.014e+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:  1.034e+00  8.808e-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.077e+00  3.034e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.07
Ra Dec: 261.271 11.875
Photon Index (Free Index): 2.38 +/- 1.01
Photon Flux (Free Index): 3.25e-08 +/- 4.96e-08
Energy Flux (Free Index): 1.24e-05 +/- 1.62e-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/687170/cmap_HighResolution_569808001_570067201_4FGL_J1725.0+1152_daily_bin1275.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.28e-05', comment='SUCCESS', energy_flux2='1.24e-05', dlogl='2.04e-01', photon_flux2='3.25e-08', job_status='DONE', time_completed='2021-09-17 09:56:36.912764', photon_index_error2='1.01', photon_index2='2.38', ts='0.66', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', photon_flux_upper_limit='7.06e-08', energy_flux_error2='1.62e-05', EG='1.09', time_epoch_completed='1631897796.91', return_code='0', job_id='687170', GAL2='1.03', EG2='1.08', return_code2='0', photon_flux_error2='4.96e-08', ts2='1.07', photon_index='1.77' WHERE bin_id='1275' AND source_name='4FGL J1725.0+1152' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 17 09:56:36 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0075>
Subject: Job 687170: <4FGL_J1725.0+1152_daily_bin1275> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1725.0+1152_daily_bin1275 261.271 11.8748 569808001 570067201 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 :                                   840.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             346.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   981 sec.
    Turnaround time :                            982 sec.

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

