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


Performing analysis on: 4FGL_J1001.1+2911_daily_bin1036
RA = 150.294, Dec = 29.188
tmin = 507859201, tmax = 508118401
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='660781', job_status='RUN', time_executed='2021-09-01 10:05:42.638311', time_epoch_executed='1630515942.64' WHERE source_name='4FGL J1001.1+2911' and cadence='daily' and bin_id='1036'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/660781

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/660781/ft1_4FGL_J1001.1+2911_daily_bin1036.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/660781/ft2_4FGL_J1001.1+2911_daily_bin1036.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/660781/ft1_4FGL_J1001.1+2911_daily_bin1036.fits outfile=/scratch/kocevski/660781/ft1_filteredMKT_4FGL_J1001.1+2911_daily_bin1036.fits ra=150.294 dec=29.188 rad=12.0 tmin=507859201.0 tmax=508118401.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.43
user 3.93
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/660781/ft1_filtered_4FGL_J1001.1+2911_daily_bin1036.fits" evtable="EVENTS" scfile=/scratch/kocevski/660781/ft2_4FGL_J1001.1+2911_daily_bin1036.fits sctable="SC_DATA" outfile=/scratch/kocevski/660781/ltcube_507859201_508118401_4FGL_J1001.1+2911_daily_bin1036.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/660781/ft2_4FGL_J1001.1+2911_daily_bin1036.fits
.....................!
real 12.29
user 11.88
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/660781/ft1_filtered_4FGL_J1001.1+2911_daily_bin1036.fits evtable="EVENTS" scfile=/scratch/kocevski/660781/ft2_4FGL_J1001.1+2911_daily_bin1036.fits sctable="SC_DATA" expcube=/scratch/kocevski/660781/ltcube_507859201_508118401_4FGL_J1001.1+2911_daily_bin1036.fits outfile=/scratch/kocevski/660781/expmap_507859201_508118401_4FGL_J1001.1+2911_daily_bin1036.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/660781/ltcube_507859201_508118401_4FGL_J1001.1+2911_daily_bin1036.fits
.....................!
real 192.36
user 185.58
sys 4.98

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/660781/ft1_filtered_4FGL_J1001.1+2911_daily_bin1036.fits scfile=/scratch/kocevski/660781/ft2_4FGL_J1001.1+2911_daily_bin1036.fits outfile=/scratch/kocevski/660781/cmap_507859201_508118401_4FGL_J1001.1+2911_daily_bin1036.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.60
user 0.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/660781/ft1_filtered_4FGL_J1001.1+2911_daily_bin1036.fits scfile=/scratch/kocevski/660781/ft2_4FGL_J1001.1+2911_daily_bin1036.fits outfile=/scratch/kocevski/660781/cmap_HighResolution_507859201_508118401_4FGL_J1001.1+2911_daily_bin1036.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.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12754E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .11220E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    17.758       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    74.688       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .96191E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.5367       1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.4492       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10125E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    21.940       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10255E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    12.248       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10332E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    28.167       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10266E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    11.445       1.0000         .10000E-03   10000.    
    21 'Prefactor '    1.0426       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .11430E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .70835       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1081       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=   5122.339     FROM MIGRAD    STATUS=CONVERGED    562 CALLS     2747 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 12.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10003E-03    3.6791        .35200E-05** at limit **
   2  norm          .10000E-03    .53744        .42711E-07** at limit **
   3  Prefactor     .10000E-03    19.954        .14736E-06** at limit **
   4  Prefactor     17.760        5.0149       -.81362E-07   -.33883E-04
   5  Prefactor     .10000E-03    7.7700        .28558E-07** at limit **
   6  Prefactor     74.743        61.127       -.12311E-05   -.87549E-04
   7  Prefactor     .10033E-03    197.74        .39205E-04** at limit **
   8  Prefactor     3.5546        28.915        .50268E-08    .47003E-04
   9  Prefactor     2.4516        4.0355       -.87879E-06   -.16295E-03
  10  Prefactor     .10000E-03    4.0875        .40402E-06** at limit **
  11  Prefactor     .10000E-03    1.5882        .56162E-06** at limit **
  12  norm          21.953        10.294        .39867E-07    .64034E-04
  13  Prefactor     .10000E-03    1.7735        .54914E-06** at limit **
  14  Prefactor     12.330        40.292       -.18792E-05   -.44456E-04
  15  Prefactor     .10000E-03    1.8061        .50130E-06** at limit **
  16  norm          .10000E-03    3.6199        .21268E-06** at limit **
  17  Prefactor     28.144        38.899        .30100E-09   -.33509E-05
  18  Prefactor     .10000E-03    10.362        .36370E-06** at limit **
  19  Prefactor     .10000E-03    3.0365        .54418E-06** at limit **
  20  Prefactor     11.450        7.9741        .60077E-06    .43715E-03
  21  Prefactor     1.0413        2.6296       -.18645E-05   -.21705E-03
  22  Prefactor     .10000E-03    13.783        .25605E-06** at limit **
  23  Normalizat    .70866        .16907        .17238E-06    .94864E-04
  24  Prefactor     1.1075        .19484       -.98352E-07   -.29438E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100033
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.7596
  Prefactor  = 0.0001
  Prefactor  = 74.7428
  Prefactor  = 0.000100327
  Prefactor  = 3.55459
  Prefactor  = 2.45159
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 21.9534
  Prefactor  = 0.0001
  Prefactor  = 12.33
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 28.1439
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.4504
  Prefactor  = 1.04132
  Prefactor  = 0.0001
  Normalizat = 0.708658
  Prefactor  = 1.10746
 **********
 **   18 **HESSE 
 **********

 FCN=   5122.339     FROM HESSE     STATUS=OK           399 CALLS     3146 TOTAL
                     EDM=   .59E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10003E-03    9.2262        .22196E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    .54279        .51230E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    19.965        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     17.760        5.0182        .81389E-04   -1.4865    
   5  Prefactor     .10000E-03    7.7755        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     74.743        61.160        .23230E-03   -1.3977    
   7  Prefactor     .10033E-03    226.50        .55891E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.5546        29.104        .21494E-03   -1.5331    
   9  Prefactor     2.4516        4.0161        .17797E-03   -1.5395    
  10  Prefactor     .10000E-03    4.1095        .14132E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    1.6469        .17620E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          21.953        10.289        .85513E-04   -1.4771    
  13  Prefactor     .10000E-03    1.8168        .18591E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     12.330        40.291        .11446E-03   -1.5006    
  15  Prefactor     .10000E-03    1.8385        .93864E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    3.6284        .13299E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     28.144        38.897        .75487E-04   -1.4646    
  18  Prefactor     .10000E-03    10.370        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    3.0982        .12172E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     11.450        7.9595        .11842E-03   -1.5031    
  21  Prefactor     1.0413        2.6102        .16997E-03   -1.5504    
  22  Prefactor     .10000E-03    13.820        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .70866        .18905        .24399E-03   -1.0355    
  24  Prefactor     1.1075        .22078        .23133E-03   -.89229    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.8538e-09
Minuit parameter uncertainties:
  1  0.00110717
  2  4.26328e-07
  3  1.92519e-05
  4  5.01834
  5  1.53235e-05
  6  61.2112
  7  0.0172897
  8  20.3555
  9  4.01653
  10  1.34082e-05
  11  1.48864e-05
  12  10.2895
  13  3.21852e-06
  14  40.3802
  15  5.93332e-06
  16  6.30176e-06
  17  38.932
  18  2.25052e-05
  19  4.38829e-06
  20  7.9602
  21  2.61045
  22  8.8122e-06
  23  0.189224
  24  0.22096
Done.

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

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.000e-04  1.489e-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.107e+00  2.210e-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.087e-01  1.892e-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.54e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.01e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/660781/likelihoodResults_507859201_508118401_4FGL_J1001.1+2911_daily_bin1036.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) = 5122.34178902
delta logL = -0.00289464020625

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5122.33889384
delta logL = 5.46905539522e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2952       1.0000          .0000       10.000    
     3 'Normalizat'    .70870       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1075       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=   5122.019     FROM MIGRAD    STATUS=CONVERGED    205 CALLS      356 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .56849E-02    .38531E-03** at limit **
   2  Index         7.3240        3.5517        .15640        .14926E-03
   3  Normalizat    .66958        .34498E-01    .42407E-01    .21574E-03
   4  Prefactor     1.1380        .40002E-01    .37309E-01    .18054E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 7.32397
  Normalizat = 0.66958
  Prefactor  = 1.138
 **********
 **   18 **HESSE 
 **********

 FCN=   5122.019     FROM HESSE     STATUS=NOT POSDEF    39 CALLS      395 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    .31835E-01    .22449E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         7.3240        8.6206        .81638E-02    .48340    
   3  Normalizat    .66958        .73466E-01    .25050E-03   -1.0511    
   4  Prefactor     1.1380        .85475E-01    .22864E-03   -.88261    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.18999e-08
Minuit parameter uncertainties:
  1  3.61516e-10
  2  8.28776
  3  0.0734766
  4  0.0854852
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/660781': 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) = 5122.01873716
delta logL = 0.320157222291

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.000e-04  3.615e-10  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  7.324e+00  8.288e+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:  1.138e+00  8.549e-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:  6.696e-01  7.348e-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/660781/cmap_HighResolution_507859201_508118401_4FGL_J1001.1+2911_daily_bin1036.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.01e-03', job_status='DONE', photon_flux_upper_limit='6.54e-08', time_completed='2021-09-01 10:16:15.095986', job_id='660781', GAL2='1.14', fit_tolerance='1e-08', EG2='0.67', EG='0.71', time_epoch_completed='1630516575.1', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.11', dlogl='3.20e-01', ts2='0.68', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='1036' AND source_name='4FGL J1001.1+2911' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 10:16:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0205>
Subject: Job 660781: <4FGL_J1001.1+2911_daily_bin1036> in cluster <slac> Done

Job <4FGL_J1001.1+2911_daily_bin1036> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Sep  1 10:05:23 2021
Job was executed on host(s) <bullet0205>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 10:05:25 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:05:25 2021
Terminated at Wed Sep  1 10:16:15 2021
Results reported at Wed Sep  1 10:16:15 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1001.1+2911_daily_bin1036 150.294 29.188 507859201 508118401 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 :                                   627.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             332.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   650 sec.
    Turnaround time :                            652 sec.

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

