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


Performing analysis on: 4FGL_J1001.1+2911_daily_bin64
RA = 150.294, Dec = 29.188
tmin = 255916801, tmax = 256176001
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='654542', job_status='RUN', time_executed='2021-09-01 09:48:23.880079', time_epoch_executed='1630514903.88' WHERE source_name='4FGL J1001.1+2911' and cadence='daily' and bin_id='64'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/654542

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/654542/ft1_4FGL_J1001.1+2911_daily_bin64.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/654542/ft2_4FGL_J1001.1+2911_daily_bin64.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/654542/ft1_4FGL_J1001.1+2911_daily_bin64.fits outfile=/scratch/kocevski/654542/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin64.fits ra=150.294 dec=29.188 rad=12.0 tmin=255916801.0 tmax=256176001.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.45
user 1.27
sys 0.16

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/654542/ft2_4FGL_J1001.1+2911_daily_bin64.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/654542/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin64.fits evtable="EVENTS" outfile="/scratch/kocevski/654542/ft1_filtered_4FGL_J1001.1+2911_daily_bin64.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.48
user 0.32
sys 0.15

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/654542/ft1_filtered_4FGL_J1001.1+2911_daily_bin64.fits evtable="EVENTS" scfile=/scratch/kocevski/654542/ft2_4FGL_J1001.1+2911_daily_bin64.fits sctable="SC_DATA" expcube=/scratch/kocevski/654542/ltcube_255916801_256176001_4FGL_J1001.1+2911_daily_bin64.fits outfile=/scratch/kocevski/654542/expmap_255916801_256176001_4FGL_J1001.1+2911_daily_bin64.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/654542/ltcube_255916801_256176001_4FGL_J1001.1+2911_daily_bin64.fits
.....................!
real 190.11
user 185.21
sys 4.45

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/654542/ft1_filtered_4FGL_J1001.1+2911_daily_bin64.fits scfile=/scratch/kocevski/654542/ft2_4FGL_J1001.1+2911_daily_bin64.fits outfile=/scratch/kocevski/654542/cmap_255916801_256176001_4FGL_J1001.1+2911_daily_bin64.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.58
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/654542/ft1_filtered_4FGL_J1001.1+2911_daily_bin64.fits scfile=/scratch/kocevski/654542/ft2_4FGL_J1001.1+2911_daily_bin64.fits outfile=/scratch/kocevski/654542/cmap_HighResolution_255916801_256176001_4FGL_J1001.1+2911_daily_bin64.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.56
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .23888       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    21.332       1.0000         .10000E-03   10000.    
     5 'Prefactor '    21.353       1.0000         .10000E-03   10000.    
     6 'Prefactor '    70.530       1.0000         .10000E-03   10000.    
     7 'Prefactor '    18.818       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .21084E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    15.560       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.7295       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    12.232       1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.3932       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.9973       1.0000         .10000E-03   10000.    
    16 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10075E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    28.139       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10069E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    7.1251       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .88205E-01   1.0000         .10000E-03   10000.    
    22 'Prefactor '    11.286       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .75793       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.2810       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=   8139.061     FROM MIGRAD    STATUS=CONVERGED    558 CALLS     2818 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .87016       -.20080E-08** at limit **
   2  norm          .23871        1.2087        .12512E-05   -.33636E-03
   3  Prefactor     .10000E-03    15.312        .39615E-06** at limit **
   4  Prefactor     21.332        4.8419       -.84320E-07   -.26889E-03
   5  Prefactor     21.357        22.069       -.10873E-06   -.22776E-04
   6  Prefactor     70.538        60.819        .10568E-05    .40185E-04
   7  Prefactor     18.852        35.499        .38715E-05    .11475E-03
   8  Prefactor     .10000E-03    150.02        .55206E-06** at limit **
   9  Prefactor     15.561        7.2185        .66452E-06   -.25751E-03
  10  Prefactor     2.7300        10.277        .12609E-05   -.12476E-04
  11  Prefactor     .10000E-03    .43962       -.12857E-07** at limit **
  12  norm          12.232        7.4967        .67918E-07   -.26014E-04
  13  Prefactor     3.3930        4.4288        .42321E-06    .80030E-04
  14  Prefactor     .10000E-03    18.167       -.45118E-06** at limit **
  15  Prefactor     3.9980        5.2727       -.28050E-06   -.37378E-03
  16  norm          .10000E-03    3.6944       -.28598E-07** at limit **
  17  Prefactor     .10000E-03    36.266        .18178E-06** at limit **
  18  Prefactor     28.144        30.419        .31962E-06    .24263E-05
  19  Prefactor     .10000E-03    2.5974       -.32509E-07** at limit **
  20  Prefactor     7.1153        6.7990        .65545E-07   -.22638E-03
  21  Prefactor     .10439        .93898        .26027E-06   -.54291E-03
  22  Prefactor     11.286        13.201        .70270E-07   -.25257E-05
  23  Normalizat    .75783        .16118       -.12683E-05   -.92379E-04
  24  Prefactor     1.2811        .16587        .94062E-07   -.17833E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.238706
  Prefactor  = 0.0001
  Prefactor  = 21.332
  Prefactor  = 21.3566
  Prefactor  = 70.538
  Prefactor  = 18.8516
  Prefactor  = 0.0001
  Prefactor  = 15.5613
  Prefactor  = 2.73003
  Prefactor  = 0.0001
  norm       = 12.2317
  Prefactor  = 3.39299
  Prefactor  = 0.0001
  Prefactor  = 3.99801
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 28.1438
  Prefactor  = 0.0001
  Prefactor  = 7.11535
  Prefactor  = 0.104394
  Prefactor  = 11.2861
  Normalizat = 0.75783
  Prefactor  = 1.28109
 **********
 **   18 **HESSE 
 **********

 FCN=   8139.061     FROM HESSE     STATUS=OK           401 CALLS     3219 TOTAL
                     EDM=   .94E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    .87565        .82184E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .23871        1.2829        .19384E-03   -1.5610    
   3  Prefactor     .10000E-03    15.336        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     21.332        4.8376        .86722E-04   -1.4784    
   5  Prefactor     21.357        22.070        .86679E-04   -1.4783    
   6  Prefactor     70.538        61.097        .47799E-04   -1.4026    
   7  Prefactor     18.852        36.573        .92328E-04   -1.4839    
   8  Prefactor     .10000E-03    152.44        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     15.561        7.2943        .50768E-03   -1.4919    
  10  Prefactor     2.7300        10.224        .24647E-03   -1.5377    
  11  Prefactor     .10000E-03    .44199        .58397E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          12.232        7.4966        .11454E-03   -1.5008    
  13  Prefactor     3.3930        4.3773        .16835E-03   -1.5340    
  14  Prefactor     .10000E-03    18.210        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.9980        5.3515        .19008E-03   -1.5308    
  16  norm          .10000E-03    3.7023        .16933E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    36.349        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     28.144        30.305        .75525E-04   -1.4646    
  19  Prefactor     .10000E-03    2.6142        .14135E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     7.1153        6.7871        .15028E-03   -1.5174    
  21  Prefactor     .10439        8.5174        .15897E-02   -1.5643    
  22  Prefactor     11.286        13.201        .11925E-03   -1.5036    
  23  Normalizat    .75783        .19100        .27728E-03   -1.0165    
  24  Prefactor     1.2811        .19865        .24602E-03   -.83871    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.37666e-10
Minuit parameter uncertainties:
  1  1.68952e-07
  2  1.10656
  3  3.95602e-05
  4  4.83767
  5  22.0788
  6  61.1516
  7  36.6161
  8  0.00025401
  9  7.29468
  10  10.23
  11  1.11994e-07
  12  7.49716
  13  4.37776
  14  3.48467e-05
  15  5.35211
  16  1.07949e-06
  17  5.0281e-05
  18  30.3219
  19  1.49256e-06
  20  6.78784
  21  1.88529
  22  13.2048
  23  0.191169
  24  0.198771
Done.

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

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.000e-04  1.120e-07  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.281e+00  1.988e-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.578e-01  1.912e-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: 3.21e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.46e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/654542/likelihoodResults_255916801_256176001_4FGL_J1001.1+2911_daily_bin64.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) = 8139.06066431
delta logL = -4.81429815409e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8139.06061858
delta logL = -2.4068813218e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10071E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2394       1.0000          .0000       10.000    
     3 'Normalizat'    .75789       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2813       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=   8139.061     FROM MIGRAD    STATUS=CONVERGED     69 CALLS      225 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.4244        .90712E-02** at limit **
   2  Index         1.8523        8.6561        .50000       -.57479E-05
   3  Normalizat    .75783        .81328E-02    .62682E-01    .58730E-04
   4  Prefactor     1.2811        .91735E-02    .55642E-01    .37555E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.85231
  Normalizat = 0.75783
  Prefactor  = 1.28109
 **********
 **   18 **HESSE 
 **********

 FCN=   8139.061     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      256 TOTAL
                     EDM=   .25E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    37.535        .62672E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8523        5.6642        .50000       -.68096    
   3  Normalizat    .75783        .34820E-01    .27728E-03   -1.0165    
   4  Prefactor     1.2811        .39314E-01    .24602E-03   -.83871    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.50458e-07
Minuit parameter uncertainties:
  1  3.44391e-06
  2  340.53
  3  0.0348206
  4  0.0393148
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/654542': 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) = 8139.06060159
delta logL = 1.45743661051e-05

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.000e-04  3.444e-06  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  1.852e+00  3.405e+02  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.281e+00  3.931e-02  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.578e-01  3.482e-02  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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/654542/cmap_HighResolution_255916801_256176001_4FGL_J1001.1+2911_daily_bin64.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.46e-03', job_status='DONE', photon_flux_upper_limit='3.21e-08', time_completed='2021-09-01 10:01:29.182471', job_id='654542', GAL2='1.28', fit_tolerance='1e-08', EG2='0.76', EG='0.76', time_epoch_completed='1630515689.18', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.28', dlogl='1.46e-05', ts2='-0.00', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='64' AND source_name='4FGL J1001.1+2911' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 10:01:29 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0212>
Subject: Job 654542: <4FGL_J1001.1+2911_daily_bin64> in cluster <slac> Done

Job <4FGL_J1001.1+2911_daily_bin64> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep  1 09:45:39 2021
Job was executed on host(s) <bullet0212>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 09:45:41 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  1 09:45:41 2021
Terminated at Wed Sep  1 10:01:29 2021
Results reported at Wed Sep  1 10:01:29 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1001.1+2911_daily_bin64 150.294 29.188 255916801 256176001 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 :                                   785.00 sec.
    Max Memory :                                 1010 MB
    Average Memory :                             285.29 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   948 sec.
    Turnaround time :                            950 sec.

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

