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


Performing analysis on: 4FGL_J0753.9+0923_daily_bin856
RA = 118.491, Dec = 9.3904
tmin = 461203201, tmax = 461462401
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='996021', job_status='RUN', time_executed='2021-08-28 18:58:21.248310', time_epoch_executed='1630202301.25' WHERE source_name='4FGL J0753.9+0923' and cadence='daily' and bin_id='856'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/996021

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/996021/ft1_4FGL_J0753.9+0923_daily_bin856.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/996021/ft2_4FGL_J0753.9+0923_daily_bin856.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/996021/ft1_4FGL_J0753.9+0923_daily_bin856.fits outfile=/scratch/kocevski/996021/ft1_filteredMKT_4FGL_J0753.9+0923_daily_bin856.fits ra=118.491 dec=9.3904 rad=12.0 tmin=461203201.0 tmax=461462401.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 4.68
user 3.24
sys 1.35

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/996021/ft2_4FGL_J0753.9+0923_daily_bin856.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/996021/ft1_filteredMKT_4FGL_J0753.9+0923_daily_bin856.fits evtable="EVENTS" outfile="/scratch/kocevski/996021/ft1_filtered_4FGL_J0753.9+0923_daily_bin856.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.71
user 0.30
sys 1.32

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/996021/ft1_filtered_4FGL_J0753.9+0923_daily_bin856.fits" evtable="EVENTS" scfile=/scratch/kocevski/996021/ft2_4FGL_J0753.9+0923_daily_bin856.fits sctable="SC_DATA" outfile=/scratch/kocevski/996021/ltcube_461203201_461462401_4FGL_J0753.9+0923_daily_bin856.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/996021/ft2_4FGL_J0753.9+0923_daily_bin856.fits
.....................!
real 13.38
user 11.72
sys 1.61

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/996021/ft1_filtered_4FGL_J0753.9+0923_daily_bin856.fits evtable="EVENTS" scfile=/scratch/kocevski/996021/ft2_4FGL_J0753.9+0923_daily_bin856.fits sctable="SC_DATA" expcube=/scratch/kocevski/996021/ltcube_461203201_461462401_4FGL_J0753.9+0923_daily_bin856.fits outfile=/scratch/kocevski/996021/expmap_461203201_461462401_4FGL_J0753.9+0923_daily_bin856.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/996021/ltcube_461203201_461462401_4FGL_J0753.9+0923_daily_bin856.fits
.....................!
real 192.29
user 185.63
sys 6.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/996021/ft1_filtered_4FGL_J0753.9+0923_daily_bin856.fits scfile=/scratch/kocevski/996021/ft2_4FGL_J0753.9+0923_daily_bin856.fits outfile=/scratch/kocevski/996021/cmap_461203201_461462401_4FGL_J0753.9+0923_daily_bin856.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.66
user 0.37
sys 1.28

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/996021/ft1_filtered_4FGL_J0753.9+0923_daily_bin856.fits scfile=/scratch/kocevski/996021/ft2_4FGL_J0753.9+0923_daily_bin856.fits outfile=/scratch/kocevski/996021/cmap_HighResolution_461203201_461462401_4FGL_J0753.9+0923_daily_bin856.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.25
user 0.39
sys 1.27

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    4.2172       1.0000         .10000E-03   10000.    
     3 'norm      '    1.2497       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .25231E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    10.513       1.0000         .10000E-03   10000.    
     6 'norm      '    2.6778       1.0000         .10000E-03   10000.    
     7 'norm      '    11.328       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    29.982       1.0000         .10000E-03   10000.    
    10 'Prefactor '    34.270       1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.6885       1.0000         .10000E-03   10000.    
    12 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .19952E-02   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   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      '    4.5850       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    2.1251       1.0000         .10000E-03   10000.    
    22 'norm      '    1.7578       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0990       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .97399       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=   6684.511     FROM MIGRAD    STATUS=CONVERGED    553 CALLS     2725 TOTAL
                     EDM=   .40E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    13.719        .20998E-06** at limit **
   2  norm          4.2177        2.3527       -.26591E-06   -.10220E-02
   3  norm          1.2503        1.5989       -.12027E-06   -.10461E-02
   4  Prefactor     .10000E-03    210.43        .51041E-04** at limit **
   5  Prefactor     10.525        54.680        .14339E-04   -.26668E-04
   6  norm          2.6777        1.4484        .14283E-07   -.12573E-04
   7  norm          11.329        2.8907       -.16633E-06   -.43371E-03
   8  Prefactor     .10000E-03    6.7831        .14623E-07** at limit **
   9  Prefactor     29.985        49.605        .29892E-05   -.57537E-05
  10  Prefactor     34.272        41.861        .13009E-05   -.58387E-06
  11  Prefactor     2.6836        3.5305       -.21950E-06   -.60067E-03
  12  norm          .10000E-03    15.055        .66887E-07** at limit **
  13  Prefactor     .10000E-03    6.5807        .11528E-07** at limit **
  14  Prefactor     .10000E-03    293.95       -.20472E-04** at limit **
  15  norm          .10000E-03    40.158       -.31129E-06** at limit **
  16  Prefactor     .10000E-03    8.7174       -.96146E-08** at limit **
  17  norm          .10000E-03    2.6908       -.10881E-08** at limit **
  18  norm          .10000E-03    15.008       -.33034E-06** at limit **
  19  norm          4.5855        4.2638       -.65516E-07   -.30314E-03
  20  Prefactor     .10000E-03    21.576        .24518E-06** at limit **
  21  Prefactor     2.1263        29.579       -.10971E-05   -.11443E-03
  22  norm          1.7579        1.1312        .10866E-07   -.19971E-03
  23  Normalizat    1.0988        .21005       -.10645E-06   -.87058E-04
  24  Prefactor     .97400        .12697       -.58709E-06   -.16725E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 4.21769
  norm       = 1.25026
  Prefactor  = 0.000100003
  Prefactor  = 10.5249
  norm       = 2.67769
  norm       = 11.3286
  Prefactor  = 0.0001
  Prefactor  = 29.9854
  Prefactor  = 34.2717
  Prefactor  = 2.68361
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 4.58552
  Prefactor  = 0.0001
  Prefactor  = 2.12628
  norm       = 1.75793
  Normalizat = 1.0988
  Prefactor  = 0.973995
 **********
 **   18 **HESSE 
 **********

 FCN=   6684.511     FROM HESSE     STATUS=OK           397 CALLS     3122 TOTAL
                     EDM=   .79E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    13.722        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          4.2177        2.3718        .88096E-04   -1.5297    
   3  norm          1.2503        1.5848        .10805E-03   -1.5484    
   4  Prefactor     .10000E-03    207.94        .21461E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     10.525        53.586        .12357E-03   -1.5059    
   6  norm          2.6777        1.4441        .69764E-04   -1.5381    
   7  norm          11.329        2.8936        .66296E-04   -1.5035    
   8  Prefactor     .10000E-03    6.8433        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     29.985        49.579        .73172E-04   -1.4612    
  10  Prefactor     34.272        41.958        .68453E-04   -1.4536    
  11  Prefactor     2.6836        3.5553        .16444E-03   -1.5380    
  12  norm          .10000E-03    15.135        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    6.6020        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    294.30        .20231E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    40.166        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    8.7211        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    2.6924        .13098E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    15.061        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          4.5855        4.2643        .15724E-03   -1.5280    
  20  Prefactor     .10000E-03    21.613        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     2.1263        30.179        .28287E-03   -1.5416    
  22  norm          1.7579        1.1286        .67121E-04   -1.5443    
  23  Normalizat    1.0988        .23904        .30559E-03   -.89790    
  24  Prefactor     .97400        .14534        .20645E-03   -.93601    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.89285e-10
Minuit parameter uncertainties:
  1  7.21316e-07
  2  2.37188
  3  1.58481
  4  0.0015359
  5  47.5642
  6  1.44408
  7  2.89362
  8  1.75722e-06
  9  49.647
  10  41.994
  11  3.55554
  12  6.93827e-06
  13  4.24129e-06
  14  0.000326194
  15  1.69578e-06
  16  9.55288e-07
  17  1.21555e-07
  18  8.79342e-06
  19  4.26461
  20  1.26307e-05
  21  16.0305
  22  1.12863
  23  0.239279
  24  0.145403
Done.

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

Extracting fit parameters...

4FGL J0753.9+0923
   Spectrum: LogParabola
259         norm:  1.000e-04  6.938e-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.740e-01  1.454e-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.099e+00  2.393e-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.51e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.55e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/996021/likelihoodResults_461203201_461462401_4FGL_J0753.9+0923_daily_bin856.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) = 6684.51136086
delta logL = -0.000314885146508

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6684.51105074
delta logL = -4.7635012379e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10126E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    3.3780       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0988       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97400       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=   6684.511     FROM MIGRAD    STATUS=CONVERGED    103 CALLS      284 TOTAL
                     EDM=   .60E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    352.54        .18142E-01** at limit **
   2  alpha         2.1842        3.2471        .17974        .15244E-07
   3  Normalizat    1.0988        .25910E-01    .30560E-03    .17433E-02
   4  Prefactor     .97400        .16688E-01    .20645E-03    .26803E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.18417
  Normalizat = 1.0988
  Prefactor  = 0.973999
 **********
 **   18 **HESSE 
 **********

 FCN=   6684.511     FROM HESSE     STATUS=OK            23 CALLS      307 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    16.297        .31696E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.1842        3.5809        .71895E-02   -.12667    
   3  Normalizat    1.0988        .21443        .61119E-04   -.89790    
   4  Prefactor     .97400        .13817        .41290E-04   -.93601    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.0658e-09
Minuit parameter uncertainties:
  1  9.54211e-06
  2  502.541
  3  0.214601
  4  0.138218
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/996021': 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) = 6684.51104581
delta logL = 1.71959982254e-07

Extracting fit parameters...

4FGL J0753.9+0923
   Spectrum: LogParabola
259         norm:  1.000e-04  9.542e-06  1.000e-04  1.000e+04 ( 1.000e-13)
260        alpha:  2.184e+00  5.025e+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:  9.740e-01  1.382e-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.099e+00  2.146e-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 -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/996021/cmap_HighResolution_461203201_461462401_4FGL_J0753.9+0923_daily_bin856.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.55e-05', job_status='DONE', photon_flux_upper_limit='5.51e-08', time_completed='2021-08-28 19:10:52.461560', job_id='996021', GAL2='0.97', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1630203052.46', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='1.72e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.46' WHERE bin_id='856' AND source_name='4FGL J0753.9+0923' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 19:10:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0091>
Subject: Job 996021: <4FGL_J0753.9+0923_daily_bin856> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0753.9+0923_daily_bin856 118.491 9.3904 461203201 461462401 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 :                                   765.16 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             309.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   916 sec.
    Turnaround time :                            919 sec.

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

