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


Performing analysis on: 4FGL_J0725.2+1425_daily_bin1581
RA = 111.324, Dec = 14.4212
tmin = 649123201, tmax = 649382401
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='321483', job_status='RUN', time_executed='2021-08-27 05:47:29.583414', time_epoch_executed='1630068449.58' WHERE source_name='4FGL J0725.2+1425' and cadence='daily' and bin_id='1581'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/321483

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/321483/ft1_4FGL_J0725.2+1425_daily_bin1581.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/321483/ft2_4FGL_J0725.2+1425_daily_bin1581.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/321483/ft1_4FGL_J0725.2+1425_daily_bin1581.fits outfile=/scratch/kocevski/321483/ft1_filteredMKT_4FGL_J0725.2+1425_daily_bin1581.fits ra=111.324 dec=14.4212 rad=12.0 tmin=649123201.0 tmax=649382401.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.26
user 2.77
sys 0.45

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/321483/ft2_4FGL_J0725.2+1425_daily_bin1581.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/321483/ft2_4FGL_J0725.2+1425_daily_bin1581.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/321483/ft1_filteredMKT_4FGL_J0725.2+1425_daily_bin1581.fits evtable="EVENTS" outfile="/scratch/kocevski/321483/ft1_filtered_4FGL_J0725.2+1425_daily_bin1581.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.76
user 0.33
sys 0.42

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/321483/ft1_filtered_4FGL_J0725.2+1425_daily_bin1581.fits" evtable="EVENTS" scfile=/scratch/kocevski/321483/ft2_4FGL_J0725.2+1425_daily_bin1581.fits sctable="SC_DATA" outfile=/scratch/kocevski/321483/ltcube_649123201_649382401_4FGL_J0725.2+1425_daily_bin1581.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/321483/ft2_4FGL_J0725.2+1425_daily_bin1581.fits
.....................!
real 13.16
user 12.52
sys 0.60

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/321483/ft1_filtered_4FGL_J0725.2+1425_daily_bin1581.fits evtable="EVENTS" scfile=/scratch/kocevski/321483/ft2_4FGL_J0725.2+1425_daily_bin1581.fits sctable="SC_DATA" expcube=/scratch/kocevski/321483/ltcube_649123201_649382401_4FGL_J0725.2+1425_daily_bin1581.fits outfile=/scratch/kocevski/321483/expmap_649123201_649382401_4FGL_J0725.2+1425_daily_bin1581.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/321483/ltcube_649123201_649382401_4FGL_J0725.2+1425_daily_bin1581.fits
.....................!
real 191.20
user 185.21
sys 5.62

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 Rosette in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/Rosette.fits is the correct path to the extended template.
Extended source Monoceros in ROI with RadialGaussian spatial model.
Extended source IC 443 in ROI with RadialGaussian spatial model.
Added 167 point sources and 3 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 J0725.2+1425 @ 111.324 14.4212

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/321483/ft1_filtered_4FGL_J0725.2+1425_daily_bin1581.fits scfile=/scratch/kocevski/321483/ft2_4FGL_J0725.2+1425_daily_bin1581.fits outfile=/scratch/kocevski/321483/cmap_649123201_649382401_4FGL_J0725.2+1425_daily_bin1581.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=111.324 yref=14.4212 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.82
user 0.38
sys 0.40

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/321483/ft1_filtered_4FGL_J0725.2+1425_daily_bin1581.fits scfile=/scratch/kocevski/321483/ft2_4FGL_J0725.2+1425_daily_bin1581.fits outfile=/scratch/kocevski/321483/cmap_HighResolution_649123201_649382401_4FGL_J0725.2+1425_daily_bin1581.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=111.324 yref=14.4212 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.80
user 0.38
sys 0.41

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/321483/ft1_filtered_4FGL_J0725.2+1425_daily_bin1581.fits evtable="EVENTS" scfile=/scratch/kocevski/321483/ft2_4FGL_J0725.2+1425_daily_bin1581.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/321483/Model_4FGL_J0725.2+1425_daily_bin1581.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 GAL_V02
adding source IC 443
adding source Monoceros
adding source Rosette
Working on...
/scratch/kocevski/321483/ft1_filtered_4FGL_J0725.2+1425_daily_bin1581.fits.....................!
real 57.56
user 55.78
sys 1.54

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/321483/ft1_filtered_4FGL_J0725.2+1425_daily_bin1581.fits', '/scratch/kocevski/321483/ft2_4FGL_J0725.2+1425_daily_bin1581.fits', expMap='/scratch/kocevski/321483/expmap_649123201_649382401_4FGL_J0725.2+1425_daily_bin1581.fits', expCube='/scratch/kocevski/321483/ltcube_649123201_649382401_4FGL_J0725.2+1425_daily_bin1581.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/321483/Model_4FGL_J0725.2+1425_daily_bin1581.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0725.2+1425'

4FGL J0725.2+1425
   Spectrum: LogParabola
264         norm:  2.182e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
265        alpha:  2.203e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
266         beta:  6.522e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
267           Eb:  5.450e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/321483/ft1_filtered_4FGL_J0725.2+1425_daily_bin1581.fits
Spacecraft file(s): /scratch/kocevski/321483/ft2_4FGL_J0725.2+1425_daily_bin1581.fits
Exposure map: /scratch/kocevski/321483/expmap_649123201_649382401_4FGL_J0725.2+1425_daily_bin1581.fits
Exposure cube: /scratch/kocevski/321483/ltcube_649123201_649382401_4FGL_J0725.2+1425_daily_bin1581.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/321483/Model_4FGL_J0725.2+1425_daily_bin1581.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) = 2679.96483259

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.877       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    21.506       1.0000         .10000E-03   10000.    
     4 'Prefactor '    39.360       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    78.380       1.0000         .10000E-03   10000.    
     8 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    7.4022       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10668E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10122E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    59.420       1.0000         .10000E-03   10000.    
    16 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10496E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .95696E-01   1.0000         .10000E-01   10.000    
    21 'Prefactor '    .98105       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5640E+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=   2679.929     FROM MIGRAD    STATUS=CONVERGED    744 CALLS     2785 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.874        20.541        .11624E-03   -.10054E-03
   2  norm          .10000E-03    14.455        .18142E-02** at limit **
   3  Prefactor     21.500        36.299        .86371E-04   -.28234E-04
   4  Prefactor     39.364        59.703        .63889E-04   -.71374E-04
   5  Prefactor     .10000E-03    13.407        .18142E-02** at limit **
   6  Prefactor     .10000E-03    80.091        .18142E-02** at limit **
   7  norm          78.369        50.249        .45360E-04   -.32843E-03
   8  norm          .10000E-03    3.9597        .19848E-03** at limit **
   9  norm          7.4023        7.1814        .12417E-03   -.91624E-03
  10  Prefactor     .10000E-03    63.012        .18142E-02** at limit **
  11  norm          .10000E-03    6.0465        .12401E-02** at limit **
  12  Prefactor     .10001E-03    221.49        .18142E-02** at limit **
  13  Prefactor     .10000E-03    65.776        .18142E-02** at limit **
  14  Prefactor     .10000E-03    436.83        .18142E-02** at limit **
  15  Prefactor     59.412        53.114        .52048E-04   -.20973E-03
  16  norm          .10000E-03    88.589        .18142E-02** at limit **
  17  Prefactor     .10000E-03    97.541        .18142E-02** at limit **
  18  Prefactor     .10002E-03    6402.5        .18142E-02** at limit **
  19  norm          .10002E-03    1687.8        .18142E-02** at limit **
  20  Normalizat    .95277E-01    1.2038        .14115E-01   -.82812E-04
  21  Prefactor     .98110        .19059        .16535E-03   -.51247E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 11.8742
  norm       = 0.0001
  Prefactor  = 21.4999
  Prefactor  = 39.3645
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 78.3688
  norm       = 0.0001
  norm       = 7.40234
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100008
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 59.4118
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100023
  norm       = 0.00010002
  Normalizat = 0.0952766
  Prefactor  = 0.9811
 **********
 **   18 **HESSE 
 **********

 FCN=   2679.929     FROM HESSE     STATUS=OK           297 CALLS     3082 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.874        20.447        .46496E-05   -1.5019    
   2  norm          .10000E-03    14.459        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     21.500        36.290        .34548E-05   -1.4780    
   4  Prefactor     39.364        59.621        .12778E-04   -1.4452    
   5  Prefactor     .10000E-03    13.408        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    80.094        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          78.369        49.720        .90720E-05   -1.3935    
   8  norm          .10000E-03    3.9597        .39697E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          7.4023        7.1411        .49669E-05   -1.5164    
  10  Prefactor     .10000E-03    63.013        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    6.0470        .24802E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10001E-03    221.60        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    65.776        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    436.83        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     59.412        52.531        .10410E-04   -1.4165    
  16  norm          .10000E-03    88.590        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    97.541        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10002E-03    6402.5        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10002E-03    1687.8        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .95277E-01    1.0144        .56458E-03   -1.3857    
  21  Prefactor     .98110        .17695        .33069E-04   -.93362    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.42784e-09
Minuit parameter uncertainties:
  1  20.4593
  2  9.13951e-06
  3  36.3275
  4  59.7116
  5  1.80489e-05
  6  9.12587e-05
  7  49.7466
  8  8.26295e-06
  9  7.14195
  10  3.8613e-05
  11  4.30391e-05
  12  0.0026115
  13  4.90556e-05
  14  0.00184569
  15  52.5724
  16  4.26016e-06
  17  0.000143302
  18  0.0168757
  19  0.0120079
  20  0.601443
  21  0.177051
Done.

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

Extracting fit parameters...

4FGL J0725.2+1425
   Spectrum: LogParabola
264         norm:  7.402e+00  7.142e+00  1.000e-04  1.000e+04 ( 1.000e-11)
265        alpha:  2.203e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
266         beta:  6.522e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
267           Eb:  5.450e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
549    Prefactor:  9.811e-01  1.771e-01  0.000e+00  1.000e+01 ( 1.000e+00)
550        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
551        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
548   Normalization:  9.528e-02  6.014e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.74
Ra Dec: 111.324 14.421
Photon Index (Fixed Index): 2.20 +/- 0.00
Photon Flux (Fixed Index): 2.36e-07 +/- 2.27e-07
Energy Flux (Fixed Index): 9.16e-05 +/- 8.84e-05

TS (Fixed Index): 1.74
Ra Dec: 111.324 14.421
Photon Flux Upper Limit: 7.21e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.80e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/321483/likelihoodResults_649123201_649382401_4FGL_J0725.2+1425_daily_bin1581.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) = 2679.89486655
delta logL = 0.0337307940558

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2679.8912721
delta logL = 0.0373252420763

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.2750       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4520       1.0000          .0000       5.0000    
     3 'Normalizat'    .53658E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98878       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5640E+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=   2679.891     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      274 TOTAL
                     EDM=   .71E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.2762        7.2207        .11751E-03   -.19576E-02
   2  alpha         2.4515        .94757        .14251E-01   -.16045E-03
   3  Normalizat    .54276E-01    2.1441        .16388E-01    .47524E-04
   4  Prefactor     .98860        .18338        .16475E-03    .45942E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 7.27616
  alpha      = 2.45147
  Normalizat = 0.0542755
  Prefactor  = 0.988601
 **********
 **   18 **HESSE 
 **********

 FCN=   2679.891     FROM HESSE     STATUS=OK            25 CALLS      299 TOTAL
                     EDM=   .61E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.2762        7.0675        .47002E-05   -1.5168    
   2  alpha         2.4515        .92324        .57006E-03   -.19411E-01
   3  Normalizat    .54276E-01    1.6838        .65554E-03   -1.4376    
   4  Prefactor     .98860        .16233        .32949E-04   -.93110    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.14634e-09
Minuit parameter uncertainties:
  1  7.06834
  2  0.945632
  3  0.564143
  4  0.162411
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/321483': 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) = 2679.89127139
delta logL = 0.0373259538819

Extracting fit parameters...

4FGL J0725.2+1425
   Spectrum: LogParabola
264         norm:  7.276e+00  7.068e+00  1.000e-04  1.000e+04 ( 1.000e-11)
265        alpha:  2.451e+00  9.456e-01  0.000e+00  5.000e+00 ( 1.000e+00)
266         beta:  6.522e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
267           Eb:  5.450e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
549    Prefactor:  9.886e-01  1.624e-01  0.000e+00  1.000e+01 ( 1.000e+00)
550        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
551        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
548   Normalization:  5.428e-02  5.641e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.90
Ra Dec: 111.324 14.421
Photon Index (Free Index): 2.45 +/- 0.95
Photon Flux (Free Index): 2.91e-07 +/- 3.30e-07
Energy Flux (Free Index): 8.55e-05 +/- 8.22e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/321483/cmap_HighResolution_649123201_649382401_4FGL_J0725.2+1425_daily_bin1581.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.80e-04', comment='SUCCESS', photon_flux='2.36e-07', energy_flux2='8.55e-05', photon_flux_error='2.27e-07', dlogl='3.73e-02', energy_flux='9.16e-05', photon_flux2='2.91e-07', job_status='DONE', time_completed='2021-08-27 05:55:58.383169', photon_index_error2='0.95', photon_index2='2.45', ts='1.74', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', photon_flux_upper_limit='7.21e-07', energy_flux_error2='8.22e-05', EG='0.10', time_epoch_completed='1630068958.38', return_code='0', job_id='321483', GAL2='0.99', EG2='0.05', return_code2='0', energy_flux_error='8.84e-05', photon_flux_error2='3.30e-07', ts2='1.90', photon_index='2.20' WHERE bin_id='1581' AND source_name='4FGL J0725.2+1425' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 27 05:55:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0046>
Subject: Job 321483: <4FGL_J0725.2+1425_daily_bin1581> in cluster <slac> Done

Job <4FGL_J0725.2+1425_daily_bin1581> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Aug 27 05:40:25 2021
Job was executed on host(s) <bullet0046>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 27 05:43:30 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Aug 27 05:43:30 2021
Terminated at Fri Aug 27 05:55:59 2021
Results reported at Fri Aug 27 05:55:59 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0725.2+1425_daily_bin1581 111.324 14.4212 649123201 649382401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0725.2+1425 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   499.02 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             298.65 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   748 sec.
    Turnaround time :                            934 sec.

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

