/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 155 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 = 7421
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1001.1+2911_daily_bin406
RA = 150.294, Dec = 29.188
tmin = 344563201, tmax = 344822401
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='656197', job_status='RUN', time_executed='2021-09-01 09:54:25.423501', time_epoch_executed='1630515265.42' WHERE source_name='4FGL J1001.1+2911' and cadence='daily' and bin_id='406'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/656197

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/656197/ft1_4FGL_J1001.1+2911_daily_bin406.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/656197/ft2_4FGL_J1001.1+2911_daily_bin406.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/656197/ft1_4FGL_J1001.1+2911_daily_bin406.fits outfile=/scratch/kocevski/656197/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin406.fits ra=150.294 dec=29.188 rad=12.0 tmin=344563201.0 tmax=344822401.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.44
user 3.21
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/656197/ft2_4FGL_J1001.1+2911_daily_bin406.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/656197/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin406.fits evtable="EVENTS" outfile="/scratch/kocevski/656197/ft1_filtered_4FGL_J1001.1+2911_daily_bin406.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/656197/ft1_filtered_4FGL_J1001.1+2911_daily_bin406.fits" evtable="EVENTS" scfile=/scratch/kocevski/656197/ft2_4FGL_J1001.1+2911_daily_bin406.fits sctable="SC_DATA" outfile=/scratch/kocevski/656197/ltcube_344563201_344822401_4FGL_J1001.1+2911_daily_bin406.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/656197/ft2_4FGL_J1001.1+2911_daily_bin406.fits
.....................!
real 13.22
user 12.84
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/656197/ft1_filtered_4FGL_J1001.1+2911_daily_bin406.fits evtable="EVENTS" scfile=/scratch/kocevski/656197/ft2_4FGL_J1001.1+2911_daily_bin406.fits sctable="SC_DATA" expcube=/scratch/kocevski/656197/ltcube_344563201_344822401_4FGL_J1001.1+2911_daily_bin406.fits outfile=/scratch/kocevski/656197/expmap_344563201_344822401_4FGL_J1001.1+2911_daily_bin406.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/656197/ltcube_344563201_344822401_4FGL_J1001.1+2911_daily_bin406.fits
.....................!
real 192.63
user 186.40
sys 4.96

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/656197/ft1_filtered_4FGL_J1001.1+2911_daily_bin406.fits scfile=/scratch/kocevski/656197/ft2_4FGL_J1001.1+2911_daily_bin406.fits outfile=/scratch/kocevski/656197/cmap_344563201_344822401_4FGL_J1001.1+2911_daily_bin406.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.55
user 0.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/656197/ft1_filtered_4FGL_J1001.1+2911_daily_bin406.fits scfile=/scratch/kocevski/656197/ft2_4FGL_J1001.1+2911_daily_bin406.fits outfile=/scratch/kocevski/656197/cmap_HighResolution_344563201_344822401_4FGL_J1001.1+2911_daily_bin406.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.61
user 0.40
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.5436       1.0000         .10000E-03   10000.    
     2 'norm      '    2.9511       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10385E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    7.2798       1.0000         .10000E-03   10000.    
     5 'Prefactor '    16.878       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10106E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .27790       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10148E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10071E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    7.3957       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .12106E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.0749       1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.5966       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10113E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .16836E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .84979       1.0000         .10000E-03   10000.    
    20 'Prefactor '    9.4053       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .99789       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0985       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=   6669.074     FROM MIGRAD    STATUS=CONVERGED    618 CALLS     2800 TOTAL
                     EDM=   .37E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.5465        4.3060        .10860E-06   -.22589E-04
   2  norm          2.9509        1.7650        .33303E-07   -.14693E-04
   3  Prefactor     .10000E-03    10.614       -.15168E-06** at limit **
   4  Prefactor     7.2761        4.8626        .44579E-06   -.65010E-04
   5  Prefactor     16.924        20.246       -.16736E-06   -.28956E-04
   6  Prefactor     .10000E-03    31.368       -.15327E-05** at limit **
   7  Prefactor     .85943E-03    42.672       -.82031E-06** at limit **
   8  Prefactor     .10000E-03    11.703        .24817E-06** at limit **
   9  Prefactor     .10000E-03    5.4971        .31241E-06** at limit **
  10  Prefactor     .10000E-03    8.4936        .34341E-06** at limit **
  11  Prefactor     .10000E-03    1.2366        .60517E-06** at limit **
  12  norm          7.3936        7.1587        .22170E-06   -.65821E-04
  13  Prefactor     .10000E-03    2.0897       -.99919E-06** at limit **
  14  Prefactor     5.0854        37.799        .11225E-04   -.36646E-04
  15  Prefactor     3.5953        4.9063        .28083E-05   -.24123E-03
  16  norm          .10000E-03    7.5157        .15215E-06** at limit **
  17  Prefactor     .10000E-03    28.264        .85840E-06** at limit **
  18  Prefactor     .10000E-03    32.739        .79028E-06** at limit **
  19  Prefactor     .84066        3.2787        .41491E-06   -.45871E-05
  20  Prefactor     9.3959        7.0983        .20642E-06   -.58428E-04
  21  Prefactor     .10000E-03    .71321        .59046E-07** at limit **
  22  Prefactor     .10000E-03    7.1157        .69682E-07** at limit **
  23  Normalizat    .99802        .17091       -.37430E-05   -.33987E-03
  24  Prefactor     1.0986        .17615        .73211E-06   -.48019E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.54647
  norm       = 2.9509
  Prefactor  = 0.0001
  Prefactor  = 7.27612
  Prefactor  = 16.9238
  Prefactor  = 0.0001
  Prefactor  = 0.00085943
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 7.3936
  Prefactor  = 0.000100004
  Prefactor  = 5.08543
  Prefactor  = 3.59527
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.840658
  Prefactor  = 9.39588
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.998017
  Prefactor  = 1.09855
 **********
 **   18 **HESSE 
 **********

 FCN=   6669.074     FROM HESSE     STATUS=OK           405 CALLS     3205 TOTAL
                     EDM=   .97E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.5465        4.3066        .12437E-03   -1.5158    
   2  norm          2.9509        1.7635        .80777E-04   -1.5364    
   3  Prefactor     .10000E-03    10.614        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     7.2761        4.8670        .13642E-03   -1.5168    
   5  Prefactor     16.924        20.232        .97489E-04   -1.4885    
   6  Prefactor     .10000E-03    31.376        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .85943E-03    42.966        .14093       -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    11.708        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    5.6311        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    8.6909        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    2.1800        .17527E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          7.3936        7.1562        .14748E-03   -1.5164    
  13  Prefactor     .10000E-03    14.327        .20509E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     5.0854        37.570        .17848E-03   -1.5257    
  15  Prefactor     3.5953        4.9894        .98289E-03   -1.5329    
  16  norm          .10000E-03    7.5645        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    28.313        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    32.729        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .84066        3.1868        .27905E-03   -1.5525    
  20  Prefactor     9.3959        7.0976        .13068E-03   -1.5095    
  21  Prefactor     .10000E-03    .71918        .67324E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    7.1180        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .99802        .19762        .24031E-03   -.93097    
  24  Prefactor     1.0986        .20801        .25424E-03   -.89513    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.66583e-10
Minuit parameter uncertainties:
  1  4.3068
  2  1.76358
  3  6.91088e-06
  4  4.86731
  5  20.24
  6  8.21318e-05
  7  0.361531
  8  6.09574e-06
  9  3.98154e-05
  10  3.9596e-05
  11  1.76726e-05
  12  7.15707
  13  0.000495315
  14  27.6688
  15  4.98997
  16  1.79897e-05
  17  2.43936e-05
  18  9.31573e-05
  19  3.18746
  20  7.09825
  21  2.88508e-06
  22  5.3692e-06
  23  0.197763
  24  0.208167
Done.

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

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.000e-04  1.767e-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.099e+00  2.082e-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:  9.980e-01  1.978e-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: 6.34e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.85e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/656197/likelihoodResults_344563201_344822401_4FGL_J1001.1+2911_daily_bin406.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) = 6669.07667904
delta logL = -0.00218663322903

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6669.07449239
delta logL = 1.457738108e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10291E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2339       1.0000          .0000       10.000    
     3 'Normalizat'    .99799       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0987       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   6669.074     FROM MIGRAD    STATUS=FAILED        96 CALLS      264 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10459E-03    33.417        .18154E-02** at limit **
   2  Index         2.1028        5.4190        .50000        .80161E-04
   3  Normalizat    .99802        .14345E-01    .24031E-03    .63740E-03
   4  Prefactor     1.0986        .15909E-01    .25424E-03    .62810E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   6669.074     FROM SIMPLEX   STATUS=PROGRESS     118 CALLS      382 TOTAL
                     EDM=   .56E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10321E-03    33.417        .19985E-03** at limit **
   2  Index         2.0967        5.4190        .20775E-02    .80161E-04
   3  Normalizat    .99799        .14345E-01    .12341E-04    .63740E-03
   4  Prefactor     1.0985        .15909E-01    .13515E-04    .62810E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6669.074     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      434 TOTAL
                     EDM=   .83E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    26.145        .36309E-02** at limit **
   2  Index         1.8995        5.8464        .50000        .31232E-06
   3  Normalizat    .99802        .12007E-01    .48063E-04   -.74273E-04
   4  Prefactor     1.0986        .13317E-01    .50847E-04   -.61754E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.89951
  Normalizat = 0.998016
  Prefactor  = 1.09855
 **********
 **   18 **HESSE 
 **********

 FCN=   6669.074     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      463 TOTAL
                     EDM=   .43E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    137.35        .72618E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8995        5.9329        .50000       -.66887    
   3  Normalizat    .99802        .28601E-01    .96125E-05   -.93097    
   4  Prefactor     1.0986        .31719E-01    .10169E-04   -.89513    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.33524e-10
Minuit parameter uncertainties:
  1  4.17613e-05
  2  348.134
  3  0.0286012
  4  0.0317197
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/656197': 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) = 6669.07448612
delta logL = 6.28601446806e-06

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.000e-04  4.176e-05  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  1.900e+00  3.481e+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.099e+00  3.172e-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:  9.980e-01  2.860e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/656197/cmap_HighResolution_344563201_344822401_4FGL_J1001.1+2911_daily_bin406.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.85e-03', job_status='DONE', photon_flux_upper_limit='6.34e-08', time_completed='2021-09-01 10:06:19.586100', job_id='656197', GAL2='1.10', fit_tolerance='1e-08', EG2='1.00', EG='1.00', time_epoch_completed='1630515979.59', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='6.29e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='406' AND source_name='4FGL J1001.1+2911' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 10:06:19 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0152>
Subject: Job 656197: <4FGL_J1001.1+2911_daily_bin406> in cluster <slac> Done

Job <4FGL_J1001.1+2911_daily_bin406> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Sep  1 09:50:51 2021
Job was executed on host(s) <bullet0152>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 09:50:53 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:50:53 2021
Terminated at Wed Sep  1 10:06:21 2021
Results reported at Wed Sep  1 10:06:21 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1001.1+2911_daily_bin406 150.294 29.188 344563201 344822401 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 :                                   709.39 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             272.34 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   926 sec.
    Turnaround time :                            930 sec.

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

