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


Performing analysis on: 4FGL_J0725.2+1425_daily_bin6
RA = 111.324, Dec = 14.4212
tmin = 240883201, tmax = 241142401
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='309123', job_status='RUN', time_executed='2021-08-27 05:07:42.395975', time_epoch_executed='1630066062.4' WHERE source_name='4FGL J0725.2+1425' and cadence='daily' and bin_id='6'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/309123

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/309123/ft1_4FGL_J0725.2+1425_daily_bin6.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/309123/ft2_4FGL_J0725.2+1425_daily_bin6.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/309123/ft1_4FGL_J0725.2+1425_daily_bin6.fits outfile=/scratch/kocevski/309123/ft1_filteredMKT_4FGL_J0725.2+1425_daily_bin6.fits ra=111.324 dec=14.4212 rad=12.0 tmin=240883201.0 tmax=241142401.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 1.60
user 1.33
sys 0.16

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/309123/ft1_filtered_4FGL_J0725.2+1425_daily_bin6.fits" evtable="EVENTS" scfile=/scratch/kocevski/309123/ft2_4FGL_J0725.2+1425_daily_bin6.fits sctable="SC_DATA" outfile=/scratch/kocevski/309123/ltcube_240883201_241142401_4FGL_J0725.2+1425_daily_bin6.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/309123/ft2_4FGL_J0725.2+1425_daily_bin6.fits
.....................!
real 12.86
user 12.49
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/309123/ft1_filtered_4FGL_J0725.2+1425_daily_bin6.fits evtable="EVENTS" scfile=/scratch/kocevski/309123/ft2_4FGL_J0725.2+1425_daily_bin6.fits sctable="SC_DATA" expcube=/scratch/kocevski/309123/ltcube_240883201_241142401_4FGL_J0725.2+1425_daily_bin6.fits outfile=/scratch/kocevski/309123/expmap_240883201_241142401_4FGL_J0725.2+1425_daily_bin6.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/309123/ltcube_240883201_241142401_4FGL_J0725.2+1425_daily_bin6.fits
.....................!
real 191.73
user 185.65
sys 5.50

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/309123/ft1_filtered_4FGL_J0725.2+1425_daily_bin6.fits scfile=/scratch/kocevski/309123/ft2_4FGL_J0725.2+1425_daily_bin6.fits outfile=/scratch/kocevski/309123/cmap_240883201_241142401_4FGL_J0725.2+1425_daily_bin6.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.54
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/309123/ft1_filtered_4FGL_J0725.2+1425_daily_bin6.fits scfile=/scratch/kocevski/309123/ft2_4FGL_J0725.2+1425_daily_bin6.fits outfile=/scratch/kocevski/309123/cmap_HighResolution_240883201_241142401_4FGL_J0725.2+1425_daily_bin6.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.55
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .77636E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    10.532       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    9.7582       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    76.315       1.0000         .10000E-03   10000.    
     7 'norm      '    22.926       1.0000         .10000E-03   10000.    
     8 'norm      '    .87122       1.0000         .10000E-03   10000.    
     9 'norm      '    .97355       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .20509E-02   1.0000         .10000E-03   10000.    
    11 'norm      '    4.2379       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .37928E-02   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10175E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.6027       1.0000         .10000E-03   10000.    
    16 'norm      '    35.309       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    62.853       1.0000         .10000E-03   10000.    
    19 'norm      '    .26523E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.0828       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .96982       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=   8790.407     FROM MIGRAD    STATUS=CONVERGED    461 CALLS     2240 TOTAL
                     EDM=   .84E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    5.7949        .59123E-08** at limit **
   2  norm          10.521        9.5964       -.44785E-06   -.15179E-03
   3  Prefactor     .10000E-03    6.1678       -.30388E-07** at limit **
   4  Prefactor     9.7473        25.251       -.57450E-06    .16966E-04
   5  Prefactor     .10000E-03    2.9802       -.52726E-07** at limit **
   6  Prefactor     76.300        63.706        .22113E-05    .14959E-03
   7  norm          22.923        13.730       -.16582E-07    .12595E-03
   8  norm          .86899        1.9240       -.37736E-06    .13166E-02
   9  norm          .97318        1.0975       -.31974E-06   -.50396E-03
  10  Prefactor     .10001E-03    27.055       -.61485E-05** at limit **
  11  norm          4.2380        2.0272        .12180E-06    .17657E-02
  12  Prefactor     .10000E-03    40.905       -.16406E-04** at limit **
  13  Prefactor     .10000E-03    12.875       -.12212E-06** at limit **
  14  Prefactor     .10000E-03    38.728       -.23271E-05** at limit **
  15  Prefactor     1.6027        1.9218       -.11181E-07    .28576E-03
  16  norm          35.309        21.609       -.36525E-07    .42754E-04
  17  Prefactor     .10000E-03    9.8436       -.92714E-07** at limit **
  18  Prefactor     62.869        74.021       -.21935E-05   -.41111E-04
  19  norm          .10000E-03    292.09        .39451E-05** at limit **
  20  Normalizat    1.0828        .20036        .11620E-05    .42911E-03
  21  Prefactor     .96996        .92630E-01    .64382E-07    .26159E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 10.5214
  Prefactor  = 0.0001
  Prefactor  = 9.74733
  Prefactor  = 0.0001
  Prefactor  = 76.2997
  norm       = 22.9233
  norm       = 0.868994
  norm       = 0.973178
  Prefactor  = 0.000100007
  norm       = 4.23796
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.60265
  norm       = 35.3089
  Prefactor  = 0.0001
  Prefactor  = 62.8695
  norm       = 0.0001
  Normalizat = 1.0828
  Prefactor  = 0.969959
 **********
 **   18 **HESSE 
 **********

 FCN=   8790.407     FROM HESSE     STATUS=OK           319 CALLS     2559 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    49.694        .42205E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          10.521        9.6065        .12346E-03   -1.5059    
   3  Prefactor     .10000E-03    6.1697        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     9.7473        25.234        .12828E-03   -1.5083    
   5  Prefactor     .10000E-03    2.9906        .15808E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     76.300        64.102        .45965E-04   -1.3959    
   7  norm          22.923        13.729        .83656E-04   -1.4750    
   8  norm          .86899        1.9096        .18356E-03   -1.5522    
   9  norm          .97318        .99534        .10215E-02   -1.5511    
  10  Prefactor     .10001E-03    197.34        .83645E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          4.2380        1.8849        .82400E-04   -1.5296    
  12  Prefactor     .10000E-03    41.647        .41624E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    13.052        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    38.999        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.6027        1.9131        .13741E-03   -1.5455    
  16  norm          35.309        21.602        .67442E-04   -1.4519    
  17  Prefactor     .10000E-03    9.8760        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     62.869        74.353        .25308E-03   -1.4120    
  19  norm          .10000E-03    295.53        .21441E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.0828        .21400        .38946E-03   -.90306    
  21  Prefactor     .96996        .98943E-01    .18587E-03   -.93738    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.53113e-09
Minuit parameter uncertainties:
  1  0.000147347
  2  9.60794
  3  2.06317e-06
  4  25.2611
  5  4.07497e-06
  6  64.16
  7  13.7308
  8  1.90975
  9  0.99536
  10  0.00237829
  11  1.88497
  12  0.000554038
  13  2.32547e-05
  14  0.000257005
  15  1.91312
  16  21.6066
  17  1.21942e-05
  18  74.4627
  19  9.69792e-06
  20  0.214176
  21  0.0989615
Done.

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

Extracting fit parameters...

4FGL J0725.2+1425
   Spectrum: LogParabola
264         norm:  9.732e-01  9.954e-01  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.700e-01  9.896e-02  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.083e+00  2.142e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.54
Ra Dec: 111.324 14.421
Photon Index (Fixed Index): 2.20 +/- 0.00
Photon Flux (Fixed Index): 3.10e-08 +/- 3.17e-08
Energy Flux (Fixed Index): 1.20e-05 +/- 1.23e-05

TS (Fixed Index): 1.54
Ra Dec: 111.324 14.421
Photon Flux Upper Limit: 1.09e-07 ph cm-2 s-1
Energy Flux Upper Limit: 4.22e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/309123/likelihoodResults_240883201_241142401_4FGL_J0725.2+1425_daily_bin6.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) = 8790.40651813
delta logL = 0.000275887183307

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8790.40648521
delta logL = 0.000308802227664

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .97056       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1762       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0838       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96976       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8790.406     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      280 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .97041        .99596        .10255E-02    .64844E-03
   2  alpha         2.1759        1.0551        .29510E-01    .12080E-04
   3  Normalizat    1.0837        .20776        .38931E-03    .16779E-03
   4  Prefactor     .96976        .93626E-01    .18588E-03    .19026E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.970406
  alpha      = 2.17593
  Normalizat = 1.08371
  Prefactor  = 0.96976
 **********
 **   18 **HESSE 
 **********

 FCN=   8790.406     FROM HESSE     STATUS=OK            27 CALLS      307 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .97041        1.0024        .41019E-04   -1.5511    
   2  alpha         2.1759        1.0623        .11804E-02   -.12999    
   3  Normalizat    1.0837        .20782        .15572E-04   -.90277    
   4  Prefactor     .96976        .93637E-01    .37177E-04   -.93744    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.22419e-10
Minuit parameter uncertainties:
  1  1.0024
  2  1.09781
  3  0.207975
  4  0.093653
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/309123': 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) = 8790.40648504
delta logL = 0.000308969767502

Extracting fit parameters...

4FGL J0725.2+1425
   Spectrum: LogParabola
264         norm:  9.704e-01  1.002e+00  1.000e-04  1.000e+04 ( 1.000e-11)
265        alpha:  2.176e+00  1.098e+00  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.698e-01  9.365e-02  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.084e+00  2.080e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.53
Ra Dec: 111.324 14.421
Photon Index (Free Index): 2.18 +/- 1.10
Photon Flux (Free Index): 3.02e-08 +/- 4.44e-08
Energy Flux (Free Index): 1.22e-05 +/- 1.37e-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/309123/cmap_HighResolution_240883201_241142401_4FGL_J0725.2+1425_daily_bin6.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.22e-05', comment='SUCCESS', photon_flux='3.10e-08', energy_flux2='1.22e-05', photon_flux_error='3.17e-08', dlogl='3.09e-04', energy_flux='1.20e-05', photon_flux2='3.02e-08', job_status='DONE', time_completed='2021-08-27 05:21:16.833732', photon_index_error2='1.10', photon_index2='2.18', ts='1.54', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', photon_flux_upper_limit='1.09e-07', energy_flux_error2='1.37e-05', EG='1.08', time_epoch_completed='1630066876.83', return_code='0', job_id='309123', GAL2='0.97', EG2='1.08', return_code2='0', energy_flux_error='1.23e-05', photon_flux_error2='4.44e-08', ts2='1.53', photon_index='2.20' WHERE bin_id='6' AND source_name='4FGL J0725.2+1425' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 27 05:21:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0048>
Subject: Job 309123: <4FGL_J0725.2+1425_daily_bin6> in cluster <slac> Done

Job <4FGL_J0725.2+1425_daily_bin6> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Fri Aug 27 05:05:45 2021
Job was executed on host(s) <bullet0048>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 27 05:05:48 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:48 2021
Terminated at Fri Aug 27 05:21:17 2021
Results reported at Fri Aug 27 05:21:17 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0725.2+1425_daily_bin6 111.324 14.4212 240883201 241142401 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 :                                   812.30 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             338.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   929 sec.
    Turnaround time :                            932 sec.

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

