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


Performing analysis on: 4FGL_J2025.6-0735_daily_bin161
RA = 306.422, Dec = -7.5945
tmin = 281059201, tmax = 281318401
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='931436', job_status='RUN', time_executed='2021-09-25 05:34:17.644302', time_epoch_executed='1632573257.64' WHERE source_name='4FGL J2025.6-0735' and cadence='daily' and bin_id='161'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/931436

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/931436/ft1_4FGL_J2025.6-0735_daily_bin161.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/931436/ft2_4FGL_J2025.6-0735_daily_bin161.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/931436/ft1_4FGL_J2025.6-0735_daily_bin161.fits outfile=/scratch/kocevski/931436/ft1_filteredMKT_4FGL_J2025.6-0735_daily_bin161.fits ra=306.422 dec=-7.5945 rad=12.0 tmin=281059201.0 tmax=281318401.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.46
user 4.23
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/931436/ft2_4FGL_J2025.6-0735_daily_bin161.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/931436/ft1_filteredMKT_4FGL_J2025.6-0735_daily_bin161.fits evtable="EVENTS" outfile="/scratch/kocevski/931436/ft1_filtered_4FGL_J2025.6-0735_daily_bin161.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.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/931436/ft1_filtered_4FGL_J2025.6-0735_daily_bin161.fits" evtable="EVENTS" scfile=/scratch/kocevski/931436/ft2_4FGL_J2025.6-0735_daily_bin161.fits sctable="SC_DATA" outfile=/scratch/kocevski/931436/ltcube_281059201_281318401_4FGL_J2025.6-0735_daily_bin161.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/931436/ft2_4FGL_J2025.6-0735_daily_bin161.fits
.....................!
real 11.71
user 11.31
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/931436/ft1_filtered_4FGL_J2025.6-0735_daily_bin161.fits evtable="EVENTS" scfile=/scratch/kocevski/931436/ft2_4FGL_J2025.6-0735_daily_bin161.fits sctable="SC_DATA" expcube=/scratch/kocevski/931436/ltcube_281059201_281318401_4FGL_J2025.6-0735_daily_bin161.fits outfile=/scratch/kocevski/931436/expmap_281059201_281318401_4FGL_J2025.6-0735_daily_bin161.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/931436/ltcube_281059201_281318401_4FGL_J2025.6-0735_daily_bin161.fits
.....................!
real 192.18
user 187.64
sys 3.93

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/931436/ft1_filtered_4FGL_J2025.6-0735_daily_bin161.fits scfile=/scratch/kocevski/931436/ft2_4FGL_J2025.6-0735_daily_bin161.fits outfile=/scratch/kocevski/931436/cmap_281059201_281318401_4FGL_J2025.6-0735_daily_bin161.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.58
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/931436/ft1_filtered_4FGL_J2025.6-0735_daily_bin161.fits scfile=/scratch/kocevski/931436/ft2_4FGL_J2025.6-0735_daily_bin161.fits outfile=/scratch/kocevski/931436/cmap_HighResolution_281059201_281318401_4FGL_J2025.6-0735_daily_bin161.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.73
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/931436/ft1_filtered_4FGL_J2025.6-0735_daily_bin161.fits evtable="EVENTS" scfile=/scratch/kocevski/931436/ft2_4FGL_J2025.6-0735_daily_bin161.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/931436/Model_4FGL_J2025.6-0735_daily_bin161.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/931436/ft1_filtered_4FGL_J2025.6-0735_daily_bin161.fits.....................!
real 85.92
user 84.22
sys 1.10

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/931436/ft1_filtered_4FGL_J2025.6-0735_daily_bin161.fits', '/scratch/kocevski/931436/ft2_4FGL_J2025.6-0735_daily_bin161.fits', expMap='/scratch/kocevski/931436/expmap_281059201_281318401_4FGL_J2025.6-0735_daily_bin161.fits', expCube='/scratch/kocevski/931436/ltcube_281059201_281318401_4FGL_J2025.6-0735_daily_bin161.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/931436/Model_4FGL_J2025.6-0735_daily_bin161.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/931436/ft1_filtered_4FGL_J2025.6-0735_daily_bin161.fits
Spacecraft file(s): /scratch/kocevski/931436/ft2_4FGL_J2025.6-0735_daily_bin161.fits
Exposure map: /scratch/kocevski/931436/expmap_281059201_281318401_4FGL_J2025.6-0735_daily_bin161.fits
Exposure cube: /scratch/kocevski/931436/ltcube_281059201_281318401_4FGL_J2025.6-0735_daily_bin161.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/931436/Model_4FGL_J2025.6-0735_daily_bin161.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) = 8626.55119659

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    18.267       1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.0627       1.0000         .10000E-03   10000.    
     3 'Prefactor '    34.475       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10120E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10052E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10077E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10055E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    41.504       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    7.8507       1.0000         .10000E-03   10000.    
    13 'norm      '    .10022E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .51987       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10057E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.8358       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    10.164       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .89301       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .91156       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=   8626.528     FROM MIGRAD    STATUS=CONVERGED    462 CALLS     2344 TOTAL
                     EDM=   .27E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     18.270        18.706        .74840E-09    .38789E-04
   2  Prefactor     4.0625        5.4669        .31263E-05    .37072E-04
   3  Prefactor     34.481        30.835       -.72547E-06    .10414E-04
   4  Prefactor     .10000E-03    21.658       -.42397E-06** at limit **
   5  Prefactor     .10000E-03    34.075        .21280E-05** at limit **
   6  Prefactor     .10000E-03    1.2938        .15115E-06** at limit **
   7  Prefactor     .10000E-03    28.344       -.12551E-05** at limit **
   8  Prefactor     .10000E-03    22.035       -.58205E-06** at limit **
   9  norm          .10000E-03    9.7521       -.23144E-07** at limit **
  10  Prefactor     41.509        38.722       -.18734E-06    .17119E-04
  11  Prefactor     .10000E-03    30.380       -.51189E-06** at limit **
  12  norm          7.8510        8.1231       -.51911E-07   -.90660E-05
  13  norm          .10000E-03    19.026        .12658E-05** at limit **
  14  Prefactor     .10000E-03    5.2060       -.21215E-07** at limit **
  15  norm          .51946        1.2098        .11094E-06   -.14978E-03
  16  Prefactor     .10000E-03    6.1279        .29637E-07** at limit **
  17  norm          .10000E-03    2.1380       -.64934E-07** at limit **
  18  Prefactor     2.8343        4.2115        .18388E-06    .16322E-05
  19  Prefactor     .10000E-03    1.2857       -.28907E-07** at limit **
  20  Prefactor     10.162        9.0189        .13920E-07    .54811E-05
  21  Normalizat    .89369        .24815        .21753E-05    .20580E-04
  22  Prefactor     .91133        .82035E-01   -.11410E-05    .28141E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 18.2699
  Prefactor  = 4.06252
  Prefactor  = 34.481
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 41.5093
  Prefactor  = 0.0001
  norm       = 7.85097
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.51946
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 2.83431
  Prefactor  = 0.0001
  Prefactor  = 10.1619
  Normalizat = 0.893686
  Prefactor  = 0.911334
 **********
 **   18 **HESSE 
 **********

 FCN=   8626.528     FROM HESSE     STATUS=OK           336 CALLS     2680 TOTAL
                     EDM=   .50E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     18.270        18.777        .93711E-04   -1.4853    
   2  Prefactor     4.0625        5.5046        .10002E-02   -1.5305    
   3  Prefactor     34.481        30.865        .68250E-04   -1.4533    
   4  Prefactor     .10000E-03    21.690        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    34.200        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    1.3217        .10315E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    28.391        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    22.227        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    9.9553        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     41.509        38.754        .62223E-04   -1.4419    
  11  Prefactor     .10000E-03    30.384        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          7.8510        8.1220        .14311E-03   -1.5148    
  13  norm          .10000E-03    19.060        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    5.2299        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .51946        1.1919        .14531E-03   -1.5564    
  16  Prefactor     .10000E-03    6.1401        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    2.1728        .13257E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     2.8343        4.2099        .21945E-03   -1.5371    
  19  Prefactor     .10000E-03    1.2937        .10283E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     10.162        9.0263        .12568E-03   -1.5070    
  21  Normalizat    .89369        .27296        .21729E-02   -.96682    
  22  Prefactor     .91133        .91160E-01    .14347E-03   -.95746    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.04219e-11
Minuit parameter uncertainties:
  1  18.783
  2  5.50527
  3  30.879
  4  4.41014e-05
  5  0.000141236
  6  9.87384e-06
  7  8.23806e-05
  8  9.63344e-05
  9  1.59202e-05
  10  38.7773
  11  2.24358e-05
  12  8.12314
  13  9.51313e-05
  14  8.45303e-07
  15  1.19194
  16  3.50417e-06
  17  6.10477e-06
  18  4.21035
  19  1.95706e-06
  20  9.02749
  21  0.273387
  22  0.0911755
Done.

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

Extracting fit parameters...

4FGL J2025.6-0735
   Spectrum: LogParabola
363         norm:  5.195e-01  1.192e+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:  9.113e-01  9.118e-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.937e-01  2.734e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.22
Ra Dec: 306.422 -7.595
Photon Flux Upper Limit: 1.13e-07 ph cm-2 s-1
Energy Flux Upper Limit: 4.40e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/931436/likelihoodResults_281059201_281318401_4FGL_J2025.6-0735_daily_bin161.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) = 8625.30581149
delta logL = 1.22253189604

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8625.27177206
delta logL = 1.25657132393

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .53271       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.8748       1.0000          .0000       5.0000    
     3 'Normalizat'    .75138       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93626       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=   8625.272     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      221 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .53273        4.3478        .92396E-02    .11114E-02
   2  alpha         3.8748        4.4053        .44644        .85429E-04
   3  Normalizat    .75140        .61662E-01    .10604        .40458E-04
   4  Prefactor     .93627        .20641E-01    .32050E-01   -.70578E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.532731
  alpha      = 3.87478
  Normalizat = 0.751396
  Prefactor  = 0.936268
 **********
 **   18 **HESSE 
 **********

 FCN=   8625.272     FROM HESSE     STATUS=OK            31 CALLS      252 TOTAL
                     EDM=   .33E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .53273        .83166        .41784E-04   -1.5562    
   2  alpha         3.8748        1.0944        .19293E-02    .58226    
   3  Normalizat    .75140        .27803        .47007E-03   -1.0190    
   4  Prefactor     .93627        .89666E-01    .14162E-03   -.94885    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.30924e-10
Minuit parameter uncertainties:
  1  0.831679
  2  1.152
  3  0.278551
  4  0.08968
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/931436': 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) = 8625.27177197
delta logL = 1.25657141585

Extracting fit parameters...

4FGL J2025.6-0735
   Spectrum: LogParabola
363         norm:  5.327e-01  8.317e-01  1.000e-04  1.000e+04 ( 1.000e-11)
364        alpha:  3.875e+00  1.152e+00  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:  9.363e-01  8.968e-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:  7.514e-01  2.786e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.04
Ra Dec: 306.422 -7.595
Photon Index (Free Index): 3.87 +/- 1.15
Photon Flux (Free Index): 1.39e-07 +/- 9.65e-08
Energy Flux (Free Index): 2.20e-05 +/- 1.47e-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/931436/cmap_HighResolution_281059201_281318401_4FGL_J2025.6-0735_daily_bin161.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.40e-05', comment='SUCCESS', energy_flux2='2.20e-05', dlogl='1.26e+00', photon_flux2='1.39e-07', job_status='DONE', time_completed='2021-09-25 05:47:57.990855', photon_index_error2='1.15', photon_index2='3.87', ts='0.22', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', photon_flux_upper_limit='1.13e-07', energy_flux_error2='1.47e-05', EG='0.89', time_epoch_completed='1632574077.99', return_code='0', job_id='931436', GAL2='0.94', EG2='0.75', return_code2='0', photon_flux_error2='9.65e-08', ts2='3.04', photon_index='2.19' WHERE bin_id='161' AND source_name='4FGL J2025.6-0735' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 05:47:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0186>
Subject: Job 931436: <4FGL_J2025.6-0735_daily_bin161> in cluster <slac> Done

Job <4FGL_J2025.6-0735_daily_bin161> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Sep 25 05:31:35 2021
Job was executed on host(s) <bullet0186>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 05:31:36 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:36 2021
Terminated at Sat Sep 25 05:47:58 2021
Results reported at Sat Sep 25 05:47:58 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2025.6-0735_daily_bin161 306.422 -7.5945 281059201 281318401 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 :                                   818.19 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             299.94 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   982 sec.
    Turnaround time :                            983 sec.

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

