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


Performing analysis on: 4FGL_J1725.0+1152_daily_bin295
RA = 261.271, Dec = 11.8748
tmin = 315792001, tmax = 316051201
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='680803', job_status='RUN', time_executed='2021-09-17 09:15:50.620479', time_epoch_executed='1631895350.62' WHERE source_name='4FGL J1725.0+1152' and cadence='daily' and bin_id='295'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/680803

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/680803/ft1_4FGL_J1725.0+1152_daily_bin295.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/680803/ft2_4FGL_J1725.0+1152_daily_bin295.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/680803/ft1_4FGL_J1725.0+1152_daily_bin295.fits outfile=/scratch/kocevski/680803/ft1_filteredMKT_4FGL_J1725.0+1152_daily_bin295.fits ra=261.271 dec=11.8748 rad=12.0 tmin=315792001.0 tmax=316051201.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.63
user 3.43
sys 0.19

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/680803/ft1_filtered_4FGL_J1725.0+1152_daily_bin295.fits evtable="EVENTS" scfile=/scratch/kocevski/680803/ft2_4FGL_J1725.0+1152_daily_bin295.fits sctable="SC_DATA" expcube=/scratch/kocevski/680803/ltcube_315792001_316051201_4FGL_J1725.0+1152_daily_bin295.fits outfile=/scratch/kocevski/680803/expmap_315792001_316051201_4FGL_J1725.0+1152_daily_bin295.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/680803/ltcube_315792001_316051201_4FGL_J1725.0+1152_daily_bin295.fits
.....................!
real 190.54
user 185.86
sys 4.36

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/680803/ft1_filtered_4FGL_J1725.0+1152_daily_bin295.fits scfile=/scratch/kocevski/680803/ft2_4FGL_J1725.0+1152_daily_bin295.fits outfile=/scratch/kocevski/680803/cmap_315792001_316051201_4FGL_J1725.0+1152_daily_bin295.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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/680803/ft1_filtered_4FGL_J1725.0+1152_daily_bin295.fits scfile=/scratch/kocevski/680803/ft2_4FGL_J1725.0+1152_daily_bin295.fits outfile=/scratch/kocevski/680803/cmap_HighResolution_315792001_316051201_4FGL_J1725.0+1152_daily_bin295.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/680803/ft1_filtered_4FGL_J1725.0+1152_daily_bin295.fits evtable="EVENTS" scfile=/scratch/kocevski/680803/ft2_4FGL_J1725.0+1152_daily_bin295.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/680803/Model_4FGL_J1725.0+1152_daily_bin295.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/680803/ft1_filtered_4FGL_J1725.0+1152_daily_bin295.fits.....................!
real 111.76
user 110.36
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.150       1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.4206       1.0000         .10000E-03   10000.    
     3 'Prefactor '    14.410       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.5520       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .11216E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10056E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .93413       1.0000         .10000E-03   10000.    
    10 'Prefactor '    36.293       1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.9808       1.0000         .10000E-03   10000.    
    12 'norm      '    1.9627       1.0000         .10000E-03   10000.    
    13 'norm      '    7.7164       1.0000         .10000E-03   10000.    
    14 'norm      '    .10202E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .22698       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.2271       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0617       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=   13735.48     FROM MIGRAD    STATUS=CONVERGED    385 CALLS     1898 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.151        7.3980       -.28635E-06   -.24398E-06
   2  Prefactor     5.4206        6.6652       -.42348E-06   -.42970E-04
   3  Prefactor     14.396        39.024       -.24037E-04   -.96799E-04
   4  Prefactor     .10000E-03    18.909        .67671E-06** at limit **
   5  Prefactor     2.5526        9.2546       -.74819E-06   -.55888E-04
   6  Prefactor     .10000E-03    7.8621        .12961E-06** at limit **
   7  norm          .10000E-03    .90944       -.26467E-07** at limit **
   8  Prefactor     .10000E-03    7.1684       -.27278E-07** at limit **
   9  norm          .92673        5.4949       -.62705E-06    .11370E-03
  10  Prefactor     36.283        68.962       -.14353E-04   -.39079E-04
  11  Prefactor     3.9797        3.2877       -.35240E-07    .13273E-03
  12  norm          1.9512        4.5774        .21142E-05   -.15567E-02
  13  norm          7.7159        3.5107       -.73613E-07   -.46463E-04
  14  norm          .10000E-03    3.1062        .99052E-07** at limit **
  15  norm          .10000E-03    24.467        .28995E-06** at limit **
  16  norm          .22675        .48588       -.79520E-07   -.10023E-02
  17  Prefactor     .10000E-03    18.595       -.87837E-06** at limit **
  18  Normalizat    1.2268        .29111        .57777E-05   -.23094E-04
  19  Prefactor     1.0618        .72459E-01   -.57705E-06    .54560E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.1507
  Prefactor  = 5.42057
  Prefactor  = 14.3957
  Prefactor  = 0.0001
  Prefactor  = 2.55259
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.926735
  Prefactor  = 36.2829
  Prefactor  = 3.97975
  norm       = 1.9512
  norm       = 7.71588
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.226749
  Prefactor  = 0.0001
  Normalizat = 1.22675
  Prefactor  = 1.06181
 **********
 **   18 **HESSE 
 **********

 FCN=   13735.48     FROM HESSE     STATUS=OK           274 CALLS     2172 TOTAL
                     EDM=   .34E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.151        7.4000        .11998E-03   -1.5040    
   2  Prefactor     5.4206        6.6449        .17260E-03   -1.5242    
   3  Prefactor     14.396        39.326        .10551E-03   -1.4949    
   4  Prefactor     .10000E-03    18.914        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.5526        9.2194        .25559E-03   -1.5388    
   6  Prefactor     .10000E-03    7.8991        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    2.0626        .21760E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    7.1994        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .92673        24.218        .48856E-02   -1.5515    
  10  Prefactor     36.283        69.832        .66524E-04   -1.4503    
  11  Prefactor     3.9797        3.2492        .16814E-03   -1.5309    
  12  norm          1.9512        13.687        .14803E-02   -1.5429    
  13  norm          7.7159        3.5153        .14375E-03   -1.5152    
  14  norm          .10000E-03    3.1267        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    24.470        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .22675        .53452        .11406E-02   -1.5613    
  17  Prefactor     .10000E-03    18.606        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.2268        .33333        .52508E-03   -.85780    
  19  Prefactor     1.0618        .85157E-01    .15176E-03   -.90696    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.35964e-08
Minuit parameter uncertainties:
  1  7.40066
  2  6.64576
  3  39.3973
  4  8.23222e-06
  5  9.22454
  6  1.14659e-05
  7  1.00418e-05
  8  9.6653e-06
  9  9.47866
  10  69.9895
  11  3.2493
  12  10.3388
  13  3.5154
  14  2.72821e-05
  15  1.37804e-06
  16  0.534529
  17  2.74812e-05
  18  0.333912
  19  0.0851681
Done.

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

Extracting fit parameters...

4FGL J1725.0+1152
   Spectrum: LogParabola
268         norm:  9.267e-01  9.479e+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.062e+00  8.517e-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.227e+00  3.339e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/680803/likelihoodResults_315792001_316051201_4FGL_J1725.0+1152_daily_bin295.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) = 13735.4487056
delta logL = 0.0328195252841

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13735.4420798
delta logL = 0.0394453558329

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.7490       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3935       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2205       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0614       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=   13735.44     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      273 TOTAL
                     EDM=   .80E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7424        19.974        .31706E-03    .16279E-04
   2  alpha         2.3983        3.6900        .37751E-01    .72132E-05
   3  Normalizat    1.2209        .30536        .52611E-03    .26795E-05
   4  Prefactor     1.0614        .82605E-01    .15177E-03    .11386E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.7424
  alpha      = 2.39826
  Normalizat = 1.22086
  Prefactor  = 1.06136
 **********
 **   18 **HESSE 
 **********

 FCN=   13735.44     FROM HESSE     STATUS=OK            25 CALLS      298 TOTAL
                     EDM=   .51E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7424        8.3767        .12683E-04   -1.5444    
   2  alpha         2.3983        1.9774        .15100E-02   -.40707E-01
   3  Normalizat    1.2209        .30121        .21044E-04   -.85961    
   4  Prefactor     1.0614        .81928E-01    .60707E-05   -.90711    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.10047e-13
Minuit parameter uncertainties:
  1  7.64233
  2  2.28174
  3  0.301639
  4  0.0819376
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/680803': 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) = 13735.4420757
delta logL = 0.0394493917902

Extracting fit parameters...

4FGL J1725.0+1152
   Spectrum: LogParabola
268         norm:  1.742e+00  7.642e+00  1.000e-04  1.000e+04 ( 1.000e-13)
269        alpha:  2.398e+00  2.282e+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.061e+00  8.194e-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.221e+00  3.016e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.01
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/680803/cmap_HighResolution_315792001_316051201_4FGL_J1725.0+1152_daily_bin295.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.07e-05', job_status='DONE', photon_flux_upper_limit='6.14e-08', time_completed='2021-09-17 09:31:59.977162', job_id='680803', GAL2='1.06', fit_tolerance='1e-08', EG2='1.22', EG='1.23', time_epoch_completed='1631896319.98', return_code2='0', ts='0.01', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='3.94e-02', ts2='0.09', photon_index_error='0.00', photon_index='1.77' WHERE bin_id='295' AND source_name='4FGL J1725.0+1152' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 17 09:32:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0231>
Subject: Job 680803: <4FGL_J1725.0+1152_daily_bin295> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1725.0+1152_daily_bin295 261.271 11.8748 315792001 316051201 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 :                                   958.24 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             342.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   979 sec.
    Turnaround time :                            981 sec.

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

