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


Performing analysis on: 4FGL_J0733.6+3649_daily_bin1337
RA = 113.42, Dec = 36.8225
tmin = 585878401, tmax = 586137601
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='483957', job_status='RUN', time_executed='2021-08-27 14:38:37.862949', time_epoch_executed='1630100317.86' WHERE source_name='4FGL J0733.6+3649' and cadence='daily' and bin_id='1337'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/483957

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/483957/ft1_4FGL_J0733.6+3649_daily_bin1337.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/483957/ft2_4FGL_J0733.6+3649_daily_bin1337.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/483957/ft1_4FGL_J0733.6+3649_daily_bin1337.fits outfile=/scratch/kocevski/483957/ft1_filteredMKT_4FGL_J0733.6+3649_daily_bin1337.fits ra=113.42 dec=36.8225 rad=12.0 tmin=585878401.0 tmax=586137601.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.47
user 2.58
sys 1.87

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/483957/ft2_4FGL_J0733.6+3649_daily_bin1337.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/483957/ft2_4FGL_J0733.6+3649_daily_bin1337.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/483957/ft1_filteredMKT_4FGL_J0733.6+3649_daily_bin1337.fits evtable="EVENTS" outfile="/scratch/kocevski/483957/ft1_filtered_4FGL_J0733.6+3649_daily_bin1337.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 2.18
user 0.34
sys 1.83

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/483957/ft1_filtered_4FGL_J0733.6+3649_daily_bin1337.fits" evtable="EVENTS" scfile=/scratch/kocevski/483957/ft2_4FGL_J0733.6+3649_daily_bin1337.fits sctable="SC_DATA" outfile=/scratch/kocevski/483957/ltcube_585878401_586137601_4FGL_J0733.6+3649_daily_bin1337.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/483957/ft2_4FGL_J0733.6+3649_daily_bin1337.fits
.....................!
real 14.20
user 11.96
sys 2.19

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/483957/ft1_filtered_4FGL_J0733.6+3649_daily_bin1337.fits evtable="EVENTS" scfile=/scratch/kocevski/483957/ft2_4FGL_J0733.6+3649_daily_bin1337.fits sctable="SC_DATA" expcube=/scratch/kocevski/483957/ltcube_585878401_586137601_4FGL_J0733.6+3649_daily_bin1337.fits outfile=/scratch/kocevski/483957/expmap_585878401_586137601_4FGL_J0733.6+3649_daily_bin1337.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/483957/ltcube_585878401_586137601_4FGL_J0733.6+3649_daily_bin1337.fits
.....................!
real 194.82
user 187.24
sys 7.18

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
Extended source IC 443 in ROI with RadialGaussian spatial model.
Added 188 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0733.6+3649 @ 113.42 36.8225

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/483957/ft1_filtered_4FGL_J0733.6+3649_daily_bin1337.fits scfile=/scratch/kocevski/483957/ft2_4FGL_J0733.6+3649_daily_bin1337.fits outfile=/scratch/kocevski/483957/cmap_585878401_586137601_4FGL_J0733.6+3649_daily_bin1337.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=113.42 yref=36.8225 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 2.18
user 0.35
sys 1.82

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/483957/ft1_filtered_4FGL_J0733.6+3649_daily_bin1337.fits scfile=/scratch/kocevski/483957/ft2_4FGL_J0733.6+3649_daily_bin1337.fits outfile=/scratch/kocevski/483957/cmap_HighResolution_585878401_586137601_4FGL_J0733.6+3649_daily_bin1337.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=113.42 yref=36.8225 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 2.20
user 0.38
sys 1.80

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/483957/ft1_filtered_4FGL_J0733.6+3649_daily_bin1337.fits evtable="EVENTS" scfile=/scratch/kocevski/483957/ft2_4FGL_J0733.6+3649_daily_bin1337.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/483957/Model_4FGL_J0733.6+3649_daily_bin1337.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
adding source IC 443
Working on...
/scratch/kocevski/483957/ft1_filtered_4FGL_J0733.6+3649_daily_bin1337.fits........................!
real 24.48
user 20.86
sys 3.40

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/483957/ft1_filtered_4FGL_J0733.6+3649_daily_bin1337.fits', '/scratch/kocevski/483957/ft2_4FGL_J0733.6+3649_daily_bin1337.fits', expMap='/scratch/kocevski/483957/expmap_585878401_586137601_4FGL_J0733.6+3649_daily_bin1337.fits', expCube='/scratch/kocevski/483957/ltcube_585878401_586137601_4FGL_J0733.6+3649_daily_bin1337.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/483957/Model_4FGL_J0733.6+3649_daily_bin1337.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0733.6+3649'

4FGL J0733.6+3649
   Spectrum: PowerLaw
279    Prefactor:  1.615e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
280        Index:  2.374e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
281        Scale:  1.233e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/483957/ft1_filtered_4FGL_J0733.6+3649_daily_bin1337.fits
Spacecraft file(s): /scratch/kocevski/483957/ft2_4FGL_J0733.6+3649_daily_bin1337.fits
Exposure map: /scratch/kocevski/483957/expmap_585878401_586137601_4FGL_J0733.6+3649_daily_bin1337.fits
Exposure cube: /scratch/kocevski/483957/ltcube_585878401_586137601_4FGL_J0733.6+3649_daily_bin1337.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/483957/Model_4FGL_J0733.6+3649_daily_bin1337.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) = 980.023923156

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10214E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    101.51       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    74.275       1.0000         .10000E-03   10000.    
     5 'norm      '    .14185E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    25.407       1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.0478       1.0000         .10000E-03   10000.    
     8 'norm      '    .14675E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    77.141       1.0000         .10000E-03   10000.    
    10 'Prefactor '    89.246       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10510E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    188.68       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .18145E-01   1.0000         .10000E-03   10000.    
    14 'Prefactor '    79.007       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10059E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    56.207       1.0000         .10000E-03   10000.    
    17 'norm      '    1.9795       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .88354       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .57233       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6180E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   979.8164     FROM MIGRAD    STATUS=CONVERGED    494 CALLS     2528 TOTAL
                     EDM=   .38E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    7.1833        .19589E-06** at limit **
   2  Prefactor     101.51        118.78       -.17363E-06   -.35805E-05
   3  Prefactor     .10000E-03    15.012        .95008E-07** at limit **
   4  norm          74.295        43.753        .28491E-06   -.42597E-04
   5  norm          .10000E-03    2.9773        .61958E-06** at limit **
   6  Prefactor     25.436        26.324       -.10812E-05   -.15987E-03
   7  Prefactor     3.1144        230.85       -.67158E-06   -.33047E-04
   8  norm          .10000E-03    32.780       -.24572E-05** at limit **
   9  Prefactor     77.215        162.63       -.65685E-06   -.11757E-04
  10  Prefactor     89.287        76.711       -.47683E-06    .28293E-04
  11  Prefactor     .10000E-03    124.28       -.10354E-05** at limit **
  12  norm          188.76        80.395       -.18632E-06   -.21517E-03
  13  Prefactor     .10000E-03    201.72        .31408E-04** at limit **
  14  Prefactor     79.169        144.61        .18840E-05   -.11547E-04
  15  Prefactor     .10000E-03    7.3463        .42916E-06** at limit **
  16  Prefactor     56.166        159.56        .11218E-06    .13121E-04
  17  norm          1.9802        1.4091       -.10465E-06    .18668E-04
  18  Prefactor     .10000E-03    36.552        .35049E-07** at limit **
  19  Prefactor     .10000E-03    14.103        .25768E-06** at limit **
  20  Prefactor     .10000E-03    3.0566        .27288E-06** at limit **
  21  Normalizat    .88063        .66284        .12262E-04   -.18602E-03
  22  Prefactor     .57345        .30278       -.10369E-04   -.23207E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 101.513
  Prefactor  = 0.0001
  norm       = 74.2946
  norm       = 0.0001
  Prefactor  = 25.436
  Prefactor  = 3.11443
  norm       = 0.000100003
  Prefactor  = 77.2151
  Prefactor  = 89.2872
  Prefactor  = 0.0001
  norm       = 188.761
  Prefactor  = 0.000100004
  Prefactor  = 79.1686
  Prefactor  = 0.0001
  Prefactor  = 56.1663
  norm       = 1.98017
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.88063
  Prefactor  = 0.573445
 **********
 **   18 **HESSE 
 **********

 FCN=   979.8164     FROM HESSE     STATUS=OK           334 CALLS     2862 TOTAL
                     EDM=   .71E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    7.1876        .81937E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     101.51        118.72        .39904E-04   -1.3689    
   3  Prefactor     .10000E-03    15.029        .11846E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          74.295        43.744        .46587E-04   -1.3982    
   5  norm          .10000E-03    4.5906        .10295E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     25.436        26.348        .79472E-04   -1.4699    
   7  Prefactor     3.1144        227.84        .23240E-03   -1.5355    
   8  norm          .10000E-03    33.114        .17506E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     77.215        161.80        .22860E-03   -1.3948    
  10  Prefactor     89.287        76.604        .21266E-03   -1.3815    
  11  Prefactor     .10000E-03    124.29        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          188.76        80.245        .14700E-03   -1.2951    
  13  Prefactor     .10000E-03    200.98        .36882E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     79.169        144.61        .22591E-03   -1.3926    
  15  Prefactor     .10000E-03    7.3652        .82902E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     56.166        159.49        .53507E-04   -1.4208    
  17  norm          1.9802        1.4104        .30239E-04   -1.5427    
  18  Prefactor     .10000E-03    36.552        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    14.110        .11486E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    3.0666        .53482E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .88063        .66240        .31032E-03   -.97144    
  22  Prefactor     .57345        .30527        .20393E-03   -1.0872    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.05052e-10
Minuit parameter uncertainties:
  1  2.33986e-05
  2  119.004
  3  7.01172e-07
  4  43.7633
  5  4.32106e-05
  6  26.3597
  7  53.4887
  8  0.000648484
  9  162.732
  10  76.6887
  11  8.85262e-05
  12  80.2918
  13  0.00187309
  14  145.263
  15  2.90638e-05
  16  160.731
  17  1.41046
  18  1.20466e-05
  19  3.2819e-05
  20  1.69612e-05
  21  0.668658
  22  0.306155
Done.

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

Extracting fit parameters...

4FGL J0733.6+3649
   Spectrum: PowerLaw
279    Prefactor:  3.114e+00  5.349e+01  1.000e-04  1.000e+04 ( 1.000e-13)
280        Index:  2.374e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
281        Scale:  1.233e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  5.734e-01  3.062e-01  0.000e+00  1.000e+01 ( 1.000e+00)
612        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
613        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
610   Normalization:  8.806e-01  6.687e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 113.420 36.822
Photon Flux Upper Limit: 4.32e-07 ph cm-2 s-1
Energy Flux Upper Limit: 3.33e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/483957/likelihoodResults_585878401_586137601_4FGL_J0733.6+3649_daily_bin1337.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) = 979.805103683
delta logL = 0.0112643817264

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 979.802827429
delta logL = 0.0135406355363

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   979.8028     FROM MIGRAD    STATUS=CONVERGED    103 CALLS      292 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.9773        203.01        .11705E-02   -.42807E-05
   2  Index         3.0266        6.3867        .75519E-02    .35903E-04
   3  Normalizat    .85559        .57117        .31474E-03   -.89308E-05
   4  Prefactor     .58047        .29676        .20283E-03   -.47434E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.9773
  Index      = 3.02659
  Normalizat = 0.855589
  Prefactor  = 0.580471
 **********
 **   18 **HESSE 
 **********

 FCN=   979.8028     FROM HESSE     STATUS=OK            27 CALLS      319 TOTAL
                     EDM=   .19E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.9773        64.667        .46822E-04   -1.5363    
   2  Index         3.0266        3.4084        .15104E-02   -.40572    
   3  Normalizat    .85559        .57086        .12590E-04   -.98039    
   4  Prefactor     .58047        .29716        .81130E-05   -1.0841    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.88749e-12
Minuit parameter uncertainties:
  1  27.785
  2  3.84021
  3  0.574949
  4  0.297968
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/483957': 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) = 979.802824747
delta logL = 0.013543318202

Extracting fit parameters...

4FGL J0733.6+3649
   Spectrum: PowerLaw
279    Prefactor:  2.977e+00  2.778e+01  1.000e-04  1.000e+04 ( 1.000e-13)
280        Index:  3.027e+00  3.840e+00  0.000e+00  1.000e+01 (-1.000e+00)
281        Scale:  1.233e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  5.805e-01  2.980e-01  0.000e+00  1.000e+01 ( 1.000e+00)
612        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
613        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
610   Normalization:  8.556e-01  5.749e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 113.420 36.822

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/483957/cmap_HighResolution_585878401_586137601_4FGL_J0733.6+3649_daily_bin1337.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.33e-02', job_status='DONE', photon_flux_upper_limit='4.32e-07', time_completed='2021-08-27 14:45:34.049638', job_id='483957', GAL2='0.58', fit_tolerance='1e-08', EG2='0.86', EG='0.88', time_epoch_completed='1630100734.05', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.57', dlogl='1.35e-02', ts2='0.04', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='1337' AND source_name='4FGL J0733.6+3649' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 27 14:45:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0115>
Subject: Job 483957: <4FGL_J0733.6+3649_daily_bin1337> in cluster <slac> Done

Job <4FGL_J0733.6+3649_daily_bin1337> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Fri Aug 27 14:35:33 2021
Job was executed on host(s) <bullet0115>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 27 14:37:55 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Aug 27 14:37:55 2021
Terminated at Fri Aug 27 14:45:34 2021
Results reported at Fri Aug 27 14:45:34 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0733.6+3649_daily_bin1337 113.42 36.8225 585878401 586137601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0733.6+3649 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   434.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             296.69 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   459 sec.
    Turnaround time :                            601 sec.

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

