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


Performing analysis on: 4FGL_J1125.5-3557_daily_bin681
RA = 171.393, Dec = -35.9581
tmin = 415843201, tmax = 416102401
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='773627', job_status='RUN', time_executed='2021-09-03 20:03:51.541195', time_epoch_executed='1630724631.54' WHERE source_name='4FGL J1125.5-3557' and cadence='daily' and bin_id='681'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/773627

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/773627/ft1_4FGL_J1125.5-3557_daily_bin681.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/773627/ft2_4FGL_J1125.5-3557_daily_bin681.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/773627/ft1_4FGL_J1125.5-3557_daily_bin681.fits outfile=/scratch/kocevski/773627/ft1_filteredMKT_4FGL_J1125.5-3557_daily_bin681.fits ra=171.393 dec=-35.9581 rad=12.0 tmin=415843201.0 tmax=416102401.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 5.95
user 5.65
sys 0.26

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/773627/ft2_4FGL_J1125.5-3557_daily_bin681.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/773627/ft2_4FGL_J1125.5-3557_daily_bin681.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/773627/ft1_filteredMKT_4FGL_J1125.5-3557_daily_bin681.fits evtable="EVENTS" outfile="/scratch/kocevski/773627/ft1_filtered_4FGL_J1125.5-3557_daily_bin681.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.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/773627/ft1_filtered_4FGL_J1125.5-3557_daily_bin681.fits" evtable="EVENTS" scfile=/scratch/kocevski/773627/ft2_4FGL_J1125.5-3557_daily_bin681.fits sctable="SC_DATA" outfile=/scratch/kocevski/773627/ltcube_415843201_416102401_4FGL_J1125.5-3557_daily_bin681.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/773627/ft2_4FGL_J1125.5-3557_daily_bin681.fits
.....................!
real 17.54
user 17.15
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/773627/ft1_filtered_4FGL_J1125.5-3557_daily_bin681.fits evtable="EVENTS" scfile=/scratch/kocevski/773627/ft2_4FGL_J1125.5-3557_daily_bin681.fits sctable="SC_DATA" expcube=/scratch/kocevski/773627/ltcube_415843201_416102401_4FGL_J1125.5-3557_daily_bin681.fits outfile=/scratch/kocevski/773627/expmap_415843201_416102401_4FGL_J1125.5-3557_daily_bin681.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/773627/ltcube_415843201_416102401_4FGL_J1125.5-3557_daily_bin681.fits
.....................!
real 194.25
user 188.41
sys 4.87

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
Extended source G296.5+10.0 in ROI with RadialDisk spatial model.
Added 188 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1125.5-3557 @ 171.393 -35.9581

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/773627/ft1_filtered_4FGL_J1125.5-3557_daily_bin681.fits scfile=/scratch/kocevski/773627/ft2_4FGL_J1125.5-3557_daily_bin681.fits outfile=/scratch/kocevski/773627/cmap_415843201_416102401_4FGL_J1125.5-3557_daily_bin681.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=171.393 yref=-35.9581 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

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/773627/ft1_filtered_4FGL_J1125.5-3557_daily_bin681.fits scfile=/scratch/kocevski/773627/ft2_4FGL_J1125.5-3557_daily_bin681.fits outfile=/scratch/kocevski/773627/cmap_HighResolution_415843201_416102401_4FGL_J1125.5-3557_daily_bin681.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=171.393 yref=-35.9581 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.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/773627/ft1_filtered_4FGL_J1125.5-3557_daily_bin681.fits evtable="EVENTS" scfile=/scratch/kocevski/773627/ft2_4FGL_J1125.5-3557_daily_bin681.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/773627/Model_4FGL_J1125.5-3557_daily_bin681.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 G296.5+10.0
adding source GAL_V02
Working on...
/scratch/kocevski/773627/ft1_filtered_4FGL_J1125.5-3557_daily_bin681.fits.....................!
real 49.44
user 47.98
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/773627/ft1_filtered_4FGL_J1125.5-3557_daily_bin681.fits', '/scratch/kocevski/773627/ft2_4FGL_J1125.5-3557_daily_bin681.fits', expMap='/scratch/kocevski/773627/expmap_415843201_416102401_4FGL_J1125.5-3557_daily_bin681.fits', expCube='/scratch/kocevski/773627/ltcube_415843201_416102401_4FGL_J1125.5-3557_daily_bin681.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/773627/Model_4FGL_J1125.5-3557_daily_bin681.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1125.5-3557'

4FGL J1125.5-3557
   Spectrum: PowerLaw
322    Prefactor:  7.579e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
323        Index:  2.010e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
324        Scale:  2.641e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/773627/ft1_filtered_4FGL_J1125.5-3557_daily_bin681.fits
Spacecraft file(s): /scratch/kocevski/773627/ft2_4FGL_J1125.5-3557_daily_bin681.fits
Exposure map: /scratch/kocevski/773627/expmap_415843201_416102401_4FGL_J1125.5-3557_daily_bin681.fits
Exposure cube: /scratch/kocevski/773627/ltcube_415843201_416102401_4FGL_J1125.5-3557_daily_bin681.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/773627/Model_4FGL_J1125.5-3557_daily_bin681.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) = 4262.16817721

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.874       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10069E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    10.942       1.0000         .10000E-03   10000.    
     4 'Prefactor '    16.586       1.0000         .10000E-03   10000.    
     5 'norm      '    5.2332       1.0000         .10000E-03   10000.    
     6 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    30.138       1.0000         .10000E-03   10000.    
     9 'Prefactor '    44.417       1.0000         .10000E-03   10000.    
    10 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    14.013       1.0000         .10000E-03   10000.    
    12 'norm      '    .10157E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    16.061       1.0000         .10000E-03   10000.    
    18 'Normalizat'    .90415       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .93755       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6310E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4262.164     FROM MIGRAD    STATUS=CONVERGED    373 CALLS     1855 TOTAL
                     EDM=   .26E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.869        30.051       -.71374E-05   -.82202E-05
   2  Prefactor     .10000E-03    2.4955        .10564E-07** at limit **
   3  Prefactor     10.944        11.574        .27056E-06   -.67259E-05
   4  Prefactor     16.588        17.168       -.97373E-06   -.52979E-03
   5  norm          5.2334        3.4595       -.10144E-06   -.10403E-03
   6  norm          .10000E-03    14.549       -.43494E-05** at limit **
   7  Prefactor     .10000E-03    21.762       -.51429E-05** at limit **
   8  Prefactor     30.141        21.221        .44109E-06    .10477E-04
   9  Prefactor     44.412        73.620       -.64210E-05   -.51503E-05
  10  norm          .10000E-03    49.332       -.23947E-05** at limit **
  11  Prefactor     14.007        18.279       -.91006E-06   -.69695E-04
  12  norm          .10000E-03    27.026        .64094E-05** at limit **
  13  Prefactor     .10000E-03    3.3796        .10655E-07** at limit **
  14  Prefactor     .10000E-03    9.6429        .26285E-06** at limit **
  15  Prefactor     .10000E-03    15.889        .73835E-05** at limit **
  16  norm          .10000E-03    20.445       -.29032E-05** at limit **
  17  Prefactor     16.059        23.742       -.20118E-05   -.38321E-04
  18  Normalizat    .90402        .31404        .14634E-05   -.50226E-04
  19  Prefactor     .93758        .12597        .38993E-06   -.82283E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.8688
  Prefactor  = 0.0001
  Prefactor  = 10.944
  Prefactor  = 16.5875
  norm       = 5.23339
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 30.1406
  Prefactor  = 44.4117
  norm       = 0.0001
  Prefactor  = 14.0068
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 16.0588
  Normalizat = 0.904018
  Prefactor  = 0.937583
 **********
 **   18 **HESSE 
 **********

 FCN=   4262.164     FROM HESSE     STATUS=OK           266 CALLS     2121 TOTAL
                     EDM=   .53E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.869        30.021        .11625E-03   -1.5019    
   2  Prefactor     .10000E-03    2.5006        .10066E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     10.944        11.582        .12112E-03   -1.5046    
   4  Prefactor     16.588        17.565        .49171E-03   -1.4893    
   5  norm          5.2334        3.4684        .94353E-04   -1.5250    
   6  norm          .10000E-03    14.519        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    21.715        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     30.141        21.285        .72982E-04   -1.4609    
   9  Prefactor     44.412        73.334        .60156E-04   -1.4374    
  10  norm          .10000E-03    49.459        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     14.007        18.296        .10700E-03   -1.4959    
  12  norm          .10000E-03    27.767        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    3.3963        .11720E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    9.6483        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    15.750        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    20.475        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     16.059        23.811        .99938E-04   -1.4906    
  18  Normalizat    .90402        .36835        .39282E-03   -.96319    
  19  Prefactor     .93758        .14946        .15868E-03   -.94840    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.27104e-10
Minuit parameter uncertainties:
  1  30.0592
  2  1.22709e-05
  3  11.5843
  4  17.5703
  5  3.46854
  6  2.60151e-06
  7  7.88355e-06
  8  21.2907
  9  73.4836
  10  1.37305e-05
  11  18.3033
  12  0.000113408
  13  4.12056e-06
  14  4.00779e-06
  15  2.75529e-06
  16  5.5839e-06
  17  23.8248
  18  0.369379
  19  0.149526
Done.

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

Extracting fit parameters...

4FGL J1125.5-3557
   Spectrum: PowerLaw
322    Prefactor:  4.441e+01  7.348e+01  1.000e-04  1.000e+04 ( 1.000e-14)
323        Index:  2.010e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
324        Scale:  2.641e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
628    Prefactor:  9.376e-01  1.495e-01  0.000e+00  1.000e+01 ( 1.000e+00)
629        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
630        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
624   Normalization:  9.040e-01  3.694e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.46
Ra Dec: 171.393 -35.958
Photon Flux Upper Limit: 1.60e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.20e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/773627/likelihoodResults_415843201_416102401_4FGL_J1125.5-3557_daily_bin681.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) = 4262.14323287
delta logL = 0.0204967823665

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4262.13469338
delta logL = 0.0290362671221

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    34.577       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2164       1.0000          .0000       10.000    
     3 'Normalizat'    .89730       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93860       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6310E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4262.135     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      242 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     34.577        2152.3        .17037E-02    .24095E-04
   2  Index         2.2158        6.0236        .13526        .69925E-04
   3  Normalizat    .89665        .12140        .89024E-01   -.17466E-04
   4  Prefactor     .93888        .42439E-01    .45495E-01   -.44223E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 34.577
  Index      = 2.21581
  Normalizat = 0.896653
  Prefactor  = 0.938883
 **********
 **   18 **HESSE 
 **********

 FCN=   4262.135     FROM HESSE     STATUS=OK            33 CALLS      275 TOTAL
                     EDM=   .50E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     34.577        81.197        .68150E-04   -1.4531    
   2  Index         2.2158        .97265        .72699E-02   -.59057    
   3  Normalizat    .89665        .35525        .39426E-03   -.96578    
   4  Prefactor     .93888        .14688        .15856E-03   -.94795    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.01957e-09
Minuit parameter uncertainties:
  1  81.4584
  2  0.981763
  3  0.356179
  4  0.146941
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/773627': 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) = 4262.13469097
delta logL = 0.0290386782572

Extracting fit parameters...

4FGL J1125.5-3557
   Spectrum: PowerLaw
322    Prefactor:  3.458e+01  8.146e+01  1.000e-04  1.000e+04 ( 1.000e-14)
323        Index:  2.216e+00  9.818e-01  0.000e+00  1.000e+01 (-1.000e+00)
324        Scale:  2.641e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
628    Prefactor:  9.389e-01  1.469e-01  0.000e+00  1.000e+01 ( 1.000e+00)
629        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
630        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
624   Normalization:  8.967e-01  3.562e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.46
Ra Dec: 171.393 -35.958

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/773627/cmap_HighResolution_415843201_416102401_4FGL_J1125.5-3557_daily_bin681.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.20e-02', job_status='DONE', photon_flux_upper_limit='1.60e-07', time_completed='2021-09-03 20:12:56.719521', job_id='773627', GAL2='0.94', fit_tolerance='1e-08', EG2='0.90', EG='0.90', time_epoch_completed='1630725176.72', return_code2='0', ts='0.46', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='2.90e-02', ts2='0.52', photon_index_error='0.00', photon_index='2.01' WHERE bin_id='681' AND source_name='4FGL J1125.5-3557' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 20:12:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0090>
Subject: Job 773627: <4FGL_J1125.5-3557_daily_bin681> in cluster <slac> Done

Job <4FGL_J1125.5-3557_daily_bin681> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Fri Sep  3 20:01:35 2021
Job was executed on host(s) <bullet0090>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 20:01:58 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep  3 20:01:58 2021
Terminated at Fri Sep  3 20:12:57 2021
Results reported at Fri Sep  3 20:12:57 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1125.5-3557_daily_bin681 171.393 -35.9581 415843201 416102401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1125.5-3557 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   542.11 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             291.78 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   659 sec.
    Turnaround time :                            682 sec.

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

