/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 45 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 = 7430
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0725.5+0216_daily_bin1215
RA = 111.39, Dec = 2.2749
tmin = 554256001, tmax = 554515201
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='330975', job_status='RUN', time_executed='2021-08-27 06:11:35.833521', time_epoch_executed='1630069895.83' WHERE source_name='4FGL J0725.5+0216' and cadence='daily' and bin_id='1215'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/330975

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/330975/ft1_4FGL_J0725.5+0216_daily_bin1215.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/330975/ft2_4FGL_J0725.5+0216_daily_bin1215.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/330975/ft1_4FGL_J0725.5+0216_daily_bin1215.fits outfile=/scratch/kocevski/330975/ft1_filteredMKT_4FGL_J0725.5+0216_daily_bin1215.fits ra=111.39 dec=2.2749 rad=12.0 tmin=554256001.0 tmax=554515201.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 4.07
user 3.81
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/330975/ft2_4FGL_J0725.5+0216_daily_bin1215.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/330975/ft2_4FGL_J0725.5+0216_daily_bin1215.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/330975/ft1_filteredMKT_4FGL_J0725.5+0216_daily_bin1215.fits evtable="EVENTS" outfile="/scratch/kocevski/330975/ft1_filtered_4FGL_J0725.5+0216_daily_bin1215.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.52
user 0.34
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/330975/ft1_filtered_4FGL_J0725.5+0216_daily_bin1215.fits" evtable="EVENTS" scfile=/scratch/kocevski/330975/ft2_4FGL_J0725.5+0216_daily_bin1215.fits sctable="SC_DATA" outfile=/scratch/kocevski/330975/ltcube_554256001_554515201_4FGL_J0725.5+0216_daily_bin1215.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/330975/ft2_4FGL_J0725.5+0216_daily_bin1215.fits
.....................!
real 12.07
user 11.69
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/330975/ft1_filtered_4FGL_J0725.5+0216_daily_bin1215.fits evtable="EVENTS" scfile=/scratch/kocevski/330975/ft2_4FGL_J0725.5+0216_daily_bin1215.fits sctable="SC_DATA" expcube=/scratch/kocevski/330975/ltcube_554256001_554515201_4FGL_J0725.5+0216_daily_bin1215.fits outfile=/scratch/kocevski/330975/expmap_554256001_554515201_4FGL_J0725.5+0216_daily_bin1215.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/330975/ltcube_554256001_554515201_4FGL_J0725.5+0216_daily_bin1215.fits
.....................!
real 193.96
user 187.49
sys 5.06

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.
Added 154 point sources and 2 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.5+0216 @ 111.39 2.2749

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/330975/ft1_filtered_4FGL_J0725.5+0216_daily_bin1215.fits scfile=/scratch/kocevski/330975/ft2_4FGL_J0725.5+0216_daily_bin1215.fits outfile=/scratch/kocevski/330975/cmap_554256001_554515201_4FGL_J0725.5+0216_daily_bin1215.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.39 yref=2.2749 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.57
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/330975/ft1_filtered_4FGL_J0725.5+0216_daily_bin1215.fits scfile=/scratch/kocevski/330975/ft2_4FGL_J0725.5+0216_daily_bin1215.fits outfile=/scratch/kocevski/330975/cmap_HighResolution_554256001_554515201_4FGL_J0725.5+0216_daily_bin1215.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.39 yref=2.2749 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.57
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/330975/ft1_filtered_4FGL_J0725.5+0216_daily_bin1215.fits evtable="EVENTS" scfile=/scratch/kocevski/330975/ft2_4FGL_J0725.5+0216_daily_bin1215.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/330975/Model_4FGL_J0725.5+0216_daily_bin1215.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 Monoceros
adding source Rosette
Working on...
/scratch/kocevski/330975/ft1_filtered_4FGL_J0725.5+0216_daily_bin1215.fits.....................!
real 115.99
user 114.38
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/330975/ft1_filtered_4FGL_J0725.5+0216_daily_bin1215.fits', '/scratch/kocevski/330975/ft2_4FGL_J0725.5+0216_daily_bin1215.fits', expMap='/scratch/kocevski/330975/expmap_554256001_554515201_4FGL_J0725.5+0216_daily_bin1215.fits', expCube='/scratch/kocevski/330975/ltcube_554256001_554515201_4FGL_J0725.5+0216_daily_bin1215.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/330975/Model_4FGL_J0725.5+0216_daily_bin1215.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0725.5+0216'

4FGL J0725.5+0216
   Spectrum: PowerLaw
206    Prefactor:  8.002e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
207        Index:  2.023e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
208        Scale:  2.628e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/330975/ft1_filtered_4FGL_J0725.5+0216_daily_bin1215.fits
Spacecraft file(s): /scratch/kocevski/330975/ft2_4FGL_J0725.5+0216_daily_bin1215.fits
Exposure map: /scratch/kocevski/330975/expmap_554256001_554515201_4FGL_J0725.5+0216_daily_bin1215.fits
Exposure cube: /scratch/kocevski/330975/ltcube_554256001_554515201_4FGL_J0725.5+0216_daily_bin1215.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/330975/Model_4FGL_J0725.5+0216_daily_bin1215.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) = 7746.78986851

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.307       1.0000         .10000E-03   10000.    
     2 'norm      '    .10208E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    55.712       1.0000         .10000E-03   10000.    
     4 'norm      '    .34614E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .71526       1.0000         .10000E-03   10000.    
     6 'Prefactor '    53.833       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10300E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.1757       1.0000         .10000E-03   10000.    
     9 'Prefactor '    23.008       1.0000         .10000E-03   10000.    
    10 'norm      '    2.7934       1.0000         .10000E-03   10000.    
    11 'Prefactor '    14.329       1.0000         .10000E-03   10000.    
    12 'norm      '    13.626       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10028E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    7.4900       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .18796E-01   1.0000         .10000E-03   10000.    
    17 'Prefactor '    31.685       1.0000         .10000E-03   10000.    
    18 'norm      '    14.576       1.0000         .10000E-03   10000.    
    19 'norm      '    .10019E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    2.4701       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1845       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .96021       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5300E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7746.747     FROM MIGRAD    STATUS=CONVERGED    498 CALLS     2418 TOTAL
                     EDM=   .35E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.302        14.224        .29070E-06   -.53989E-04
   2  norm          .10000E-03    21.355        .50213E-07** at limit **
   3  Prefactor     55.620        82.800        .99149E-06   -.84967E-05
   4  norm          .10000E-03    5.0769        .14560E-06** at limit **
   5  norm          .71606        4.8363       -.14081E-05   -.18937E-03
   6  Prefactor     53.926        97.297        .49845E-05    .62339E-04
   7  Prefactor     .10000E-03    15.793        .10447E-05** at limit **
   8  Prefactor     6.1731        12.806       -.19097E-06   -.17860E-04
   9  Prefactor     22.893        86.823        .39709E-05    .30137E-04
  10  norm          2.7938        2.2750       -.18499E-06    .15509E-03
  11  Prefactor     14.342        41.409       -.14438E-05    .80011E-05
  12  norm          13.624        11.228       -.87006E-07   -.28779E-07
  13  Prefactor     .10000E-03    4.3325       -.65723E-07** at limit **
  14  norm          .10000E-03    20.985        .29146E-07** at limit **
  15  Prefactor     7.4882        23.130       -.10368E-05    .16395E-04
  16  Prefactor     .10288E-03    5.9875        .16855E-06** at limit **
  17  Prefactor     31.674        47.546       -.17196E-05    .30452E-04
  18  norm          14.576        13.524       -.55333E-06   -.21496E-06
  19  norm          .10000E-03    83.817       -.17411E-06** at limit **
  20  norm          2.4700        2.8722       -.88778E-07    .39107E-04
  21  Normalizat    1.1848        .33268        .53293E-05   -.31037E-04
  22  Prefactor     .96017        .72580E-01   -.80152E-06    .34918E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 11.3019
  norm       = 0.0001
  Prefactor  = 55.6201
  norm       = 0.000100002
  norm       = 0.716056
  Prefactor  = 53.9257
  Prefactor  = 0.0001
  Prefactor  = 6.17314
  Prefactor  = 22.8932
  norm       = 2.79383
  Prefactor  = 14.3421
  norm       = 13.6241
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 7.4882
  Prefactor  = 0.000102882
  Prefactor  = 31.6745
  norm       = 14.5757
  norm       = 0.0001
  norm       = 2.47004
  Normalizat = 1.18477
  Prefactor  = 0.960172
 **********
 **   18 **HESSE 
 **********

 FCN=   7746.747     FROM HESSE     STATUS=OK           358 CALLS     2776 TOTAL
                     EDM=   .52E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.302        14.297        .11914E-03   -1.5035    
   2  norm          .10000E-03    21.393        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     55.620        82.820        .26871E-03   -1.4215    
   4  norm          .10000E-03    14.827        .37630E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .71606        9.0815        .27663E-02   -1.5539    
   6  Prefactor     53.926        99.685        .54667E-04   -1.4238    
   7  Prefactor     .10000E-03    15.851        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     6.1731        12.806        .16154E-03   -1.5211    
   9  Prefactor     22.893        88.382        .83507E-04   -1.4751    
  10  norm          2.7938        2.2698        .11240E-03   -1.5374    
  11  Prefactor     14.342        41.438        .10581E-03   -1.4950    
  12  norm          13.624        11.228        .10851E-03   -1.4970    
  13  Prefactor     .10000E-03    4.3383        .17892E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    20.991        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     7.4882        23.114        .14654E-03   -1.5161    
  16  Prefactor     .10288E-03    8.3265        .70073E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     31.674        47.556        .71183E-04   -1.4582    
  18  norm          14.576        13.490        .10491E-03   -1.4944    
  19  norm          .10000E-03    84.485        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          2.4700        2.8695        .15639E-03   -1.5394    
  21  Normalizat    1.1848        .33873        .52906E-03   -.87075    
  22  Prefactor     .96017        .73241E-01    .14350E-03   -.94069    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.21138e-08
Minuit parameter uncertainties:
  1  14.3009
  2  1.20763e-05
  3  82.9918
  4  0.000315142
  5  5.10075
  6  99.9954
  7  0.000134864
  8  12.8116
  9  88.8939
  10  2.26986
  11  41.5212
  12  11.2295
  13  2.02633e-06
  14  1.81134e-05
  15  23.1414
  16  0.00979833
  17  47.613
  18  13.4925
  19  3.44629e-05
  20  2.86963
  21  0.33936
  22  0.0732483
Done.

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

Extracting fit parameters...

4FGL J0725.5+0216
   Spectrum: PowerLaw
206    Prefactor:  5.393e+01  1.000e+02  1.000e-04  1.000e+04 ( 1.000e-14)
207        Index:  2.023e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
208        Scale:  2.628e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
519    Prefactor:  9.602e-01  7.325e-02  0.000e+00  1.000e+01 ( 1.000e+00)
520        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
521        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
518   Normalization:  1.185e+00  3.394e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.46
Ra Dec: 111.390 2.275
Photon Flux Upper Limit: 1.85e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.39e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/330975/likelihoodResults_554256001_554515201_4FGL_J0725.5+0216_daily_bin1215.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) = 7746.20216822
delta logL = 0.544464097852

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7746.19016677
delta logL = 0.556465546532

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.339       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9800       1.0000          .0000       10.000    
     3 'Normalizat'    1.1192       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96493       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5300E+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=   7746.190     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      330 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.327        577.61        .10227E-03   -.39887E-03
   2  Index         2.9803        6.4810        .50891E-02   -.19496E-03
   3  Normalizat    1.1185        .29982        .54180E-03    .39046E-03
   4  Prefactor     .96510        .69570E-01    .14311E-03    .13067E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.3275
  Index      = 2.98032
  Normalizat = 1.11855
  Prefactor  = 0.965101
 **********
 **   18 **HESSE 
 **********

 FCN=   7746.190     FROM HESSE     STATUS=OK            25 CALLS      355 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.327        40.427        .40907E-05   -1.4925    
   2  Index         2.9803        1.0312        .20356E-03   -.41582    
   3  Normalizat    1.1185        .27778        .21672E-04   -.89159    
   4  Prefactor     .96510        .66783E-01    .28622E-04   -.93902    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.38693e-09
Minuit parameter uncertainties:
  1  40.4998
  2  1.04013
  3  0.278148
  4  0.0667884
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/330975': 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) = 7746.19016279
delta logL = 0.556469526717

Extracting fit parameters...

4FGL J0725.5+0216
   Spectrum: PowerLaw
206    Prefactor:  1.533e+01  4.050e+01  1.000e-04  1.000e+04 ( 1.000e-14)
207        Index:  2.980e+00  1.040e+00  0.000e+00  1.000e+01 (-1.000e+00)
208        Scale:  2.628e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
519    Prefactor:  9.651e-01  6.679e-02  0.000e+00  1.000e+01 ( 1.000e+00)
520        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
521        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
518   Normalization:  1.119e+00  2.781e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.66
Ra Dec: 111.390 2.275
Photon Index (Free Index): 2.98 +/- 1.04
Photon Flux (Free Index): 1.32e-07 +/- 1.30e-07
Energy Flux (Free Index): 2.66e-05 +/- 2.43e-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/330975/cmap_HighResolution_554256001_554515201_4FGL_J0725.5+0216_daily_bin1215.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.39e-02', comment='SUCCESS', energy_flux2='2.66e-05', dlogl='5.56e-01', photon_flux2='1.32e-07', job_status='DONE', time_completed='2021-08-27 06:23:56.635865', photon_index_error2='1.04', photon_index2='2.98', ts='0.46', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', photon_flux_upper_limit='1.85e-07', energy_flux_error2='2.43e-05', EG='1.18', time_epoch_completed='1630070636.64', return_code='0', job_id='330975', GAL2='0.97', EG2='1.12', return_code2='0', photon_flux_error2='1.30e-07', ts2='1.66', photon_index='2.02' WHERE bin_id='1215' AND source_name='4FGL J0725.5+0216' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 27 06:23:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0048>
Subject: Job 330975: <4FGL_J0725.5+0216_daily_bin1215> in cluster <slac> Done

Job <4FGL_J0725.5+0216_daily_bin1215> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Aug 27 06:10:25 2021
Job was executed on host(s) <bullet0048>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 27 06:10:26 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Aug 27 06:10:26 2021
Terminated at Fri Aug 27 06:23:57 2021
Results reported at Fri Aug 27 06:23:57 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0725.5+0216_daily_bin1215 111.39 2.2749 554256001 554515201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0725.5+0216 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   733.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             316.08 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   810 sec.
    Turnaround time :                            812 sec.

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

