/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 95 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 = 7396
number of fields = 29
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0757.1+0956_daily_bin543
RA = 119.286, Dec = 9.9491
tmin = 380073601, tmax = 380332801
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='23220', job_status='RUN', time_executed='2021-08-28 20:23:38.218521', time_epoch_executed='1630207418.22' WHERE source_name='4FGL J0757.1+0956' and cadence='daily' and bin_id='543'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/23220

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/23220/ft1_4FGL_J0757.1+0956_daily_bin543.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/23220/ft2_4FGL_J0757.1+0956_daily_bin543.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/23220/ft1_4FGL_J0757.1+0956_daily_bin543.fits outfile=/scratch/kocevski/23220/ft1_filteredMKT_4FGL_J0757.1+0956_daily_bin543.fits ra=119.286 dec=9.9491 rad=12.0 tmin=380073601.0 tmax=380332801.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 8.60
user 4.22
sys 4.31

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/23220/ft2_4FGL_J0757.1+0956_daily_bin543.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/23220/ft2_4FGL_J0757.1+0956_daily_bin543.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/23220/ft1_filteredMKT_4FGL_J0757.1+0956_daily_bin543.fits evtable="EVENTS" outfile="/scratch/kocevski/23220/ft1_filtered_4FGL_J0757.1+0956_daily_bin543.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 4.60
user 0.32
sys 4.25

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/23220/ft1_filtered_4FGL_J0757.1+0956_daily_bin543.fits" evtable="EVENTS" scfile=/scratch/kocevski/23220/ft2_4FGL_J0757.1+0956_daily_bin543.fits sctable="SC_DATA" outfile=/scratch/kocevski/23220/ltcube_380073601_380332801_4FGL_J0757.1+0956_daily_bin543.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/23220/ft2_4FGL_J0757.1+0956_daily_bin543.fits
.....................!
real 16.76
user 11.84
sys 4.86

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/23220/ft1_filtered_4FGL_J0757.1+0956_daily_bin543.fits evtable="EVENTS" scfile=/scratch/kocevski/23220/ft2_4FGL_J0757.1+0956_daily_bin543.fits sctable="SC_DATA" expcube=/scratch/kocevski/23220/ltcube_380073601_380332801_4FGL_J0757.1+0956_daily_bin543.fits outfile=/scratch/kocevski/23220/expmap_380073601_380332801_4FGL_J0757.1+0956_daily_bin543.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/23220/ltcube_380073601_380332801_4FGL_J0757.1+0956_daily_bin543.fits
.....................!
real 196.21
user 185.55
sys 10.23

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 169 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 J0757.1+0956 @ 119.286 9.9491

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/23220/ft1_filtered_4FGL_J0757.1+0956_daily_bin543.fits scfile=/scratch/kocevski/23220/ft2_4FGL_J0757.1+0956_daily_bin543.fits outfile=/scratch/kocevski/23220/cmap_380073601_380332801_4FGL_J0757.1+0956_daily_bin543.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=119.286 yref=9.9491 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 4.58
user 0.38
sys 4.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/23220/ft1_filtered_4FGL_J0757.1+0956_daily_bin543.fits scfile=/scratch/kocevski/23220/ft2_4FGL_J0757.1+0956_daily_bin543.fits outfile=/scratch/kocevski/23220/cmap_HighResolution_380073601_380332801_4FGL_J0757.1+0956_daily_bin543.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=119.286 yref=9.9491 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 4.56
user 0.38
sys 4.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/23220/ft1_filtered_4FGL_J0757.1+0956_daily_bin543.fits evtable="EVENTS" scfile=/scratch/kocevski/23220/ft2_4FGL_J0757.1+0956_daily_bin543.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/23220/Model_4FGL_J0757.1+0956_daily_bin543.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/23220/ft1_filtered_4FGL_J0757.1+0956_daily_bin543.fits.....................!
real 85.63
user 78.69
sys 6.49

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/23220/ft1_filtered_4FGL_J0757.1+0956_daily_bin543.fits', '/scratch/kocevski/23220/ft2_4FGL_J0757.1+0956_daily_bin543.fits', expMap='/scratch/kocevski/23220/expmap_380073601_380332801_4FGL_J0757.1+0956_daily_bin543.fits', expCube='/scratch/kocevski/23220/ltcube_380073601_380332801_4FGL_J0757.1+0956_daily_bin543.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/23220/Model_4FGL_J0757.1+0956_daily_bin543.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0757.1+0956'

4FGL J0757.1+0956
   Spectrum: PowerLaw
272    Prefactor:  8.647e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
273        Index:  2.151e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
274        Scale:  1.423e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/23220/ft1_filtered_4FGL_J0757.1+0956_daily_bin543.fits
Spacecraft file(s): /scratch/kocevski/23220/ft2_4FGL_J0757.1+0956_daily_bin543.fits
Exposure map: /scratch/kocevski/23220/expmap_380073601_380332801_4FGL_J0757.1+0956_daily_bin543.fits
Exposure cube: /scratch/kocevski/23220/ltcube_380073601_380332801_4FGL_J0757.1+0956_daily_bin543.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/23220/Model_4FGL_J0757.1+0956_daily_bin543.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) = 5768.83769098

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .22288E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .58342       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .56884E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    2.4787       1.0000         .10000E-03   10000.    
     7 'Prefactor '    13.354       1.0000         .10000E-03   10000.    
     8 'Prefactor '    67.613       1.0000         .10000E-03   10000.    
     9 'Prefactor '    7.4891       1.0000         .10000E-03   10000.    
    10 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    10.246       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10164E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    64.781       1.0000         .10000E-03   10000.    
    14 'Prefactor '    53.834       1.0000         .10000E-03   10000.    
    15 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10060E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    2.8861       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10175E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .30215       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.2977       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .72350       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5660E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5768.810     FROM MIGRAD    STATUS=CONVERGED    516 CALLS     2590 TOTAL
                     EDM=   .84E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.0491       -.81029E-07** at limit **
   2  norm          .58335        1.1987       -.50244E-06   -.14820E-02
   3  Prefactor     .10000E-03    15.867        .16835E-05** at limit **
   4  Prefactor     .10000E-03    18.588       -.20955E-07** at limit **
   5  norm          .10000E-03    1.0078       -.52196E-07** at limit **
   6  norm          2.4789        2.2164       -.18555E-06   -.39430E-03
   7  Prefactor     13.381        10.773       -.24207E-06    .69566E-04
   8  Prefactor     67.617        47.308        .19265E-05    .20175E-04
   9  Prefactor     7.4883        4.6075       -.15278E-06   -.18011E-03
  10  norm          .10000E-03    7.6475        .11489E-06** at limit **
  11  Prefactor     10.245        10.070        .21516E-06    .28932E-03
  12  Prefactor     .10000E-03    100.87        .39335E-04** at limit **
  13  norm          64.774        69.422       -.71283E-05    .94224E-06
  14  Prefactor     53.821        36.315       -.75586E-05    .83197E-04
  15  norm          .10000E-03    4.7908       -.59837E-07** at limit **
  16  norm          .10000E-03    12.455        .32849E-05** at limit **
  17  norm          2.8862        2.6805        .25607E-06    .81984E-04
  18  Prefactor     .10000E-03    110.43       -.43045E-04** at limit **
  19  Prefactor     .10000E-03    11.960       -.25770E-05** at limit **
  20  norm          .30224        .78902       -.23267E-06   -.16247E-02
  21  Prefactor     .10000E-03    16.958       -.16276E-05** at limit **
  22  Normalizat    1.2976        .20311        .20954E-05    .21512E-03
  23  Prefactor     .72347        .12546        .71713E-07    .30405E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.583351
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 2.47894
  Prefactor  = 13.3806
  Prefactor  = 67.6172
  Prefactor  = 7.48835
  norm       = 0.0001
  Prefactor  = 10.2453
  Prefactor  = 0.0001
  norm       = 64.7742
  Prefactor  = 53.821
  norm       = 0.0001
  norm       = 0.0001
  norm       = 2.88624
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.302238
  Prefactor  = 0.0001
  Normalizat = 1.29761
  Prefactor  = 0.723465
 **********
 **   18 **HESSE 
 **********

 FCN=   5768.810     FROM HESSE     STATUS=OK           368 CALLS     2958 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    5.1884        .14826E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .58335        1.1801        .11286E-03   -1.5555    
   3  Prefactor     .10000E-03    15.869        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    18.610        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    21.190        .12619E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          2.4789        2.2090        .10129E-03   -1.5393    
   7  Prefactor     13.381        9.4048        .10961E-03   -1.4976    
   8  Prefactor     67.617        47.318        .48812E-04   -1.4062    
   9  Prefactor     7.4883        4.6336        .11831E-03   -1.5161    
  10  norm          .10000E-03    7.6539        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     10.245        10.078        .62587E-03   -1.5068    
  12  Prefactor     .10000E-03    100.27        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          64.774        69.449        .49861E-04   -1.4097    
  14  Prefactor     53.821        36.302        .54667E-04   -1.4239    
  15  norm          .10000E-03    4.8029        .16236E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    12.505        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.8862        2.6749        .11658E-03   -1.5368    
  18  Prefactor     .10000E-03    109.68        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    12.023        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .30224        .75044        .10487E-02   -1.5598    
  21  Prefactor     .10000E-03    16.973        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.2976        .23162        .26252E-03   -.83638    
  23  Prefactor     .72347        .14061        .21593E-03   -1.0261    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.35002e-09
Minuit parameter uncertainties:
  1  5.22838e-05
  2  1.18013
  3  1.90109e-06
  4  6.22178e-06
  5  0.000105031
  6  2.20903
  7  9.40584
  8  47.3443
  9  4.63378
  10  1.91106e-06
  11  10.0795
  12  9.79421e-05
  13  69.5358
  14  36.3173
  15  1.16964e-06
  16  6.54763e-05
  17  2.67503
  18  0.000725519
  19  8.15785e-07
  20  0.750459
  21  1.24177e-05
  22  0.231809
  23  0.140681
Done.

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

Extracting fit parameters...

4FGL J0757.1+0956
   Spectrum: PowerLaw
272    Prefactor:  1.025e+01  1.008e+01  1.000e-04  1.000e+04 ( 1.000e-13)
273        Index:  2.151e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
274        Scale:  1.423e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  7.235e-01  1.407e-01  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
554   Normalization:  1.298e+00  2.318e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.96
Ra Dec: 119.286 9.949
Photon Index (Fixed Index): 2.15 +/- 0.00
Photon Flux (Fixed Index): 2.69e-08 +/- 2.64e-08
Energy Flux (Fixed Index): 1.33e-05 +/- 1.31e-05

TS (Fixed Index): 3.96
Ra Dec: 119.286 9.949
Photon Flux Upper Limit: 1.03e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.80e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/23220/likelihoodResults_380073601_380332801_4FGL_J0757.1+0956_daily_bin543.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) = 5768.56093186
delta logL = 0.248890683784

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5768.55409523
delta logL = 0.255727311462

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.358       1.0000         .10000E-03   10000.    
     2 'Index     '    1.5976       1.0000          .0000       10.000    
     3 'Normalizat'    1.3132       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .71801       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5660E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5768.554     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      213 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.364        630.37        .29718E-02   -.35217E-03
   2  Index         1.5979        6.2090        .28783       -.31014E-04
   3  Normalizat    1.3132        .40952        .59071E-01   -.46826E-06
   4  Prefactor     .71803        .16661        .42640E-01    .34822E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.3643
  Index      = 1.59788
  Normalizat = 1.3132
  Prefactor  = 0.718031
 **********
 **   18 **HESSE 
 **********

 FCN=   5768.554     FROM HESSE     STATUS=OK            33 CALLS      246 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.364        11.679        .11887E-03   -1.5034    
   2  Index         1.5979        .68120        .10662E-01   -.74834    
   3  Normalizat    1.3132        .21632        .26124E-03   -.83173    
   4  Prefactor     .71803        .13742        .21665E-03   -1.0282    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.42833e-10
Minuit parameter uncertainties:
  1  11.6812
  2  0.685182
  3  0.216465
  4  0.137484
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/23220': 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) = 5768.55409504
delta logL = 0.255727501695

Extracting fit parameters...

4FGL J0757.1+0956
   Spectrum: PowerLaw
272    Prefactor:  1.136e+01  1.168e+01  1.000e-04  1.000e+04 ( 1.000e-13)
273        Index:  1.598e+00  6.852e-01  0.000e+00  1.000e+01 (-1.000e+00)
274        Scale:  1.423e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  7.180e-01  1.375e-01  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
554   Normalization:  1.313e+00  2.165e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.48
Ra Dec: 119.286 9.949
Photon Index (Free Index): 1.60 +/- 0.69
Photon Flux (Free Index): 1.30e-08 +/- 1.82e-08
Energy Flux (Free Index): 2.97e-05 +/- 4.89e-05

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/23220/cmap_HighResolution_380073601_380332801_4FGL_J0757.1+0956_daily_bin543.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.80e-03', comment='SUCCESS', photon_flux='2.69e-08', energy_flux2='2.97e-05', photon_flux_error='2.64e-08', dlogl='2.56e-01', energy_flux='1.33e-05', photon_flux2='1.30e-08', job_status='DONE', time_completed='2021-08-28 20:35:35.316877', photon_index_error2='0.69', photon_index2='1.60', ts='3.96', fit_tolerance='1e-08', GAL='0.72', photon_index_error='0.00', photon_flux_upper_limit='1.03e-07', energy_flux_error2='4.89e-05', EG='1.30', time_epoch_completed='1630208135.32', return_code='0', job_id='23220', GAL2='0.72', EG2='1.31', return_code2='0', energy_flux_error='1.31e-05', photon_flux_error2='1.82e-08', ts2='4.48', photon_index='2.15' WHERE bin_id='543' AND source_name='4FGL J0757.1+0956' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 20:35:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0228>
Subject: Job 23220: <4FGL_J0757.1+0956_daily_bin543> in cluster <slac> Done

Job <4FGL_J0757.1+0956_daily_bin543> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Aug 28 20:20:43 2021
Job was executed on host(s) <bullet0228>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 20:20:45 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 28 20:20:45 2021
Terminated at Sat Aug 28 20:35:37 2021
Results reported at Sat Aug 28 20:35:37 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0757.1+0956_daily_bin543 119.286 9.9491 380073601 380332801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0757.1+0956 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   776.26 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             262.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   891 sec.
    Turnaround time :                            894 sec.

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

