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


Performing analysis on: 4FGL_J1125.9+2005_daily_bin22
RA = 171.491, Dec = 20.0912
tmin = 245030401, tmax = 245289601
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='778454', job_status='RUN', time_executed='2021-09-03 20:20:19.598456', time_epoch_executed='1630725619.6' WHERE source_name='4FGL J1125.9+2005' and cadence='daily' and bin_id='22'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/778454

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/778454/ft1_4FGL_J1125.9+2005_daily_bin22.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/778454/ft2_4FGL_J1125.9+2005_daily_bin22.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/778454/ft1_4FGL_J1125.9+2005_daily_bin22.fits outfile=/scratch/kocevski/778454/ft1_filteredMKT_4FGL_J1125.9+2005_daily_bin22.fits ra=171.491 dec=20.0912 rad=12.0 tmin=245030401.0 tmax=245289601.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.50
user 1.29
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/778454/ft2_4FGL_J1125.9+2005_daily_bin22.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/778454/ft2_4FGL_J1125.9+2005_daily_bin22.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/778454/ft1_filteredMKT_4FGL_J1125.9+2005_daily_bin22.fits evtable="EVENTS" outfile="/scratch/kocevski/778454/ft1_filtered_4FGL_J1125.9+2005_daily_bin22.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.52
user 0.35
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/778454/ft1_filtered_4FGL_J1125.9+2005_daily_bin22.fits" evtable="EVENTS" scfile=/scratch/kocevski/778454/ft2_4FGL_J1125.9+2005_daily_bin22.fits sctable="SC_DATA" outfile=/scratch/kocevski/778454/ltcube_245030401_245289601_4FGL_J1125.9+2005_daily_bin22.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/778454/ft2_4FGL_J1125.9+2005_daily_bin22.fits
.....................!
real 19.44
user 18.99
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/778454/ft1_filtered_4FGL_J1125.9+2005_daily_bin22.fits evtable="EVENTS" scfile=/scratch/kocevski/778454/ft2_4FGL_J1125.9+2005_daily_bin22.fits sctable="SC_DATA" expcube=/scratch/kocevski/778454/ltcube_245030401_245289601_4FGL_J1125.9+2005_daily_bin22.fits outfile=/scratch/kocevski/778454/expmap_245030401_245289601_4FGL_J1125.9+2005_daily_bin22.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/778454/ltcube_245030401_245289601_4FGL_J1125.9+2005_daily_bin22.fits
.....................!
real 192.01
user 187.34
sys 4.23

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 192 point sources and 0 extended sources

Setting source of interest to:
4FGL J1125.9+2005 @ 171.491 20.0912

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/778454/ft1_filtered_4FGL_J1125.9+2005_daily_bin22.fits scfile=/scratch/kocevski/778454/ft2_4FGL_J1125.9+2005_daily_bin22.fits outfile=/scratch/kocevski/778454/cmap_245030401_245289601_4FGL_J1125.9+2005_daily_bin22.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.491 yref=20.0912 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.58
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/778454/ft1_filtered_4FGL_J1125.9+2005_daily_bin22.fits scfile=/scratch/kocevski/778454/ft2_4FGL_J1125.9+2005_daily_bin22.fits outfile=/scratch/kocevski/778454/cmap_HighResolution_245030401_245289601_4FGL_J1125.9+2005_daily_bin22.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.491 yref=20.0912 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.56
user 0.41
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/778454/ft1_filtered_4FGL_J1125.9+2005_daily_bin22.fits evtable="EVENTS" scfile=/scratch/kocevski/778454/ft2_4FGL_J1125.9+2005_daily_bin22.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/778454/Model_4FGL_J1125.9+2005_daily_bin22.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/778454/ft1_filtered_4FGL_J1125.9+2005_daily_bin22.fits.....................!
real 50.14
user 48.67
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/778454/ft1_filtered_4FGL_J1125.9+2005_daily_bin22.fits', '/scratch/kocevski/778454/ft2_4FGL_J1125.9+2005_daily_bin22.fits', expMap='/scratch/kocevski/778454/expmap_245030401_245289601_4FGL_J1125.9+2005_daily_bin22.fits', expCube='/scratch/kocevski/778454/ltcube_245030401_245289601_4FGL_J1125.9+2005_daily_bin22.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/778454/Model_4FGL_J1125.9+2005_daily_bin22.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1125.9+2005'

4FGL J1125.9+2005
   Spectrum: PowerLaw
314    Prefactor:  2.572e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
315        Index:  2.242e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  1.355e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/778454/ft1_filtered_4FGL_J1125.9+2005_daily_bin22.fits
Spacecraft file(s): /scratch/kocevski/778454/ft2_4FGL_J1125.9+2005_daily_bin22.fits
Exposure map: /scratch/kocevski/778454/expmap_245030401_245289601_4FGL_J1125.9+2005_daily_bin22.fits
Exposure cube: /scratch/kocevski/778454/ltcube_245030401_245289601_4FGL_J1125.9+2005_daily_bin22.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/778454/Model_4FGL_J1125.9+2005_daily_bin22.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) = 4888.19937718

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.7000       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10139E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    26.427       1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.3351       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .12040E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.5869       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .15748E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    7.0681       1.0000         .10000E-03   10000.    
    11 'norm      '    16.745       1.0000         .10000E-03   10000.    
    12 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.3806       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .38073E-02   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.6815       1.0000         .10000E-03   10000.    
    20 'norm      '    .67884       1.0000         .10000E-03   10000.    
    21 'Prefactor '    15.181       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    2.4729       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .97489       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .92959       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6030E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4888.132     FROM MIGRAD    STATUS=CONVERGED    594 CALLS     2546 TOTAL
                     EDM=   .42E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8.7837         .0000    ** at limit **
   2  Prefactor     2.6995        2.5350         .0000        .44739E-03
   3  Prefactor     .10000E-03    1.6652         .0000    ** at limit **
   4  Prefactor     .10000E-03    7.9193         .0000    ** at limit **
   5  Prefactor     26.434        13.542         .0000        .11812E-02
   6  Prefactor     6.3327        16.208         .0000        .13598E-02
   7  Prefactor     .10000E-03    30.497         .0000    ** at limit **
   8  norm          1.5867        1.4018         .0000        .74260E-03
   9  Prefactor     .10000E-03    2.1353         .0000    ** at limit **
  10  Prefactor     7.0653        9.6685         .0000        .38241E-03
  11  norm          16.743        11.836         .0000        .10772E-03
  12  norm          .10000E-03    5.1148         .0000    ** at limit **
  13  Prefactor     1.3831        13.581         .0000        .12311E-01
  14  Prefactor     .10001E-03    13.419         .0000    ** at limit **
  15  Prefactor     .10001E-03    13.363         .0000    ** at limit **
  16  Prefactor     .10001E-03    11.243         .0000    ** at limit **
  17  Prefactor     .10001E-03    13.210         .0000    ** at limit **
  18  Prefactor     .10003E-03    14.103         .0000    ** at limit **
  19  Prefactor     4.6811        2.1477         .0000        .12540E-04
  20  norm          .67902        1.4088         .0000        .98605E-03
  21  Prefactor     15.179        18.056         .0000       -.16809E-03
  22  Prefactor     .10000E-03    1.8893         .0000    ** at limit **
  23  Prefactor     2.4728        2.0639         .0000        .12699E-03
  24  Normalizat    .97507        .19143         .0000        .80994E-04
  25  Prefactor     .92948        .19842         .0000        .91768E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Prefactor  = 2.69954
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 26.4341
  Prefactor  = 6.33269
  Prefactor  = 0.0001
  norm       = 1.58671
  Prefactor  = 0.0001
  Prefactor  = 7.0653
  norm       = 16.7434
  norm       = 0.0001
  Prefactor  = 1.38305
  Prefactor  = 0.000100008
  Prefactor  = 0.000100013
  Prefactor  = 0.00010001
  Prefactor  = 0.000100015
  Prefactor  = 0.000100028
  Prefactor  = 4.68112
  norm       = 0.679025
  Prefactor  = 15.1788
  Prefactor  = 0.0001
  Prefactor  = 2.47279
  Normalizat = 0.975067
  Prefactor  = 0.929478
 **********
 **   18 **HESSE 
 **********

 FCN=   4888.132     FROM HESSE     STATUS=OK           431 CALLS     2977 TOTAL
                     EDM=   .62E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    8.9092        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.6995        2.5225        .10334E-03   -1.5379    
   3  Prefactor     .10000E-03    1.6715        .88103E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    7.9973        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     26.434        13.515        .77927E-04   -1.4679    
   6  Prefactor     6.3327        15.556        .79737E-03   -1.5205    
   7  Prefactor     .10000E-03    31.152        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.5867        1.3855        .74192E-04   -1.5456    
   9  Prefactor     .10000E-03    3.4447        .18820E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     7.0653        9.5778        .15089E-03   -1.5176    
  11  norm          16.743        11.823        .97877E-04   -1.4889    
  12  norm          .10000E-03    5.1473        .15441E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.3831        13.329        .18522E-02   -1.5473    
  14  Prefactor     .10001E-03    98.991        .49186E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10001E-03    13.373        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10001E-03    11.335        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10001E-03    13.293        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10003E-03    14.485        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     4.6811        2.1473        .66542E-04   -1.5275    
  20  norm          .67902        1.2551        .11494E-02   -1.5543    
  21  Prefactor     15.179        18.047        .10280E-03   -1.4929    
  22  Prefactor     .10000E-03    1.9205        .93784E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     2.4728        2.0586        .89007E-04   -1.5393    
  24  Normalizat    .97507        .22171        .23482E-03   -.93870    
  25  Prefactor     .92948        .23128        .25776E-03   -.95119    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.23353e-09
Minuit parameter uncertainties:
  1  0.000197316
  2  2.52261
  3  4.601e-06
  4  2.72292e-06
  5  13.5162
  6  15.5663
  7  0.000102907
  8  1.38556
  9  4.27181e-06
  10  9.5799
  11  11.8249
  12  8.0847e-06
  13  8.5892
  14  0.00180095
  15  0.000819943
  16  0.000685267
  17  0.000879095
  18  0.00127
  19  2.14729
  20  1.25512
  21  18.0535
  22  3.12992e-06
  23  2.05864
  24  0.22192
  25  0.231521
Done.

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

Extracting fit parameters...

4FGL J1125.9+2005
   Spectrum: PowerLaw
314    Prefactor:  1.383e+00  8.589e+00  1.000e-04  1.000e+04 ( 1.000e-13)
315        Index:  2.242e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  1.355e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
600    Prefactor:  9.295e-01  2.315e-01  0.000e+00  1.000e+01 ( 1.000e+00)
601        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
602        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
599   Normalization:  9.751e-01  2.219e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.03
Ra Dec: 171.491 20.091
Photon Flux Upper Limit: 7.58e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.79e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/778454/likelihoodResults_245030401_245289601_4FGL_J1125.9+2005_daily_bin22.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) = 4888.10592585
delta logL = 0.025969866032

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4888.10554216
delta logL = 0.0263535567192

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.2675       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7343       1.0000          .0000       10.000    
     3 'Normalizat'    .96898       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93258       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6030E+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=   4888.106     FROM MIGRAD    STATUS=CONVERGED     78 CALLS      237 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.2666        11.257        .27812E-03   -.73076E-03
   2  Index         2.7345        2.5370        .13886E-01   -.14978E-03
   3  Normalizat    .96903        .21590        .23548E-03   -.55358E-03
   4  Prefactor     .93256        .23038        .25738E-03   -.41985E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.2666
  Index      = 2.7345
  Normalizat = 0.969029
  Prefactor  = 0.932559
 **********
 **   18 **HESSE 
 **********

 FCN=   4888.106     FROM HESSE     STATUS=OK            23 CALLS      260 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.2666        7.2313        .11125E-04   -1.5483    
   2  Index         2.7345        2.0780        .55546E-03   -.47024    
   3  Normalizat    .96903        .21598        .47095E-04   -.94075    
   4  Prefactor     .93256        .23035        .51475E-04   -.95013    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.48692e-09
Minuit parameter uncertainties:
  1  6.05368
  2  2.16174
  3  0.216178
  4  0.230592
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/778454': 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) = 4888.10554211
delta logL = 0.0263536062985

Extracting fit parameters...

4FGL J1125.9+2005
   Spectrum: PowerLaw
314    Prefactor:  1.267e+00  6.054e+00  1.000e-04  1.000e+04 ( 1.000e-13)
315        Index:  2.735e+00  2.162e+00  0.000e+00  1.000e+01 (-1.000e+00)
316        Scale:  1.355e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
600    Prefactor:  9.326e-01  2.306e-01  0.000e+00  1.000e+01 ( 1.000e+00)
601        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
602        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
599   Normalization:  9.690e-01  2.162e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.03
Ra Dec: 171.491 20.091

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/778454/cmap_HighResolution_245030401_245289601_4FGL_J1125.9+2005_daily_bin22.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.79e-03', job_status='DONE', photon_flux_upper_limit='7.58e-08', time_completed='2021-09-03 20:31:02.269438', job_id='778454', GAL2='0.93', fit_tolerance='1e-08', EG2='0.97', EG='0.98', time_epoch_completed='1630726262.27', return_code2='0', ts='0.03', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='2.64e-02', ts2='0.09', photon_index_error='0.00', photon_index='2.24' WHERE bin_id='22' AND source_name='4FGL J1125.9+2005' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 20:31:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0206>
Subject: Job 778454: <4FGL_J1125.9+2005_daily_bin22> in cluster <slac> Done

Job <4FGL_J1125.9+2005_daily_bin22> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Fri Sep  3 20:16:19 2021
Job was executed on host(s) <bullet0206>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 20:16:27 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:16:27 2021
Terminated at Fri Sep  3 20:31:03 2021
Results reported at Fri Sep  3 20:31:03 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1125.9+2005_daily_bin22 171.491 20.0912 245030401 245289601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1125.9+2005 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   639.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             233.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   875 sec.
    Turnaround time :                            884 sec.

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

