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


Performing analysis on: 4FGL_J2025.6-0735_daily_bin1265
RA = 306.422, Dec = -7.5945
tmin = 567216001, tmax = 567475201
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='939660', job_status='RUN', time_executed='2021-09-25 06:07:22.471039', time_epoch_executed='1632575242.47' WHERE source_name='4FGL J2025.6-0735' and cadence='daily' and bin_id='1265'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/939660

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/939660/ft1_4FGL_J2025.6-0735_daily_bin1265.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/939660/ft2_4FGL_J2025.6-0735_daily_bin1265.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/939660/ft1_4FGL_J2025.6-0735_daily_bin1265.fits outfile=/scratch/kocevski/939660/ft1_filteredMKT_4FGL_J2025.6-0735_daily_bin1265.fits ra=306.422 dec=-7.5945 rad=12.0 tmin=567216001.0 tmax=567475201.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.10
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/939660/ft1_filtered_4FGL_J2025.6-0735_daily_bin1265.fits" evtable="EVENTS" scfile=/scratch/kocevski/939660/ft2_4FGL_J2025.6-0735_daily_bin1265.fits sctable="SC_DATA" outfile=/scratch/kocevski/939660/ltcube_567216001_567475201_4FGL_J2025.6-0735_daily_bin1265.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/939660/ft2_4FGL_J2025.6-0735_daily_bin1265.fits
.....................!
real 13.07
user 12.75
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/939660/ft1_filtered_4FGL_J2025.6-0735_daily_bin1265.fits evtable="EVENTS" scfile=/scratch/kocevski/939660/ft2_4FGL_J2025.6-0735_daily_bin1265.fits sctable="SC_DATA" expcube=/scratch/kocevski/939660/ltcube_567216001_567475201_4FGL_J2025.6-0735_daily_bin1265.fits outfile=/scratch/kocevski/939660/expmap_567216001_567475201_4FGL_J2025.6-0735_daily_bin1265.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/939660/ltcube_567216001_567475201_4FGL_J2025.6-0735_daily_bin1265.fits
.....................!
real 150.94
user 146.92
sys 3.69

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/939660/ft1_filtered_4FGL_J2025.6-0735_daily_bin1265.fits scfile=/scratch/kocevski/939660/ft2_4FGL_J2025.6-0735_daily_bin1265.fits outfile=/scratch/kocevski/939660/cmap_567216001_567475201_4FGL_J2025.6-0735_daily_bin1265.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.50
user 0.31
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/939660/ft1_filtered_4FGL_J2025.6-0735_daily_bin1265.fits scfile=/scratch/kocevski/939660/ft2_4FGL_J2025.6-0735_daily_bin1265.fits outfile=/scratch/kocevski/939660/cmap_HighResolution_567216001_567475201_4FGL_J2025.6-0735_daily_bin1265.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.47
user 0.32
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/939660/ft1_filtered_4FGL_J2025.6-0735_daily_bin1265.fits evtable="EVENTS" scfile=/scratch/kocevski/939660/ft2_4FGL_J2025.6-0735_daily_bin1265.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/939660/Model_4FGL_J2025.6-0735_daily_bin1265.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/939660/ft1_filtered_4FGL_J2025.6-0735_daily_bin1265.fits.....................!
real 69.64
user 68.43
sys 1.01

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.9531       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10060E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .11252E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    107.09       1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.6757       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .36297E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.1955       1.0000         .10000E-03   10000.    
     9 'norm      '    7.9746       1.0000         .10000E-03   10000.    
    10 'Prefactor '    6.1727       1.0000         .10000E-03   10000.    
    11 'Prefactor '    115.87       1.0000         .10000E-03   10000.    
    12 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    20.608       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .55024E-02   1.0000         .10000E-03   10000.    
    15 'norm      '    5.7219       1.0000         .10000E-03   10000.    
    16 'Prefactor '    14.345       1.0000         .10000E-03   10000.    
    17 'norm      '    2.2171       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .41443       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    10.068       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .79157       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0760       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=   9058.147     FROM MIGRAD    STATUS=CONVERGED    477 CALLS     2390 TOTAL
                     EDM=   .34E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.0136       -.71184E-07** at limit **
   2  Prefactor     6.9486        5.9661       -.11154E-06   -.14633E-03
   3  Prefactor     .10000E-03    31.578        .14988E-05** at limit **
   4  Prefactor     .10000E-03    55.823       -.12187E-04** at limit **
   5  Prefactor     107.08        62.176        .20083E-05   -.41520E-04
   6  Prefactor     3.6760        3.8151       -.40580E-06    .18810E-04
   7  Prefactor     .10002E-03    197.42        .27527E-04** at limit **
   8  Prefactor     6.1983        28.657       -.49354E-06    .13671E-04
   9  norm          7.9772        14.141       -.44046E-06    .30531E-04
  10  Prefactor     6.1786        40.618       -.46932E-05    .11602E-04
  11  Prefactor     115.87        110.84       -.31019E-06    .65108E-05
  12  norm          .10000E-03    7.6167       -.80109E-07** at limit **
  13  norm          20.608        19.783        .13196E-06    .61323E-05
  14  Prefactor     .10000E-03    77.042       -.31551E-04** at limit **
  15  norm          5.7214        1.9659        .53862E-08   -.16169E-05
  16  Prefactor     14.345        16.114       -.25670E-06    .15930E-04
  17  norm          2.2175        3.2154       -.16561E-05    .57531E-04
  18  Prefactor     .41650        2.2522        .15250E-05    .62261E-03
  19  Prefactor     .10000E-03    6.3208       -.90475E-06** at limit **
  20  Prefactor     10.070        14.475       -.60547E-06    .46585E-04
  21  Normalizat    .79166        .28030        .24912E-05    .17918E-03
  22  Prefactor     1.0759        .92233E-01    .30705E-06    .38915E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 6.94862
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 107.076
  Prefactor  = 3.67603
  Prefactor  = 0.000100022
  Prefactor  = 6.19831
  norm       = 7.97722
  Prefactor  = 6.17859
  Prefactor  = 115.871
  norm       = 0.0001
  norm       = 20.6077
  Prefactor  = 0.0001
  norm       = 5.72143
  Prefactor  = 14.3451
  norm       = 2.2175
  Prefactor  = 0.416497
  Prefactor  = 0.0001
  Prefactor  = 10.0697
  Normalizat = 0.791658
  Prefactor  = 1.07594
 **********
 **   18 **HESSE 
 **********

 FCN=   9058.147     FROM HESSE     STATUS=OK           350 CALLS     2740 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.0166        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     6.9486        5.9671        .15214E-03   -1.5181    
   3  Prefactor     .10000E-03    31.595        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    56.727        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     107.08        62.084        .38863E-04   -1.3635    
   6  Prefactor     3.6760        3.7858        .16977E-03   -1.5324    
   7  Prefactor     .10002E-03    197.44        .21307E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     6.1983        28.042        .16128E-03   -1.5210    
   9  norm          7.9772        14.027        .14198E-03   -1.5143    
  10  Prefactor     6.1786        40.744        .16158E-03   -1.5211    
  11  Prefactor     115.87        110.80        .37378E-04   -1.3551    
  12  norm          .10000E-03    7.6283        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          20.608        19.781        .88230E-04   -1.4800    
  14  Prefactor     .10000E-03    76.559        .52249E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          5.7214        1.9639        .70470E-04   -1.5230    
  16  Prefactor     14.345        16.113        .10575E-03   -1.4950    
  17  norm          2.2175        3.2322        .20055E-03   -1.5410    
  18  Prefactor     .41650        8.7550        .25393E-02   -1.5579    
  19  Prefactor     .10000E-03    6.5714        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     10.070        14.509        .12628E-03   -1.5073    
  21  Normalizat    .79166        .30681        .51325E-03   -1.0038    
  22  Prefactor     1.0759        .10239        .15559E-03   -.90239    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.9306e-09
Minuit parameter uncertainties:
  1  9.46065e-06
  2  5.9676
  3  7.80184e-05
  4  0.000194574
  5  62.1213
  6  3.78609
  7  0.00417629
  8  26.3878
  9  14.0328
  10  31.7638
  11  111.004
  12  1.46656e-05
  13  19.7876
  14  0.000139606
  15  1.96394
  16  16.1177
  17  3.23242
  18  3.81932
  19  7.88449e-05
  20  14.514
  21  0.307486
  22  0.10241
Done.

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

Extracting fit parameters...

4FGL J2025.6-0735
   Spectrum: LogParabola
363         norm:  5.721e+00  1.964e+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.076e+00  1.024e-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:  7.917e-01  3.075e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 24.43
Ra Dec: 306.422 -7.595
Photon Index (Fixed Index): 2.19 +/- 0.00
Photon Flux (Fixed Index): 1.97e-07 +/- 6.76e-08
Energy Flux (Fixed Index): 7.65e-05 +/- 2.63e-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) = 9057.55624968
delta logL = 0.590429287739

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9057.53567851
delta logL = 0.611000463148

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.3002       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7927       1.0000          .0000       5.0000    
     3 'Normalizat'    .85375       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0654       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=   9057.536     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      213 TOTAL
                     EDM=   .64E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.2992        1.8169        .43645E-02    .56955E-04
   2  alpha         1.7925        .28292        .26809       -.53829E-04
   3  Normalizat    .85384        .25828        .11198        .40551E-04
   4  Prefactor     1.0654        .89329E-01    .39081E-01   -.94306E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 5.29916
  alpha      = 1.79248
  Normalizat = 0.853843
  Prefactor  = 1.06536
 **********
 **   18 **HESSE 
 **********

 FCN=   9057.536     FROM HESSE     STATUS=OK            33 CALLS      246 TOTAL
                     EDM=   .99E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.2992        2.0426        .72259E-04   -1.5248    
   2  alpha         1.7925        .34743        .10801E-01   -.28693    
   3  Normalizat    .85384        .28754        .49652E-03   -.98102    
   4  Prefactor     1.0654        .99512E-01    .15633E-03   -.90582    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.86963e-10
Minuit parameter uncertainties:
  1  2.04265
  2  0.348661
  3  0.288056
  4  0.0995288
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/939660': 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) = 9057.53567813
delta logL = 0.61100083971

Extracting fit parameters...

4FGL J2025.6-0735
   Spectrum: LogParabola
363         norm:  5.299e+00  2.043e+00  1.000e-04  1.000e+04 ( 1.000e-11)
364        alpha:  1.792e+00  3.487e-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.065e+00  9.953e-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.538e-01  2.881e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 25.63
Ra Dec: 306.422 -7.595
Photon Index (Free Index): 1.79 +/- 0.35
Photon Flux (Free Index): 1.36e-07 +/- 6.92e-08
Energy Flux (Free Index): 9.88e-05 +/- 4.50e-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/939660/cmap_HighResolution_567216001_567475201_4FGL_J2025.6-0735_daily_bin1265.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.97e-07', energy_flux2='9.88e-05', photon_flux_error='6.76e-08', dlogl='6.11e-01', energy_flux='7.65e-05', photon_flux2='1.36e-07', job_status='DONE', time_completed='2021-09-25 06:17:32.624416', photon_index_error2='0.35', photon_index2='1.79', ts='24.43', fit_tolerance='1e-08', GAL='1.08', photon_index_error='0.00', energy_flux_error2='4.50e-05', EG='0.79', time_epoch_completed='1632575852.62', return_code='0', job_id='939660', GAL2='1.07', EG2='0.85', return_code2='0', energy_flux_error='2.63e-05', photon_flux_error2='6.92e-08', ts2='25.63', photon_index='2.19' WHERE bin_id='1265' AND source_name='4FGL J2025.6-0735' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 06:17:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0071>
Subject: Job 939660: <4FGL_J2025.6-0735_daily_bin1265> in cluster <slac> Done

Job <4FGL_J2025.6-0735_daily_bin1265> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sat Sep 25 06:01:34 2021
Job was executed on host(s) <bullet0071>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 06:07:13 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 25 06:07:13 2021
Terminated at Sat Sep 25 06:17:33 2021
Results reported at Sat Sep 25 06:17:33 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2025.6-0735_daily_bin1265 306.422 -7.5945 567216001 567475201 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 :                                   602.50 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             360.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   619 sec.
    Turnaround time :                            959 sec.

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

