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


Performing analysis on: 4FGL_J0753.9+0923_daily_bin607
RA = 118.491, Dec = 9.3904
tmin = 396662401, tmax = 396921601
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='994397', job_status='RUN', time_executed='2021-08-28 18:52:55.692328', time_epoch_executed='1630201975.69' WHERE source_name='4FGL J0753.9+0923' and cadence='daily' and bin_id='607'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/994397

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/994397/ft1_4FGL_J0753.9+0923_daily_bin607.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/994397/ft2_4FGL_J0753.9+0923_daily_bin607.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/994397/ft1_4FGL_J0753.9+0923_daily_bin607.fits outfile=/scratch/kocevski/994397/ft1_filteredMKT_4FGL_J0753.9+0923_daily_bin607.fits ra=118.491 dec=9.3904 rad=12.0 tmin=396662401.0 tmax=396921601.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 3.83
user 3.13
sys 0.67

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/994397/ft2_4FGL_J0753.9+0923_daily_bin607.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/994397/ft2_4FGL_J0753.9+0923_daily_bin607.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/994397/ft1_filteredMKT_4FGL_J0753.9+0923_daily_bin607.fits evtable="EVENTS" outfile="/scratch/kocevski/994397/ft1_filtered_4FGL_J0753.9+0923_daily_bin607.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 1.09
user 0.33
sys 0.67

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/994397/ft1_filtered_4FGL_J0753.9+0923_daily_bin607.fits" evtable="EVENTS" scfile=/scratch/kocevski/994397/ft2_4FGL_J0753.9+0923_daily_bin607.fits sctable="SC_DATA" outfile=/scratch/kocevski/994397/ltcube_396662401_396921601_4FGL_J0753.9+0923_daily_bin607.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/994397/ft2_4FGL_J0753.9+0923_daily_bin607.fits
.....................!
real 12.92
user 11.82
sys 0.95

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/994397/ft1_filtered_4FGL_J0753.9+0923_daily_bin607.fits evtable="EVENTS" scfile=/scratch/kocevski/994397/ft2_4FGL_J0753.9+0923_daily_bin607.fits sctable="SC_DATA" expcube=/scratch/kocevski/994397/ltcube_396662401_396921601_4FGL_J0753.9+0923_daily_bin607.fits outfile=/scratch/kocevski/994397/expmap_396662401_396921601_4FGL_J0753.9+0923_daily_bin607.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/994397/ltcube_396662401_396921601_4FGL_J0753.9+0923_daily_bin607.fits
.....................!
real 191.91
user 185.74
sys 5.29

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 Rosette in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/Rosette.fits is the correct path to the extended template.
Extended source Monoceros in ROI with RadialGaussian spatial model.
Added 166 point sources and 2 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 J0753.9+0923 @ 118.491 9.3904

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/994397/ft1_filtered_4FGL_J0753.9+0923_daily_bin607.fits scfile=/scratch/kocevski/994397/ft2_4FGL_J0753.9+0923_daily_bin607.fits outfile=/scratch/kocevski/994397/cmap_396662401_396921601_4FGL_J0753.9+0923_daily_bin607.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=118.491 yref=9.3904 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.04
user 0.38
sys 0.63

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/994397/ft1_filtered_4FGL_J0753.9+0923_daily_bin607.fits scfile=/scratch/kocevski/994397/ft2_4FGL_J0753.9+0923_daily_bin607.fits outfile=/scratch/kocevski/994397/cmap_HighResolution_396662401_396921601_4FGL_J0753.9+0923_daily_bin607.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=118.491 yref=9.3904 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.10
user 0.38
sys 0.66

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/994397/ft1_filtered_4FGL_J0753.9+0923_daily_bin607.fits evtable="EVENTS" scfile=/scratch/kocevski/994397/ft2_4FGL_J0753.9+0923_daily_bin607.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/994397/Model_4FGL_J0753.9+0923_daily_bin607.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
adding source Rosette
Working on...
/scratch/kocevski/994397/ft1_filtered_4FGL_J0753.9+0923_daily_bin607.fits.....................!
real 96.50
user 93.47
sys 2.48

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/994397/ft1_filtered_4FGL_J0753.9+0923_daily_bin607.fits', '/scratch/kocevski/994397/ft2_4FGL_J0753.9+0923_daily_bin607.fits', expMap='/scratch/kocevski/994397/expmap_396662401_396921601_4FGL_J0753.9+0923_daily_bin607.fits', expCube='/scratch/kocevski/994397/ltcube_396662401_396921601_4FGL_J0753.9+0923_daily_bin607.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/994397/Model_4FGL_J0753.9+0923_daily_bin607.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0753.9+0923'

4FGL J0753.9+0923
   Spectrum: LogParabola
259         norm:  2.323e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
260        alpha:  2.464e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
261         beta:  3.240e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
262           Eb:  1.320e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/994397/ft1_filtered_4FGL_J0753.9+0923_daily_bin607.fits
Spacecraft file(s): /scratch/kocevski/994397/ft2_4FGL_J0753.9+0923_daily_bin607.fits
Exposure map: /scratch/kocevski/994397/expmap_396662401_396921601_4FGL_J0753.9+0923_daily_bin607.fits
Exposure cube: /scratch/kocevski/994397/ltcube_396662401_396921601_4FGL_J0753.9+0923_daily_bin607.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/994397/Model_4FGL_J0753.9+0923_daily_bin607.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) = 7287.83916461

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    1.2529       1.0000         .10000E-03   10000.    
     3 'norm      '    2.4613       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    9.2996       1.0000         .10000E-03   10000.    
     6 'norm      '    6.0709       1.0000         .10000E-03   10000.    
     7 'norm      '    3.7734       1.0000         .10000E-03   10000.    
     8 'Prefactor '    12.792       1.0000         .10000E-03   10000.    
     9 'Prefactor '    46.469       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .18679E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    48.910       1.0000         .10000E-03   10000.    
    17 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .11240E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .11674E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    22.679       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    2.5153       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1146       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .99348       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5560E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7287.823     FROM MIGRAD    STATUS=CONVERGED    538 CALLS     2695 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    22.585        .90864E-07** at limit **
   2  norm          1.2523        1.9843       -.45070E-06   -.12168E-02
   3  norm          2.4611        1.2191       -.26958E-06   -.49057E-02
   4  Prefactor     .10000E-03    14.846        .42792E-06** at limit **
   5  Prefactor     9.3025        64.386        .78499E-05    .24368E-05
   6  norm          6.0690        2.9266       -.50490E-06    .14100E-03
   7  norm          3.7729        2.4328       -.13972E-06   -.43023E-03
   8  Prefactor     12.805        16.475        .33610E-05   -.31439E-04
   9  Prefactor     46.466        42.568       -.32904E-05    .72228E-06
  10  Prefactor     .10000E-03    18.645       -.10597E-04** at limit **
  11  Prefactor     .10000E-03    1.4376        .12018E-06** at limit **
  12  norm          .10000E-03    9.9973        .36318E-05** at limit **
  13  Prefactor     .10000E-03    6.5601       -.89407E-05** at limit **
  14  Prefactor     .10000E-03    43.913       -.21643E-04** at limit **
  15  norm          .10000E-03    40.123        .18464E-05** at limit **
  16  Prefactor     48.925        36.460        .14788E-04   -.14941E-03
  17  norm          .10000E-03    4.4885        .18004E-05** at limit **
  18  norm          .10000E-03    30.935        .23300E-04** at limit **
  19  norm          .10000E-03    1.8432       -.14243E-05** at limit **
  20  Prefactor     22.673        27.385       -.61606E-05   -.10477E-03
  21  Prefactor     .10000E-03    6.1300        .83773E-05** at limit **
  22  norm          2.5155        1.2144        .17677E-07   -.24353E-03
  23  Normalizat    1.1142        .20322       -.31947E-05    .88458E-04
  24  Prefactor     .99375        .12320        .62087E-06   -.13356E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 1.25234
  norm       = 2.46112
  Prefactor  = 0.0001
  Prefactor  = 9.30254
  norm       = 6.06896
  norm       = 3.77294
  Prefactor  = 12.8053
  Prefactor  = 46.4658
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 48.9246
  norm       = 0.0001
  norm       = 0.000100005
  norm       = 0.000100004
  Prefactor  = 22.6731
  Prefactor  = 0.0001
  norm       = 2.51553
  Normalizat = 1.1142
  Prefactor  = 0.993755
 **********
 **   18 **HESSE 
 **********

 FCN=   7287.823     FROM HESSE     STATUS=OK           393 CALLS     3088 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    22.613        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.2523        1.9461        .13786E-03   -1.5484    
   3  norm          2.4611        1.2233        .32024E-03   -1.5394    
   4  Prefactor     .10000E-03    14.849        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     9.3025        62.696        .13142E-03   -1.5098    
   6  norm          6.0690        2.9748        .73031E-04   -1.5215    
   7  norm          3.7729        2.4231        .98240E-04   -1.5319    
   8  Prefactor     12.805        16.809        .11200E-03   -1.4992    
   9  Prefactor     46.466        42.569        .58819E-04   -1.4344    
  10  Prefactor     .10000E-03    18.670        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    3.7741        .19784E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    10.063        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    6.5863        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    43.937        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    40.130        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     48.925        36.097        .57339E-04   -1.4308    
  17  norm          .10000E-03    4.4973        .17662E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    30.545        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    4.6940        .22448E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     22.673        27.512        .84110E-04   -1.4755    
  21  Prefactor     .10000E-03    6.1525        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          2.5155        1.2144        .63207E-04   -1.5391    
  23  Normalizat    1.1142        .23192        .31534E-03   -.89297    
  24  Prefactor     .99375        .14182        .20606E-03   -.92938    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.25774e-09
Minuit parameter uncertainties:
  1  5.56982e-06
  2  1.94619
  3  1.22326
  4  6.91782e-07
  5  48.3735
  6  2.97483
  7  2.42312
  8  16.8152
  9  42.5965
  10  1.33575e-05
  11  2.97541e-05
  12  9.48013e-06
  13  1.06839e-05
  14  1.53398e-05
  15  7.66851e-06
  16  36.1132
  17  2.48386e-06
  18  0.000748208
  19  0.000281172
  20  27.5269
  21  7.11889e-06
  22  1.21439
  23  0.232128
  24  0.141878
Done.

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

Extracting fit parameters...

4FGL J0753.9+0923
   Spectrum: LogParabola
259         norm:  1.000e-04  9.480e-06  1.000e-04  1.000e+04 ( 1.000e-13)
260        alpha:  2.464e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
261         beta:  3.240e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
262           Eb:  1.320e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
545    Prefactor:  9.938e-01  1.419e-01  0.000e+00  1.000e+01 ( 1.000e+00)
546        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
547        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
544   Normalization:  1.114e+00  2.321e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 118.491 9.390
Photon Flux Upper Limit: 4.30e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.99e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/994397/likelihoodResults_396662401_396921601_4FGL_J0753.9+0923_daily_bin607.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) = 7287.82373288
delta logL = -0.000473404357763

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7287.8232601
delta logL = -6.20306309429e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10120E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4724       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1140       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99389       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5560E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7287.823     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      200 TOTAL
                     EDM=   .19E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    10.541        .90712E-02** at limit **
   2  alpha         2.4807        3.5645        .41155       -.42084E-05
   3  Normalizat    1.1142        .19031        .71267E-01    .17266E-04
   4  Prefactor     .99376        .11886        .46191E-01    .77461E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.48072
  Normalizat = 1.1142
  Prefactor  = 0.993756
 **********
 **   18 **HESSE 
 **********

 FCN=   7287.823     FROM HESSE     STATUS=OK            33 CALLS      233 TOTAL
                     EDM=   .18E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    10.124        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.4807        3.5489        .50000       -.77137E-02
   3  Normalizat    1.1142        .21663        .31535E-03   -.89297    
   4  Prefactor     .99376        .13546        .20606E-03   -.92938    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.77512e-11
Minuit parameter uncertainties:
  1  6.66785e-06
  2  2.50565
  3  0.216808
  4  0.13551
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/994397': 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) = 7287.82325945
delta logL = 2.73876139545e-08

Extracting fit parameters...

4FGL J0753.9+0923
   Spectrum: LogParabola
259         norm:  1.000e-04  6.668e-06  1.000e-04  1.000e+04 ( 1.000e-13)
260        alpha:  2.481e+00  2.506e+00  0.000e+00  5.000e+00 ( 1.000e+00)
261         beta:  3.240e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
262           Eb:  1.320e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
545    Prefactor:  9.938e-01  1.355e-01  0.000e+00  1.000e+01 ( 1.000e+00)
546        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
547        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
544   Normalization:  1.114e+00  2.168e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 118.491 9.390

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/994397/cmap_HighResolution_396662401_396921601_4FGL_J0753.9+0923_daily_bin607.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.99e-05', job_status='DONE', photon_flux_upper_limit='4.30e-08', time_completed='2021-08-28 19:05:31.168349', job_id='994397', GAL2='0.99', fit_tolerance='1e-08', EG2='1.11', EG='1.11', time_epoch_completed='1630202731.17', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='2.74e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.46' WHERE bin_id='607' AND source_name='4FGL J0753.9+0923' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 19:05:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0224>
Subject: Job 994397: <4FGL_J0753.9+0923_daily_bin607> in cluster <slac> Done

Job <4FGL_J0753.9+0923_daily_bin607> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Aug 28 18:50:23 2021
Job was executed on host(s) <bullet0224>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 18:50:25 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 28 18:50:25 2021
Terminated at Sat Aug 28 19:05:31 2021
Results reported at Sat Aug 28 19:05:31 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0753.9+0923_daily_bin607 118.491 9.3904 396662401 396921601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0753.9+0923 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   755.41 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             265.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   906 sec.
    Turnaround time :                            908 sec.

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

