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


Performing analysis on: 4FGL_J1001.1+2911_daily_bin840
RA = 150.294, Dec = 29.188
tmin = 457056001, tmax = 457315201
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='659413', job_status='RUN', time_executed='2021-09-01 10:04:20.315537', time_epoch_executed='1630515860.32' WHERE source_name='4FGL J1001.1+2911' and cadence='daily' and bin_id='840'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/659413

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/659413/ft1_4FGL_J1001.1+2911_daily_bin840.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/659413/ft2_4FGL_J1001.1+2911_daily_bin840.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/659413/ft1_4FGL_J1001.1+2911_daily_bin840.fits outfile=/scratch/kocevski/659413/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin840.fits ra=150.294 dec=29.188 rad=12.0 tmin=457056001.0 tmax=457315201.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 4.44
user 4.17
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/659413/ft2_4FGL_J1001.1+2911_daily_bin840.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/659413/ft2_4FGL_J1001.1+2911_daily_bin840.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/659413/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin840.fits evtable="EVENTS" outfile="/scratch/kocevski/659413/ft1_filtered_4FGL_J1001.1+2911_daily_bin840.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.50
user 0.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/659413/ft1_filtered_4FGL_J1001.1+2911_daily_bin840.fits" evtable="EVENTS" scfile=/scratch/kocevski/659413/ft2_4FGL_J1001.1+2911_daily_bin840.fits sctable="SC_DATA" outfile=/scratch/kocevski/659413/ltcube_457056001_457315201_4FGL_J1001.1+2911_daily_bin840.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/659413/ft2_4FGL_J1001.1+2911_daily_bin840.fits
.....................!
real 12.62
user 12.22
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/659413/ft1_filtered_4FGL_J1001.1+2911_daily_bin840.fits evtable="EVENTS" scfile=/scratch/kocevski/659413/ft2_4FGL_J1001.1+2911_daily_bin840.fits sctable="SC_DATA" expcube=/scratch/kocevski/659413/ltcube_457056001_457315201_4FGL_J1001.1+2911_daily_bin840.fits outfile=/scratch/kocevski/659413/expmap_457056001_457315201_4FGL_J1001.1+2911_daily_bin840.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/659413/ltcube_457056001_457315201_4FGL_J1001.1+2911_daily_bin840.fits
.....................!
real 189.10
user 183.82
sys 4.17

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

Setting source of interest to:
4FGL J1001.1+2911 @ 150.294 29.188

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/659413/ft1_filtered_4FGL_J1001.1+2911_daily_bin840.fits scfile=/scratch/kocevski/659413/ft2_4FGL_J1001.1+2911_daily_bin840.fits outfile=/scratch/kocevski/659413/cmap_457056001_457315201_4FGL_J1001.1+2911_daily_bin840.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=150.294 yref=29.188 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.68
user 0.38
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/659413/ft1_filtered_4FGL_J1001.1+2911_daily_bin840.fits scfile=/scratch/kocevski/659413/ft2_4FGL_J1001.1+2911_daily_bin840.fits outfile=/scratch/kocevski/659413/cmap_HighResolution_457056001_457315201_4FGL_J1001.1+2911_daily_bin840.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=150.294 yref=29.188 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.40
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/659413/ft1_filtered_4FGL_J1001.1+2911_daily_bin840.fits evtable="EVENTS" scfile=/scratch/kocevski/659413/ft2_4FGL_J1001.1+2911_daily_bin840.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/659413/Model_4FGL_J1001.1+2911_daily_bin840.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/659413/ft1_filtered_4FGL_J1001.1+2911_daily_bin840.fits.....................!
real 43.56
user 41.99
sys 1.11

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/659413/ft1_filtered_4FGL_J1001.1+2911_daily_bin840.fits', '/scratch/kocevski/659413/ft2_4FGL_J1001.1+2911_daily_bin840.fits', expMap='/scratch/kocevski/659413/expmap_457056001_457315201_4FGL_J1001.1+2911_daily_bin840.fits', expCube='/scratch/kocevski/659413/ltcube_457056001_457315201_4FGL_J1001.1+2911_daily_bin840.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/659413/Model_4FGL_J1001.1+2911_daily_bin840.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1001.1+2911'

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.010e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  2.269e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
261        Scale:  9.601e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/659413/ft1_filtered_4FGL_J1001.1+2911_daily_bin840.fits
Spacecraft file(s): /scratch/kocevski/659413/ft2_4FGL_J1001.1+2911_daily_bin840.fits
Exposure map: /scratch/kocevski/659413/expmap_457056001_457315201_4FGL_J1001.1+2911_daily_bin840.fits
Exposure cube: /scratch/kocevski/659413/ltcube_457056001_457315201_4FGL_J1001.1+2911_daily_bin840.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/659413/Model_4FGL_J1001.1+2911_daily_bin840.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) = 4873.3602232

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.141       1.0000         .10000E-03   10000.    
     2 'norm      '    1.8534       1.0000         .10000E-03   10000.    
     3 'Prefactor '    22.673       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.5067       1.0000         .10000E-03   10000.    
     5 'Prefactor '    32.837       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    46.674       1.0000         .10000E-03   10000.    
     8 'Prefactor '    69.071       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .36789       1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.0846       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .45540       1.0000         .10000E-03   10000.    
    12 'norm      '    10.680       1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.8615       1.0000         .10000E-03   10000.    
    14 'Prefactor '    20.514       1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.0920       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    18.244       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10228E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    5.1475       1.0000         .10000E-03   10000.    
    20 'Prefactor '    6.8081       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    1.3204       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .75378       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .94294       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5450E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4873.355     FROM MIGRAD    STATUS=CONVERGED    533 CALLS     2734 TOTAL
                     EDM=   .18E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.141        4.5368       -.44573E-07    .16188E-04
   2  norm          1.8534        1.2947        .41628E-08   -.18348E-04
   3  Prefactor     22.673        27.332       -.28859E-07    .50851E-05
   4  Prefactor     1.5062        2.3615       -.85210E-07   -.11866E-03
   5  Prefactor     32.818        29.998        .29314E-05    .29911E-04
   6  Prefactor     .10000E-03    30.909        .27479E-08** at limit **
   7  Prefactor     46.666        43.933        .78291E-06   -.15537E-04
   8  Prefactor     69.066        50.074        .76406E-06    .44074E-05
   9  Prefactor     .39194        3.7236       -.22390E-06   -.55929E-04
  10  Prefactor     5.0847        7.3839       -.12464E-07    .25563E-05
  11  Prefactor     .45500        1.7996        .23514E-06   -.53520E-04
  12  norm          10.679        7.5940        .39152E-06    .10057E-03
  13  Prefactor     1.8603        3.3991        .32980E-06    .11569E-03
  14  Prefactor     20.514        37.509        .22348E-06    .47504E-05
  15  Prefactor     3.0915        5.5762       -.48320E-06   -.74715E-04
  16  norm          .10000E-03    17.901       -.35367E-07** at limit **
  17  Prefactor     18.222        45.610        .41226E-05   -.37359E-04
  18  Prefactor     .10000E-03    16.865        .52855E-06** at limit **
  19  Prefactor     5.1462        4.8847        .12487E-06   -.41361E-04
  20  Prefactor     6.8076        7.3456       -.11917E-07    .10795E-04
  21  Prefactor     .10000E-03    1.0201        .11360E-06** at limit **
  22  Prefactor     1.3213        57.220        .23177E-04   -.21620E-05
  23  Normalizat    .75399        .17522        .12563E-05    .27870E-03
  24  Prefactor     .94267        .18462       -.24096E-05    .13243E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.1407
  norm       = 1.85341
  Prefactor  = 22.6734
  Prefactor  = 1.50623
  Prefactor  = 32.8181
  Prefactor  = 0.0001
  Prefactor  = 46.6665
  Prefactor  = 69.0656
  Prefactor  = 0.39194
  Prefactor  = 5.08465
  Prefactor  = 0.454998
  norm       = 10.6788
  Prefactor  = 1.86032
  Prefactor  = 20.5137
  Prefactor  = 3.09147
  norm       = 0.0001
  Prefactor  = 18.2215
  Prefactor  = 0.0001
  Prefactor  = 5.1462
  Prefactor  = 6.8076
  Prefactor  = 0.0001
  Prefactor  = 1.32126
  Normalizat = 0.753993
  Prefactor  = 0.942674
 **********
 **   18 **HESSE 
 **********

 FCN=   4873.355     FROM HESSE     STATUS=OK           409 CALLS     3143 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.141        4.5392        .96758E-04   -1.5071    
   2  norm          1.8534        1.3000        .64625E-04   -1.5436    
   3  Prefactor     22.673        27.335        .84122E-04   -1.4755    
   4  Prefactor     1.5062        2.3310        .12894E-03   -1.5463    
   5  Prefactor     32.818        30.149        .69927E-04   -1.4562    
   6  Prefactor     .10000E-03    30.925        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     46.666        44.017        .58690E-04   -1.4341    
   8  Prefactor     69.066        50.072        .48298E-04   -1.4044    
   9  Prefactor     .39194        23.011        .24538E-02   -1.5583    
  10  Prefactor     5.0847        7.3738        .17831E-03   -1.5257    
  11  Prefactor     .45500        1.8107        .17526E-03   -1.5573    
  12  norm          10.679        7.5944        .12260E-03   -1.5054    
  13  Prefactor     1.8603        3.2835        .14420E-03   -1.5435    
  14  Prefactor     20.514        37.517        .88432E-04   -1.4802    
  15  Prefactor     3.0915        5.4349        .17721E-03   -1.5356    
  16  norm          .10000E-03    18.340        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     18.222        45.470        .93769E-04   -1.4854    
  18  Prefactor     .10000E-03    16.866        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     5.1462        4.8727        .14199E-03   -1.5254    
  20  Prefactor     6.8076        7.3514        .15377E-03   -1.5186    
  21  Prefactor     .10000E-03    1.0381        .68777E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     1.3213        57.699        .19147E-02   -1.5478    
  23  Normalizat    .75399        .20515        .22966E-03   -1.0180    
  24  Prefactor     .94267        .21432        .23673E-03   -.94665    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.09827e-08
Minuit parameter uncertainties:
  1  4.53936
  2  1.30006
  3  27.3504
  4  2.33115
  5  30.1634
  6  8.64835e-06
  7  44.0473
  8  50.1026
  9  6.00799
  10  7.37516
  11  1.81096
  12  7.59504
  13  3.28379
  14  37.5604
  15  5.43578
  16  0.000145436
  17  45.5568
  18  4.21138e-05
  19  4.87304
  20  7.35238
  21  5.59266e-06
  22  17.48
  23  0.205361
  24  0.214511
Done.

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

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  4.550e-01  1.811e+00  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  2.269e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
261        Scale:  9.601e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
542    Prefactor:  9.427e-01  2.145e-01  0.000e+00  1.000e+01 ( 1.000e+00)
543        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
544        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
541   Normalization:  7.540e-01  2.054e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.07
Ra Dec: 150.294 29.188
Photon Flux Upper Limit: 6.86e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.25e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/659413/likelihoodResults_457056001_457315201_4FGL_J1001.1+2911_daily_bin840.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) = 4873.3497414
delta logL = 0.00521274246967

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4873.34929878
delta logL = 0.00565536743852

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4873.349     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      210 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .40585        26.475        .10871E-01    .14525E-02
   2  Index         2.4431        2.6463        .38052        .13651E-04
   3  Normalizat    .75268        .18354E-01    .42990E-01    .10367E-04
   4  Prefactor     .94355        .21086E-01    .45558E-01    .69278E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.405845
  Index      = 2.44309
  Normalizat = 0.752678
  Prefactor  = 0.943554
 **********
 **   18 **HESSE 
 **********

 FCN=   4873.349     FROM HESSE     STATUS=OK            33 CALLS      243 TOTAL
                     EDM=   .62E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .40585        2.0455        .15444E-03   -1.5581    
   2  Index         2.4431        1.7762        .99532E-02   -.53679    
   3  Normalizat    .75268        .18417        .22985E-03   -1.0185    
   4  Prefactor     .94355        .21086        .23664E-03   -.94635    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.2191e-10
Minuit parameter uncertainties:
  1  1.82212
  2  1.83115
  3  0.184322
  4  0.211042
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/659413': 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) = 4873.34929585
delta logL = 0.00565829997595

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  4.058e-01  1.822e+00  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  2.443e+00  1.831e+00  0.000e+00  1.000e+01 (-1.000e+00)
261        Scale:  9.601e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
542    Prefactor:  9.436e-01  2.110e-01  0.000e+00  1.000e+01 ( 1.000e+00)
543        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
544        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
541   Normalization:  7.527e-01  1.843e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.07
Ra Dec: 150.294 29.188

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/659413/cmap_HighResolution_457056001_457315201_4FGL_J1001.1+2911_daily_bin840.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.25e-03', job_status='DONE', photon_flux_upper_limit='6.86e-08', time_completed='2021-09-01 10:14:22.495373', job_id='659413', GAL2='0.94', fit_tolerance='1e-08', EG2='0.75', EG='0.75', time_epoch_completed='1630516462.5', return_code2='0', ts='0.07', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='5.66e-03', ts2='0.08', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='840' AND source_name='4FGL J1001.1+2911' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 10:14:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0268>
Subject: Job 659413: <4FGL_J1001.1+2911_daily_bin840> in cluster <slac> Done

Job <4FGL_J1001.1+2911_daily_bin840> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep  1 10:00:35 2021
Job was executed on host(s) <bullet0268>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 10:00:37 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  1 10:00:37 2021
Terminated at Wed Sep  1 10:14:23 2021
Results reported at Wed Sep  1 10:14:23 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1001.1+2911_daily_bin840 150.294 29.188 457056001 457315201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1001.1+2911 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   598.38 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             262.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   825 sec.
    Turnaround time :                            828 sec.

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

