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


Performing analysis on: 4FGL_J0753.9+0923_daily_bin949
RA = 118.491, Dec = 9.3904
tmin = 485308801, tmax = 485568001
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='996156', job_status='RUN', time_executed='2021-08-28 18:59:18.537297', time_epoch_executed='1630202358.54' WHERE source_name='4FGL J0753.9+0923' and cadence='daily' and bin_id='949'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/996156

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/996156/ft1_4FGL_J0753.9+0923_daily_bin949.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/996156/ft2_4FGL_J0753.9+0923_daily_bin949.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/996156/ft1_4FGL_J0753.9+0923_daily_bin949.fits outfile=/scratch/kocevski/996156/ft1_filteredMKT_4FGL_J0753.9+0923_daily_bin949.fits ra=118.491 dec=9.3904 rad=12.0 tmin=485308801.0 tmax=485568001.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.67
user 5.34
sys 0.27

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/996156/ft2_4FGL_J0753.9+0923_daily_bin949.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/996156/ft1_filteredMKT_4FGL_J0753.9+0923_daily_bin949.fits evtable="EVENTS" outfile="/scratch/kocevski/996156/ft1_filtered_4FGL_J0753.9+0923_daily_bin949.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.56
user 0.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/996156/ft1_filtered_4FGL_J0753.9+0923_daily_bin949.fits" evtable="EVENTS" scfile=/scratch/kocevski/996156/ft2_4FGL_J0753.9+0923_daily_bin949.fits sctable="SC_DATA" outfile=/scratch/kocevski/996156/ltcube_485308801_485568001_4FGL_J0753.9+0923_daily_bin949.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/996156/ft2_4FGL_J0753.9+0923_daily_bin949.fits
.....................!
real 11.91
user 11.55
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/996156/ft1_filtered_4FGL_J0753.9+0923_daily_bin949.fits evtable="EVENTS" scfile=/scratch/kocevski/996156/ft2_4FGL_J0753.9+0923_daily_bin949.fits sctable="SC_DATA" expcube=/scratch/kocevski/996156/ltcube_485308801_485568001_4FGL_J0753.9+0923_daily_bin949.fits outfile=/scratch/kocevski/996156/expmap_485308801_485568001_4FGL_J0753.9+0923_daily_bin949.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/996156/ltcube_485308801_485568001_4FGL_J0753.9+0923_daily_bin949.fits
.....................!
real 191.80
user 186.33
sys 5.15

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/996156/ft1_filtered_4FGL_J0753.9+0923_daily_bin949.fits scfile=/scratch/kocevski/996156/ft2_4FGL_J0753.9+0923_daily_bin949.fits outfile=/scratch/kocevski/996156/cmap_485308801_485568001_4FGL_J0753.9+0923_daily_bin949.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 0.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/996156/ft1_filtered_4FGL_J0753.9+0923_daily_bin949.fits scfile=/scratch/kocevski/996156/ft2_4FGL_J0753.9+0923_daily_bin949.fits outfile=/scratch/kocevski/996156/cmap_HighResolution_485308801_485568001_4FGL_J0753.9+0923_daily_bin949.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 0.55
user 0.37
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    2.6324       1.0000         .10000E-03   10000.    
     3 'norm      '    4.8244       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .12790E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    1.7599       1.0000         .10000E-03   10000.    
     7 'norm      '    5.9541       1.0000         .10000E-03   10000.    
     8 'Prefactor '    13.894       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    5.6681       1.0000         .10000E-03   10000.    
    12 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    9.1979       1.0000         .10000E-03   10000.    
    15 'norm      '    22.454       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .26564       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    12.911       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10310E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .96870       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0647       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=   6188.095     FROM MIGRAD    STATUS=CONVERGED    576 CALLS     2762 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 13.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    27.150       -.87551E-06** at limit **
   2  norm          2.6330        2.4524       -.11227E-06   -.25265E-03
   3  norm          4.8245        1.7260        .29893E-07   -.39917E-04
   4  Prefactor     .10000E-03    119.28        .97047E-06** at limit **
   5  Prefactor     .10000E-03    12.859        .78256E-07** at limit **
   6  norm          1.7599        1.5494       -.86846E-08   -.12988E-03
   7  norm          5.9545        2.5925       -.40615E-07   -.29803E-04
   8  Prefactor     13.894        11.980        .10408E-06   -.13526E-03
   9  Prefactor     .10000E-03    17.453       -.16350E-06** at limit **
  10  Prefactor     .10000E-03    25.434        .11418E-05** at limit **
  11  Prefactor     5.6686        4.2632       -.99628E-06   -.35261E-04
  12  norm          .10000E-03    11.953       -.38650E-07** at limit **
  13  Prefactor     .10000E-03    7.9805        .29900E-07** at limit **
  14  Prefactor     9.1763        346.12       -.33018E-05    .51326E-05
  15  norm          22.423        50.317       -.42656E-05   -.29479E-05
  16  Prefactor     .28174        566.68        .11617E-03    .24057E-05
  17  norm          .10000E-03    4.2211       -.81628E-07** at limit **
  18  norm          .10000E-03    9.2411       -.61057E-07** at limit **
  19  norm          12.911        5.5371       -.28591E-07    .23604E-03
  20  Prefactor     .10000E-03    74.622       -.41586E-06** at limit **
  21  Prefactor     .10000E-03    6.5362       -.32272E-07** at limit **
  22  norm          .10000E-03    .52693       -.82257E-07** at limit **
  23  Normalizat    .96859        .21874       -.14127E-05   -.51735E-04
  24  Prefactor     1.0647        .13657        .53840E-06    .23540E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 2.63302
  norm       = 4.82447
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.75989
  norm       = 5.95448
  Prefactor  = 13.8938
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.66862
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.17626
  norm       = 22.423
  Prefactor  = 0.281745
  norm       = 0.0001
  norm       = 0.0001
  norm       = 12.9112
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 0.968595
  Prefactor  = 1.06471
 **********
 **   18 **HESSE 
 **********

 FCN=   6188.095     FROM HESSE     STATUS=OK           403 CALLS     3165 TOTAL
                     EDM=   .58E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    27.163        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.6330        2.4550        .11186E-03   -1.5383    
   3  norm          4.8245        1.7254        .58641E-04   -1.5269    
   4  Prefactor     .10000E-03    119.74        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    12.865        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.7599        1.5545        .78592E-04   -1.5443    
   7  norm          5.9545        2.5912        .79893E-04   -1.5220    
   8  Prefactor     13.894        12.006        .10746E-03   -1.4962    
   9  Prefactor     .10000E-03    17.456        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    25.482        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.6686        4.2629        .64751E-03   -1.5232    
  12  norm          .10000E-03    11.988        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    8.0159        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     9.1763        346.71        .13215E-03   -1.5102    
  15  norm          22.423        50.328        .84531E-04   -1.4761    
  16  Prefactor     .28174        28.383        .12077       -1.5602    
  17  norm          .10000E-03    4.2261        .15785E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    9.2503        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          12.911        5.5336        .11148E-03   -1.4989    
  20  Prefactor     .10000E-03    75.265        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    6.5519        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    .54828        .11145E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .96859        .24368        .32332E-03   -.94090    
  24  Prefactor     1.0647        .15463        .20183E-03   -.90602    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.84694e-10
Minuit parameter uncertainties:
  1  5.30721e-06
  2  2.45506
  3  1.72537
  4  3.80742e-05
  5  4.74122e-06
  6  1.55457
  7  2.5913
  8  12.0076
  9  4.21951e-06
  10  6.76372e-05
  11  4.26313
  12  1.77572e-05
  13  2.38242e-05
  14  113.524
  15  50.4239
  16  5.65742
  17  1.60223e-05
  18  2.41125e-05
  19  5.53379
  20  0.000331279
  21  1.2401e-05
  22  6.80966e-06
  23  0.243959
  24  0.154698
Done.

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

Extracting fit parameters...

4FGL J0753.9+0923
   Spectrum: LogParabola
259         norm:  1.000e-04  1.776e-05  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:  1.065e+00  1.547e-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:  9.686e-01  2.440e-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.70e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.63e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/996156/likelihoodResults_485308801_485568001_4FGL_J0753.9+0923_daily_bin949.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) = 6188.09538175
delta logL = -0.000397389770114

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6188.09498436
delta logL = 2.58296495304e-10

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4633       1.0000          .0000       5.0000    
     3 'Normalizat'    .96860       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0647       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=   6188.095     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      236 TOTAL
                     EDM=   .58E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10005E-03    6154.9        .18142E-02** at limit **
   2  alpha         2.4459        3.7004        .16463        .27692E-06
   3  Normalizat    .96860        .13118        .32332E-03   -.30992E-03
   4  Prefactor     1.0647        .85992E-01    .20183E-03   -.68559E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.00010005
  alpha      = 2.44591
  Normalizat = 0.968599
  Prefactor  = 1.06471
 **********
 **   18 **HESSE 
 **********

 FCN=   6188.095     FROM HESSE     STATUS=OK            23 CALLS      259 TOTAL
                     EDM=   .89E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10005E-03    12.030        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.4459        3.7701        .65852E-02   -.21638E-01
   3  Normalizat    .96860        .22628        .12933E-04   -.94090    
   4  Prefactor     1.0647        .14839        .40366E-04   -.90603    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.86436e-09
Minuit parameter uncertainties:
  1  0.001558
  2  624.456
  3  0.226503
  4  0.148449
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/996156': 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) = 6188.09498436
delta logL = 3.00133251585e-10

Extracting fit parameters...

4FGL J0753.9+0923
   Spectrum: LogParabola
259         norm:  1.001e-04  1.558e-03  1.000e-04  1.000e+04 ( 1.000e-13)
260        alpha:  2.446e+00  6.245e+02  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:  1.065e+00  1.484e-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:  9.686e-01  2.265e-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/996156/cmap_HighResolution_485308801_485568001_4FGL_J0753.9+0923_daily_bin949.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.63e-05', job_status='DONE', photon_flux_upper_limit='5.70e-08', time_completed='2021-08-28 19:11:08.495597', job_id='996156', GAL2='1.06', fit_tolerance='1e-08', EG2='0.97', EG='0.97', time_epoch_completed='1630203068.5', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='3.00e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.46' WHERE bin_id='949' AND source_name='4FGL J0753.9+0923' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 19:11:08 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0064>
Subject: Job 996156: <4FGL_J0753.9+0923_daily_bin949> in cluster <slac> Done

Job <4FGL_J0753.9+0923_daily_bin949> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sat Aug 28 18:55:44 2021
Job was executed on host(s) <bullet0064>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 18:55:44 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:55:44 2021
Terminated at Sat Aug 28 19:11:09 2021
Results reported at Sat Aug 28 19:11:09 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0753.9+0923_daily_bin949 118.491 9.3904 485308801 485568001 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 :                                   705.35 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             263.66 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   924 sec.
    Turnaround time :                            925 sec.

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

