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


Performing analysis on: 4FGL_J0801.1+6444_monthly_bin149
RA = 120.293, Dec = 64.7438
tmin = 623203201, tmax = 625795201
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='138695', job_status='RUN', time_executed='2021-10-19 04:04:42.087852', time_epoch_executed='1634641482.09' WHERE source_name='4FGL J0801.1+6444' and cadence='monthly' and bin_id='149'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/138695

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

Retrieving the FT1 file...

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

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

Retrieving 457 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/138695/ft1_4FGL_J0801.1+6444_monthly_bin149.fits


Retrieving the FT1 file...

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

Retrieving 457 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/138695/ft2_4FGL_J0801.1+6444_monthly_bin149.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/138695/ft1_4FGL_J0801.1+6444_monthly_bin149.fits outfile=/scratch/kocevski/138695/ft1_filteredMKT_4FGL_J0801.1+6444_monthly_bin149.fits ra=120.293 dec=64.7438 rad=12.0 tmin=623203201.0 tmax=625795201.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 31.33
user 30.52
sys 0.67

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/138695/ft2_4FGL_J0801.1+6444_monthly_bin149.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/138695/ft2_4FGL_J0801.1+6444_monthly_bin149.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/138695/ft1_filteredMKT_4FGL_J0801.1+6444_monthly_bin149.fits evtable="EVENTS" outfile="/scratch/kocevski/138695/ft1_filtered_4FGL_J0801.1+6444_monthly_bin149.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.86
user 0.67
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/138695/ft1_filtered_4FGL_J0801.1+6444_monthly_bin149.fits" evtable="EVENTS" scfile=/scratch/kocevski/138695/ft2_4FGL_J0801.1+6444_monthly_bin149.fits sctable="SC_DATA" outfile=/scratch/kocevski/138695/ltcube_623203201_625795201_4FGL_J0801.1+6444_monthly_bin149.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/138695/ft2_4FGL_J0801.1+6444_monthly_bin149.fits
.....................!
real 126.95
user 125.76
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/138695/ft1_filtered_4FGL_J0801.1+6444_monthly_bin149.fits evtable="EVENTS" scfile=/scratch/kocevski/138695/ft2_4FGL_J0801.1+6444_monthly_bin149.fits sctable="SC_DATA" expcube=/scratch/kocevski/138695/ltcube_623203201_625795201_4FGL_J0801.1+6444_monthly_bin149.fits outfile=/scratch/kocevski/138695/expmap_623203201_625795201_4FGL_J0801.1+6444_monthly_bin149.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/138695/ltcube_623203201_625795201_4FGL_J0801.1+6444_monthly_bin149.fits
.....................!
real 192.04
user 186.66
sys 4.88

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

Setting source of interest to:
4FGL J0801.1+6444 @ 120.293 64.7438

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/138695/ft1_filtered_4FGL_J0801.1+6444_monthly_bin149.fits scfile=/scratch/kocevski/138695/ft2_4FGL_J0801.1+6444_monthly_bin149.fits outfile=/scratch/kocevski/138695/cmap_623203201_625795201_4FGL_J0801.1+6444_monthly_bin149.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=120.293 yref=64.7438 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.79
user 0.62
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/138695/ft1_filtered_4FGL_J0801.1+6444_monthly_bin149.fits scfile=/scratch/kocevski/138695/ft2_4FGL_J0801.1+6444_monthly_bin149.fits outfile=/scratch/kocevski/138695/cmap_HighResolution_623203201_625795201_4FGL_J0801.1+6444_monthly_bin149.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=120.293 yref=64.7438 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.79
user 0.64
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/138695/ft1_filtered_4FGL_J0801.1+6444_monthly_bin149.fits evtable="EVENTS" scfile=/scratch/kocevski/138695/ft2_4FGL_J0801.1+6444_monthly_bin149.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/138695/Model_4FGL_J0801.1+6444_monthly_bin149.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/138695/ft1_filtered_4FGL_J0801.1+6444_monthly_bin149.fits.....................!
real 1019.38
user 1014.95
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/138695/ft1_filtered_4FGL_J0801.1+6444_monthly_bin149.fits', '/scratch/kocevski/138695/ft2_4FGL_J0801.1+6444_monthly_bin149.fits', expMap='/scratch/kocevski/138695/expmap_623203201_625795201_4FGL_J0801.1+6444_monthly_bin149.fits', expCube='/scratch/kocevski/138695/ltcube_623203201_625795201_4FGL_J0801.1+6444_monthly_bin149.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/138695/Model_4FGL_J0801.1+6444_monthly_bin149.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0801.1+6444'

4FGL J0801.1+6444
   Spectrum: PowerLaw
298    Prefactor:  2.258e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
299        Index:  2.062e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
300        Scale:  2.934e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/138695/ft1_filtered_4FGL_J0801.1+6444_monthly_bin149.fits
Spacecraft file(s): /scratch/kocevski/138695/ft2_4FGL_J0801.1+6444_monthly_bin149.fits
Exposure map: /scratch/kocevski/138695/expmap_623203201_625795201_4FGL_J0801.1+6444_monthly_bin149.fits
Exposure cube: /scratch/kocevski/138695/ltcube_623203201_625795201_4FGL_J0801.1+6444_monthly_bin149.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/138695/Model_4FGL_J0801.1+6444_monthly_bin149.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) = 107755.725257

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.335       1.0000         .10000E-03   10000.    
     2 'Prefactor '    16.161       1.0000         .10000E-03   10000.    
     3 'Prefactor '    13.779       1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.7457       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .31764E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .17350E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    2.9344       1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.5746       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .21026       1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.1338       1.0000         .10000E-03   10000.    
    13 'norm      '    .31179       1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.5028       1.0000         .10000E-03   10000.    
    15 'Prefactor '    8.0674       1.0000         .10000E-03   10000.    
    16 'norm      '    1.4620       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .60122       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.4882       1.0000         .10000E-03   10000.    
    20 'norm      '    1.6859       1.0000         .10000E-03   10000.    
    21 'Prefactor '    13.413       1.0000         .10000E-03   10000.    
    22 'Prefactor '    6.3426       1.0000         .10000E-03   10000.    
    23 'Prefactor '    13.465       1.0000         .10000E-03   10000.    
    24 'Prefactor '    3.9169       1.0000         .10000E-03   10000.    
    25 'norm      '    .81478       1.0000         .10000E-03   10000.    
    26 'Prefactor '    10.700       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .92798       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    29 'Normalizat'    .98662       1.0000         .10000E-01   10.000    
    30 'Prefactor '    1.0923       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7100E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   107755.5     FROM MIGRAD    STATUS=CONVERGED    757 CALLS     3458 TOTAL
                     EDM=   .18E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.335        8.1103       -.14398E-06   -.34624E-05
   2  Prefactor     16.161        6.2913        .13436E-06   -.30960E-05
   3  Prefactor     13.779        7.8276       -.18871E-07   -.12110E-03
   4  Prefactor     5.7456        4.3648        .15947E-07   -.16604E-03
   5  Prefactor     .10000E-03    .55714       -.55638E-07** at limit **
   6  Prefactor     .10000E-03    .63816       -.11335E-06** at limit **
   7  norm          2.9344        .21989       -.15234E-08   -.41705E-04
   8  Prefactor     3.5741        3.9414        .15058E-05    .57167E-04
   9  Prefactor     .10000E-03    18.853       -.13023E-06** at limit **
  10  Prefactor     .10000E-03    7.4921        .85978E-07** at limit **
  11  norm          .21033        .17407       -.28343E-07   -.19596E-02
  12  Prefactor     5.1339        3.5556        .14844E-06    .85053E-05
  13  norm          .31173        .40069       -.27983E-07   -.41590E-03
  14  Prefactor     2.5029        .84356        .54944E-09    .51593E-05
  15  Prefactor     8.0676        4.6272        .96367E-07    .21355E-04
  16  norm          1.4621        .82536        .10923E-07   -.25227E-03
  17  Prefactor     .60123        .31700       -.12899E-08   -.25635E-03
  18  Prefactor     .10000E-03    .42780        .29383E-09** at limit **
  19  Prefactor     2.4884        1.2286        .78727E-08   -.20160E-03
  20  norm          1.6863        .65682       -.60325E-07   -.56182E-03
  21  Prefactor     13.413        6.4702        .48847E-07    .46272E-05
  22  Prefactor     6.3427        2.6084       -.52053E-07   -.21546E-04
  23  Prefactor     13.462        6.8756        .49267E-06    .24499E-04
  24  Prefactor     3.9170        1.0061        .28463E-07   -.14855E-02
  25  norm          .81480        .21976        .85145E-08   -.50730E-04
  26  Prefactor     10.700        3.5110       -.42752E-06   -.21634E-04
  27  Prefactor     .92796        1.0175       -.63603E-08    .13088E-03
  28  Prefactor     .10000E-03    1.9913       -.13959E-07** at limit **
  29  Normalizat    .98659        .51389E-01   -.63237E-07    .19856E-03
  30  Prefactor     1.0923        .34306E-01   -.64895E-08    .21714E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.3355
  Prefactor  = 16.1608
  Prefactor  = 13.7793
  Prefactor  = 5.74563
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.93437
  Prefactor  = 3.57407
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.210329
  Prefactor  = 5.13388
  norm       = 0.311729
  Prefactor  = 2.50286
  Prefactor  = 8.06764
  norm       = 1.46212
  Prefactor  = 0.601235
  Prefactor  = 0.0001
  Prefactor  = 2.48835
  norm       = 1.68635
  Prefactor  = 13.4132
  Prefactor  = 6.34272
  Prefactor  = 13.4623
  Prefactor  = 3.91701
  norm       = 0.814798
  Prefactor  = 10.7004
  Prefactor  = 0.927957
  Prefactor  = 0.0001
  Normalizat = 0.986586
  Prefactor  = 1.09231
 **********
 **   18 **HESSE 
 **********

 FCN=   107755.5     FROM HESSE     STATUS=OK           628 CALLS     4086 TOTAL
                     EDM=   .65E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.335        8.1215        .10969E-03   -1.4977    
   2  Prefactor     16.161        6.2744        .99630E-04   -1.4904    
   3  Prefactor     13.779        7.9507        .53953E-03   -1.4965    
   4  Prefactor     5.7456        4.4799        .83782E-03   -1.5229    
   5  Prefactor     .10000E-03    .59664        .96514E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    .88631        .98516E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          2.9344        .21984        .40340E-04   -1.5365    
   8  Prefactor     3.5741        3.9522        .21375E-03   -1.5330    
   9  Prefactor     .10000E-03    19.058        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    7.6429        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .21033        .18228        .12673E-03   -1.5616    
  12  Prefactor     5.1339        3.5413        .17744E-03   -1.5255    
  13  norm          .31173        .58799        .22301E-02   -1.5596    
  14  Prefactor     2.5029        .84444        .17042E-03   -1.5392    
  15  Prefactor     8.0676        4.6064        .14116E-03   -1.5140    
  16  norm          1.4621        .82206        .21787E-03   -1.5466    
  17  Prefactor     .60123        .31655        .12591E-03   -1.5553    
  18  Prefactor     .10000E-03    .43226        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     2.4884        1.2345        .24596E-03   -1.5392    
  20  norm          1.6863        .64742        .13647E-03   -1.5448    
  21  Prefactor     13.413        6.4691        .10937E-03   -1.4975    
  22  Prefactor     6.3427        2.6085        .15938E-03   -1.5204    
  23  Prefactor     13.462        6.7527        .10916E-03   -1.4974    
  24  Prefactor     3.9170        1.6801        .10192E-02   -1.5312    
  25  norm          .81480        .21099        .75555E-03   -1.5527    
  26  Prefactor     10.700        3.5140        .12248E-03   -1.5054    
  27  Prefactor     .92796        1.0214        .33889E-03   -1.5515    
  28  Prefactor     .10000E-03    2.0645        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    .98659        .58918E-01    .30510E-03   -.93481    
  30  Prefactor     1.0923        .39211E-01    .20509E-03   -.89713    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.51177e-07
Minuit parameter uncertainties:
  1  8.12216
  2  6.27462
  3  7.95133
  4  4.48017
  5  2.61883e-05
  6  2.73128e-05
  7  0.219845
  8  3.95252
  9  1.74196e-06
  10  1.55117e-06
  11  0.182279
  12  3.54148
  13  0.588003
  14  0.844446
  15  4.60657
  16  0.822062
  17  0.316549
  18  1.70036e-08
  19  1.23455
  20  0.647419
  21  6.46948
  22  2.60853
  23  6.75309
  24  1.68009
  25  0.210992
  26  3.51405
  27  1.02144
  28  2.05686e-06
  29  0.0589216
  30  0.0392117
Done.

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

Extracting fit parameters...

4FGL J0801.1+6444
   Spectrum: PowerLaw
298    Prefactor:  5.134e+00  3.541e+00  1.000e-04  1.000e+04 ( 1.000e-14)
299        Index:  2.062e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
300        Scale:  2.934e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
707    Prefactor:  1.092e+00  3.921e-02  0.000e+00  1.000e+01 ( 1.000e+00)
708        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
709        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
706   Normalization:  9.866e-01  5.892e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.97
Ra Dec: 120.293 64.744
Photon Index (Fixed Index): 2.06 +/- 0.00
Photon Flux (Fixed Index): 5.13e-09 +/- 3.54e-09
Energy Flux (Fixed Index): 3.06e-06 +/- 2.11e-06

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 107755.151381
delta logL = 0.373227916076

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 107755.114734
delta logL = 0.409874609322

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   107755.1     FROM MIGRAD    STATUS=CONVERGED     61 CALLS      232 TOTAL
                     EDM=   .65E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.2833        18.267        .40071E-02    .37064E-03
   2  Index         1.6473        .24979        .50000        .25167E-04
   3  Normalizat    .98883        .52499E-02    .68899E-01    .25381E-03
   4  Prefactor     1.0920        .36688E-02    .37900E-01   -.20857E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.28332
  Index      = 1.6473
  Normalizat = 0.988828
  Prefactor  = 1.09199
 **********
 **   18 **HESSE 
 **********

 FCN=   107755.1     FROM HESSE     STATUS=OK            33 CALLS      265 TOTAL
                     EDM=   .42E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.2833        4.5658        .80142E-03   -1.5207    
   2  Index         1.6473        .47723        .53658E-02   -.73494    
   3  Normalizat    .98883        .54536E-01    .30479E-03   -.93406    
   4  Prefactor     1.0920        .38590E-01    .20512E-03   -.89723    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.1626e-12
Minuit parameter uncertainties:
  1  4.56603
  2  0.478556
  3  0.0545387
  4  0.0385911
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/138695': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 107755.11473
delta logL = 0.409878301958

Extracting fit parameters...

4FGL J0801.1+6444
   Spectrum: PowerLaw
298    Prefactor:  6.283e+00  4.566e+00  1.000e-04  1.000e+04 ( 1.000e-14)
299        Index:  1.647e+00  4.786e-01  0.000e+00  1.000e+01 (-1.000e+00)
300        Scale:  2.934e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
707    Prefactor:  1.092e+00  3.859e-02  0.000e+00  1.000e+01 ( 1.000e+00)
708        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
709        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
706   Normalization:  9.888e-01  5.454e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.77
Ra Dec: 120.293 64.744
Photon Index (Free Index): 1.65 +/- 0.48
Photon Flux (Free Index): 2.51e-09 +/- 3.06e-09
Energy Flux (Free Index): 4.86e-06 +/- 4.51e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  2.220e+00 [aplpy.core]
Saving /scratch/kocevski/138695/cmap_HighResolution_623203201_625795201_4FGL_J0801.1+6444_monthly_bin149.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.13e-09', energy_flux2='4.86e-06', photon_flux_error='3.54e-09', dlogl='4.10e-01', energy_flux='3.06e-06', photon_flux2='2.51e-09', job_status='DONE', time_completed='2021-10-19 06:51:08.840406', photon_index_error2='0.48', photon_index2='1.65', ts='6.97', fit_tolerance='1e-08', GAL='1.09', photon_index_error='0.00', energy_flux_error2='4.51e-06', EG='0.99', time_epoch_completed='1634651468.84', return_code='0', job_id='138695', GAL2='1.09', EG2='0.99', return_code2='0', energy_flux_error='2.11e-06', photon_flux_error2='3.06e-09', ts2='7.77', photon_index='2.06' WHERE bin_id='149' AND source_name='4FGL J0801.1+6444' AND cadence='monthly';

Database successfully updated.


Analysis Complete.


Tue Oct 19 06:51:08 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0250>
Subject: Job 138695: <4FGL_J0801.1+6444_monthly_bin149> in cluster <slac> Done

Job <4FGL_J0801.1+6444_monthly_bin149> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Oct 19 03:25:13 2021
Job was executed on host(s) <bullet0250>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Oct 19 04:02:13 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Oct 19 04:02:13 2021
Terminated at Tue Oct 19 06:51:10 2021
Results reported at Tue Oct 19 06:51:10 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0801.1+6444_monthly_bin149 120.293 64.7438 623203201 625795201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0801.1+6444 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   9587.00 sec.
    Max Memory :                                 632 MB
    Average Memory :                             459.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   10136 sec.
    Turnaround time :                            12357 sec.

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

