/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 226 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 = 7394
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0725.2+1425_daily_bin61
RA = 111.324, Dec = 14.4212
tmin = 255139201, tmax = 255398401
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='309215', job_status='RUN', time_executed='2021-08-27 05:10:02.783109', time_epoch_executed='1630066202.78' WHERE source_name='4FGL J0725.2+1425' and cadence='daily' and bin_id='61'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/309215

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/309215/ft1_4FGL_J0725.2+1425_daily_bin61.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/309215/ft2_4FGL_J0725.2+1425_daily_bin61.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/309215/ft1_4FGL_J0725.2+1425_daily_bin61.fits outfile=/scratch/kocevski/309215/ft1_filteredMKT_4FGL_J0725.2+1425_daily_bin61.fits ra=111.324 dec=14.4212 rad=12.0 tmin=255139201.0 tmax=255398401.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 7.75
user 7.14
sys 0.58

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/309215/ft1_filtered_4FGL_J0725.2+1425_daily_bin61.fits" evtable="EVENTS" scfile=/scratch/kocevski/309215/ft2_4FGL_J0725.2+1425_daily_bin61.fits sctable="SC_DATA" outfile=/scratch/kocevski/309215/ltcube_255139201_255398401_4FGL_J0725.2+1425_daily_bin61.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/309215/ft2_4FGL_J0725.2+1425_daily_bin61.fits
.....................!
real 12.55
user 11.75
sys 0.69

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/309215/ft1_filtered_4FGL_J0725.2+1425_daily_bin61.fits evtable="EVENTS" scfile=/scratch/kocevski/309215/ft2_4FGL_J0725.2+1425_daily_bin61.fits sctable="SC_DATA" expcube=/scratch/kocevski/309215/ltcube_255139201_255398401_4FGL_J0725.2+1425_daily_bin61.fits outfile=/scratch/kocevski/309215/expmap_255139201_255398401_4FGL_J0725.2+1425_daily_bin61.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/309215/ltcube_255139201_255398401_4FGL_J0725.2+1425_daily_bin61.fits
.....................!
real 191.68
user 186.21
sys 4.91

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/309215/ft1_filtered_4FGL_J0725.2+1425_daily_bin61.fits scfile=/scratch/kocevski/309215/ft2_4FGL_J0725.2+1425_daily_bin61.fits outfile=/scratch/kocevski/309215/cmap_255139201_255398401_4FGL_J0725.2+1425_daily_bin61.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.87
user 0.37
sys 0.47

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/309215/ft1_filtered_4FGL_J0725.2+1425_daily_bin61.fits scfile=/scratch/kocevski/309215/ft2_4FGL_J0725.2+1425_daily_bin61.fits outfile=/scratch/kocevski/309215/cmap_HighResolution_255139201_255398401_4FGL_J0725.2+1425_daily_bin61.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.88
user 0.40
sys 0.47

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/309215/ft1_filtered_4FGL_J0725.2+1425_daily_bin61.fits evtable="EVENTS" scfile=/scratch/kocevski/309215/ft2_4FGL_J0725.2+1425_daily_bin61.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/309215/Model_4FGL_J0725.2+1425_daily_bin61.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/309215/ft1_filtered_4FGL_J0725.2+1425_daily_bin61.fits.....................!
real 103.42
user 101.06
sys 1.60

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/309215/ft1_filtered_4FGL_J0725.2+1425_daily_bin61.fits', '/scratch/kocevski/309215/ft2_4FGL_J0725.2+1425_daily_bin61.fits', expMap='/scratch/kocevski/309215/expmap_255139201_255398401_4FGL_J0725.2+1425_daily_bin61.fits', expCube='/scratch/kocevski/309215/ltcube_255139201_255398401_4FGL_J0725.2+1425_daily_bin61.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/309215/Model_4FGL_J0725.2+1425_daily_bin61.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/309215/ft1_filtered_4FGL_J0725.2+1425_daily_bin61.fits
Spacecraft file(s): /scratch/kocevski/309215/ft2_4FGL_J0725.2+1425_daily_bin61.fits
Exposure map: /scratch/kocevski/309215/expmap_255139201_255398401_4FGL_J0725.2+1425_daily_bin61.fits
Exposure cube: /scratch/kocevski/309215/ltcube_255139201_255398401_4FGL_J0725.2+1425_daily_bin61.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/309215/Model_4FGL_J0725.2+1425_daily_bin61.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) = 6569.5344018

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    31.925       1.0000         .10000E-03   10000.    
     2 'norm      '    .10042E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.7723       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10229E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    94.441       1.0000         .10000E-03   10000.    
     7 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10528E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    3.1772       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .59540E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .26178       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    13.224       1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.2886       1.0000         .10000E-03   10000.    
    16 'norm      '    17.222       1.0000         .10000E-03   10000.    
    17 'Prefactor '    6.2522       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10789E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    70.363       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.3834       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .88696       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.

 FCN=   6569.530     FROM MIGRAD    STATUS=CONVERGED    446 CALLS     2211 TOTAL
                     EDM=   .29E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          31.933        14.967        .95795E-07    .13500E-04
   2  norm          .10000E-03    11.362       -.41601E-06** at limit **
   3  Prefactor     1.7708        31.486        .84156E-05    .13568E-04
   4  Prefactor     .10000E-03    15.772        .27430E-06** at limit **
   5  Prefactor     .10000E-03    3.6346       -.89893E-09** at limit **
   6  Prefactor     94.440        74.293        .35843E-06    .72956E-05
   7  norm          .10000E-03    18.869       -.19835E-06** at limit **
   8  norm          .10000E-03    1.4753       -.28454E-06** at limit **
   9  norm          3.1782        1.9936        .12924E-07   -.73182E-04
  10  Prefactor     .10000E-03    200.98        .16412E-04** at limit **
  11  norm          .26672        1.7720        .32329E-06   -.17988E-03
  12  Prefactor     .10000E-03    9.9409        .10776E-06** at limit **
  13  Prefactor     .10000E-03    15.313        .21107E-06** at limit **
  14  Prefactor     13.226        37.769       -.26583E-06   -.92351E-05
  15  Prefactor     6.2904        4.4341        .37476E-06   -.16335E-04
  16  norm          17.218        22.697        .34153E-06   -.66012E-05
  17  Prefactor     6.2545        11.726       -.15635E-06   -.62534E-05
  18  Prefactor     .10000E-03    44.487       -.80362E-06** at limit **
  19  norm          70.435        140.66       -.78022E-05   -.51684E-05
  20  Normalizat    1.3829        .24318       -.28629E-06   -.77698E-04
  21  Prefactor     .88699        .10649       -.24140E-06   -.93105E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 31.9335
  norm       = 0.0001
  Prefactor  = 1.77077
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 94.4396
  norm       = 0.0001
  norm       = 0.0001
  norm       = 3.17821
  Prefactor  = 0.000100001
  norm       = 0.266718
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 13.2261
  Prefactor  = 6.2904
  norm       = 17.2177
  Prefactor  = 6.25451
  Prefactor  = 0.0001
  norm       = 70.435
  Normalizat = 1.38287
  Prefactor  = 0.886986
 **********
 **   18 **HESSE 
 **********

 FCN=   6569.530     FROM HESSE     STATUS=OK           321 CALLS     2532 TOTAL
                     EDM=   .35E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          31.933        15.091        .70916E-04   -1.4577    
   2  norm          .10000E-03    11.825        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.7708        31.564        .15726E-02   -1.5442    
   4  Prefactor     .10000E-03    15.789        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    3.6382        .15091E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     94.440        74.424        .41357E-04   -1.3761    
   7  norm          .10000E-03    19.165        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    2.9697        .18851E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          3.1782        1.9889        .85901E-04   -1.5351    
  10  Prefactor     .10000E-03    201.88        .21068E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .26672        3.8005        .20076E-02   -1.5605    
  12  Prefactor     .10000E-03    9.9947        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    15.352        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     13.226        37.674        .11015E-03   -1.4980    
  15  Prefactor     6.2904        4.4611        .13561E-03   -1.5206    
  16  norm          17.218        22.791        .96510E-04   -1.4878    
  17  Prefactor     6.2545        11.765        .16054E-03   -1.5208    
  18  Prefactor     .10000E-03    44.494        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          70.435        140.81        .23928E-03   -1.4027    
  20  Normalizat    1.3829        .26758        .36522E-03   -.81125    
  21  Prefactor     .88699        .11743        .19579E-03   -.96597    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.54117e-08
Minuit parameter uncertainties:
  1  15.0923
  2  6.29306e-06
  3  14.9609
  4  1.2095e-06
  5  6.54612e-08
  6  74.4981
  7  6.06932e-08
  8  3.08113e-05
  9  1.98891
  10  0.000646978
  11  2.01338
  12  1.2864e-05
  13  6.55834e-06
  14  37.7419
  15  4.46138
  16  22.8023
  17  11.7696
  18  1.28546e-05
  19  141.486
  20  0.267853
  21  0.117459
Done.

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

Extracting fit parameters...

4FGL J0725.2+1425
   Spectrum: LogParabola
264         norm:  3.178e+00  1.989e+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:  8.870e-01  1.175e-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:  1.383e+00  2.679e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.67
Ra Dec: 111.324 14.421
Photon Index (Fixed Index): 2.20 +/- 0.00
Photon Flux (Fixed Index): 1.01e-07 +/- 6.33e-08
Energy Flux (Fixed Index): 3.93e-05 +/- 2.46e-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) = 6569.52069064
delta logL = 0.00967596613918

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6569.51992899
delta logL = 0.01043760837

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.1338       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2889       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3763       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88853       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.

 FCN=   6569.520     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      200 TOTAL
                     EDM=   .50E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.1335        48.821        .57252E-02    .33318E-03
   2  alpha         2.2890        3.1514        .40710        .10320E-04
   3  Normalizat    1.3761        .15119        .82670E-01    .26851E-04
   4  Prefactor     .88862        .70904E-01    .44859E-01    .97771E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 3.13351
  alpha      = 2.28896
  Normalizat = 1.37611
  Prefactor  = 0.888622
 **********
 **   18 **HESSE 
 **********

 FCN=   6569.520     FROM HESSE     STATUS=OK            33 CALLS      233 TOTAL
                     EDM=   .14E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.1335        2.0057        .84222E-04   -1.5354    
   2  alpha         2.2890        .59878        .14473E-01   -.84517E-01
   3  Normalizat    1.3761        .25446        .36595E-03   -.81322    
   4  Prefactor     .88862        .11039        .19563E-03   -.96540    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.39581e-12
Minuit parameter uncertainties:
  1  2.0057
  2  0.604703
  3  0.254691
  4  0.11042
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/309215': 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) = 6569.51992863
delta logL = 0.0104379721997

Extracting fit parameters...

4FGL J0725.2+1425
   Spectrum: LogParabola
264         norm:  3.134e+00  2.006e+00  1.000e-04  1.000e+04 ( 1.000e-11)
265        alpha:  2.289e+00  6.047e-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:  8.886e-01  1.104e-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:  1.376e+00  2.547e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.69
Ra Dec: 111.324 14.421
Photon Index (Free Index): 2.29 +/- 0.60
Photon Flux (Free Index): 1.08e-07 +/- 7.81e-08
Energy Flux (Free Index): 3.75e-05 +/- 2.65e-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/309215/cmap_HighResolution_255139201_255398401_4FGL_J0725.2+1425_daily_bin61.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.01e-07', energy_flux2='3.75e-05', photon_flux_error='6.33e-08', dlogl='1.04e-02', energy_flux='3.93e-05', photon_flux2='1.08e-07', job_status='DONE', time_completed='2021-08-27 05:20:58.394789', photon_index_error2='0.60', photon_index2='2.29', ts='4.67', fit_tolerance='1e-08', GAL='0.89', photon_index_error='0.00', energy_flux_error2='2.65e-05', EG='1.38', time_epoch_completed='1630066858.39', return_code='0', job_id='309215', GAL2='0.89', EG2='1.38', return_code2='0', energy_flux_error='2.46e-05', photon_flux_error2='7.81e-08', ts2='4.69', photon_index='2.20' WHERE bin_id='61' AND source_name='4FGL J0725.2+1425' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 27 05:20:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0240>
Subject: Job 309215: <4FGL_J0725.2+1425_daily_bin61> in cluster <slac> Done

Job <4FGL_J0725.2+1425_daily_bin61> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Fri Aug 27 05:05:52 2021
Job was executed on host(s) <bullet0240>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 27 05:05:57 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:05:57 2021
Terminated at Fri Aug 27 05:20:59 2021
Results reported at Fri Aug 27 05:20:59 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0725.2+1425_daily_bin61 111.324 14.4212 255139201 255398401 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 :                                   656.05 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             258.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   901 sec.
    Turnaround time :                            907 sec.

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

