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


Performing analysis on: 4FGL_J0712.7+5033_daily_bin1508
RA = 108.188, Dec = 50.5506
tmin = 630201601, tmax = 630460801
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='179677', job_status='RUN', time_executed='2021-08-26 21:54:03.985883', time_epoch_executed='1630040043.99' WHERE source_name='4FGL J0712.7+5033' and cadence='daily' and bin_id='1508'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/179677

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/179677/ft1_4FGL_J0712.7+5033_daily_bin1508.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/179677/ft2_4FGL_J0712.7+5033_daily_bin1508.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/179677/ft1_4FGL_J0712.7+5033_daily_bin1508.fits outfile=/scratch/kocevski/179677/ft1_filteredMKT_4FGL_J0712.7+5033_daily_bin1508.fits ra=108.188 dec=50.5506 rad=12.0 tmin=630201601.0 tmax=630460801.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.07
user 3.46
sys 0.60

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/179677/ft2_4FGL_J0712.7+5033_daily_bin1508.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/179677/ft2_4FGL_J0712.7+5033_daily_bin1508.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/179677/ft1_filteredMKT_4FGL_J0712.7+5033_daily_bin1508.fits evtable="EVENTS" outfile="/scratch/kocevski/179677/ft1_filtered_4FGL_J0712.7+5033_daily_bin1508.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.90
user 0.32
sys 0.56

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/179677/ft1_filtered_4FGL_J0712.7+5033_daily_bin1508.fits" evtable="EVENTS" scfile=/scratch/kocevski/179677/ft2_4FGL_J0712.7+5033_daily_bin1508.fits sctable="SC_DATA" outfile=/scratch/kocevski/179677/ltcube_630201601_630460801_4FGL_J0712.7+5033_daily_bin1508.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/179677/ft2_4FGL_J0712.7+5033_daily_bin1508.fits
.....................!
real 12.84
user 12.04
sys 0.75

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/179677/ft1_filtered_4FGL_J0712.7+5033_daily_bin1508.fits evtable="EVENTS" scfile=/scratch/kocevski/179677/ft2_4FGL_J0712.7+5033_daily_bin1508.fits sctable="SC_DATA" expcube=/scratch/kocevski/179677/ltcube_630201601_630460801_4FGL_J0712.7+5033_daily_bin1508.fits outfile=/scratch/kocevski/179677/expmap_630201601_630460801_4FGL_J0712.7+5033_daily_bin1508.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/179677/ltcube_630201601_630460801_4FGL_J0712.7+5033_daily_bin1508.fits
.....................!
real 190.78
user 185.38
sys 4.78

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

Setting source of interest to:
4FGL J0712.7+5033 @ 108.188 50.5506

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/179677/ft1_filtered_4FGL_J0712.7+5033_daily_bin1508.fits scfile=/scratch/kocevski/179677/ft2_4FGL_J0712.7+5033_daily_bin1508.fits outfile=/scratch/kocevski/179677/cmap_630201601_630460801_4FGL_J0712.7+5033_daily_bin1508.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=108.188 yref=50.5506 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 1.05
user 0.36
sys 0.55

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/179677/ft1_filtered_4FGL_J0712.7+5033_daily_bin1508.fits scfile=/scratch/kocevski/179677/ft2_4FGL_J0712.7+5033_daily_bin1508.fits outfile=/scratch/kocevski/179677/cmap_HighResolution_630201601_630460801_4FGL_J0712.7+5033_daily_bin1508.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=108.188 yref=50.5506 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.94
user 0.37
sys 0.55

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/179677/ft1_filtered_4FGL_J0712.7+5033_daily_bin1508.fits evtable="EVENTS" scfile=/scratch/kocevski/179677/ft2_4FGL_J0712.7+5033_daily_bin1508.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/179677/Model_4FGL_J0712.7+5033_daily_bin1508.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/179677/ft1_filtered_4FGL_J0712.7+5033_daily_bin1508.fits......................!
real 40.50
user 38.37
sys 1.63

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/179677/ft1_filtered_4FGL_J0712.7+5033_daily_bin1508.fits', '/scratch/kocevski/179677/ft2_4FGL_J0712.7+5033_daily_bin1508.fits', expMap='/scratch/kocevski/179677/expmap_630201601_630460801_4FGL_J0712.7+5033_daily_bin1508.fits', expCube='/scratch/kocevski/179677/ltcube_630201601_630460801_4FGL_J0712.7+5033_daily_bin1508.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/179677/Model_4FGL_J0712.7+5033_daily_bin1508.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0712.7+5033'

4FGL J0712.7+5033
   Spectrum: PowerLaw
280    Prefactor:  9.082e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
281        Index:  2.201e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
282        Scale:  1.186e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/179677/ft1_filtered_4FGL_J0712.7+5033_daily_bin1508.fits
Spacecraft file(s): /scratch/kocevski/179677/ft2_4FGL_J0712.7+5033_daily_bin1508.fits
Exposure map: /scratch/kocevski/179677/expmap_630201601_630460801_4FGL_J0712.7+5033_daily_bin1508.fits
Exposure cube: /scratch/kocevski/179677/ltcube_630201601_630460801_4FGL_J0712.7+5033_daily_bin1508.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/179677/Model_4FGL_J0712.7+5033_daily_bin1508.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) = 3011.39388072

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    193.24       1.0000         .10000E-03   10000.    
     2 'norm      '    .10020E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    34.598       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10100E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10110E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    4.5254       1.0000         .10000E-03   10000.    
     8 'norm      '    1.5565       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .12186E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10037E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    17.532       1.0000         .10000E-03   10000.    
    12 'Prefactor '    10.799       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10298E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10078E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.1086       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    1.4927       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    20.806       1.0000         .10000E-03   10000.    
    21 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    33.053       1.0000         .10000E-03   10000.    
    25 'norm      '    .11794E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    14.543       1.0000         .10000E-03   10000.    
    29 'Normalizat'    .24892       1.0000         .10000E-01   10.000    
    30 'Prefactor '    1.2299       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6450E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3011.384     FROM MIGRAD    STATUS=CONVERGED    745 CALLS     3977 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     193.20        99.636       -.31079E-04    .24435E-04
   2  norm          .10000E-03    2.6062       -.17690E-08** at limit **
   3  Prefactor     34.604        20.337        .22534E-06    .55306E-04
   4  Prefactor     .10000E-03    23.582       -.51661E-06** at limit **
   5  Prefactor     .10000E-03    23.301        .56526E-05** at limit **
   6  Prefactor     .10000E-03    23.599        .26352E-05** at limit **
   7  norm          4.5208        6.7833       -.41563E-06   -.59814E-04
   8  norm          1.5561        4.3112       -.13193E-05   -.32012E-03
   9  Prefactor     .10000E-03    45.943        .13872E-04** at limit **
  10  norm          .10000E-03    4.2219       -.25274E-06** at limit **
  11  Prefactor     17.543        25.025        .44827E-05    .81307E-04
  12  Prefactor     10.792        11.935       -.11205E-06    .22049E-04
  13  Prefactor     .10000E-03    8.1366        .95261E-06** at limit **
  14  Prefactor     .10000E-03    24.654       -.92812E-05** at limit **
  15  norm          .10000E-03    6.0071        .33074E-06** at limit **
  16  Prefactor     1.0277        34.124       -.99224E-05    .51995E-03
  17  Prefactor     .10000E-03    22.354        .15644E-04** at limit **
  18  norm          1.4924        1.4428        .79915E-07    .94685E-03
  19  Prefactor     .10000E-03    7.1557        .61835E-06** at limit **
  20  Prefactor     20.806        21.475       -.73497E-06    .24594E-04
  21  norm          .10000E-03    2.4316       -.53841E-07** at limit **
  22  Prefactor     .10000E-03    4.1873        .28876E-06** at limit **
  23  Prefactor     .10000E-03    25.999       -.19647E-04** at limit **
  24  Prefactor     33.063        66.342        .13090E-04    .44524E-04
  25  norm          .10000E-03    12.988       -.17808E-05** at limit **
  26  norm          .10000E-03    1.5025       -.20431E-07** at limit **
  27  Prefactor     .10000E-03    7.0318       -.15816E-05** at limit **
  28  Prefactor     14.548        13.669       -.85723E-07    .87561E-04
  29  Normalizat    .24937        .44523       -.66071E-05    .83532E-04
  30  Prefactor     1.2298        .23192        .35565E-05    .25893E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 193.196
  norm       = 0.0001
  Prefactor  = 34.6035
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.52079
  norm       = 1.55611
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 17.5431
  Prefactor  = 10.7924
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 1.02769
  Prefactor  = 0.0001
  norm       = 1.49242
  Prefactor  = 0.0001
  Prefactor  = 20.8059
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 33.0631
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.5484
  Normalizat = 0.249369
  Prefactor  = 1.22977
 **********
 **   18 **HESSE 
 **********

 FCN=   3011.384     FROM HESSE     STATUS=OK           578 CALLS     4555 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     193.20        99.761        .14528E-03   -1.2919    
   2  norm          .10000E-03    2.6263        .86501E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     34.604        20.336        .68129E-04   -1.4531    
   4  Prefactor     .10000E-03    23.897        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    23.328        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    23.610        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          4.5208        6.7341        .16670E-03   -1.5283    
   8  norm          1.5561        4.2588        .18294E-03   -1.5458    
   9  Prefactor     .10000E-03    46.023        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    4.2302        .10998E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     17.543        25.027        .95655E-04   -1.4870    
  12  Prefactor     10.792        11.244        .12192E-03   -1.5051    
  13  Prefactor     .10000E-03    8.1380        .15289E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    24.827        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    6.0158        .13132E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     1.0277        169.07        .57630E-02   -1.5505    
  17  Prefactor     .10000E-03    22.406        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          1.4924        1.4092        .60455E-04   -1.5464    
  19  Prefactor     .10000E-03    7.1680        .14337E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     20.806        21.400        .87810E-04   -1.4795    
  21  norm          .10000E-03    2.4619        .83555E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    4.1880        .10967E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    26.012        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     33.063        65.180        .69699E-04   -1.4557    
  25  norm          .10000E-03    13.470        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .10000E-03    1.5116        .65660E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    7.0343        .14214E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     14.548        13.577        .10503E-03   -1.4945    
  29  Normalizat    .24937        .35028        .57667E-03   -1.2600    
  30  Prefactor     1.2298        .18972        .15509E-03   -.85420    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.9019e-08
Minuit parameter uncertainties:
  1  99.8482
  2  4.54552e-07
  3  20.3404
  4  3.01023e-05
  5  1.45606e-05
  6  8.56461e-06
  7  6.73523
  8  4.25958
  9  3.78645e-05
  10  4.8278e-06
  11  25.042
  12  11.2463
  13  2.66431e-06
  14  2.87636e-05
  15  8.1655e-07
  16  26.4377
  17  1.40967e-05
  18  1.40927
  19  1.80341e-06
  20  21.4081
  21  3.5693e-06
  22  9.33651e-08
  23  8.8155e-07
  24  65.3208
  25  4.14344e-06
  26  5.77233e-07
  27  1.47113e-05
  28  13.5797
  29  0.35342
  30  0.189824
Done.

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

Extracting fit parameters...

4FGL J0712.7+5033
   Spectrum: PowerLaw
280    Prefactor:  1.000e-04  2.664e-06  1.000e-04  1.000e+04 ( 1.000e-13)
281        Index:  2.201e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
282        Scale:  1.186e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
642    Prefactor:  1.230e+00  1.898e-01  0.000e+00  1.000e+01 ( 1.000e+00)
643        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
644        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
641   Normalization:  2.494e-01  3.534e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 108.188 50.551
Photon Flux Upper Limit: 8.55e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.51e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/179677/likelihoodResults_630201601_630460801_4FGL_J0712.7+5033_daily_bin1508.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): 0
logL (Free Index) = 3011.38478494
delta logL = -0.000572919265778

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3011.38421197
delta logL = 4.355706551e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3011.384     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      240 TOTAL
                     EDM=   .62E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8.3543        .15464E-02** at limit **
   2  Index         2.1673        6.0821        .50000        .16638E-04
   3  Normalizat    .24937        .30603        .57668E-03   -.20601E-04
   4  Prefactor     1.2298        .17877        .15509E-03   -.12089E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100002
  Index      = 2.16726
  Normalizat = 0.249368
  Prefactor  = 1.22977
 **********
 **   18 **HESSE 
 **********

 FCN=   3011.384     FROM HESSE     STATUS=OK            29 CALLS      269 TOTAL
                     EDM=   .58E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    8.3016        .30928E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1673        6.0824        .50000       -.60231    
   3  Normalizat    .24937        .30577        .23067E-04   -1.2600    
   4  Prefactor     1.2298        .17861        .31018E-04   -.85420    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.79768e-10
Minuit parameter uncertainties:
  1  0.00027796
  2  4.12084
  3  0.307853
  4  0.178702
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/179677': 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) = 3011.38421188
delta logL = 1.38882114697e-07

Extracting fit parameters...

4FGL J0712.7+5033
   Spectrum: PowerLaw
280    Prefactor:  1.000e-04  2.780e-04  1.000e-04  1.000e+04 ( 1.000e-13)
281        Index:  2.167e+00  4.121e+00  0.000e+00  1.000e+01 (-1.000e+00)
282        Scale:  1.186e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
642    Prefactor:  1.230e+00  1.787e-01  0.000e+00  1.000e+01 ( 1.000e+00)
643        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
644        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
641   Normalization:  2.494e-01  3.079e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 108.188 50.551

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/179677/cmap_HighResolution_630201601_630460801_4FGL_J0712.7+5033_daily_bin1508.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.51e-03', job_status='DONE', photon_flux_upper_limit='8.55e-08', time_completed='2021-08-26 22:04:41.557569', job_id='179677', GAL2='1.23', fit_tolerance='1e-08', EG2='0.25', EG='0.25', time_epoch_completed='1630040681.56', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.23', dlogl='1.39e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.20' WHERE bin_id='1508' AND source_name='4FGL J0712.7+5033' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Aug 26 22:04:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0250>
Subject: Job 179677: <4FGL_J0712.7+5033_daily_bin1508> in cluster <slac> Done

Job <4FGL_J0712.7+5033_daily_bin1508> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Aug 26 21:50:39 2021
Job was executed on host(s) <bullet0250>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Aug 26 21:50:44 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Aug 26 21:50:44 2021
Terminated at Thu Aug 26 22:04:42 2021
Results reported at Thu Aug 26 22:04:42 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0712.7+5033_daily_bin1508 108.188 50.5506 630201601 630460801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0712.7+5033 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   628.14 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             267.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   837 sec.
    Turnaround time :                            843 sec.

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

