/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 232 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 = 7387
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2025.6-0735_daily_bin974
RA = 306.422, Dec = -7.5945
tmin = 491788801, tmax = 492048001
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='938055', job_status='RUN', time_executed='2021-09-25 06:00:22.582906', time_epoch_executed='1632574822.58' WHERE source_name='4FGL J2025.6-0735' and cadence='daily' and bin_id='974'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/938055

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/938055/ft1_4FGL_J2025.6-0735_daily_bin974.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/938055/ft2_4FGL_J2025.6-0735_daily_bin974.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/938055/ft1_4FGL_J2025.6-0735_daily_bin974.fits outfile=/scratch/kocevski/938055/ft1_filteredMKT_4FGL_J2025.6-0735_daily_bin974.fits ra=306.422 dec=-7.5945 rad=12.0 tmin=491788801.0 tmax=492048001.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.28
user 3.98
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/938055/ft2_4FGL_J2025.6-0735_daily_bin974.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/938055/ft1_filteredMKT_4FGL_J2025.6-0735_daily_bin974.fits evtable="EVENTS" outfile="/scratch/kocevski/938055/ft1_filtered_4FGL_J2025.6-0735_daily_bin974.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.51
user 0.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/938055/ft1_filtered_4FGL_J2025.6-0735_daily_bin974.fits" evtable="EVENTS" scfile=/scratch/kocevski/938055/ft2_4FGL_J2025.6-0735_daily_bin974.fits sctable="SC_DATA" outfile=/scratch/kocevski/938055/ltcube_491788801_492048001_4FGL_J2025.6-0735_daily_bin974.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/938055/ft2_4FGL_J2025.6-0735_daily_bin974.fits
.....................!
real 14.11
user 13.74
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/938055/ft1_filtered_4FGL_J2025.6-0735_daily_bin974.fits evtable="EVENTS" scfile=/scratch/kocevski/938055/ft2_4FGL_J2025.6-0735_daily_bin974.fits sctable="SC_DATA" expcube=/scratch/kocevski/938055/ltcube_491788801_492048001_4FGL_J2025.6-0735_daily_bin974.fits outfile=/scratch/kocevski/938055/expmap_491788801_492048001_4FGL_J2025.6-0735_daily_bin974.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/938055/ltcube_491788801_492048001_4FGL_J2025.6-0735_daily_bin974.fits
.....................!
real 192.22
user 186.30
sys 5.30

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/938055/ft1_filtered_4FGL_J2025.6-0735_daily_bin974.fits scfile=/scratch/kocevski/938055/ft2_4FGL_J2025.6-0735_daily_bin974.fits outfile=/scratch/kocevski/938055/cmap_491788801_492048001_4FGL_J2025.6-0735_daily_bin974.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.57
user 0.39
sys 0.14

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/938055/ft1_filtered_4FGL_J2025.6-0735_daily_bin974.fits evtable="EVENTS" scfile=/scratch/kocevski/938055/ft2_4FGL_J2025.6-0735_daily_bin974.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/938055/Model_4FGL_J2025.6-0735_daily_bin974.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/938055/ft1_filtered_4FGL_J2025.6-0735_daily_bin974.fits.....................!
real 37.85
user 35.80
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10165E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    13.810       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .20452E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    42.088       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    222.52       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    14.556       1.0000         .10000E-03   10000.    
    10 'Prefactor '    239.49       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10211E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10677E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    106.70       1.0000         .10000E-03   10000.    
    15 'norm      '    9.0927       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10077E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .64135       1.0000         .10000E-03   10000.    
    19 'Prefactor '    8.0882       1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.1129       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1821       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .81217       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=   2928.901     FROM MIGRAD    STATUS=CONVERGED    466 CALLS     2395 TOTAL
                     EDM=   .37E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    25.882       -.69814E-06** at limit **
   2  Prefactor     13.816        12.140       -.37425E-07   -.11965E-04
   3  Prefactor     .10000E-03    34.379       -.24631E-06** at limit **
   4  Prefactor     .10000E-03    83.524       -.93773E-05** at limit **
   5  Prefactor     42.022        64.581        .90910E-07   -.36882E-04
   6  Prefactor     .10000E-03    1.6753        .18130E-06** at limit **
   7  Prefactor     222.25        133.60       -.30668E-06   -.57718E-04
   8  Prefactor     .10000E-03    13.444        .22640E-06** at limit **
   9  norm          14.558        12.711       -.25581E-07   -.88361E-04
  10  Prefactor     239.24        235.21       -.19990E-05   -.20615E-04
  11  Prefactor     .10000E-03    82.274        .12524E-06** at limit **
  12  norm          .10000E-03    37.543       -.98156E-06** at limit **
  13  norm          .10000E-03    23.707        .24441E-06** at limit **
  14  Prefactor     106.65        107.18       -.46379E-06   -.14913E-04
  15  norm          9.0941        3.8961        .10007E-06   -.17214E-03
  16  Prefactor     .10000E-03    17.223        .39492E-07** at limit **
  17  norm          .10000E-03    7.9449        .15172E-05** at limit **
  18  Prefactor     .69348        6.3895        .18239E-05   -.63153E-04
  19  Prefactor     8.0973        18.580        .17998E-05   -.26329E-04
  20  Prefactor     3.1545        66.754        .45077E-05    .74624E-05
  21  Normalizat    1.1812        .53122       -.20771E-04   -.16673E-03
  22  Prefactor     .81236        .17712        .58760E-05   -.66923E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 13.816
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 42.0218
  Prefactor  = 0.0001
  Prefactor  = 222.255
  Prefactor  = 0.0001
  norm       = 14.558
  Prefactor  = 239.24
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 106.651
  norm       = 9.09406
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.693484
  Prefactor  = 8.09733
  Prefactor  = 3.15447
  Normalizat = 1.18115
  Prefactor  = 0.812362
 **********
 **   18 **HESSE 
 **********

 FCN=   2928.901     FROM HESSE     STATUS=OK           338 CALLS     2733 TOTAL
                     EDM=   .83E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    25.900        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     13.816        12.136        .10778E-03   -1.4964    
   3  Prefactor     .10000E-03    34.422        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    84.798        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     42.022        64.614        .30896E-03   -1.4411    
   6  Prefactor     .10000E-03    1.7163        .13677E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     222.25        133.71        .13559E-03   -1.2715    
   8  Prefactor     .10000E-03    13.482        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          14.558        12.714        .10498E-03   -1.4945    
  10  Prefactor     239.24        235.26        .13081E-03   -1.2602    
  11  Prefactor     .10000E-03    82.288        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    37.704        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    23.723        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     106.65        107.19        .19466E-03   -1.3639    
  15  norm          9.0941        3.9005        .66731E-04   -1.5105    
  16  Prefactor     .10000E-03    17.242        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    8.1814        .14976E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .69348        22.542        .23076E-02   -1.5541    
  19  Prefactor     8.0973        18.654        .14098E-03   -1.5139    
  20  Prefactor     3.1545        67.038        .22982E-03   -1.5353    
  21  Normalizat    1.1812        .56001        .43256E-03   -.87187    
  22  Prefactor     .81236        .18094        .17858E-03   -.99274    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.29958e-09
Minuit parameter uncertainties:
  1  5.2353e-05
  2  12.138
  3  3.80544e-05
  4  0.0011981
  5  64.7215
  6  2.68853e-06
  7  133.897
  8  2.02449e-05
  9  12.7166
  10  236.198
  11  0.000108638
  12  8.39581e-05
  13  4.61413e-05
  14  107.383
  15  3.90058
  16  1.20566e-05
  17  0.000101036
  18  7.91034
  19  18.6676
  20  29.1208
  21  0.562881
  22  0.181075
Done.

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

Extracting fit parameters...

4FGL J2025.6-0735
   Spectrum: LogParabola
363         norm:  9.094e+00  3.901e+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:  8.124e-01  1.811e-01  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:  1.181e+00  5.629e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 13.09
Ra Dec: 306.422 -7.595
Photon Index (Fixed Index): 2.19 +/- 0.00
Photon Flux (Fixed Index): 3.13e-07 +/- 1.34e-07
Energy Flux (Fixed Index): 1.22e-04 +/- 5.22e-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) = 2928.8205605
delta logL = 0.0807763064813

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2928.81419427
delta logL = 0.0871425340174

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.7489       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3864       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1486       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81889       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=   2928.814     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      206 TOTAL
                     EDM=   .57E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 40.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.7486        3.7622       -.90764E-06    .23879E-02
   2  alpha         2.3868        .45003        .11131E-04    .19074E-03
   3  Normalizat    1.1486        .42866       -.66001E-06   -.97938E-05
   4  Prefactor     .81886        .14932        .31097E-06   -.16446E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 8.74865
  alpha      = 2.38677
  Normalizat = 1.14864
  Prefactor  = 0.818864
 **********
 **   18 **HESSE 
 **********

 FCN=   2928.814     FROM HESSE     STATUS=OK            31 CALLS      237 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.7486        3.9153        .63995E-04   -1.5116    
   2  alpha         2.3868        .48323        .89843E-02   -.45309E-01
   3  Normalizat    1.1486        .49023        .43737E-03   -.88205    
   4  Prefactor     .81886        .17093        .17786E-03   -.99037    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.57581e-09
Minuit parameter uncertainties:
  1  3.91541
  2  0.486302
  3  0.492204
  4  0.171042
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/938055': 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) = 2928.81419401
delta logL = 0.0871427945403

Extracting fit parameters...

4FGL J2025.6-0735
   Spectrum: LogParabola
363         norm:  8.749e+00  3.915e+00  1.000e-04  1.000e+04 ( 1.000e-11)
364        alpha:  2.387e+00  4.863e-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:  8.189e-01  1.710e-01  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:  1.149e+00  4.922e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 13.20
Ra Dec: 306.422 -7.595
Photon Index (Free Index): 2.39 +/- 0.49
Photon Flux (Free Index): 3.63e-07 +/- 1.93e-07
Energy Flux (Free Index): 1.14e-04 +/- 5.02e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/938055/cmap_HighResolution_491788801_492048001_4FGL_J2025.6-0735_daily_bin974.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.13e-07', energy_flux2='1.14e-04', photon_flux_error='1.34e-07', dlogl='8.71e-02', energy_flux='1.22e-04', photon_flux2='3.63e-07', job_status='DONE', time_completed='2021-09-25 06:08:10.133298', photon_index_error2='0.49', photon_index2='2.39', ts='13.09', fit_tolerance='1e-08', GAL='0.81', photon_index_error='0.00', energy_flux_error2='5.02e-05', EG='1.18', time_epoch_completed='1632575290.13', return_code='0', job_id='938055', GAL2='0.82', EG2='1.15', return_code2='0', energy_flux_error='5.22e-05', photon_flux_error2='1.93e-07', ts2='13.20', photon_index='2.19' WHERE bin_id='974' AND source_name='4FGL J2025.6-0735' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 06:08:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0242>
Subject: Job 938055: <4FGL_J2025.6-0735_daily_bin974> in cluster <slac> Done

Job <4FGL_J2025.6-0735_daily_bin974> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Sep 25 05:56:15 2021
Job was executed on host(s) <bullet0242>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 05:56:17 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:56:17 2021
Terminated at Sat Sep 25 06:08:10 2021
Results reported at Sat Sep 25 06:08:10 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2025.6-0735_daily_bin974 306.422 -7.5945 491788801 492048001 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 :                                   461.45 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             264.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   713 sec.
    Turnaround time :                            715 sec.

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

