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


Performing analysis on: 4FGL_J2025.6-0735_daily_bin122
RA = 306.422, Dec = -7.5945
tmin = 270950401, tmax = 271209601
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='931373', job_status='RUN', time_executed='2021-09-25 05:31:50.028600', time_epoch_executed='1632573110.03' WHERE source_name='4FGL J2025.6-0735' and cadence='daily' and bin_id='122'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/931373

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/931373/ft1_4FGL_J2025.6-0735_daily_bin122.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/931373/ft2_4FGL_J2025.6-0735_daily_bin122.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/931373/ft1_4FGL_J2025.6-0735_daily_bin122.fits outfile=/scratch/kocevski/931373/ft1_filteredMKT_4FGL_J2025.6-0735_daily_bin122.fits ra=306.422 dec=-7.5945 rad=12.0 tmin=270950401.0 tmax=271209601.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 1.75
user 1.43
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/931373/ft1_filtered_4FGL_J2025.6-0735_daily_bin122.fits" evtable="EVENTS" scfile=/scratch/kocevski/931373/ft2_4FGL_J2025.6-0735_daily_bin122.fits sctable="SC_DATA" outfile=/scratch/kocevski/931373/ltcube_270950401_271209601_4FGL_J2025.6-0735_daily_bin122.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/931373/ft2_4FGL_J2025.6-0735_daily_bin122.fits
.....................!
real 12.67
user 12.29
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/931373/ft1_filtered_4FGL_J2025.6-0735_daily_bin122.fits evtable="EVENTS" scfile=/scratch/kocevski/931373/ft2_4FGL_J2025.6-0735_daily_bin122.fits sctable="SC_DATA" expcube=/scratch/kocevski/931373/ltcube_270950401_271209601_4FGL_J2025.6-0735_daily_bin122.fits outfile=/scratch/kocevski/931373/expmap_270950401_271209601_4FGL_J2025.6-0735_daily_bin122.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/931373/ltcube_270950401_271209601_4FGL_J2025.6-0735_daily_bin122.fits
.....................!
real 191.92
user 186.29
sys 5.18

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/931373/ft1_filtered_4FGL_J2025.6-0735_daily_bin122.fits scfile=/scratch/kocevski/931373/ft2_4FGL_J2025.6-0735_daily_bin122.fits outfile=/scratch/kocevski/931373/cmap_270950401_271209601_4FGL_J2025.6-0735_daily_bin122.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.54
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/931373/ft1_filtered_4FGL_J2025.6-0735_daily_bin122.fits scfile=/scratch/kocevski/931373/ft2_4FGL_J2025.6-0735_daily_bin122.fits outfile=/scratch/kocevski/931373/cmap_HighResolution_270950401_271209601_4FGL_J2025.6-0735_daily_bin122.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.59
user 0.37
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/931373/ft1_filtered_4FGL_J2025.6-0735_daily_bin122.fits evtable="EVENTS" scfile=/scratch/kocevski/931373/ft2_4FGL_J2025.6-0735_daily_bin122.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/931373/Model_4FGL_J2025.6-0735_daily_bin122.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/931373/ft1_filtered_4FGL_J2025.6-0735_daily_bin122.fits.....................!
real 95.95
user 94.20
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .40891E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.8834       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    8.9852       1.0000         .10000E-03   10000.    
     5 'Prefactor '    46.398       1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.9617       1.0000         .10000E-03   10000.    
     7 'Prefactor '    26.358       1.0000         .10000E-03   10000.    
     8 'Prefactor '    14.350       1.0000         .10000E-03   10000.    
     9 'norm      '    13.064       1.0000         .10000E-03   10000.    
    10 'Prefactor '    33.556       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10071E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    1.8304       1.0000         .10000E-03   10000.    
    13 'norm      '    8.1675       1.0000         .10000E-03   10000.    
    14 'Prefactor '    6.7515       1.0000         .10000E-03   10000.    
    15 'norm      '    2.5961       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .84772       1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.9787       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10746E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    24.426       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1336       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .99904       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10059.80     FROM MIGRAD    STATUS=CONVERGED    851 CALLS     2810 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    17.751        .91674E-01** at limit **
   2  Prefactor     2.8841        3.8162        .21282E-03   -.15171E-04
   3  Prefactor     .10000E-03    13.315        .18142E-02** at limit **
   4  Prefactor     8.9849        23.401        .13371E-03   -.91826E-05
   5  Prefactor     46.377        42.988        .58864E-04   -.43108E-04
   6  Prefactor     5.9617        2.9846        .11121E-03   -.21876E-04
   7  Prefactor     26.321        45.061        .78030E-04   -.51577E-04
   8  Prefactor     14.350        19.240        .10573E-03   -.38708E-05
   9  norm          13.064        9.9991        .11082E-03   -.92326E-05
  10  Prefactor     33.548        34.101        .69176E-04   -.17749E-04
  11  Prefactor     .10000E-03    97.808        .18142E-02** at limit **
  12  norm          1.8256        40.530        .30848E-03   -.51595E-06
  13  norm          8.1675        19.348        .14029E-03   -.50244E-05
  14  Prefactor     6.7508        8.5041        .77211E-03   -.68114E-04
  15  norm          2.5964        1.5386        .89737E-04   -.84121E-04
  16  Prefactor     .10000E-03    15.218        .18142E-02** at limit **
  17  norm          .84821        1.6834        .22194E-02    .55472E-02
  18  Prefactor     3.9786        4.6801        .20220E-03   -.22489E-04
  19  Prefactor     .10000E-03    6.0513        .36285E-02** at limit **
  20  Prefactor     24.424        18.604        .81051E-04   -.19637E-05
  21  Normalizat    1.1336        .30861        .45520E-03   -.94356E-04
  22  Prefactor     .99909        .98502E-01    .15855E-03   -.12907E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 2.88412
  Prefactor  = 0.0001
  Prefactor  = 8.98489
  Prefactor  = 46.3769
  Prefactor  = 5.96174
  Prefactor  = 26.3206
  Prefactor  = 14.3497
  norm       = 13.0637
  Prefactor  = 33.5478
  Prefactor  = 0.0001
  norm       = 1.82563
  norm       = 8.1675
  Prefactor  = 6.75084
  norm       = 2.59638
  Prefactor  = 0.0001
  norm       = 0.848207
  Prefactor  = 3.97857
  Prefactor  = 0.0001
  Prefactor  = 24.4242
  Normalizat = 1.13359
  Prefactor  = 0.999089
 **********
 **   18 **HESSE 
 **********

 FCN=   10059.80     FROM HESSE     STATUS=OK           332 CALLS     3142 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    15.223        .10079       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.8841        3.8157        .85126E-05   -1.5368    
   3  Prefactor     .10000E-03    13.316        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.9849        23.405        .53485E-05   -1.5108    
   5  Prefactor     46.377        42.985        .11773E-04   -1.4345    
   6  Prefactor     5.9617        2.9845        .44484E-05   -1.5220    
   7  Prefactor     26.321        45.117        .31212E-05   -1.4681    
   8  Prefactor     14.350        19.242        .42293E-05   -1.4950    
   9  norm          13.064        9.9994        .44329E-05   -1.4985    
  10  Prefactor     33.548        34.107        .27670E-05   -1.4549    
  11  Prefactor     .10000E-03    97.810        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.8256        40.516        .12339E-04   -1.5438    
  13  norm          8.1675        19.353        .56114E-05   -1.5136    
  14  Prefactor     6.7508        8.5037        .30885E-04   -1.5188    
  15  norm          2.5964        1.5383        .35895E-05   -1.5386    
  16  Prefactor     .10000E-03    15.225        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .84821        1.6804        .44387E-03   -1.5524    
  18  Prefactor     3.9786        4.6795        .80882E-05   -1.5309    
  19  Prefactor     .10000E-03    6.0975        .72569E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     24.424        18.606        .32420E-05   -1.4719    
  21  Normalizat    1.1336        .30872        .18208E-04   -.88680    
  22  Prefactor     .99909        .98550E-01    .63420E-05   -.92760    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.15137e-10
Minuit parameter uncertainties:
  1  2.65447e-05
  2  3.81603
  3  6.99476e-06
  4  23.4291
  5  43.0132
  6  2.98462
  7  45.1754
  8  19.2499
  9  10.0007
  10  34.1273
  11  6.11305e-05
  12  17.2137
  13  19.3675
  14  8.5052
  15  1.53835
  16  1.30212e-05
  17  1.68044
  18  4.67997
  19  1.47287e-05
  20  18.6107
  21  0.30921
  22  0.0985678
Done.

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

Extracting fit parameters...

4FGL J2025.6-0735
   Spectrum: LogParabola
363         norm:  2.596e+00  1.538e+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.991e-01  9.857e-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:  1.134e+00  3.092e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.56
Ra Dec: 306.422 -7.595
Photon Index (Fixed Index): 2.19 +/- 0.00
Photon Flux (Fixed Index): 8.94e-08 +/- 5.29e-08
Energy Flux (Fixed Index): 3.47e-05 +/- 2.06e-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) = 10056.0281145
delta logL = 3.77441851937

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10055.9889946
delta logL = 3.81353836286

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.6679       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.5209       1.0000          .0000       5.0000    
     3 'Normalizat'    .92143       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0372       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=   10055.99     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      244 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.6678        6.5963        .81621E-02    .26194E-02
   2  alpha         3.5209        3.9716        .24939        .11434E-03
   3  Normalizat    .92129        .10366        .11231        .15273E-03
   4  Prefactor     1.0372        .33340E-01    .40727E-01    .62643E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.6678
  alpha      = 3.52094
  Normalizat = 0.921294
  Prefactor  = 1.03721
 **********
 **   18 **HESSE 
 **********

 FCN=   10055.99     FROM HESSE     STATUS=OK            33 CALLS      277 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.6678        1.2259        .42340E-04   -1.5450    
   2  alpha         3.5209        .56619        .10735E-01    .42067    
   3  Normalizat    .92129        .29412        .49792E-03   -.95716    
   4  Prefactor     1.0372        .94365E-01    .15568E-03   -.91499    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.32991e-10
Minuit parameter uncertainties:
  1  1.22592
  2  0.572162
  3  0.294633
  4  0.09438
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/931373': 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) = 10055.9889945
delta logL = 3.81353849281

Extracting fit parameters...

4FGL J2025.6-0735
   Spectrum: LogParabola
363         norm:  1.668e+00  1.226e+00  1.000e-04  1.000e+04 ( 1.000e-11)
364        alpha:  3.521e+00  5.722e-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.037e+00  9.438e-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:  9.213e-01  2.946e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 13.14
Ra Dec: 306.422 -7.595
Photon Index (Free Index): 3.52 +/- 0.57
Photon Flux (Free Index): 2.69e-07 +/- 1.01e-07
Energy Flux (Free Index): 4.62e-05 +/- 1.65e-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/931373/cmap_HighResolution_270950401_271209601_4FGL_J2025.6-0735_daily_bin122.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.94e-08', energy_flux2='4.62e-05', photon_flux_error='5.29e-08', dlogl='3.81e+00', energy_flux='3.47e-05', photon_flux2='2.69e-07', job_status='DONE', time_completed='2021-09-25 05:46:42.366215', photon_index_error2='0.57', photon_index2='3.52', ts='4.56', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', energy_flux_error2='1.65e-05', EG='1.13', time_epoch_completed='1632574002.37', return_code='0', job_id='931373', GAL2='1.04', EG2='0.92', return_code2='0', energy_flux_error='2.06e-05', photon_flux_error2='1.01e-07', ts2='13.14', photon_index='2.19' WHERE bin_id='122' AND source_name='4FGL J2025.6-0735' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 05:46:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0089>
Subject: Job 931373: <4FGL_J2025.6-0735_daily_bin122> in cluster <slac> Done

Job <4FGL_J2025.6-0735_daily_bin122> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Sep 25 05:31:30 2021
Job was executed on host(s) <bullet0089>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 05:31:32 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:32 2021
Terminated at Sat Sep 25 05:46:42 2021
Results reported at Sat Sep 25 05:46:42 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2025.6-0735_daily_bin122 306.422 -7.5945 270950401 271209601 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 :                                   890.40 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             343.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   910 sec.
    Turnaround time :                            912 sec.

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

