/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 9 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 = 7473
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1725.0+1152_daily_bin269
RA = 261.271, Dec = 11.8748
tmin = 309052801, tmax = 309312001
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='680761', job_status='RUN', time_executed='2021-09-17 09:15:55.196995', time_epoch_executed='1631895355.2' WHERE source_name='4FGL J1725.0+1152' and cadence='daily' and bin_id='269'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/680761

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/680761/ft1_4FGL_J1725.0+1152_daily_bin269.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/680761/ft2_4FGL_J1725.0+1152_daily_bin269.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/680761/ft1_4FGL_J1725.0+1152_daily_bin269.fits outfile=/scratch/kocevski/680761/ft1_filteredMKT_4FGL_J1725.0+1152_daily_bin269.fits ra=261.271 dec=11.8748 rad=12.0 tmin=309052801.0 tmax=309312001.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.39
user 3.14
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/680761/ft1_filtered_4FGL_J1725.0+1152_daily_bin269.fits" evtable="EVENTS" scfile=/scratch/kocevski/680761/ft2_4FGL_J1725.0+1152_daily_bin269.fits sctable="SC_DATA" outfile=/scratch/kocevski/680761/ltcube_309052801_309312001_4FGL_J1725.0+1152_daily_bin269.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/680761/ft2_4FGL_J1725.0+1152_daily_bin269.fits
.....................!
real 12.15
user 11.79
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/680761/ft1_filtered_4FGL_J1725.0+1152_daily_bin269.fits evtable="EVENTS" scfile=/scratch/kocevski/680761/ft2_4FGL_J1725.0+1152_daily_bin269.fits sctable="SC_DATA" expcube=/scratch/kocevski/680761/ltcube_309052801_309312001_4FGL_J1725.0+1152_daily_bin269.fits outfile=/scratch/kocevski/680761/expmap_309052801_309312001_4FGL_J1725.0+1152_daily_bin269.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/680761/ltcube_309052801_309312001_4FGL_J1725.0+1152_daily_bin269.fits
.....................!
real 190.56
user 185.14
sys 5.08

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/680761/ft1_filtered_4FGL_J1725.0+1152_daily_bin269.fits scfile=/scratch/kocevski/680761/ft2_4FGL_J1725.0+1152_daily_bin269.fits outfile=/scratch/kocevski/680761/cmap_309052801_309312001_4FGL_J1725.0+1152_daily_bin269.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=261.271 yref=11.8748 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/680761/ft1_filtered_4FGL_J1725.0+1152_daily_bin269.fits scfile=/scratch/kocevski/680761/ft2_4FGL_J1725.0+1152_daily_bin269.fits outfile=/scratch/kocevski/680761/cmap_HighResolution_309052801_309312001_4FGL_J1725.0+1152_daily_bin269.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/680761/ft1_filtered_4FGL_J1725.0+1152_daily_bin269.fits evtable="EVENTS" scfile=/scratch/kocevski/680761/ft2_4FGL_J1725.0+1152_daily_bin269.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/680761/Model_4FGL_J1725.0+1152_daily_bin269.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/680761/ft1_filtered_4FGL_J1725.0+1152_daily_bin269.fits....................!
real 108.19
user 106.78
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    2.3903       1.0000         .10000E-03   10000.    
     3 'Prefactor '    30.276       1.0000         .10000E-03   10000.    
     4 'Prefactor '    30.228       1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.0568       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.1752       1.0000         .10000E-03   10000.    
     9 'norm      '    2.2019       1.0000         .10000E-03   10000.    
    10 'Prefactor '    19.144       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10021E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    7.4522       1.0000         .10000E-03   10000.    
    14 'norm      '    1.6995       1.0000         .10000E-03   10000.    
    15 'norm      '    64.951       1.0000         .10000E-03   10000.    
    16 'norm      '    2.7503       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.4776       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0039       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=   12838.64     FROM MIGRAD    STATUS=CONVERGED    375 CALLS     1859 TOTAL
                     EDM=   .27E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    7.4418       -.28600E-06** at limit **
   2  Prefactor     2.3899        5.3682       -.60413E-06   -.48027E-03
   3  Prefactor     30.263        37.082       -.18967E-04    .16929E-04
   4  Prefactor     30.223        53.864       -.98783E-05    .57826E-05
   5  Prefactor     1.0565        1.5675        .29508E-06   -.12407E-02
   6  Prefactor     .10000E-03    6.5650        .19740E-06** at limit **
   7  norm          .10000E-03    .65542       -.87347E-08** at limit **
   8  Prefactor     8.1758        10.887        .25539E-06    .28198E-04
   9  norm          2.2023        6.3153       -.12599E-06   -.13017E-04
  10  Prefactor     19.125        64.893       -.41301E-04   -.96940E-05
  11  Prefactor     .10000E-03    1.0183       -.15937E-07** at limit **
  12  norm          .10000E-03    5.0599        .16597E-06** at limit **
  13  norm          7.4526        3.8754       -.10871E-06   -.74540E-05
  14  norm          1.7049        12.291        .24792E-05    .15643E-03
  15  norm          64.954        51.323        .31536E-05    .23281E-05
  16  norm          2.7505        1.0776       -.77736E-07   -.32246E-04
  17  Prefactor     .10000E-03    30.498        .42672E-07** at limit **
  18  Normalizat    1.4779        .26275        .65768E-05   -.11040E-03
  19  Prefactor     1.0038        .72060E-01   -.32097E-06    .38989E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 2.38985
  Prefactor  = 30.2631
  Prefactor  = 30.2226
  Prefactor  = 1.05653
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 8.17575
  norm       = 2.2023
  Prefactor  = 19.1246
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 7.45264
  norm       = 1.70491
  norm       = 64.9543
  norm       = 2.75045
  Prefactor  = 0.0001
  Normalizat = 1.47788
  Prefactor  = 1.00379
 **********
 **   18 **HESSE 
 **********

 FCN=   12838.64     FROM HESSE     STATUS=OK           270 CALLS     2129 TOTAL
                     EDM=   .42E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    7.7996        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.3899        5.4539        .13245E-02   -1.5399    
   3  Prefactor     30.263        37.137        .72816E-04   -1.4607    
   4  Prefactor     30.223        54.001        .72874E-04   -1.4608    
   5  Prefactor     1.0565        6.7602        .23922E-02   -1.5502    
   6  Prefactor     .10000E-03    6.5907        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    .65716        .89575E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     8.1758        10.876        .14022E-03   -1.5136    
   9  norm          2.2023        6.2815        .27726E-03   -1.5411    
  10  Prefactor     19.125        64.535        .91539E-04   -1.4833    
  11  Prefactor     .10000E-03    1.0303        .11153E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    5.0910        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          7.4526        3.8827        .14692E-03   -1.5162    
  14  norm          1.7049        12.112        .32269E-03   -1.5447    
  15  norm          64.954        51.329        .49796E-04   -1.4094    
  16  norm          2.7505        1.0778        .69799E-04   -1.5376    
  17  Prefactor     .10000E-03    30.654        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.4779        .31075        .47147E-03   -.78402    
  19  Prefactor     1.0038        .85841E-01    .15575E-03   -.92603    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.19281e-09
Minuit parameter uncertainties:
  1  2.9951e-05
  2  5.45504
  3  37.165
  4  54.0882
  5  5.34568
  6  4.91066e-06
  7  1.1222e-06
  8  10.8787
  9  6.28335
  10  64.7723
  11  1.21795e-06
  12  3.93978e-05
  13  3.88286
  14  9.09077
  15  51.3636
  16  1.07783
  17  3.53125e-05
  18  0.311154
  19  0.0858526
Done.

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

Extracting fit parameters...

4FGL J1725.0+1152
   Spectrum: LogParabola
268         norm:  2.202e+00  6.283e+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.004e+00  8.585e-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.478e+00  3.112e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/680761/likelihoodResults_309052801_309312001_4FGL_J1725.0+1152_daily_bin269.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) = 12838.6348781
delta logL = 0.00821467309288

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12838.6348167
delta logL = 0.00827610572196

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.1458       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9746       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4766       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0037       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=   12838.63     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      272 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.1303        6.5557        .14066E-02    .48261E-03
   2  alpha         1.9656        1.5890        .49857E-01    .87999E-04
   3  Normalizat    1.4767        .29566        .47162E-03    .21599E-04
   4  Prefactor     1.0038        .83279E-01    .15575E-03    .91825E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.13029
  alpha      = 1.96559
  Normalizat = 1.47666
  Prefactor  = 1.00378
 **********
 **   18 **HESSE 
 **********

 FCN=   12838.63     FROM HESSE     STATUS=OK            27 CALLS      299 TOTAL
                     EDM=   .22E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.1303        6.1152        .28133E-03   -1.5416    
   2  alpha         1.9656        1.5020        .99715E-02   -.21543    
   3  Normalizat    1.4767        .29568        .18865E-04   -.78436    
   4  Prefactor     1.0038        .83319E-01    .62300E-05   -.92604    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.18341e-12
Minuit parameter uncertainties:
  1  6.117
  2  1.61779
  3  0.296022
  4  0.0833296
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/680761': 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) = 12838.6347905
delta logL = 0.00830234015302

Extracting fit parameters...

4FGL J1725.0+1152
   Spectrum: LogParabola
268         norm:  2.130e+00  6.117e+00  1.000e-04  1.000e+04 ( 1.000e-13)
269        alpha:  1.966e+00  1.618e+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.004e+00  8.333e-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.477e+00  2.960e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.16
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/680761/cmap_HighResolution_309052801_309312001_4FGL_J1725.0+1152_daily_bin269.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.12e-05', job_status='DONE', photon_flux_upper_limit='5.42e-08', time_completed='2021-09-17 09:31:14.162787', job_id='680761', GAL2='1.00', fit_tolerance='1e-08', EG2='1.48', EG='1.48', time_epoch_completed='1631896274.16', return_code2='0', ts='0.16', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='8.30e-03', ts2='0.18', photon_index_error='0.00', photon_index='1.77' WHERE bin_id='269' AND source_name='4FGL J1725.0+1152' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 17 09:31:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0042>
Subject: Job 680761: <4FGL_J1725.0+1152_daily_bin269> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1725.0+1152_daily_bin269 261.271 11.8748 309052801 309312001 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 :                                   907.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             337.60 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   937 sec.
    Turnaround time :                            939 sec.

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

