/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 9 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 = 7370
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0725.2+1425_daily_bin258
RA = 111.324, Dec = 14.4212
tmin = 306201601, tmax = 306460801
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='310914', job_status='RUN', time_executed='2021-08-27 05:11:19.430499', time_epoch_executed='1630066279.43' WHERE source_name='4FGL J0725.2+1425' and cadence='daily' and bin_id='258'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/310914

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/310914/ft1_4FGL_J0725.2+1425_daily_bin258.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/310914/ft2_4FGL_J0725.2+1425_daily_bin258.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/310914/ft1_4FGL_J0725.2+1425_daily_bin258.fits outfile=/scratch/kocevski/310914/ft1_filteredMKT_4FGL_J0725.2+1425_daily_bin258.fits ra=111.324 dec=14.4212 rad=12.0 tmin=306201601.0 tmax=306460801.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.16
user 3.26
sys 0.88

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/310914/ft2_4FGL_J0725.2+1425_daily_bin258.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/310914/ft1_filteredMKT_4FGL_J0725.2+1425_daily_bin258.fits evtable="EVENTS" outfile="/scratch/kocevski/310914/ft1_filtered_4FGL_J0725.2+1425_daily_bin258.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 1.30
user 0.34
sys 0.80

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/310914/ft1_filtered_4FGL_J0725.2+1425_daily_bin258.fits" evtable="EVENTS" scfile=/scratch/kocevski/310914/ft2_4FGL_J0725.2+1425_daily_bin258.fits sctable="SC_DATA" outfile=/scratch/kocevski/310914/ltcube_306201601_306460801_4FGL_J0725.2+1425_daily_bin258.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/310914/ft2_4FGL_J0725.2+1425_daily_bin258.fits
.....................!
real 12.72
user 11.65
sys 0.97

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/310914/ft1_filtered_4FGL_J0725.2+1425_daily_bin258.fits evtable="EVENTS" scfile=/scratch/kocevski/310914/ft2_4FGL_J0725.2+1425_daily_bin258.fits sctable="SC_DATA" expcube=/scratch/kocevski/310914/ltcube_306201601_306460801_4FGL_J0725.2+1425_daily_bin258.fits outfile=/scratch/kocevski/310914/expmap_306201601_306460801_4FGL_J0725.2+1425_daily_bin258.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/310914/ltcube_306201601_306460801_4FGL_J0725.2+1425_daily_bin258.fits
.....................!
real 191.31
user 186.03
sys 4.83

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/310914/ft1_filtered_4FGL_J0725.2+1425_daily_bin258.fits scfile=/scratch/kocevski/310914/ft2_4FGL_J0725.2+1425_daily_bin258.fits outfile=/scratch/kocevski/310914/cmap_306201601_306460801_4FGL_J0725.2+1425_daily_bin258.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 1.21
user 0.37
sys 0.82

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/310914/ft1_filtered_4FGL_J0725.2+1425_daily_bin258.fits scfile=/scratch/kocevski/310914/ft2_4FGL_J0725.2+1425_daily_bin258.fits outfile=/scratch/kocevski/310914/cmap_HighResolution_306201601_306460801_4FGL_J0725.2+1425_daily_bin258.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 1.21
user 0.40
sys 0.79

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    13.924       1.0000         .10000E-03   10000.    
     2 'norm      '    4.4884       1.0000         .10000E-03   10000.    
     3 'Prefactor '    15.395       1.0000         .10000E-03   10000.    
     4 'Prefactor '    33.591       1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.4257       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.1270       1.0000         .10000E-03   10000.    
     9 'norm      '    7.1901       1.0000         .10000E-03   10000.    
    10 'Prefactor '    7.0040       1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    30.062       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .20771       1.0000         .10000E-03   10000.    
    16 'norm      '    8.4304       1.0000         .10000E-03   10000.    
    17 'Prefactor '    13.143       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.4600       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .77864       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.

 FCN=   9536.451     FROM MIGRAD    STATUS=CONVERGED    449 CALLS     2214 TOTAL
                     EDM=   .22E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          13.924        9.1077         .0000        .29232E-04
   2  norm          4.4896        12.140         .0000        .13567E-03
   3  Prefactor     15.395        18.832         .0000        .10148E-04
   4  Prefactor     33.589        35.292         .0000        .71586E-03
   5  Prefactor     6.4258        6.1584         .0000        .20597E-02
   6  Prefactor     .10000E-03    25.372         .0000    ** at limit **
   7  norm          .10000E-03    4.3298         .0000    ** at limit **
   8  norm          1.1272        1.9991         .0000        .35263E-01
   9  norm          7.1900        1.8713         .0000       -.95809E-03
  10  Prefactor     7.0027        29.423         .0000        .14388E-03
  11  norm          .10000E-03    .53947         .0000    ** at limit **
  12  Prefactor     .10000E-03    6.3399         .0000    ** at limit **
  13  Prefactor     .10000E-03    15.380         .0000    ** at limit **
  14  Prefactor     30.063        43.206         .0000       -.69973E-03
  15  Prefactor     .20764        1.3128         .0000        .54405E-03
  16  norm          8.4299        14.598         .0000       -.83396E-04
  17  Prefactor     13.142        10.040         .0000       -.41323E-03
  18  Prefactor     .10000E-03    42.702         .0000    ** at limit **
  19  norm          .10002E-03    84.513         .0000    ** at limit **
  20  Normalizat    1.4601        .20167         .0000       -.23641E-03
  21  Prefactor     .77861        .87499E-01     .0000       -.14560E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 13.9244
  norm       = 4.48957
  Prefactor  = 15.395
  Prefactor  = 33.5891
  Prefactor  = 6.42576
  Prefactor  = 0.000100003
  norm       = 0.000100001
  norm       = 1.12723
  norm       = 7.19003
  Prefactor  = 7.00267
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.000100003
  Prefactor  = 30.0629
  Prefactor  = 0.207644
  norm       = 8.42987
  Prefactor  = 13.142
  Prefactor  = 0.0001
  norm       = 0.000100022
  Normalizat = 1.46005
  Prefactor  = 0.77861
 **********
 **   18 **HESSE 
 **********

 FCN=   9536.451     FROM HESSE     STATUS=OK           315 CALLS     2529 TOTAL
                     EDM=   .90E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          13.924        9.1036        .10734E-03   -1.4961    
   2  norm          4.4896        12.197        .19005E-03   -1.5284    
   3  Prefactor     15.395        18.839        .10208E-03   -1.4923    
   4  Prefactor     33.589        35.315        .69140E-04   -1.4548    
   5  Prefactor     6.4258        6.1637        .15833E-03   -1.5201    
   6  Prefactor     .10000E-03    25.393        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    4.3443        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.1272        1.9649        .86699E-03   -1.5496    
   9  norm          7.1900        1.8744        .64852E-04   -1.5172    
  10  Prefactor     7.0027        29.300        .15159E-03   -1.5179    
  11  norm          .10000E-03    .54759        .69982E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    6.4096        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    15.507        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     30.063        43.624        .73075E-04   -1.4611    
  15  Prefactor     .20764        7.8143        .21128E-02   -1.5617    
  16  norm          8.4299        14.585        .13807E-03   -1.5127    
  17  Prefactor     13.142        10.041        .11049E-03   -1.4983    
  18  Prefactor     .10000E-03    42.705        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10002E-03    84.881        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.4601        .22408        .34726E-03   -.78907    
  21  Prefactor     .77861        .96739E-01    .20145E-03   -1.0052    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.02468e-09
Minuit parameter uncertainties:
  1  9.10449
  2  12.2035
  3  18.8462
  4  35.3372
  5  6.16429
  6  0.00051761
  7  0.000134872
  8  1.96504
  9  1.87443
  10  28.672
  11  9.81668e-07
  12  0.000176954
  13  0.000411936
  14  43.6699
  15  2.54736
  16  14.5911
  17  10.0419
  18  0.000108879
  19  0.00273753
  20  0.224235
  21  0.0967596
Done.

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

Extracting fit parameters...

4FGL J0725.2+1425
   Spectrum: LogParabola
264         norm:  7.190e+00  1.874e+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:  7.786e-01  9.676e-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.460e+00  2.242e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 31.21
Ra Dec: 111.324 14.421
Photon Index (Fixed Index): 2.20 +/- 0.00
Photon Flux (Fixed Index): 2.29e-07 +/- 5.97e-08
Energy Flux (Fixed Index): 8.90e-05 +/- 2.32e-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) = 9535.99998913
delta logL = 0.451129624458

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9535.99981119
delta logL = 0.451307561847

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.6078       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4490       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4276       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78633       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=   9536.000     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      234 TOTAL
                     EDM=   .52E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.6078        23.529        .39028E-02    .14202E-02
   2  alpha         2.4490        3.6817        .19694        .49946E-04
   3  Normalizat    1.4276        .21370        .79125E-01   -.11832E-03
   4  Prefactor     .78633        .98985E-01    .43539E-01   -.40749E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 6.60776
  alpha      = 2.44903
  Normalizat = 1.42755
  Prefactor  = 0.786326
 **********
 **   18 **HESSE 
 **********

 FCN=   9536.000     FROM HESSE     STATUS=OK            31 CALLS      265 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.6078        1.9196        .60102E-04   -1.5194    
   2  alpha         2.4490        .27084        .84013E-02   -.20388E-01
   3  Normalizat    1.4276        .20492        .35018E-03   -.79835    
   4  Prefactor     .78633        .88727E-01    .20055E-03   -1.0023    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.8563e-10
Minuit parameter uncertainties:
  1  1.91965
  2  0.271378
  3  0.205042
  4  0.0887428
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/310914': 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) = 9535.99981119
delta logL = 0.451307563346

Extracting fit parameters...

4FGL J0725.2+1425
   Spectrum: LogParabola
264         norm:  6.608e+00  1.920e+00  1.000e-04  1.000e+04 ( 1.000e-11)
265        alpha:  2.449e+00  2.714e-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:  7.863e-01  8.874e-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.428e+00  2.050e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 32.09
Ra Dec: 111.324 14.421
Photon Index (Free Index): 2.45 +/- 0.27
Photon Flux (Free Index): 2.64e-07 +/- 7.42e-08
Energy Flux (Free Index): 7.77e-05 +/- 2.22e-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/310914/cmap_HighResolution_306201601_306460801_4FGL_J0725.2+1425_daily_bin258.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.29e-07', energy_flux2='7.77e-05', photon_flux_error='5.97e-08', dlogl='4.51e-01', energy_flux='8.90e-05', photon_flux2='2.64e-07', job_status='DONE', time_completed='2021-08-27 05:24:43.198050', photon_index_error2='0.27', photon_index2='2.45', ts='31.21', fit_tolerance='1e-08', GAL='0.78', photon_index_error='0.00', energy_flux_error2='2.22e-05', EG='1.46', time_epoch_completed='1630067083.2', return_code='0', job_id='310914', GAL2='0.79', EG2='1.43', return_code2='0', energy_flux_error='2.32e-05', photon_flux_error2='7.42e-08', ts2='32.09', photon_index='2.20' WHERE bin_id='258' AND source_name='4FGL J0725.2+1425' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 27 05:24:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0282>
Subject: Job 310914: <4FGL_J0725.2+1425_daily_bin258> in cluster <slac> Done

Job <4FGL_J0725.2+1425_daily_bin258> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Fri Aug 27 05:10:43 2021
Job was executed on host(s) <bullet0282>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 27 05:10:50 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:10:50 2021
Terminated at Fri Aug 27 05:24:44 2021
Results reported at Fri Aug 27 05:24:44 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0725.2+1425_daily_bin258 111.324 14.4212 306201601 306460801 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 :                                   806.43 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             327.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   833 sec.
    Turnaround time :                            841 sec.

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

