/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 33 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 = 7394
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0749.9+1823_daily_bin61
RA = 117.485, Dec = 18.387
tmin = 255139201, tmax = 255398401
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='929563', job_status='RUN', time_executed='2021-08-28 15:33:16.592407', time_epoch_executed='1630189996.59' WHERE source_name='4FGL J0749.9+1823' and cadence='daily' and bin_id='61'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/929563

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/929563/ft1_4FGL_J0749.9+1823_daily_bin61.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/929563/ft2_4FGL_J0749.9+1823_daily_bin61.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/929563/ft1_4FGL_J0749.9+1823_daily_bin61.fits outfile=/scratch/kocevski/929563/ft1_filteredMKT_4FGL_J0749.9+1823_daily_bin61.fits ra=117.485 dec=18.387 rad=12.0 tmin=255139201.0 tmax=255398401.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 16.08
user 7.16
sys 8.86

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/929563/ft2_4FGL_J0749.9+1823_daily_bin61.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/929563/ft2_4FGL_J0749.9+1823_daily_bin61.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/929563/ft1_filteredMKT_4FGL_J0749.9+1823_daily_bin61.fits evtable="EVENTS" outfile="/scratch/kocevski/929563/ft1_filtered_4FGL_J0749.9+1823_daily_bin61.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 9.23
user 0.33
sys 8.76

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/929563/ft1_filtered_4FGL_J0749.9+1823_daily_bin61.fits" evtable="EVENTS" scfile=/scratch/kocevski/929563/ft2_4FGL_J0749.9+1823_daily_bin61.fits sctable="SC_DATA" outfile=/scratch/kocevski/929563/ltcube_255139201_255398401_4FGL_J0749.9+1823_daily_bin61.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/929563/ft2_4FGL_J0749.9+1823_daily_bin61.fits
.....................!
real 22.18
user 11.43
sys 10.42

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/929563/ft1_filtered_4FGL_J0749.9+1823_daily_bin61.fits evtable="EVENTS" scfile=/scratch/kocevski/929563/ft2_4FGL_J0749.9+1823_daily_bin61.fits sctable="SC_DATA" expcube=/scratch/kocevski/929563/ltcube_255139201_255398401_4FGL_J0749.9+1823_daily_bin61.fits outfile=/scratch/kocevski/929563/expmap_255139201_255398401_4FGL_J0749.9+1823_daily_bin61.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/929563/ltcube_255139201_255398401_4FGL_J0749.9+1823_daily_bin61.fits
.....................!
real 202.46
user 185.07
sys 16.50

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 Monoceros in ROI with RadialGaussian spatial model.
Added 162 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 J0749.9+1823 @ 117.485 18.387

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/929563/ft1_filtered_4FGL_J0749.9+1823_daily_bin61.fits scfile=/scratch/kocevski/929563/ft2_4FGL_J0749.9+1823_daily_bin61.fits outfile=/scratch/kocevski/929563/cmap_255139201_255398401_4FGL_J0749.9+1823_daily_bin61.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=117.485 yref=18.387 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 9.06
user 0.39
sys 8.49

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/929563/ft1_filtered_4FGL_J0749.9+1823_daily_bin61.fits scfile=/scratch/kocevski/929563/ft2_4FGL_J0749.9+1823_daily_bin61.fits outfile=/scratch/kocevski/929563/cmap_HighResolution_255139201_255398401_4FGL_J0749.9+1823_daily_bin61.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=117.485 yref=18.387 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 9.10
user 0.39
sys 8.53

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/929563/ft1_filtered_4FGL_J0749.9+1823_daily_bin61.fits evtable="EVENTS" scfile=/scratch/kocevski/929563/ft2_4FGL_J0749.9+1823_daily_bin61.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/929563/Model_4FGL_J0749.9+1823_daily_bin61.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 Monoceros
Working on...
/scratch/kocevski/929563/ft1_filtered_4FGL_J0749.9+1823_daily_bin61.fits.....................!
real 68.01
user 54.61
sys 12.52

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/929563/ft1_filtered_4FGL_J0749.9+1823_daily_bin61.fits', '/scratch/kocevski/929563/ft2_4FGL_J0749.9+1823_daily_bin61.fits', expMap='/scratch/kocevski/929563/expmap_255139201_255398401_4FGL_J0749.9+1823_daily_bin61.fits', expCube='/scratch/kocevski/929563/ltcube_255139201_255398401_4FGL_J0749.9+1823_daily_bin61.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/929563/Model_4FGL_J0749.9+1823_daily_bin61.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0749.9+1823'

4FGL J0749.9+1823
   Spectrum: PowerLaw
256    Prefactor:  7.199e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
257        Index:  2.522e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
258        Scale:  7.475e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/929563/ft1_filtered_4FGL_J0749.9+1823_daily_bin61.fits
Spacecraft file(s): /scratch/kocevski/929563/ft2_4FGL_J0749.9+1823_daily_bin61.fits
Exposure map: /scratch/kocevski/929563/expmap_255139201_255398401_4FGL_J0749.9+1823_daily_bin61.fits
Exposure cube: /scratch/kocevski/929563/ltcube_255139201_255398401_4FGL_J0749.9+1823_daily_bin61.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/929563/Model_4FGL_J0749.9+1823_daily_bin61.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) = 4523.98333205

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .25616E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10058E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    2.9009       1.0000         .10000E-03   10000.    
     5 'norm      '    .12146       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10222E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    1.0400       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .23988E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    12.857       1.0000         .10000E-03   10000.    
    11 'Prefactor '    6.5232       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10149E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    15.871       1.0000         .10000E-03   10000.    
    14 'Prefactor '    6.3702       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    87.712       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .11644E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10213E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10093E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .11245       1.0000         .10000E-03   10000.    
    21 'norm      '    1.9373       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    2.2535       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.1445       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0778       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5360E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4523.938     FROM MIGRAD    STATUS=CONVERGED    632 CALLS     2972 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    180.54       -.10710E-03** at limit **
   2  Prefactor     .10000E-03    4.1763       -.70074E-07** at limit **
   3  norm          .10000E-03    16.218       -.30124E-06** at limit **
   4  norm          2.9006        1.9634       -.55933E-06   -.28973E-03
   5  norm          .12140        1.2727        .17725E-05   -.47310E-03
   6  Prefactor     .10000E-03    11.262        .11909E-05** at limit **
   7  norm          1.0407        4.4550       -.27800E-05   -.81364E-03
   8  Prefactor     .10000E-03    45.249       -.12062E-04** at limit **
   9  Prefactor     .10000E-03    13.569        .52152E-07** at limit **
  10  Prefactor     12.884        37.841       -.98912E-04   -.51193E-04
  11  Prefactor     6.5225        4.4866       -.40280E-06   -.13676E-03
  12  Prefactor     .10000E-03    21.859       -.11069E-06** at limit **
  13  norm          15.863        22.012       -.13230E-04    .33013E-04
  14  Prefactor     6.3739        11.698        .92332E-05   -.92597E-04
  15  Prefactor     .10000E-03    44.532       -.28416E-04** at limit **
  16  norm          87.499        145.08       -.96544E-04    .12948E-04
  17  Prefactor     .10000E-03    47.290        .34576E-04** at limit **
  18  Prefactor     .10000E-03    38.596        .79468E-05** at limit **
  19  Prefactor     .10000E-03    5.1683       -.18797E-07** at limit **
  20  Prefactor     .22858E-03    59.462       -.65612E-05** at limit **
  21  norm          1.9423        2.2866       -.18470E-06    .20372E-02
  22  Prefactor     .10000E-03    12.066       -.87478E-07** at limit **
  23  Prefactor     2.2531        7.7204       -.41346E-05   -.30243E-03
  24  Normalizat    1.1447        .25692        .77061E-05    .29327E-03
  25  Prefactor     1.0777        .17238        .44062E-05    .39078E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 2.90061
  norm       = 0.121404
  Prefactor  = 0.000100003
  norm       = 1.04071
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.8842
  Prefactor  = 6.52249
  Prefactor  = 0.0001
  norm       = 15.8626
  Prefactor  = 6.37394
  Prefactor  = 0.0001
  norm       = 87.4992
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000228576
  norm       = 1.94232
  Prefactor  = 0.0001
  Prefactor  = 2.25312
  Normalizat = 1.14472
  Prefactor  = 1.0777
 **********
 **   18 **HESSE 
 **********

 FCN=   4523.938     FROM HESSE     STATUS=OK           433 CALLS     3405 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    182.77        .21455E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    4.1809        .13424E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    16.405        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          2.9006        1.9585        .73269E-04   -1.5367    
   5  norm          .12140        8.3959        .14321E-02   -1.5638    
   6  Prefactor     .10000E-03    11.371        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.0407        4.4447        .26830E-03   -1.5504    
   8  Prefactor     .10000E-03    45.360        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    13.595        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     12.884        37.898        .11171E-03   -1.4990    
  11  Prefactor     6.5225        4.5015        .11181E-03   -1.5197    
  12  Prefactor     .10000E-03    21.869        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          15.863        22.085        .10053E-03   -1.4911    
  14  Prefactor     6.3739        11.723        .15903E-03   -1.5203    
  15  Prefactor     .10000E-03    44.526        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          87.499        145.23        .21450E-03   -1.3834    
  17  Prefactor     .10000E-03    47.509        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    38.618        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    5.1719        .14934E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .22858E-03    72.057        .10486       -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          1.9423        2.2958        .87106E-04   -1.5429    
  22  Prefactor     .10000E-03    12.178        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     2.2531        7.7042        .27369E-03   -1.5408    
  24  Normalizat    1.1447        .29890        .29488E-03   -.88329    
  25  Prefactor     1.0777        .20142        .21108E-03   -.90183    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.6407e-09
Minuit parameter uncertainties:
  1  0.000358841
  2  1.51587e-05
  3  0.000169052
  4  1.95849
  5  2.01867
  6  0.000374932
  7  4.30181
  8  1.07858e-05
  9  5.77735e-05
  10  37.9685
  11  4.50173
  12  8.64033e-06
  13  22.0964
  14  11.7273
  15  8.37295e-06
  16  145.826
  17  0.00032821
  18  9.87517e-05
  19  1.18813e-05
  20  0.192739
  21  2.29589
  22  4.74408e-05
  23  7.70761
  24  0.29935
  25  0.201563
Done.

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

Extracting fit parameters...

4FGL J0749.9+1823
   Spectrum: PowerLaw
256    Prefactor:  1.288e+01  3.797e+01  1.000e-04  1.000e+04 ( 1.000e-13)
257        Index:  2.522e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
258        Scale:  7.475e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
529    Prefactor:  1.078e+00  2.016e-01  0.000e+00  1.000e+01 ( 1.000e+00)
530        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
531        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
528   Normalization:  1.145e+00  2.993e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.14
Ra Dec: 117.485 18.387
Photon Flux Upper Limit: 1.29e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.01e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/929563/likelihoodResults_255139201_255398401_4FGL_J0749.9+1823_daily_bin61.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) = 4523.92764324
delta logL = 0.0105850507116

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4523.92317802
delta logL = 0.0150502695342

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    17.323       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2963       1.0000          .0000       10.000    
     3 'Normalizat'    1.1459       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0766       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5360E+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=   4523.923     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      280 TOTAL
                     EDM=   .10E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.323        51.031        .96229E-04   -.26227E-04
   2  Index         2.2961        1.2340        .13988E-01   -.53813E-05
   3  Normalizat    1.1456        .27932        .29477E-03    .17086E-04
   4  Prefactor     1.0768        .19552        .21115E-03    .18468E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.3233
  Index      = 2.2961
  Normalizat = 1.14557
  Prefactor  = 1.07678
 **********
 **   18 **HESSE 
 **********

 FCN=   4523.923     FROM HESSE     STATUS=OK            25 CALLS      305 TOTAL
                     EDM=   .13E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.323        49.185        .38492E-05   -1.4875    
   2  Index         2.2961        1.1915        .55951E-03   -.57137    
   3  Normalizat    1.1456        .27957        .11791E-04   -.88302    
   4  Prefactor     1.0768        .19566        .84460E-05   -.90212    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.32558e-11
Minuit parameter uncertainties:
  1  49.3005
  2  1.20809
  3  0.279936
  4  0.195793
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/929563': 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) = 4523.92317736
delta logL = 0.0150509372852

Extracting fit parameters...

4FGL J0749.9+1823
   Spectrum: PowerLaw
256    Prefactor:  1.732e+01  4.930e+01  1.000e-04  1.000e+04 ( 1.000e-13)
257        Index:  2.296e+00  1.208e+00  0.000e+00  1.000e+01 (-1.000e+00)
258        Scale:  7.475e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
529    Prefactor:  1.077e+00  1.958e-01  0.000e+00  1.000e+01 ( 1.000e+00)
530        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
531        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
528   Normalization:  1.146e+00  2.799e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.14
Ra Dec: 117.485 18.387

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/929563/cmap_HighResolution_255139201_255398401_4FGL_J0749.9+1823_daily_bin61.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.01e-02', job_status='DONE', photon_flux_upper_limit='1.29e-07', time_completed='2021-08-28 15:45:44.657448', job_id='929563', GAL2='1.08', fit_tolerance='1e-08', EG2='1.15', EG='1.14', time_epoch_completed='1630190744.66', return_code2='0', ts='0.14', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='1.51e-02', ts2='0.17', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='61' AND source_name='4FGL J0749.9+1823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 15:45:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0279>
Subject: Job 929563: <4FGL_J0749.9+1823_daily_bin61> in cluster <slac> Done

Job <4FGL_J0749.9+1823_daily_bin61> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Aug 28 15:30:23 2021
Job was executed on host(s) <bullet0279>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 15:30:24 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 28 15:30:24 2021
Terminated at Sat Aug 28 15:45:46 2021
Results reported at Sat Aug 28 15:45:46 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0749.9+1823_daily_bin61 117.485 18.387 255139201 255398401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0749.9+1823 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   861.23 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             232.31 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   921 sec.
    Turnaround time :                            923 sec.

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

