/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 102 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 = 7558
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0753.9+0923_daily_bin320
RA = 118.491, Dec = 9.3904
tmin = 322272001, tmax = 322531201
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='990857', job_status='RUN', time_executed='2021-08-28 18:43:26.066729', time_epoch_executed='1630201406.07' WHERE source_name='4FGL J0753.9+0923' and cadence='daily' and bin_id='320'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/990857

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/990857/ft1_4FGL_J0753.9+0923_daily_bin320.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/990857/ft2_4FGL_J0753.9+0923_daily_bin320.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/990857/ft1_4FGL_J0753.9+0923_daily_bin320.fits outfile=/scratch/kocevski/990857/ft1_filteredMKT_4FGL_J0753.9+0923_daily_bin320.fits ra=118.491 dec=9.3904 rad=12.0 tmin=322272001.0 tmax=322531201.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 6.59
user 3.15
sys 3.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/990857/ft2_4FGL_J0753.9+0923_daily_bin320.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/990857/ft1_filteredMKT_4FGL_J0753.9+0923_daily_bin320.fits evtable="EVENTS" outfile="/scratch/kocevski/990857/ft1_filtered_4FGL_J0753.9+0923_daily_bin320.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 3.59
user 0.34
sys 3.18

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/990857/ft1_filtered_4FGL_J0753.9+0923_daily_bin320.fits" evtable="EVENTS" scfile=/scratch/kocevski/990857/ft2_4FGL_J0753.9+0923_daily_bin320.fits sctable="SC_DATA" outfile=/scratch/kocevski/990857/ltcube_322272001_322531201_4FGL_J0753.9+0923_daily_bin320.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/990857/ft2_4FGL_J0753.9+0923_daily_bin320.fits
.....................!
real 15.75
user 11.84
sys 3.76

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/990857/ft1_filtered_4FGL_J0753.9+0923_daily_bin320.fits evtable="EVENTS" scfile=/scratch/kocevski/990857/ft2_4FGL_J0753.9+0923_daily_bin320.fits sctable="SC_DATA" expcube=/scratch/kocevski/990857/ltcube_322272001_322531201_4FGL_J0753.9+0923_daily_bin320.fits outfile=/scratch/kocevski/990857/expmap_322272001_322531201_4FGL_J0753.9+0923_daily_bin320.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/990857/ltcube_322272001_322531201_4FGL_J0753.9+0923_daily_bin320.fits
.....................!
real 195.57
user 186.09
sys 9.02

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/990857/ft1_filtered_4FGL_J0753.9+0923_daily_bin320.fits scfile=/scratch/kocevski/990857/ft2_4FGL_J0753.9+0923_daily_bin320.fits outfile=/scratch/kocevski/990857/cmap_322272001_322531201_4FGL_J0753.9+0923_daily_bin320.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 3.54
user 0.37
sys 3.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/990857/ft1_filtered_4FGL_J0753.9+0923_daily_bin320.fits scfile=/scratch/kocevski/990857/ft2_4FGL_J0753.9+0923_daily_bin320.fits outfile=/scratch/kocevski/990857/cmap_HighResolution_322272001_322531201_4FGL_J0753.9+0923_daily_bin320.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 3.24
user 0.39
sys 2.83

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    2.4285       1.0000         .10000E-03   10000.    
     3 'norm      '    2.5416       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10056E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    2.4193       1.0000         .10000E-03   10000.    
     7 'norm      '    5.6434       1.0000         .10000E-03   10000.    
     8 'Prefactor '    28.848       1.0000         .10000E-03   10000.    
     9 'Prefactor '    21.819       1.0000         .10000E-03   10000.    
    10 'Prefactor '    76.703       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .13939E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    10.832       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .16801E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    35.269       1.0000         .10000E-03   10000.    
    18 'norm      '    27.330       1.0000         .10000E-03   10000.    
    19 'norm      '    9.4491       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10124E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10068E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    2.3285       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .78971       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .94026       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=   7161.574     FROM MIGRAD    STATUS=CONVERGED    531 CALLS     2688 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    17.728       -.19573E-05** at limit **
   2  norm          2.4283        2.0106       -.23704E-06   -.32644E-03
   3  norm          2.5416        1.3002       -.12155E-06   -.20914E-03
   4  Prefactor     .10000E-03    36.356       -.47857E-05** at limit **
   5  Prefactor     .10000E-03    67.789       -.23054E-04** at limit **
   6  norm          2.4188        1.9656       -.29399E-06    .32317E-04
   7  norm          5.6433        2.0522       -.10005E-06    .19182E-03
   8  Prefactor     28.850        17.409        .33528E-05   -.16306E-05
   9  Prefactor     21.819        24.417       -.23700E-06    .49296E-05
  10  Prefactor     76.682        69.961       -.19767E-04    .43759E-05
  11  Prefactor     .10000E-03    .88324       -.22452E-07** at limit **
  12  norm          .10055E-03    9.7247        .34925E-05** at limit **
  13  Prefactor     .10000E-03    5.6367        .53208E-07** at limit **
  14  Prefactor     .10000E-03    57.371        .16844E-04** at limit **
  15  norm          10.824        220.98       -.21297E-04    .22704E-06
  16  Prefactor     .10000E-03    33.915       -.12265E-04** at limit **
  17  norm          35.269        15.099       -.29773E-06    .34377E-04
  18  norm          27.324        23.670       -.21418E-05    .76965E-04
  19  norm          9.4499        4.6656        .29022E-07    .12514E-03
  20  Prefactor     .10000E-03    11.517        .52995E-07** at limit **
  21  Prefactor     .10000E-03    21.602        .42479E-05** at limit **
  22  norm          2.3286        1.0446       -.31877E-07    .14146E-04
  23  Normalizat    .78965        .19315        .30952E-05   -.96011E-04
  24  Prefactor     .94030        .11458       -.77806E-07    .55699E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 2.42826
  norm       = 2.54158
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.41885
  norm       = 5.64328
  Prefactor  = 28.8503
  Prefactor  = 21.8193
  Prefactor  = 76.6823
  Prefactor  = 0.0001
  norm       = 0.000100554
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 10.8243
  Prefactor  = 0.0001
  norm       = 35.2693
  norm       = 27.3239
  norm       = 9.44987
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.32858
  Normalizat = 0.789649
  Prefactor  = 0.940304
 **********
 **   18 **HESSE 
 **********

 FCN=   7161.574     FROM HESSE     STATUS=OK           399 CALLS     3087 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    17.735        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.4283        2.0125        .10206E-03   -1.5396    
   3  norm          2.5416        1.2983        .65956E-04   -1.5389    
   4  Prefactor     .10000E-03    36.443        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    68.618        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          2.4188        1.9569        .89849E-04   -1.5397    
   7  norm          5.6433        2.0511        .69653E-04   -1.5233    
   8  Prefactor     28.850        17.362        .74592E-04   -1.4633    
   9  Prefactor     21.819        24.417        .85749E-04   -1.4773    
  10  Prefactor     76.682        70.234        .45850E-04   -1.3954    
  11  Prefactor     .10000E-03    .88905        .77633E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10055E-03    43.571        .49986E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    5.6602        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    57.444        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          10.824        221.51        .12173E-03   -1.5050    
  16  Prefactor     .10000E-03    34.012        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          35.269        15.107        .67480E-04   -1.4520    
  18  norm          27.324        23.660        .76631E-04   -1.4662    
  19  norm          9.4499        4.6642        .12173E-03   -1.5093    
  20  Prefactor     .10000E-03    11.524        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    21.926        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          2.3286        1.0451        .26876E-04   -1.5403    
  23  Normalizat    .78965        .21701        .34084E-03   -1.0045    
  24  Prefactor     .94030        .13013        .19439E-03   -.94747    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.24079e-08
Minuit parameter uncertainties:
  1  3.32442e-06
  2  2.01256
  3  1.29828
  4  1.05538e-05
  5  0.000107341
  6  1.95696
  7  2.0511
  8  17.3655
  9  24.4283
  10  70.3097
  11  1.06267e-06
  12  0.00983584
  13  2.82076e-05
  14  8.36307e-06
  15  98.3518
  16  9.48339e-05
  17  15.1089
  18  23.668
  19  4.6644
  20  1.967e-06
  21  0.000123201
  22  1.04515
  23  0.217247
  24  0.130177
Done.

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

Extracting fit parameters...

4FGL J0753.9+0923
   Spectrum: LogParabola
259         norm:  1.006e-04  9.836e-03  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.403e-01  1.302e-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:  7.896e-01  2.172e-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.46e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.06e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/990857/likelihoodResults_322272001_322531201_4FGL_J0753.9+0923_daily_bin320.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) = 7161.57410048
delta logL = -0.000107402585854

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7161.51244343
delta logL = 0.0615496518067

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.1618       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.4027       1.0000          .0000       5.0000    
     3 'Normalizat'    .79050       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93826       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=   7161.512     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      272 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.1618        6098.2        .49392E-02    .10704E-03
   2  alpha         1.4027        3.1213        .47819       -.85691E-06
   3  Normalizat    .79051        .17557        .76952E-01    .91836E-04
   4  Prefactor     .93826        .11860        .45491E-01    .38003E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.16181
  alpha      = 1.40266
  Normalizat = 0.790507
  Prefactor  = 0.938262
 **********
 **   18 **HESSE 
 **********

 FCN=   7161.512     FROM HESSE     STATUS=OK            33 CALLS      305 TOTAL
                     EDM=   .21E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.1618        13.337        .19757E-03   -1.5300    
   2  alpha         1.4027        1.7013        .64037E-01   -.45442    
   3  Normalizat    .79051        .19954        .34064E-03   -1.0042    
   4  Prefactor     .93826        .12433        .19455E-03   -.94817    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.13299e-11
Minuit parameter uncertainties:
  1  13.347
  2  1.9302
  3  0.199723
  4  0.124372
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/990857': 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) = 7161.51244343
delta logL = 0.0615496518285

Extracting fit parameters...

4FGL J0753.9+0923
   Spectrum: LogParabola
259         norm:  4.162e+00  1.335e+01  1.000e-04  1.000e+04 ( 1.000e-13)
260        alpha:  1.403e+00  1.930e+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.383e-01  1.244e-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:  7.905e-01  1.997e-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/990857/cmap_HighResolution_322272001_322531201_4FGL_J0753.9+0923_daily_bin320.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.06e-05', job_status='DONE', photon_flux_upper_limit='4.46e-08', time_completed='2021-08-28 18:56:38.279109', job_id='990857', GAL2='0.94', fit_tolerance='1e-08', EG2='0.79', EG='0.79', time_epoch_completed='1630202198.28', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='6.15e-02', ts2='0.12', photon_index_error='0.00', photon_index='2.46' WHERE bin_id='320' AND source_name='4FGL J0753.9+0923' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 18:56:38 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0065>
Subject: Job 990857: <4FGL_J0753.9+0923_daily_bin320> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0753.9+0923_daily_bin320 118.491 9.3904 322272001 322531201 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 :                                   837.38 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             271.53 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   958 sec.
    Turnaround time :                            960 sec.

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

