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


Performing analysis on: 4FGL_J1125.9+2005_daily_bin76
RA = 171.491, Dec = 20.0912
tmin = 259027201, tmax = 259286401
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='778539', job_status='RUN', time_executed='2021-09-03 20:19:02.520070', time_epoch_executed='1630725542.52' WHERE source_name='4FGL J1125.9+2005' and cadence='daily' and bin_id='76'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/778539

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/778539/ft1_4FGL_J1125.9+2005_daily_bin76.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/778539/ft2_4FGL_J1125.9+2005_daily_bin76.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/778539/ft1_4FGL_J1125.9+2005_daily_bin76.fits outfile=/scratch/kocevski/778539/ft1_filteredMKT_4FGL_J1125.9+2005_daily_bin76.fits ra=171.491 dec=20.0912 rad=12.0 tmin=259027201.0 tmax=259286401.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.79
user 1.28
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/778539/ft2_4FGL_J1125.9+2005_daily_bin76.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/778539/ft1_filteredMKT_4FGL_J1125.9+2005_daily_bin76.fits evtable="EVENTS" outfile="/scratch/kocevski/778539/ft1_filtered_4FGL_J1125.9+2005_daily_bin76.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.79
user 0.37
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/778539/ft1_filtered_4FGL_J1125.9+2005_daily_bin76.fits" evtable="EVENTS" scfile=/scratch/kocevski/778539/ft2_4FGL_J1125.9+2005_daily_bin76.fits sctable="SC_DATA" outfile=/scratch/kocevski/778539/ltcube_259027201_259286401_4FGL_J1125.9+2005_daily_bin76.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/778539/ft2_4FGL_J1125.9+2005_daily_bin76.fits
.....................!
real 18.58
user 17.83
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/778539/ft1_filtered_4FGL_J1125.9+2005_daily_bin76.fits evtable="EVENTS" scfile=/scratch/kocevski/778539/ft2_4FGL_J1125.9+2005_daily_bin76.fits sctable="SC_DATA" expcube=/scratch/kocevski/778539/ltcube_259027201_259286401_4FGL_J1125.9+2005_daily_bin76.fits outfile=/scratch/kocevski/778539/expmap_259027201_259286401_4FGL_J1125.9+2005_daily_bin76.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/778539/ltcube_259027201_259286401_4FGL_J1125.9+2005_daily_bin76.fits
.....................!
real 190.87
user 185.81
sys 4.62

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/778539/ft1_filtered_4FGL_J1125.9+2005_daily_bin76.fits scfile=/scratch/kocevski/778539/ft2_4FGL_J1125.9+2005_daily_bin76.fits outfile=/scratch/kocevski/778539/cmap_259027201_259286401_4FGL_J1125.9+2005_daily_bin76.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.57
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/778539/ft1_filtered_4FGL_J1125.9+2005_daily_bin76.fits scfile=/scratch/kocevski/778539/ft2_4FGL_J1125.9+2005_daily_bin76.fits outfile=/scratch/kocevski/778539/cmap_HighResolution_259027201_259286401_4FGL_J1125.9+2005_daily_bin76.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.59
user 0.42
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/778539/ft1_filtered_4FGL_J1125.9+2005_daily_bin76.fits', '/scratch/kocevski/778539/ft2_4FGL_J1125.9+2005_daily_bin76.fits', expMap='/scratch/kocevski/778539/expmap_259027201_259286401_4FGL_J1125.9+2005_daily_bin76.fits', expCube='/scratch/kocevski/778539/ltcube_259027201_259286401_4FGL_J1125.9+2005_daily_bin76.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/778539/Model_4FGL_J1125.9+2005_daily_bin76.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/778539/ft1_filtered_4FGL_J1125.9+2005_daily_bin76.fits
Spacecraft file(s): /scratch/kocevski/778539/ft2_4FGL_J1125.9+2005_daily_bin76.fits
Exposure map: /scratch/kocevski/778539/expmap_259027201_259286401_4FGL_J1125.9+2005_daily_bin76.fits
Exposure cube: /scratch/kocevski/778539/ltcube_259027201_259286401_4FGL_J1125.9+2005_daily_bin76.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/778539/Model_4FGL_J1125.9+2005_daily_bin76.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) = 4875.33209999

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .23706       1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.3996       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .39240E-02   1.0000         .10000E-03   10000.    
     5 'Prefactor '    12.088       1.0000         .10000E-03   10000.    
     6 'Prefactor '    15.571       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10440E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.5451       1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.0900       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .58197       1.0000         .10000E-03   10000.    
    13 'Prefactor '    6.0344       1.0000         .10000E-03   10000.    
    14 'Prefactor '    31.170       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10417E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .39660E-02   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    5.7311       1.0000         .10000E-03   10000.    
    20 'norm      '    4.8213       1.0000         .10000E-03   10000.    
    21 'Prefactor '    10.306       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .75274       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .59641       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.1626       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=   4875.322     FROM MIGRAD    STATUS=CONVERGED   1065 CALLS     3912 TOTAL
                     EDM=   .72E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .24399        149.26        .34631E-02    .18553E-03
   2  Prefactor     3.4012        2.7196        .93740E-04   -.18434E-03
   3  Prefactor     .10000E-03    10.423        .36285E-03** at limit **
   4  Prefactor     .10031E-03    21.214        .54860E-01** at limit **
   5  Prefactor     12.104        14.087        .11522E-03   -.21688E-03
   6  Prefactor     15.564        11.299        .10150E-03   -.69444E-05
   7  Prefactor     .10000E-03    12.533        .18142E-02** at limit **
   8  norm          1.5447        1.2898        .69175E-04   -.55221E-04
   9  Prefactor     3.0902        2.3642        .90151E-04   -.28374E-04
  10  Prefactor     .10000E-03    2.8971        .11548E-02** at limit **
  11  norm          .10000E-03    3.5677        .12860E-02** at limit **
  12  norm          .53504        43.386        .41297E-02   -.48112E-03
  13  Prefactor     6.0336        9.1245        .16345E-03    .16345E-04
  14  Prefactor     31.144        26.523        .71767E-04    .13718E-03
  15  Prefactor     .10000E-03    11.977        .18142E-02** at limit **
  16  Prefactor     .10104E-03    31.426        .70356E-01** at limit **
  17  Prefactor     .10000E-03    15.252        .18142E-02** at limit **
  18  Prefactor     .10000E-03    3.2967        .12363E-02** at limit **
  19  Prefactor     5.7308        2.4184        .66427E-04    .12596E-03
  20  norm          4.8210        1.8113        .55815E-04    .21652E-03
  21  Prefactor     10.290        18.316        .12481E-03   -.14045E-03
  22  Prefactor     .10000E-03    1.0898        .71021E-03** at limit **
  23  Prefactor     .75170        1.8747        .15276E-02    .23658E-03
  24  Normalizat    .59661        .21861        .27892E-03   -.15684E-03
  25  Prefactor     1.1626        .21733        .22429E-03    .10755E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.243989
  Prefactor  = 3.40124
  Prefactor  = 0.0001
  Prefactor  = 0.000100312
  Prefactor  = 12.1038
  Prefactor  = 15.5637
  Prefactor  = 0.0001
  norm       = 1.54474
  Prefactor  = 3.0902
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.535038
  Prefactor  = 6.03356
  Prefactor  = 31.1438
  Prefactor  = 0.0001
  Prefactor  = 0.000101036
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.73078
  norm       = 4.82104
  Prefactor  = 10.2898
  Prefactor  = 0.0001
  Prefactor  = 0.7517
  Normalizat = 0.596606
  Prefactor  = 1.1626
 **********
 **   18 **HESSE 
 **********

 FCN=   4875.322     FROM HESSE     STATUS=OK           427 CALLS     4339 TOTAL
                     EDM=   .76E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .24399        140.92        .13852E-03   -1.5609    
   2  Prefactor     3.4012        2.6875        .37496E-05   -1.5339    
   3  Prefactor     .10000E-03    10.424        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10031E-03    16.955        .61460E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     12.104        14.043        .46087E-05   -1.5012    
   6  Prefactor     15.564        11.298        .40600E-05   -1.4919    
   7  Prefactor     .10000E-03    12.535        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.5447        1.2891        .27670E-05   -1.5459    
   9  Prefactor     3.0902        2.3640        .36060E-05   -1.5356    
  10  Prefactor     .10000E-03    2.8975        .23095E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    3.5679        .25719E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .53504        43.456        .16519E-03   -1.5562    
  13  Prefactor     6.0336        9.1217        .65380E-05   -1.5217    
  14  Prefactor     31.144        26.391        .28707E-05   -1.4591    
  15  Prefactor     .10000E-03    11.978        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10104E-03    25.827        .79094E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    15.255        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    3.2969        .24726E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     5.7308        2.4176        .26571E-05   -1.5229    
  20  norm          4.8210        1.8112        .22326E-05   -1.5269    
  21  Prefactor     10.290        18.308        .49925E-05   -1.5066    
  22  Prefactor     .10000E-03    1.0898        .14204E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .75170        1.8722        .61103E-04   -1.5535    
  24  Normalizat    .59661        .21793        .11157E-04   -1.0813    
  25  Prefactor     1.1626        .21747        .44858E-04   -.87490    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.59783e-09
Minuit parameter uncertainties:
  1  11.7528
  2  2.68761
  3  0.000126092
  4  0.00460048
  5  14.047
  6  11.3
  7  2.29183e-05
  8  1.28917
  9  2.36411
  10  5.668e-06
  11  1.0926e-05
  12  9.65011
  13  9.12379
  14  26.4004
  15  2.9929e-05
  16  0.0103489
  17  9.82269e-05
  18  4.08623e-06
  19  2.41763
  20  1.81126
  21  18.3184
  22  1.81699e-06
  23  1.87233
  24  0.218247
  25  0.217634
Done.

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

Extracting fit parameters...

4FGL J1125.9+2005
   Spectrum: PowerLaw
314    Prefactor:  6.034e+00  9.124e+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:  1.163e+00  2.176e-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:  5.966e-01  2.182e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/778539/likelihoodResults_259027201_259286401_4FGL_J1125.9+2005_daily_bin76.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) = 4875.14954046
delta logL = 0.172559204308

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4875.14469271
delta logL = 0.177406952086

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.1158       1.0000         .10000E-03   10000.    
     2 'Index     '    2.8548       1.0000          .0000       10.000    
     3 'Normalizat'    .58108       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1722       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.

 FCN=   4875.145     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      249 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.1212        122.42        .57426E-02    .35410E-03
   2  Index         2.8561        6.4278        .12520        .10450E-03
   3  Normalizat    .58085        .60301E-01    .63855E-01    .23107E-04
   4  Prefactor     1.1724        .60567E-01    .50566E-01   -.70387E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.12122
  Index      = 2.85608
  Normalizat = 0.580852
  Prefactor  = 1.17236
 **********
 **   18 **HESSE 
 **********

 FCN=   4875.145     FROM HESSE     STATUS=OK            33 CALLS      282 TOTAL
                     EDM=   .21E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.1212        9.4857        .14081E-03   -1.5355    
   2  Index         2.8561        1.5147        .72298E-02   -.44315    
   3  Normalizat    .58085        .19885        .28255E-03   -1.0880    
   4  Prefactor     1.1724        .21536        .22354E-03   -.87186    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.07695e-08
Minuit parameter uncertainties:
  1  9.49029
  2  1.54463
  3  0.199099
  4  0.215525
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/778539': 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) = 4875.14468696
delta logL = 0.177412703013

Extracting fit parameters...

4FGL J1125.9+2005
   Spectrum: PowerLaw
314    Prefactor:  3.121e+00  9.490e+00  1.000e-04  1.000e+04 ( 1.000e-13)
315        Index:  2.856e+00  1.545e+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:  1.172e+00  2.155e-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:  5.809e-01  1.991e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.57
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/778539/cmap_HighResolution_259027201_259286401_4FGL_J1125.9+2005_daily_bin76.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.09e-03', job_status='DONE', photon_flux_upper_limit='7.97e-08', time_completed='2021-09-03 20:31:04.940662', job_id='778539', GAL2='1.17', fit_tolerance='1e-08', EG2='0.58', EG='0.60', time_epoch_completed='1630726264.94', return_code2='0', ts='0.57', comment='SUCCESS', return_code='0', GAL='1.16', dlogl='1.77e-01', ts2='0.94', photon_index_error='0.00', photon_index='2.24' WHERE bin_id='76' AND source_name='4FGL J1125.9+2005' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 20:31:04 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0046>
Subject: Job 778539: <4FGL_J1125.9+2005_daily_bin76> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1125.9+2005_daily_bin76 171.491 20.0912 259027201 259286401 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 :                                   718.12 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             276.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   870 sec.
    Turnaround time :                            881 sec.

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

