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


Performing analysis on: 4FGL_J0753.9+0923_daily_bin488
RA = 118.491, Dec = 9.3904
tmin = 365817601, tmax = 366076801
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='992564', job_status='RUN', time_executed='2021-08-28 18:48:28.344534', time_epoch_executed='1630201708.34' WHERE source_name='4FGL J0753.9+0923' and cadence='daily' and bin_id='488'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/992564

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/992564/ft1_4FGL_J0753.9+0923_daily_bin488.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/992564/ft2_4FGL_J0753.9+0923_daily_bin488.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/992564/ft1_4FGL_J0753.9+0923_daily_bin488.fits outfile=/scratch/kocevski/992564/ft1_filteredMKT_4FGL_J0753.9+0923_daily_bin488.fits ra=118.491 dec=9.3904 rad=12.0 tmin=365817601.0 tmax=366076801.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 5.21
user 3.27
sys 1.87

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/992564/ft2_4FGL_J0753.9+0923_daily_bin488.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/992564/ft1_filteredMKT_4FGL_J0753.9+0923_daily_bin488.fits evtable="EVENTS" outfile="/scratch/kocevski/992564/ft1_filtered_4FGL_J0753.9+0923_daily_bin488.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.16
user 0.31
sys 1.80

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/992564/ft1_filtered_4FGL_J0753.9+0923_daily_bin488.fits" evtable="EVENTS" scfile=/scratch/kocevski/992564/ft2_4FGL_J0753.9+0923_daily_bin488.fits sctable="SC_DATA" outfile=/scratch/kocevski/992564/ltcube_365817601_366076801_4FGL_J0753.9+0923_daily_bin488.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/992564/ft2_4FGL_J0753.9+0923_daily_bin488.fits
.....................!
real 13.78
user 11.56
sys 2.15

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/992564/ft1_filtered_4FGL_J0753.9+0923_daily_bin488.fits evtable="EVENTS" scfile=/scratch/kocevski/992564/ft2_4FGL_J0753.9+0923_daily_bin488.fits sctable="SC_DATA" expcube=/scratch/kocevski/992564/ltcube_365817601_366076801_4FGL_J0753.9+0923_daily_bin488.fits outfile=/scratch/kocevski/992564/expmap_365817601_366076801_4FGL_J0753.9+0923_daily_bin488.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/992564/ltcube_365817601_366076801_4FGL_J0753.9+0923_daily_bin488.fits
.....................!
real 192.51
user 185.55
sys 6.61

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/992564/ft1_filtered_4FGL_J0753.9+0923_daily_bin488.fits scfile=/scratch/kocevski/992564/ft2_4FGL_J0753.9+0923_daily_bin488.fits outfile=/scratch/kocevski/992564/cmap_365817601_366076801_4FGL_J0753.9+0923_daily_bin488.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 2.18
user 0.37
sys 1.78

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/992564/ft1_filtered_4FGL_J0753.9+0923_daily_bin488.fits scfile=/scratch/kocevski/992564/ft2_4FGL_J0753.9+0923_daily_bin488.fits outfile=/scratch/kocevski/992564/cmap_HighResolution_365817601_366076801_4FGL_J0753.9+0923_daily_bin488.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 2.13
user 0.38
sys 1.74

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/992564/ft1_filtered_4FGL_J0753.9+0923_daily_bin488.fits evtable="EVENTS" scfile=/scratch/kocevski/992564/ft2_4FGL_J0753.9+0923_daily_bin488.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/992564/Model_4FGL_J0753.9+0923_daily_bin488.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/992564/ft1_filtered_4FGL_J0753.9+0923_daily_bin488.fits.....................!
real 90.62
user 86.54
sys 3.45

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/992564/ft1_filtered_4FGL_J0753.9+0923_daily_bin488.fits', '/scratch/kocevski/992564/ft2_4FGL_J0753.9+0923_daily_bin488.fits', expMap='/scratch/kocevski/992564/expmap_365817601_366076801_4FGL_J0753.9+0923_daily_bin488.fits', expCube='/scratch/kocevski/992564/ltcube_365817601_366076801_4FGL_J0753.9+0923_daily_bin488.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/992564/Model_4FGL_J0753.9+0923_daily_bin488.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/992564/ft1_filtered_4FGL_J0753.9+0923_daily_bin488.fits
Spacecraft file(s): /scratch/kocevski/992564/ft2_4FGL_J0753.9+0923_daily_bin488.fits
Exposure map: /scratch/kocevski/992564/expmap_365817601_366076801_4FGL_J0753.9+0923_daily_bin488.fits
Exposure cube: /scratch/kocevski/992564/ltcube_365817601_366076801_4FGL_J0753.9+0923_daily_bin488.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/992564/Model_4FGL_J0753.9+0923_daily_bin488.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) = 6476.08977554

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    31.109       1.0000         .10000E-03   10000.    
     2 'norm      '    .10071E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    4.0819       1.0000         .10000E-03   10000.    
     4 'Prefactor '    13.063       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    3.8993       1.0000         .10000E-03   10000.    
     7 'norm      '    2.6667       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10212E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.0517       1.0000         .10000E-03   10000.    
    12 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    20.266       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .20585E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10025E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10523E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    6.5577       1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.7874       1.0000         .10000E-03   10000.    
    21 'Prefactor '    8.1709       1.0000         .10000E-03   10000.    
    22 'norm      '    1.6757       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.2672       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .96634       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=   6476.085     FROM MIGRAD    STATUS=CONVERGED    543 CALLS     2705 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     31.097        42.574       -.11288E-04    .61140E-05
   2  norm          .10000E-03    1.0884       -.37959E-06** at limit **
   3  norm          4.0820        1.5993       -.88484E-07   -.33136E-03
   4  Prefactor     13.071        76.846        .16377E-04    .21886E-04
   5  Prefactor     .10000E-03    27.739        .12314E-04** at limit **
   6  norm          3.9014        1.6891       -.71662E-07   -.35402E-03
   7  norm          2.6661        2.1991       -.28734E-06   -.38410E-03
   8  Prefactor     .10000E-03    16.573        .10645E-04** at limit **
   9  Prefactor     .10000E-03    16.018       -.12522E-04** at limit **
  10  Prefactor     .10000E-03    43.844       -.18236E-04** at limit **
  11  Prefactor     2.0522        2.9734       -.43445E-06   -.70047E-03
  12  norm          .10000E-03    13.632        .16918E-05** at limit **
  13  Prefactor     20.270        13.216        .35903E-06    .55513E-04
  14  Prefactor     .10000E-03    54.416        .21897E-04** at limit **
  15  norm          .10000E-03    74.310        .38349E-04** at limit **
  16  Prefactor     .10001E-03    101.46       -.50849E-04** at limit **
  17  norm          .10000E-03    8.2638        .20125E-06** at limit **
  18  norm          .10000E-03    31.054       -.15214E-04** at limit **
  19  norm          6.5539        4.9394       -.70300E-06   -.19311E-02
  20  Prefactor     3.7693        81.377       -.31798E-04    .63535E-04
  21  Prefactor     8.1713        8.6571        .23212E-06    .50849E-04
  22  norm          1.6758        1.3849       -.63849E-07   -.20498E-03
  23  Normalizat    1.2668        .21406        .27526E-05    .17187E-03
  24  Prefactor     .96658        .13659       -.58076E-06    .37967E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 31.0968
  norm       = 0.000100001
  norm       = 4.08197
  Prefactor  = 13.0711
  Prefactor  = 0.0001
  norm       = 3.90138
  norm       = 2.66605
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.05223
  norm       = 0.0001
  Prefactor  = 20.2704
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100008
  norm       = 0.0001
  norm       = 0.000100003
  norm       = 6.55389
  Prefactor  = 3.76932
  Prefactor  = 8.17131
  norm       = 1.67576
  Normalizat = 1.2668
  Prefactor  = 0.966584
 **********
 **   18 **HESSE 
 **********

 FCN=   6476.085     FROM HESSE     STATUS=OK           399 CALLS     3104 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     31.097        42.774        .71838E-04   -1.4592    
   2  norm          .10000E-03    1.9619        .15841E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          4.0820        1.5999        .60804E-04   -1.5304    
   4  Prefactor     13.071        74.667        .11082E-03   -1.4985    
   5  Prefactor     .10000E-03    27.813        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.9014        1.6816        .33167E-03   -1.5313    
   7  norm          2.6661        2.1940        .10251E-03   -1.5381    
   8  Prefactor     .10000E-03    16.899        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    16.027        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    44.016        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.0522        2.9645        .15833E-03   -1.5421    
  12  norm          .10000E-03    13.659        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     20.270        13.212        .88971E-04   -1.4807    
  14  Prefactor     .10000E-03    54.447        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    74.363        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10001E-03    101.31        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    8.3347        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    30.991        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          6.5539        4.9637        .75237E-03   -1.5196    
  20  Prefactor     3.7693        81.166        .20743E-03   -1.5320    
  21  Prefactor     8.1713        8.6569        .14026E-03   -1.5136    
  22  norm          1.6758        1.3754        .82277E-04   -1.5449    
  23  Normalizat    1.2668        .24816        .29605E-03   -.84563    
  24  Prefactor     .96658        .15889        .21333E-03   -.93852    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.61615e-09
Minuit parameter uncertainties:
  1  42.8164
  2  6.6077e-05
  3  1.5999
  4  62.6005
  5  6.22908e-05
  6  1.68166
  7  2.19408
  8  0.000177746
  9  7.84032e-07
  10  7.69925e-05
  11  2.96472
  12  8.76562e-06
  13  13.2142
  14  9.99137e-06
  15  4.041e-05
  16  0.00177533
  17  2.80262e-06
  18  0.00062708
  19  4.96405
  20  35.036
  21  8.65826
  22  1.37539
  23  0.248388
  24  0.158971
Done.

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

Extracting fit parameters...

4FGL J0753.9+0923
   Spectrum: LogParabola
259         norm:  1.000e-04  8.766e-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.666e-01  1.590e-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.267e+00  2.484e-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: 5.87e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.71e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/992564/likelihoodResults_365817601_366076801_4FGL_J0753.9+0923_daily_bin488.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): 102
logL (Free Index) = 6476.08542722
delta logL = -0.000348817421582

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6476.08507842
delta logL = -1.50703272084e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10030E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4619       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2668       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96660       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6476.085     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      241 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10010E-03    662.18        .18142E-02** at limit **
   2  alpha         2.4248        3.3542        .50000        .45741E-06
   3  Normalizat    1.2668        .41420E-01    .29605E-03    .39169E-05
   4  Prefactor     .96658        .26640E-01    .21333E-03    .42633E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100101
  alpha      = 2.42484
  Normalizat = 1.2668
  Prefactor  = 0.966582
 **********
 **   18 **HESSE 
 **********

 FCN=   6476.085     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      270 TOTAL
                     EDM=   .44E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10010E-03    2203.7        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.4248        3.5061        .50000       -.30067E-01
   3  Normalizat    1.2668        .10188        .11842E-04   -.84563    
   4  Prefactor     .96658        .65530E-01    .85332E-05   -.93852    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.43215e-08
Minuit parameter uncertainties:
  1  0.0310114
  2  5073.77
  3  0.1019
  4  0.0655353
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/992564': 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): 102
logL (Free Index) = 6476.08507839
delta logL = 6.49924913887e-09

Extracting fit parameters...

4FGL J0753.9+0923
   Spectrum: LogParabola
259         norm:  1.001e-04  3.101e-02  1.000e-04  1.000e+04 ( 1.000e-13)
260        alpha:  2.425e+00  5.074e+03  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.666e-01  6.554e-02  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.267e+00  1.019e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/992564/cmap_HighResolution_365817601_366076801_4FGL_J0753.9+0923_daily_bin488.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.71e-05', job_status='DONE', photon_flux_upper_limit='5.87e-08', time_completed='2021-08-28 19:00:37.955132', job_id='992564', GAL2='0.97', fit_tolerance='1e-08', EG2='1.27', EG='1.27', time_epoch_completed='1630202437.96', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='6.50e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.46' WHERE bin_id='488' AND source_name='4FGL J0753.9+0923' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 19:00:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0115>
Subject: Job 992564: <4FGL_J0753.9+0923_daily_bin488> in cluster <slac> Done

Job <4FGL_J0753.9+0923_daily_bin488> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Aug 28 18:45:35 2021
Job was executed on host(s) <bullet0115>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 18:45:36 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:45:36 2021
Terminated at Sat Aug 28 19:00:39 2021
Results reported at Sat Aug 28 19:00:39 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0753.9+0923_daily_bin488 118.491 9.3904 365817601 366076801 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 :                                   752.50 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             288.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   902 sec.
    Turnaround time :                            904 sec.

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

