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


Performing analysis on: 4FGL_J0757.1+0956_daily_bin627
RA = 119.286, Dec = 9.9491
tmin = 401846401, tmax = 402105601
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='23397', job_status='RUN', time_executed='2021-08-28 20:21:20.511919', time_epoch_executed='1630207280.51' WHERE source_name='4FGL J0757.1+0956' and cadence='daily' and bin_id='627'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/23397

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/23397/ft1_4FGL_J0757.1+0956_daily_bin627.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/23397/ft2_4FGL_J0757.1+0956_daily_bin627.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/23397/ft1_4FGL_J0757.1+0956_daily_bin627.fits outfile=/scratch/kocevski/23397/ft1_filteredMKT_4FGL_J0757.1+0956_daily_bin627.fits ra=119.286 dec=9.9491 rad=12.0 tmin=401846401.0 tmax=402105601.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 3.69
user 3.23
sys 0.43

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/23397/ft1_filtered_4FGL_J0757.1+0956_daily_bin627.fits" evtable="EVENTS" scfile=/scratch/kocevski/23397/ft2_4FGL_J0757.1+0956_daily_bin627.fits sctable="SC_DATA" outfile=/scratch/kocevski/23397/ltcube_401846401_402105601_4FGL_J0757.1+0956_daily_bin627.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/23397/ft2_4FGL_J0757.1+0956_daily_bin627.fits
.....................!
real 12.11
user 11.52
sys 0.55

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/23397/ft1_filtered_4FGL_J0757.1+0956_daily_bin627.fits evtable="EVENTS" scfile=/scratch/kocevski/23397/ft2_4FGL_J0757.1+0956_daily_bin627.fits sctable="SC_DATA" expcube=/scratch/kocevski/23397/ltcube_401846401_402105601_4FGL_J0757.1+0956_daily_bin627.fits outfile=/scratch/kocevski/23397/expmap_401846401_402105601_4FGL_J0757.1+0956_daily_bin627.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/23397/ltcube_401846401_402105601_4FGL_J0757.1+0956_daily_bin627.fits
.....................!
real 191.91
user 186.66
sys 4.88

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/23397/ft1_filtered_4FGL_J0757.1+0956_daily_bin627.fits scfile=/scratch/kocevski/23397/ft2_4FGL_J0757.1+0956_daily_bin627.fits outfile=/scratch/kocevski/23397/cmap_401846401_402105601_4FGL_J0757.1+0956_daily_bin627.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 0.77
user 0.37
sys 0.36

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/23397/ft1_filtered_4FGL_J0757.1+0956_daily_bin627.fits scfile=/scratch/kocevski/23397/ft2_4FGL_J0757.1+0956_daily_bin627.fits outfile=/scratch/kocevski/23397/cmap_HighResolution_401846401_402105601_4FGL_J0757.1+0956_daily_bin627.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 0.75
user 0.37
sys 0.38

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/23397/ft1_filtered_4FGL_J0757.1+0956_daily_bin627.fits', '/scratch/kocevski/23397/ft2_4FGL_J0757.1+0956_daily_bin627.fits', expMap='/scratch/kocevski/23397/expmap_401846401_402105601_4FGL_J0757.1+0956_daily_bin627.fits', expCube='/scratch/kocevski/23397/ltcube_401846401_402105601_4FGL_J0757.1+0956_daily_bin627.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/23397/Model_4FGL_J0757.1+0956_daily_bin627.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/23397/ft1_filtered_4FGL_J0757.1+0956_daily_bin627.fits
Spacecraft file(s): /scratch/kocevski/23397/ft2_4FGL_J0757.1+0956_daily_bin627.fits
Exposure map: /scratch/kocevski/23397/expmap_401846401_402105601_4FGL_J0757.1+0956_daily_bin627.fits
Exposure cube: /scratch/kocevski/23397/ltcube_401846401_402105601_4FGL_J0757.1+0956_daily_bin627.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/23397/Model_4FGL_J0757.1+0956_daily_bin627.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) = 6523.68215422

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.2585       1.0000         .10000E-03   10000.    
     2 'norm      '    1.6359       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      '    1.8114       1.0000         .10000E-03   10000.    
     6 'norm      '    .10054E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    19.351       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.2123       1.0000         .10000E-03   10000.    
    10 'norm      '    14.039       1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.1541       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    145.09       1.0000         .10000E-03   10000.    
    14 'Prefactor '    16.795       1.0000         .10000E-03   10000.    
    15 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    15.407       1.0000         .10000E-03   10000.    
    17 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    32.075       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .89799       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0684       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=   6523.679     FROM MIGRAD    STATUS=CONVERGED    506 CALLS     2533 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.2583        1.3303        .15596E-07   -.66553E-04
   2  norm          1.6358        1.2186        .20839E-08   -.18000E-03
   3  Prefactor     .10000E-03    19.342       -.53136E-06** at limit **
   4  Prefactor     .10000E-03    11.740        .11583E-05** at limit **
   5  norm          1.8110        2.0589        .92543E-07   -.18972E-03
   6  norm          .10000E-03    .76142        .18645E-07** at limit **
   7  Prefactor     19.354        12.654       -.26856E-06   -.50119E-04
   8  Prefactor     .10000E-03    11.054       -.76108E-06** at limit **
   9  Prefactor     4.2126        2.8866       -.85851E-07   -.93258E-04
  10  norm          14.038        21.607       -.22330E-05   -.50205E-04
  11  Prefactor     3.1547        6.7780        .37794E-05   -.15143E-02
  12  Prefactor     .10000E-03    48.596        .59848E-06** at limit **
  13  norm          145.09        98.573       -.15024E-05   -.40762E-04
  14  Prefactor     16.779        28.309       -.10675E-04   -.37772E-03
  15  norm          .10000E-03    6.9316       -.78586E-07** at limit **
  16  norm          15.413        18.719        .36599E-05    .14650E-03
  17  norm          .10000E-03    1.4370        .59115E-07** at limit **
  18  Prefactor     .10000E-03    18.851       -.24897E-05** at limit **
  19  Prefactor     .10000E-03    19.819        .31544E-05** at limit **
  20  norm          .10000E-03    .33225        .25868E-07** at limit **
  21  Prefactor     32.082        37.860        .37058E-05    .16211E-03
  22  Normalizat    .89774        .19551        .62928E-06   -.79771E-04
  23  Prefactor     1.0685        .12826       -.22273E-06   -.16333E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.25831
  norm       = 1.63582
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.81097
  norm       = 0.0001
  Prefactor  = 19.3543
  Prefactor  = 0.0001
  Prefactor  = 4.21264
  norm       = 14.0381
  Prefactor  = 3.15473
  Prefactor  = 0.0001
  norm       = 145.087
  Prefactor  = 16.7786
  norm       = 0.0001
  norm       = 15.4131
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 32.0819
  Normalizat = 0.897741
  Prefactor  = 1.06855
 **********
 **   18 **HESSE 
 **********

 FCN=   6523.679     FROM HESSE     STATUS=OK           368 CALLS     2901 TOTAL
                     EDM=   .76E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.2583        1.3250        .92260E-04   -1.5484    
   2  norm          1.6358        1.2092        .73379E-04   -1.5452    
   3  Prefactor     .10000E-03    19.363        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    11.763        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.8110        2.0472        .93472E-04   -1.5439    
   6  norm          .10000E-03    3.3513        .13574E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     19.354        12.712        .91049E-04   -1.4828    
   8  Prefactor     .10000E-03    11.061        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.2126        2.8882        .10813E-03   -1.5297    
  10  norm          14.038        22.294        .10690E-03   -1.4958    
  11  Prefactor     3.1547        9.6973        .11412E-02   -1.5353    
  12  Prefactor     .10000E-03    48.607        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          145.09        98.630        .33452E-04   -1.3293    
  14  Prefactor     16.779        29.293        .97731E-04   -1.4889    
  15  norm          .10000E-03    6.9574        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          15.413        18.905        .10204E-03   -1.4923    
  17  norm          .10000E-03    1.4451        .94549E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    18.934        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    20.105        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    .34617        .90872E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     32.082        38.154        .70750E-04   -1.4575    
  22  Normalizat    .89774        .22442        .30503E-03   -.96540    
  23  Prefactor     1.0685        .14674        .19267E-03   -.90478    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.63964e-09
Minuit parameter uncertainties:
  1  1.32506
  2  1.20917
  3  4.3087e-05
  4  7.50003e-05
  5  2.04726
  6  3.32483e-05
  7  12.7139
  8  4.67896e-05
  9  2.88829
  10  22.3071
  11  9.70217
  12  7.55063e-05
  13  98.7426
  14  29.3185
  15  9.59543e-06
  16  18.9127
  17  7.27681e-06
  18  0.000212703
  19  0.000191928
  20  1.00882e-07
  21  38.1829
  22  0.224649
  23  0.146793
Done.

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

Extracting fit parameters...

4FGL J0757.1+0956
   Spectrum: PowerLaw
272    Prefactor:  3.155e+00  9.702e+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

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  1.069e+00  1.468e-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:  8.977e-01  2.246e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.16
Ra Dec: 119.286 9.949
Photon Flux Upper Limit: 7.90e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.00e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/23397/likelihoodResults_401846401_402105601_4FGL_J0757.1+0956_daily_bin627.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) = 6523.63664754
delta logL = 0.0425027213359

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6523.63013055
delta logL = 0.0490197066129

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.3023       1.0000         .10000E-03   10000.    
     2 'Index     '    2.5849       1.0000          .0000       10.000    
     3 'Normalizat'    .89068       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0712       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=   6523.630     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      212 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.2991        559.38        .67612E-02    .62580E-03
   2  Index         2.5852        7.7275        .23247E-01    .49197E-04
   3  Normalizat    .89077        .11866        .69184E-01    .19404E-04
   4  Prefactor     1.0712        .82957E-01    .38799E-01    .86721E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.29911
  Index      = 2.58524
  Normalizat = 0.89077
  Prefactor  = 1.0712
 **********
 **   18 **HESSE 
 **********

 FCN=   6523.630     FROM HESSE     STATUS=OK            31 CALLS      243 TOTAL
                     EDM=   .36E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.2991        7.4700        .26493E-03   -1.5405    
   2  Index         2.5852        1.4734        .92990E-03   -.50402    
   3  Normalizat    .89077        .21109        .30609E-03   -.96785    
   4  Prefactor     1.0712        .14370        .19245E-03   -.90392    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.58998e-13
Minuit parameter uncertainties:
  1  7.47302
  2  1.50272
  3  0.211286
  4  0.143748
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/23397': 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) = 6523.63013035
delta logL = 0.0490199154465

Extracting fit parameters...

4FGL J0757.1+0956
   Spectrum: PowerLaw
272    Prefactor:  2.299e+00  7.473e+00  1.000e-04  1.000e+04 ( 1.000e-13)
273        Index:  2.585e+00  1.503e+00  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:  1.071e+00  1.437e-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:  8.908e-01  2.113e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.16
Ra Dec: 119.286 9.949

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.355e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.614e-03 [aplpy.core]
Saving /scratch/kocevski/23397/cmap_HighResolution_401846401_402105601_4FGL_J0757.1+0956_daily_bin627.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.00e-03', job_status='DONE', photon_flux_upper_limit='7.90e-08', time_completed='2021-08-28 20:33:02.113086', job_id='23397', GAL2='1.07', fit_tolerance='1e-08', EG2='0.89', EG='0.90', time_epoch_completed='1630207982.11', return_code2='0', ts='0.16', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='4.90e-02', ts2='0.26', photon_index_error='0.00', photon_index='2.15' WHERE bin_id='627' AND source_name='4FGL J0757.1+0956' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 20:33:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0052>
Subject: Job 23397: <4FGL_J0757.1+0956_daily_bin627> in cluster <slac> Done

Job <4FGL_J0757.1+0956_daily_bin627> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Aug 28 20:20:53 2021
Job was executed on host(s) <bullet0052>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 20:20:54 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:54 2021
Terminated at Sat Aug 28 20:33:02 2021
Results reported at Sat Aug 28 20:33:02 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0757.1+0956_daily_bin627 119.286 9.9491 401846401 402105601 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 :                                   698.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             354.61 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   728 sec.
    Turnaround time :                            729 sec.

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

