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


Performing analysis on: 4FGL_J1001.1+2911_daily_bin855
RA = 150.294, Dec = 29.188
tmin = 460944001, tmax = 461203201
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='659436', job_status='RUN', time_executed='2021-09-01 10:03:32.291444', time_epoch_executed='1630515812.29' WHERE source_name='4FGL J1001.1+2911' and cadence='daily' and bin_id='855'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/659436

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/659436/ft1_4FGL_J1001.1+2911_daily_bin855.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/659436/ft2_4FGL_J1001.1+2911_daily_bin855.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/659436/ft1_4FGL_J1001.1+2911_daily_bin855.fits outfile=/scratch/kocevski/659436/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin855.fits ra=150.294 dec=29.188 rad=12.0 tmin=460944001.0 tmax=461203201.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 3.79
user 3.29
sys 0.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/659436/ft2_4FGL_J1001.1+2911_daily_bin855.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/659436/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin855.fits evtable="EVENTS" outfile="/scratch/kocevski/659436/ft1_filtered_4FGL_J1001.1+2911_daily_bin855.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.69
user 0.35
sys 0.12

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/659436/ft1_filtered_4FGL_J1001.1+2911_daily_bin855.fits evtable="EVENTS" scfile=/scratch/kocevski/659436/ft2_4FGL_J1001.1+2911_daily_bin855.fits sctable="SC_DATA" expcube=/scratch/kocevski/659436/ltcube_460944001_461203201_4FGL_J1001.1+2911_daily_bin855.fits outfile=/scratch/kocevski/659436/expmap_460944001_461203201_4FGL_J1001.1+2911_daily_bin855.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/659436/ltcube_460944001_461203201_4FGL_J1001.1+2911_daily_bin855.fits
.....................!
real 196.60
user 184.94
sys 4.11

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/659436/ft1_filtered_4FGL_J1001.1+2911_daily_bin855.fits scfile=/scratch/kocevski/659436/ft2_4FGL_J1001.1+2911_daily_bin855.fits outfile=/scratch/kocevski/659436/cmap_460944001_461203201_4FGL_J1001.1+2911_daily_bin855.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.59
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/659436/ft1_filtered_4FGL_J1001.1+2911_daily_bin855.fits scfile=/scratch/kocevski/659436/ft2_4FGL_J1001.1+2911_daily_bin855.fits outfile=/scratch/kocevski/659436/cmap_HighResolution_460944001_461203201_4FGL_J1001.1+2911_daily_bin855.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.64
user 0.39
sys 0.14

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/659436/ft1_filtered_4FGL_J1001.1+2911_daily_bin855.fits', '/scratch/kocevski/659436/ft2_4FGL_J1001.1+2911_daily_bin855.fits', expMap='/scratch/kocevski/659436/expmap_460944001_461203201_4FGL_J1001.1+2911_daily_bin855.fits', expCube='/scratch/kocevski/659436/ltcube_460944001_461203201_4FGL_J1001.1+2911_daily_bin855.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/659436/Model_4FGL_J1001.1+2911_daily_bin855.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/659436/ft1_filtered_4FGL_J1001.1+2911_daily_bin855.fits
Spacecraft file(s): /scratch/kocevski/659436/ft2_4FGL_J1001.1+2911_daily_bin855.fits
Exposure map: /scratch/kocevski/659436/expmap_460944001_461203201_4FGL_J1001.1+2911_daily_bin855.fits
Exposure cube: /scratch/kocevski/659436/ltcube_460944001_461203201_4FGL_J1001.1+2911_daily_bin855.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/659436/Model_4FGL_J1001.1+2911_daily_bin855.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) = 5101.63244239

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.5500       1.0000         .10000E-03   10000.    
     2 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    54.352       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .79982       1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.1097       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .30894E-02   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    30.418       1.0000         .10000E-03   10000.    
     9 'Prefactor '    12.916       1.0000         .10000E-03   10000.    
    10 'Prefactor '    10.065       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .37541E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    4.0234       1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.9802       1.0000         .10000E-03   10000.    
    14 'Prefactor '    74.888       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    9.6742       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10802E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    2.8749       1.0000         .10000E-03   10000.    
    21 'Prefactor '    7.4432       1.0000         .10000E-03   10000.    
    22 'Prefactor '    21.812       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .57070       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.2240       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=   5101.625     FROM MIGRAD    STATUS=CONVERGED    550 CALLS     2729 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.5504        3.1497       -.39802E-06   -.14821E-03
   2  norm          .10000E-03    .72120        .23497E-06** at limit **
   3  Prefactor     54.412        53.131        .39174E-04   -.54098E-05
   4  Prefactor     .79809        3.0828       -.22444E-05   -.14585E-02
   5  Prefactor     4.1062        32.064        .24082E-04   -.30352E-04
   6  Prefactor     .10000E-03    302.57        .31897E-04** at limit **
   7  Prefactor     .10000E-03    12.815        .38912E-06** at limit **
   8  Prefactor     30.470        40.970        .16165E-04   -.33677E-04
   9  Prefactor     12.918        7.5649       -.11513E-05   -.39279E-03
  10  Prefactor     10.065        7.3180        .31365E-06   -.64021E-04
  11  Prefactor     .10000E-03    1.1712        .26253E-06** at limit **
  12  norm          4.0236        5.8467        .12486E-05   -.36435E-03
  13  Prefactor     1.9802        2.8289        .37943E-06   -.44602E-03
  14  Prefactor     74.924        50.595        .18348E-04   -.72867E-06
  15  Prefactor     .10000E-03    1.1120        .47503E-07** at limit **
  16  norm          9.6730        7.8595        .27798E-06   -.32354E-04
  17  Prefactor     .10000E-03    27.274       -.23295E-06** at limit **
  18  Prefactor     .10000E-03    9.8565       -.43976E-07** at limit **
  19  Prefactor     .10000E-03    1.5410        .89261E-07** at limit **
  20  Prefactor     2.8692        8.7839       -.77935E-05   -.36539E-03
  21  Prefactor     7.4442        3.3246        .77796E-06    .40203E-04
  22  Prefactor     21.805        19.792        .16760E-04   -.92212E-05
  23  Normalizat    .57077        .16598       -.42736E-05   -.14644E-03
  24  Prefactor     1.2241        .18364       -.35406E-05   -.47037E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.55039
  norm       = 0.0001
  Prefactor  = 54.4123
  Prefactor  = 0.798092
  Prefactor  = 4.10624
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 30.4698
  Prefactor  = 12.9175
  Prefactor  = 10.0645
  Prefactor  = 0.0001
  norm       = 4.02358
  Prefactor  = 1.98016
  Prefactor  = 74.9243
  Prefactor  = 0.0001
  norm       = 9.67296
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.86917
  Prefactor  = 7.44419
  Prefactor  = 21.8047
  Normalizat = 0.570767
  Prefactor  = 1.22406
 **********
 **   18 **HESSE 
 **********

 FCN=   5101.625     FROM HESSE     STATUS=OK           407 CALLS     3136 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.5504        3.1455        .11626E-03   -1.5331    
   2  norm          .10000E-03    1.0936        .11765E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     54.412        53.033        .54407E-04   -1.4231    
   4  Prefactor     .79809        3.0941        .22986E-03   -1.5529    
   5  Prefactor     4.1062        31.848        .19885E-03   -1.5303    
   6  Prefactor     .10000E-03    310.55        .39593E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    12.821        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     30.470        40.880        .72647E-04   -1.4603    
   9  Prefactor     12.918        7.5589        .11146E-03   -1.4989    
  10  Prefactor     10.065        7.3174        .12630E-03   -1.5073    
  11  Prefactor     .10000E-03    6.9696        .14979E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          4.0236        5.8384        .20026E-03   -1.5307    
  13  Prefactor     1.9802        2.8072        .13564E-03   -1.5427    
  14  Prefactor     74.924        50.505        .46398E-04   -1.3975    
  15  Prefactor     .10000E-03    1.1154        .73503E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          9.6730        7.8590        .12884E-03   -1.5086    
  17  Prefactor     .10000E-03    27.326        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    9.8649        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    1.5500        .86575E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     2.8692        8.7575        .23972E-03   -1.5369    
  21  Prefactor     7.4442        3.3060        .78965E-04   -1.5162    
  22  Prefactor     21.805        19.746        .85764E-04   -1.4774    
  23  Normalizat    .57077        .19136        .26530E-03   -1.0924    
  24  Prefactor     1.2241        .21429        .22005E-03   -.85594    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.40748e-09
Minuit parameter uncertainties:
  1  3.14569
  2  2.81431e-05
  3  53.0791
  4  3.09473
  5  22.888
  6  0.00162283
  7  2.38465e-05
  8  40.9177
  9  7.55948
  10  7.31803
  11  5.54919e-05
  12  5.83919
  13  2.80736
  14  50.5341
  15  5.6359e-06
  16  7.85988
  17  6.30407e-05
  18  1.42621e-05
  19  5.68035e-06
  20  8.76142
  21  3.30605
  22  19.7523
  23  0.191584
  24  0.214441
Done.

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

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.000e-04  5.549e-05  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:  1.224e+00  2.144e-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:  5.708e-01  1.916e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/659436/likelihoodResults_460944001_461203201_4FGL_J1001.1+2911_daily_bin855.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): 102
logL (Free Index) = 5101.62568149
delta logL = -0.000699180865013

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5101.62498177
delta logL = 5.3727580962e-07

Fit tolerance = 1e-08

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

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

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5101.625     FROM MIGRAD    STATUS=CONVERGED    110 CALLS      298 TOTAL
                     EDM=   .54E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .12826E-03    .82495        .27640E-01** at limit **
   2  Index         1.9020        5.6702        .50000       -.10174E-04
   3  Normalizat    .57077        .29067E-02    .26530E-03   -.63250E-04
   4  Prefactor     1.2241        .34410E-02    .22005E-03   -.26742E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000128257
  Index      = 1.90202
  Normalizat = 0.570768
  Prefactor  = 1.22405
 **********
 **   18 **HESSE 
 **********

 FCN=   5101.625     FROM HESSE     STATUS=NOT POSDEF    39 CALLS      337 TOTAL
                     EDM=   .28E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .12826E-03    .73921        .29148E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9020        5.8521        .50000       -.66823    
   3  Normalizat    .57077        .28321E-02    .10612E-04   -1.0924    
   4  Prefactor     1.2241        .33528E-02    .44009E-04   -.85594    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.7655e-11
Minuit parameter uncertainties:
  1  0.00914077
  2  29.3088
  3  0.00283212
  4  0.00335276
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/659436': 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): 102
logL (Free Index) = 5101.62497423
delta logL = 8.07003470982e-06

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.283e-04  9.141e-03  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  1.902e+00  2.931e+01  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:  1.224e+00  3.353e-03  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:  5.708e-01  2.832e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/659436/cmap_HighResolution_460944001_461203201_4FGL_J1001.1+2911_daily_bin855.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.90e-03', job_status='DONE', photon_flux_upper_limit='5.09e-08', time_completed='2021-09-01 10:13:48.245316', job_id='659436', GAL2='1.22', fit_tolerance='1e-08', EG2='0.57', EG='0.57', time_epoch_completed='1630516428.25', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.22', dlogl='8.07e-06', ts2='0.00', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='855' AND source_name='4FGL J1001.1+2911' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 10:13:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0211>
Subject: Job 659436: <4FGL_J1001.1+2911_daily_bin855> in cluster <slac> Done

Job <4FGL_J1001.1+2911_daily_bin855> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep  1 10:00:37 2021
Job was executed on host(s) <bullet0211>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 10:00:38 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:38 2021
Terminated at Wed Sep  1 10:13:52 2021
Results reported at Wed Sep  1 10:13:52 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1001.1+2911_daily_bin855 150.294 29.188 460944001 461203201 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 :                                   604.27 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             264.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   791 sec.
    Turnaround time :                            795 sec.

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

