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


Performing analysis on: 4FGL_J0725.2+1425_daily_bin78
RA = 111.324, Dec = 14.4212
tmin = 259545601, tmax = 259804801
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='309241', job_status='RUN', time_executed='2021-08-27 05:09:02.245963', time_epoch_executed='1630066142.25' WHERE source_name='4FGL J0725.2+1425' and cadence='daily' and bin_id='78'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/309241

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/309241/ft1_4FGL_J0725.2+1425_daily_bin78.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/309241/ft2_4FGL_J0725.2+1425_daily_bin78.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/309241/ft1_4FGL_J0725.2+1425_daily_bin78.fits outfile=/scratch/kocevski/309241/ft1_filteredMKT_4FGL_J0725.2+1425_daily_bin78.fits ra=111.324 dec=14.4212 rad=12.0 tmin=259545601.0 tmax=259804801.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.71
user 1.46
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/309241/ft2_4FGL_J0725.2+1425_daily_bin78.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/309241/ft1_filteredMKT_4FGL_J0725.2+1425_daily_bin78.fits evtable="EVENTS" outfile="/scratch/kocevski/309241/ft1_filtered_4FGL_J0725.2+1425_daily_bin78.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.97
user 0.37
sys 0.16

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/309241/ft1_filtered_4FGL_J0725.2+1425_daily_bin78.fits evtable="EVENTS" scfile=/scratch/kocevski/309241/ft2_4FGL_J0725.2+1425_daily_bin78.fits sctable="SC_DATA" expcube=/scratch/kocevski/309241/ltcube_259545601_259804801_4FGL_J0725.2+1425_daily_bin78.fits outfile=/scratch/kocevski/309241/expmap_259545601_259804801_4FGL_J0725.2+1425_daily_bin78.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/309241/ltcube_259545601_259804801_4FGL_J0725.2+1425_daily_bin78.fits
.....................!
real 196.22
user 185.90
sys 5.12

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/309241/ft1_filtered_4FGL_J0725.2+1425_daily_bin78.fits scfile=/scratch/kocevski/309241/ft2_4FGL_J0725.2+1425_daily_bin78.fits outfile=/scratch/kocevski/309241/cmap_259545601_259804801_4FGL_J0725.2+1425_daily_bin78.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.56
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/309241/ft1_filtered_4FGL_J0725.2+1425_daily_bin78.fits scfile=/scratch/kocevski/309241/ft2_4FGL_J0725.2+1425_daily_bin78.fits outfile=/scratch/kocevski/309241/cmap_HighResolution_259545601_259804801_4FGL_J0725.2+1425_daily_bin78.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.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    22.681       1.0000         .10000E-03   10000.    
     2 'norm      '    .10062E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    52.663       1.0000         .10000E-03   10000.    
     5 'Prefactor '    14.197       1.0000         .10000E-03   10000.    
     6 'Prefactor '    26.266       1.0000         .10000E-03   10000.    
     7 'norm      '    30.320       1.0000         .10000E-03   10000.    
     8 'norm      '    3.8390       1.0000         .10000E-03   10000.    
     9 'norm      '    2.6538       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    2.5817       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10665E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    79.289       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10066E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    14.661       1.0000         .10000E-03   10000.    
    17 'Prefactor '    14.563       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10891E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10043E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.0941       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .91124       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=   9465.816     FROM MIGRAD    STATUS=CONVERGED    436 CALLS     2205 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          22.680        11.335        .18982E-06    .13093E-03
   2  norm          .10000E-03    8.3144       -.63448E-05** at limit **
   3  Prefactor     .10000E-03    14.530       -.11483E-05** at limit **
   4  Prefactor     52.666        35.304        .13935E-05    .34155E-06
   5  Prefactor     14.197        10.573       -.21333E-06   -.26695E-04
   6  Prefactor     26.266        37.666        .83019E-07   -.82775E-06
   7  norm          30.321        12.922       -.27911E-06   -.21429E-04
   8  norm          3.8392        1.9287       -.81240E-07   -.29773E-03
   9  norm          2.6540        1.4567       -.10280E-06   -.61057E-03
  10  Prefactor     .10000E-03    16.687        .89480E-06** at limit **
  11  norm          2.5808        1.5834        .10070E-06   -.95522E-03
  12  Prefactor     .10000E-03    8.1096        .55874E-05** at limit **
  13  Prefactor     .10000E-03    9.3283        .14187E-05** at limit **
  14  Prefactor     79.274        43.906       -.95898E-05   -.82780E-04
  15  Prefactor     .10000E-03    1.5712        .58123E-07** at limit **
  16  norm          14.663        18.072       -.14908E-05   -.13663E-04
  17  Prefactor     14.565        11.332       -.14203E-05   -.15484E-05
  18  Prefactor     .10000E-03    127.81        .22787E-04** at limit **
  19  norm          .10000E-03    133.01       -.24499E-04** at limit **
  20  Normalizat    1.0939        .20305        .25705E-05   -.14975E-03
  21  Prefactor     .91127        .88828E-01   -.34942E-06    .19908E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 22.6796
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 52.6659
  Prefactor  = 14.1974
  Prefactor  = 26.2661
  norm       = 30.3206
  norm       = 3.8392
  norm       = 2.65395
  Prefactor  = 0.0001
  norm       = 2.58083
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 79.2744
  Prefactor  = 0.0001
  norm       = 14.6626
  Prefactor  = 14.5655
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.09394
  Prefactor  = 0.911272
 **********
 **   18 **HESSE 
 **********

 FCN=   9465.816     FROM HESSE     STATUS=OK           319 CALLS     2524 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          22.680        11.425        .84106E-04   -1.4755    
   2  norm          .10000E-03    8.4239        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    14.593        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     52.666        35.296        .55268E-04   -1.4255    
   5  Prefactor     14.197        10.574        .10630E-03   -1.4954    
   6  Prefactor     26.266        37.714        .78166E-04   -1.4683    
   7  norm          30.321        12.921        .72764E-04   -1.4606    
   8  norm          3.8392        1.9270        .92187E-04   -1.5316    
   9  norm          2.6540        1.4549        .82601E-04   -1.5382    
  10  Prefactor     .10000E-03    16.715        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.5808        1.5734        .91824E-04   -1.5387    
  12  Prefactor     .10000E-03    8.3193        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    9.3533        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     79.274        44.078        .45101E-04   -1.3925    
  15  Prefactor     .10000E-03    3.4682        .23351E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          14.663        18.070        .10460E-03   -1.4942    
  17  Prefactor     14.565        11.334        .10496E-03   -1.4944    
  18  Prefactor     .10000E-03    128.09        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    133.00        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.0939        .21795        .39225E-03   -.89947    
  21  Prefactor     .91127        .97060E-01    .19375E-03   -.95748    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.56154e-10
Minuit parameter uncertainties:
  1  11.426
  2  2.30837e-05
  3  5.30045e-06
  4  35.3104
  5  10.5757
  6  37.7486
  7  12.9219
  8  1.92704
  9  1.4549
  10  1.079e-05
  11  1.57342
  12  7.67652e-05
  13  3.91891e-07
  14  44.0965
  15  1.17345e-05
  16  18.0762
  17  11.3353
  18  0.000116573
  19  7.91218e-05
  20  0.218134
  21  0.0970787
Done.

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

Extracting fit parameters...

4FGL J0725.2+1425
   Spectrum: LogParabola
264         norm:  2.654e+00  1.455e+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.113e-01  9.708e-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.094e+00  2.181e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.65
Ra Dec: 111.324 14.421
Photon Index (Fixed Index): 2.20 +/- 0.00
Photon Flux (Fixed Index): 8.45e-08 +/- 4.63e-08
Energy Flux (Fixed Index): 3.29e-05 +/- 1.80e-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) = 9464.19654136
delta logL = 1.61952748876

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9464.18230406
delta logL = 1.63376479773

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.6960       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.1836       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0230       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92761       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=   9464.182     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      244 TOTAL
                     EDM=   .55E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.6971        9.7778        .80778E-02    .61397E-03
   2  alpha         3.1831        4.0327        .29782        .73123E-04
   3  Normalizat    1.0230        .85079E-01    .90982E-01    .26649E-04
   4  Prefactor     .92765        .38800E-01    .45356E-01    .37784E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.69711
  alpha      = 3.18306
  Normalizat = 1.02304
  Prefactor  = 0.927654
 **********
 **   18 **HESSE 
 **********

 FCN=   9464.182     FROM HESSE     STATUS=OK            33 CALLS      277 TOTAL
                     EDM=   .74E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.6971        1.4512        .50755E-04   -1.5447    
   2  alpha         3.1831        .69281        .12485E-01    .27674    
   3  Normalizat    1.0230        .20656        .40296E-03   -.92263    
   4  Prefactor     .92765        .92860E-01    .19208E-03   -.95181    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.35326e-09
Minuit parameter uncertainties:
  1  1.45126
  2  0.702769
  3  0.206723
  4  0.0928755
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/309241': 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) = 9464.18230318
delta logL = 1.63376567666

Extracting fit parameters...

4FGL J0725.2+1425
   Spectrum: LogParabola
264         norm:  1.697e+00  1.451e+00  1.000e-04  1.000e+04 ( 1.000e-11)
265        alpha:  3.183e+00  7.028e-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.277e-01  9.288e-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.023e+00  2.067e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.15
Ra Dec: 111.324 14.421
Photon Index (Free Index): 3.18 +/- 0.70
Photon Flux (Free Index): 1.54e-07 +/- 6.69e-08
Energy Flux (Free Index): 2.90e-05 +/- 1.30e-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/309241/cmap_HighResolution_259545601_259804801_4FGL_J0725.2+1425_daily_bin78.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.45e-08', energy_flux2='2.90e-05', photon_flux_error='4.63e-08', dlogl='1.63e+00', energy_flux='3.29e-05', photon_flux2='1.54e-07', job_status='DONE', time_completed='2021-08-27 05:22:09.623737', photon_index_error2='0.70', photon_index2='3.18', ts='5.65', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', energy_flux_error2='1.30e-05', EG='1.09', time_epoch_completed='1630066929.62', return_code='0', job_id='309241', GAL2='0.93', EG2='1.02', return_code2='0', energy_flux_error='1.80e-05', photon_flux_error2='6.69e-08', ts2='9.15', photon_index='2.20' WHERE bin_id='78' AND source_name='4FGL J0725.2+1425' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 27 05:22:09 PDT 2021


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

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0725.2+1425_daily_bin78 111.324 14.4212 259545601 259804801 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 :                                   772.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             285.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   966 sec.
    Turnaround time :                            976 sec.

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

