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


Performing analysis on: 4FGL_J1725.0+1152_daily_bin522
RA = 261.271, Dec = 11.8748
tmin = 374630401, tmax = 374889601
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='683312', job_status='RUN', time_executed='2021-09-17 09:25:36.778328', time_epoch_executed='1631895936.78' WHERE source_name='4FGL J1725.0+1152' and cadence='daily' and bin_id='522'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/683312

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/683312/ft1_4FGL_J1725.0+1152_daily_bin522.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/683312/ft2_4FGL_J1725.0+1152_daily_bin522.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/683312/ft1_4FGL_J1725.0+1152_daily_bin522.fits outfile=/scratch/kocevski/683312/ft1_filteredMKT_4FGL_J1725.0+1152_daily_bin522.fits ra=261.271 dec=11.8748 rad=12.0 tmin=374630401.0 tmax=374889601.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.57
user 4.34
sys 0.21

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

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

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/683312/ft1_filtered_4FGL_J1725.0+1152_daily_bin522.fits" evtable="EVENTS" scfile=/scratch/kocevski/683312/ft2_4FGL_J1725.0+1152_daily_bin522.fits sctable="SC_DATA" outfile=/scratch/kocevski/683312/ltcube_374630401_374889601_4FGL_J1725.0+1152_daily_bin522.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/683312/ft2_4FGL_J1725.0+1152_daily_bin522.fits
.....................!
real 11.75
user 11.36
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/683312/ft1_filtered_4FGL_J1725.0+1152_daily_bin522.fits evtable="EVENTS" scfile=/scratch/kocevski/683312/ft2_4FGL_J1725.0+1152_daily_bin522.fits sctable="SC_DATA" expcube=/scratch/kocevski/683312/ltcube_374630401_374889601_4FGL_J1725.0+1152_daily_bin522.fits outfile=/scratch/kocevski/683312/expmap_374630401_374889601_4FGL_J1725.0+1152_daily_bin522.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/683312/ltcube_374630401_374889601_4FGL_J1725.0+1152_daily_bin522.fits
.....................!
real 191.44
user 185.98
sys 5.13

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/683312/ft1_filtered_4FGL_J1725.0+1152_daily_bin522.fits scfile=/scratch/kocevski/683312/ft2_4FGL_J1725.0+1152_daily_bin522.fits outfile=/scratch/kocevski/683312/cmap_374630401_374889601_4FGL_J1725.0+1152_daily_bin522.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/683312/ft1_filtered_4FGL_J1725.0+1152_daily_bin522.fits scfile=/scratch/kocevski/683312/ft2_4FGL_J1725.0+1152_daily_bin522.fits outfile=/scratch/kocevski/683312/cmap_HighResolution_374630401_374889601_4FGL_J1725.0+1152_daily_bin522.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.55
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10792E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.8781       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    13.357       1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.8819       1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    15.654       1.0000         .10000E-03   10000.    
    10 'Prefactor '    91.850       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .11563E-02   1.0000         .10000E-03   10000.    
    12 'norm      '    5.3287       1.0000         .10000E-03   10000.    
    13 'norm      '    2.4299       1.0000         .10000E-03   10000.    
    14 'norm      '    4.1601       1.0000         .10000E-03   10000.    
    15 'norm      '    28.074       1.0000         .10000E-03   10000.    
    16 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    29.882       1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.1979       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .97852       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=   12179.75     FROM MIGRAD    STATUS=CONVERGED    407 CALLS     1962 TOTAL
                     EDM=   .37E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.4291       -.90923E-08** at limit **
   2  Prefactor     .10000E-03    12.867        .19003E-06** at limit **
   3  Prefactor     5.8689        43.999        .32872E-04   -.16369E-04
   4  Prefactor     .10000E-03    27.752        .20973E-04** at limit **
   5  Prefactor     13.356        8.4058        .45034E-07   -.77122E-04
   6  Prefactor     2.8841        13.962       -.14484E-05   -.17965E-03
   7  norm          .10000E-03    .92745        .98762E-07** at limit **
   8  Prefactor     .10000E-03    26.623       -.21919E-04** at limit **
   9  norm          15.651        11.155       -.75750E-06   -.21567E-03
  10  Prefactor     91.858        92.210        .43393E-05    .85932E-05
  11  Prefactor     .10011E-03    1.1606        .74223E-06** at limit **
  12  norm          5.3277        7.8951        .25340E-05   -.16057E-03
  13  norm          2.4297        2.8240       -.21503E-06   -.90589E-03
  14  norm          4.1589        7.9291        .41015E-05   -.21292E-03
  15  norm          27.900        50.040       -.80635E-05   -.21497E-05
  16  norm          .10000E-03    .36074        .54815E-07** at limit **
  17  Prefactor     29.875        38.338        .59565E-05   -.38802E-05
  18  Normalizat    1.1976        .27436       -.40529E-05   -.95696E-04
  19  Prefactor     .97857        .71368E-01    .25829E-06   -.42660E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.8689
  Prefactor  = 0.0001
  Prefactor  = 13.3557
  Prefactor  = 2.88411
  norm       = 0.0001
  Prefactor  = 0.000100001
  norm       = 15.6509
  Prefactor  = 91.8575
  Prefactor  = 0.000100105
  norm       = 5.32767
  norm       = 2.42971
  norm       = 4.15895
  norm       = 27.9004
  norm       = 0.0001
  Prefactor  = 29.8745
  Normalizat = 1.19764
  Prefactor  = 0.97857
 **********
 **   18 **HESSE 
 **********

 FCN=   12179.75     FROM HESSE     STATUS=OK           270 CALLS     2232 TOTAL
                     EDM=   .44E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.4641        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    13.381        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     5.8689        44.119        .16564E-03   -1.5223    
   4  Prefactor     .10000E-03    27.845        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     13.356        8.4125        .10960E-03   -1.4977    
   6  Prefactor     2.8841        13.991        .23941E-03   -1.5368    
   7  norm          .10000E-03    .93492        .10377E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    27.019        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          15.651        10.676        .10123E-03   -1.4917    
  10  Prefactor     91.858        92.089        .41931E-04   -1.3788    
  11  Prefactor     .10011E-03    25.920        .21440E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          5.3277        7.8592        .17410E-03   -1.5246    
  13  norm          2.4297        2.8191        .19399E-03   -1.5396    
  14  norm          4.1589        7.8777        .19761E-03   -1.5300    
  15  norm          27.900        50.055        .75612E-04   -1.4651    
  16  norm          .10000E-03    1.2123        .12797E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     29.875        38.337        .73293E-04   -1.4614    
  18  Normalizat    1.1976        .30974        .49279E-03   -.86676    
  19  Prefactor     .97857        .81694E-01    .14709E-03   -.93447    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.40708e-09
Minuit parameter uncertainties:
  1  8.63659e-06
  2  9.40496e-05
  3  32.2155
  4  4.49677e-06
  5  8.41321
  6  12.7093
  7  1.2052e-06
  8  0.000276973
  9  10.677
  10  92.2327
  11  0.00330631
  12  7.86068
  13  2.81927
  14  7.87962
  15  50.13
  16  8.56006e-07
  17  38.3688
  18  0.310217
  19  0.0817047
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
610    Prefactor:  9.786e-01  8.170e-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.198e+00  3.102e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.07
Ra Dec: 261.271 11.875
Photon Index (Fixed Index): 1.77 +/- 0.00
Photon Flux (Fixed Index): 3.53e-08 +/- 2.41e-08
Energy Flux (Fixed Index): 4.64e-05 +/- 3.16e-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) = 12179.6043407
delta logL = 0.147578438002

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12179.5963337
delta logL = 0.155585450024

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    14.844       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0762       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1831       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97819       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=   12179.60     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      261 TOTAL
                     EDM=   .61E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          14.843        10.284        .10396E-03    .23775E-03
   2  alpha         2.0770        .53524        .12144E-01    .20104E-04
   3  Normalizat    1.1831        .29063        .49521E-03   -.95136E-04
   4  Prefactor     .97825        .79576E-01    .14706E-03   -.30789E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 14.8435
  alpha      = 2.07696
  Normalizat = 1.18306
  Prefactor  = 0.97825
 **********
 **   18 **HESSE 
 **********

 FCN=   12179.60     FROM HESSE     STATUS=OK            25 CALLS      286 TOTAL
                     EDM=   .57E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          14.843        9.9717        .41583E-05   -1.4937    
   2  alpha         2.0770        .51882        .48578E-03   -.17003    
   3  Normalizat    1.1831        .29055        .19808E-04   -.87128    
   4  Prefactor     .97825        .79611E-01    .29412E-04   -.93458    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.69661e-11
Minuit parameter uncertainties:
  1  9.97278
  2  0.52273
  3  0.290945
  4  0.0796208
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/683312': 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) = 12179.5963306
delta logL = 0.155588472657

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
610    Prefactor:  9.783e-01  7.962e-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.183e+00  2.909e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.37
Ra Dec: 261.271 11.875
Photon Index (Free Index): 2.08 +/- 0.52
Photon Flux (Free Index): 5.93e-08 +/- 5.66e-08
Energy Flux (Free Index): 3.77e-05 +/- 2.52e-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/683312/cmap_HighResolution_374630401_374889601_4FGL_J1725.0+1152_daily_bin522.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.53e-08', energy_flux2='3.77e-05', photon_flux_error='2.41e-08', dlogl='1.56e-01', energy_flux='4.64e-05', photon_flux2='5.93e-08', job_status='DONE', time_completed='2021-09-17 09:38:51.821721', photon_index_error2='0.52', photon_index2='2.08', ts='7.07', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='2.52e-05', EG='1.20', time_epoch_completed='1631896731.82', return_code='0', job_id='683312', GAL2='0.98', EG2='1.18', return_code2='0', energy_flux_error='3.16e-05', photon_flux_error2='5.66e-08', ts2='7.37', photon_index='1.77' WHERE bin_id='522' AND source_name='4FGL J1725.0+1152' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 17 09:38:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0227>
Subject: Job 683312: <4FGL_J1725.0+1152_daily_bin522> in cluster <slac> Done

Job <4FGL_J1725.0+1152_daily_bin522> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 17 09:25:23 2021
Job was executed on host(s) <bullet0227>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 17 09:25:24 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:25:24 2021
Terminated at Fri Sep 17 09:38:52 2021
Results reported at Fri Sep 17 09:38:52 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1725.0+1152_daily_bin522 261.271 11.8748 374630401 374889601 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 :                                   792.09 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             345.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   808 sec.
    Turnaround time :                            809 sec.

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

