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


Performing analysis on: 4FGL_J2025.6-0735_daily_bin69
RA = 306.422, Dec = -7.5945
tmin = 257212801, tmax = 257472001
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='931281', job_status='RUN', time_executed='2021-09-25 05:31:39.174593', time_epoch_executed='1632573099.17' WHERE source_name='4FGL J2025.6-0735' and cadence='daily' and bin_id='69'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/931281

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/931281/ft1_4FGL_J2025.6-0735_daily_bin69.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/931281/ft2_4FGL_J2025.6-0735_daily_bin69.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/931281/ft1_4FGL_J2025.6-0735_daily_bin69.fits outfile=/scratch/kocevski/931281/ft1_filteredMKT_4FGL_J2025.6-0735_daily_bin69.fits ra=306.422 dec=-7.5945 rad=12.0 tmin=257212801.0 tmax=257472001.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 2.34
user 2.09
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/931281/ft2_4FGL_J2025.6-0735_daily_bin69.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/931281/ft2_4FGL_J2025.6-0735_daily_bin69.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/931281/ft1_filteredMKT_4FGL_J2025.6-0735_daily_bin69.fits evtable="EVENTS" outfile="/scratch/kocevski/931281/ft1_filtered_4FGL_J2025.6-0735_daily_bin69.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.62
user 0.32
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/931281/ft1_filtered_4FGL_J2025.6-0735_daily_bin69.fits" evtable="EVENTS" scfile=/scratch/kocevski/931281/ft2_4FGL_J2025.6-0735_daily_bin69.fits sctable="SC_DATA" outfile=/scratch/kocevski/931281/ltcube_257212801_257472001_4FGL_J2025.6-0735_daily_bin69.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/931281/ft2_4FGL_J2025.6-0735_daily_bin69.fits
.....................!
real 13.33
user 12.92
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/931281/ft1_filtered_4FGL_J2025.6-0735_daily_bin69.fits evtable="EVENTS" scfile=/scratch/kocevski/931281/ft2_4FGL_J2025.6-0735_daily_bin69.fits sctable="SC_DATA" expcube=/scratch/kocevski/931281/ltcube_257212801_257472001_4FGL_J2025.6-0735_daily_bin69.fits outfile=/scratch/kocevski/931281/expmap_257212801_257472001_4FGL_J2025.6-0735_daily_bin69.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/931281/ltcube_257212801_257472001_4FGL_J2025.6-0735_daily_bin69.fits
.....................!
real 191.00
user 185.48
sys 4.82

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
Added 194 point sources and 0 extended sources

Setting source of interest to:
4FGL J2025.6-0735 @ 306.422 -7.5945

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/931281/ft1_filtered_4FGL_J2025.6-0735_daily_bin69.fits scfile=/scratch/kocevski/931281/ft2_4FGL_J2025.6-0735_daily_bin69.fits outfile=/scratch/kocevski/931281/cmap_257212801_257472001_4FGL_J2025.6-0735_daily_bin69.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=306.422 yref=-7.5945 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.61
user 0.36
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/931281/ft1_filtered_4FGL_J2025.6-0735_daily_bin69.fits scfile=/scratch/kocevski/931281/ft2_4FGL_J2025.6-0735_daily_bin69.fits outfile=/scratch/kocevski/931281/cmap_HighResolution_257212801_257472001_4FGL_J2025.6-0735_daily_bin69.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=306.422 yref=-7.5945 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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/931281/ft1_filtered_4FGL_J2025.6-0735_daily_bin69.fits evtable="EVENTS" scfile=/scratch/kocevski/931281/ft2_4FGL_J2025.6-0735_daily_bin69.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/931281/Model_4FGL_J2025.6-0735_daily_bin69.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
Working on...
/scratch/kocevski/931281/ft1_filtered_4FGL_J2025.6-0735_daily_bin69.fits.....................!
real 99.33
user 97.70
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/931281/ft1_filtered_4FGL_J2025.6-0735_daily_bin69.fits', '/scratch/kocevski/931281/ft2_4FGL_J2025.6-0735_daily_bin69.fits', expMap='/scratch/kocevski/931281/expmap_257212801_257472001_4FGL_J2025.6-0735_daily_bin69.fits', expCube='/scratch/kocevski/931281/ltcube_257212801_257472001_4FGL_J2025.6-0735_daily_bin69.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/931281/Model_4FGL_J2025.6-0735_daily_bin69.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2025.6-0735'

4FGL J2025.6-0735
   Spectrum: LogParabola
363         norm:  4.184e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
364        alpha:  2.189e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
365         beta:  9.386e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
366           Eb:  5.805e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/931281/ft1_filtered_4FGL_J2025.6-0735_daily_bin69.fits
Spacecraft file(s): /scratch/kocevski/931281/ft2_4FGL_J2025.6-0735_daily_bin69.fits
Exposure map: /scratch/kocevski/931281/expmap_257212801_257472001_4FGL_J2025.6-0735_daily_bin69.fits
Exposure cube: /scratch/kocevski/931281/ltcube_257212801_257472001_4FGL_J2025.6-0735_daily_bin69.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/931281/Model_4FGL_J2025.6-0735_daily_bin69.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) = 9993.10966516

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.3709       1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.2473       1.0000         .10000E-03   10000.    
     3 'Prefactor '    6.7698       1.0000         .10000E-03   10000.    
     4 'Prefactor '    31.776       1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.3460       1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.5912       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10831E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    30.259       1.0000         .10000E-03   10000.    
    11 'Prefactor '    34.684       1.0000         .10000E-03   10000.    
    12 'norm      '    18.038       1.0000         .10000E-03   10000.    
    13 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    3.3328       1.0000         .10000E-03   10000.    
    16 'Prefactor '    13.466       1.0000         .10000E-03   10000.    
    17 'norm      '    3.0978       1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.8121       1.0000         .10000E-03   10000.    
    19 'Prefactor '    9.0944       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .82146       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0092       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6530E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9993.108     FROM MIGRAD    STATUS=CONVERGED    455 CALLS     2347 TOTAL
                     EDM=   .24E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.3714        11.295       -.87847E-06   -.38750E-04
   2  Prefactor     4.2484        4.3856        .16635E-05   -.24658E-03
   3  Prefactor     6.7610        46.807       -.23801E-04    .35178E-04
   4  Prefactor     31.778        29.193        .23300E-05    .37412E-04
   5  Prefactor     6.3282        72.826       -.57587E-04    .62328E-05
   6  Prefactor     5.5907        3.0026        .10632E-05    .92920E-03
   7  Prefactor     .10000E-03    13.705       -.11986E-04** at limit **
   8  Prefactor     .10000E-03    28.090       -.22061E-04** at limit **
   9  norm          .10000E-03    11.148        .50700E-05** at limit **
  10  Prefactor     30.260        26.626        .29190E-06    .57661E-05
  11  Prefactor     34.670        84.402       -.21775E-04   -.45224E-06
  12  norm          18.037        18.243       -.58158E-06   -.36020E-04
  13  norm          .10000E-03    22.171        .26605E-04** at limit **
  14  Prefactor     .10000E-03    3.9337       -.97884E-07** at limit **
  15  norm          3.3328        1.4684       -.37296E-07   -.30997E-03
  16  Prefactor     13.466        11.751       -.40611E-06   -.13519E-04
  17  norm          3.0977        3.2234       -.97432E-06   -.45358E-03
  18  Prefactor     5.8118        4.8640        .22121E-06   -.39186E-03
  19  Prefactor     9.0941        6.2914       -.88210E-06   -.19424E-03
  20  Prefactor     .10000E-03    3.5309        .75603E-07** at limit **
  21  Normalizat    .82157        .25960        .37482E-05    .80241E-04
  22  Prefactor     1.0092        .82517E-01    .68798E-06    .18256E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.37143
  Prefactor  = 4.24842
  Prefactor  = 6.76102
  Prefactor  = 31.7778
  Prefactor  = 6.32817
  Prefactor  = 5.59067
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 30.26
  Prefactor  = 34.67
  norm       = 18.0371
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 3.33282
  Prefactor  = 13.4662
  norm       = 3.0977
  Prefactor  = 5.81178
  Prefactor  = 9.09412
  Prefactor  = 0.0001
  Normalizat = 0.821569
  Prefactor  = 1.00916
 **********
 **   18 **HESSE 
 **********

 FCN=   9993.108     FROM HESSE     STATUS=OK           350 CALLS     2697 TOTAL
                     EDM=   .50E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.3714        11.315        .14773E-03   -1.5165    
   2  Prefactor     4.2484        4.3519        .19418E-03   -1.5296    
   3  Prefactor     6.7610        46.505        .15421E-03   -1.5188    
   4  Prefactor     31.778        29.224        .71082E-04   -1.4580    
   5  Prefactor     6.3282        71.845        .15934E-03   -1.5205    
   6  Prefactor     5.5907        2.9929        .11899E-03   -1.5235    
   7  Prefactor     .10000E-03    13.717        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    28.260        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    11.492        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     30.260        26.634        .36418E-03   -1.4607    
  11  Prefactor     34.670        84.433        .68045E-04   -1.4530    
  12  norm          18.037        18.241        .94304E-04   -1.4858    
  13  norm          .10000E-03    22.383        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    3.9509        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          3.3328        1.4645        .74343E-04   -1.5343    
  16  Prefactor     13.466        11.749        .10915E-03   -1.4974    
  17  norm          3.0977        3.2181        .17690E-03   -1.5356    
  18  Prefactor     5.8118        4.8715        .16659E-03   -1.5226    
  19  Prefactor     9.0941        6.3064        .13290E-03   -1.5105    
  20  Prefactor     .10000E-03    3.5344        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .82157        .28986        .49426E-03   -.99274    
  22  Prefactor     1.0092        .94206E-01    .15081E-03   -.92425    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.98099e-10
Minuit parameter uncertainties:
  1  11.3181
  2  4.35224
  3  35.5031
  4  29.237
  5  42.7093
  6  2.99296
  7  1.14121e-05
  8  0.000157937
  9  0.000100807
  10  26.6443
  11  84.7262
  12  18.2467
  13  0.000189399
  14  7.10309e-06
  15  1.46447
  16  11.7515
  17  3.2183
  18  4.87181
  19  6.30686
  20  6.35565e-06
  21  0.290404
  22  0.0942212
Done.

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

Extracting fit parameters...

4FGL J2025.6-0735
   Spectrum: LogParabola
363         norm:  3.333e+00  1.464e+00  1.000e-04  1.000e+04 ( 1.000e-11)
364        alpha:  2.189e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
365         beta:  9.386e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
366           Eb:  5.805e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
650    Prefactor:  1.009e+00  9.422e-02  0.000e+00  1.000e+01 ( 1.000e+00)
651        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
652        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
649   Normalization:  8.216e-01  2.904e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 12.17
Ra Dec: 306.422 -7.595
Photon Index (Fixed Index): 2.19 +/- 0.00
Photon Flux (Fixed Index): 1.15e-07 +/- 5.04e-08
Energy Flux (Fixed Index): 4.46e-05 +/- 1.96e-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) = 9992.88927394
delta logL = 0.218818814163

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9992.8760403
delta logL = 0.232052455034

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.3338       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9356       1.0000          .0000       5.0000    
     3 'Normalizat'    .84544       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0047       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6530E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9992.876     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      203 TOTAL
                     EDM=   .69E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.3313        1.7494        .55420E-02    .31946E-03
   2  alpha         1.9357        .38982        .32230       -.24510E-04
   3  Normalizat    .84538        .23933        .11006        .94796E-04
   4  Prefactor     1.0047        .80079E-01    .44253E-01    .16563E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.33128
  alpha      = 1.93568
  Normalizat = 0.845379
  Prefactor  = 1.00473
 **********
 **   18 **HESSE 
 **********

 FCN=   9992.876     FROM HESSE     STATUS=OK            31 CALLS      234 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.3313        1.4584        .75905E-04   -1.5343    
   2  alpha         1.9357        .36342        .12714E-01   -.22769    
   3  Normalizat    .84538        .26977        .48796E-03   -.98407    
   4  Prefactor     1.0047        .90428E-01    .15111E-03   -.92572    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.38332e-10
Minuit parameter uncertainties:
  1  1.45843
  2  0.364786
  3  0.270204
  4  0.0904417
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/931281': 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) = 9992.87603862
delta logL = 0.232054133621

Extracting fit parameters...

4FGL J2025.6-0735
   Spectrum: LogParabola
363         norm:  3.331e+00  1.458e+00  1.000e-04  1.000e+04 ( 1.000e-11)
364        alpha:  1.936e+00  3.648e-01  0.000e+00  5.000e+00 ( 1.000e+00)
365         beta:  9.386e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
366           Eb:  5.805e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
650    Prefactor:  1.005e+00  9.044e-02  0.000e+00  1.000e+01 ( 1.000e+00)
651        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
652        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
649   Normalization:  8.454e-01  2.702e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 12.64
Ra Dec: 306.422 -7.595
Photon Index (Free Index): 1.94 +/- 0.36
Photon Flux (Free Index): 9.35e-08 +/- 5.11e-08
Energy Flux (Free Index): 5.25e-05 +/- 2.69e-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/931281/cmap_HighResolution_257212801_257472001_4FGL_J2025.6-0735_daily_bin69.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.15e-07', energy_flux2='5.25e-05', photon_flux_error='5.04e-08', dlogl='2.32e-01', energy_flux='4.46e-05', photon_flux2='9.35e-08', job_status='DONE', time_completed='2021-09-25 05:45:05.180200', photon_index_error2='0.36', photon_index2='1.94', ts='12.17', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', energy_flux_error2='2.69e-05', EG='0.82', time_epoch_completed='1632573905.18', return_code='0', job_id='931281', GAL2='1.00', EG2='0.85', return_code2='0', energy_flux_error='1.96e-05', photon_flux_error2='5.11e-08', ts2='12.64', photon_index='2.19' WHERE bin_id='69' AND source_name='4FGL J2025.6-0735' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 05:45:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0218>
Subject: Job 931281: <4FGL_J2025.6-0735_daily_bin69> in cluster <slac> Done

Job <4FGL_J2025.6-0735_daily_bin69> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Sep 25 05:31:20 2021
Job was executed on host(s) <bullet0218>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 05:31:23 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 25 05:31:23 2021
Terminated at Sat Sep 25 05:45:05 2021
Results reported at Sat Sep 25 05:45:05 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2025.6-0735_daily_bin69 306.422 -7.5945 257212801 257472001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2025.6-0735 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   804.42 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             350.16 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   822 sec.
    Turnaround time :                            825 sec.

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

