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


Performing analysis on: 4FGL_J0757.1+0956_daily_bin434
RA = 119.286, Dec = 9.9491
tmin = 351820801, tmax = 352080001
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='23028', job_status='RUN', time_executed='2021-08-28 20:24:41.498547', time_epoch_executed='1630207481.5' WHERE source_name='4FGL J0757.1+0956' and cadence='daily' and bin_id='434'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/23028

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/23028/ft1_4FGL_J0757.1+0956_daily_bin434.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/23028/ft2_4FGL_J0757.1+0956_daily_bin434.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/23028/ft1_4FGL_J0757.1+0956_daily_bin434.fits outfile=/scratch/kocevski/23028/ft1_filteredMKT_4FGL_J0757.1+0956_daily_bin434.fits ra=119.286 dec=9.9491 rad=12.0 tmin=351820801.0 tmax=352080001.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.37
user 3.47
sys 0.87

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/23028/ft2_4FGL_J0757.1+0956_daily_bin434.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/23028/ft1_filteredMKT_4FGL_J0757.1+0956_daily_bin434.fits evtable="EVENTS" outfile="/scratch/kocevski/23028/ft1_filtered_4FGL_J0757.1+0956_daily_bin434.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.18
user 0.33
sys 0.84

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/23028/ft1_filtered_4FGL_J0757.1+0956_daily_bin434.fits" evtable="EVENTS" scfile=/scratch/kocevski/23028/ft2_4FGL_J0757.1+0956_daily_bin434.fits sctable="SC_DATA" outfile=/scratch/kocevski/23028/ltcube_351820801_352080001_4FGL_J0757.1+0956_daily_bin434.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/23028/ft2_4FGL_J0757.1+0956_daily_bin434.fits
.....................!
real 13.03
user 11.90
sys 1.09

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/23028/ft1_filtered_4FGL_J0757.1+0956_daily_bin434.fits evtable="EVENTS" scfile=/scratch/kocevski/23028/ft2_4FGL_J0757.1+0956_daily_bin434.fits sctable="SC_DATA" expcube=/scratch/kocevski/23028/ltcube_351820801_352080001_4FGL_J0757.1+0956_daily_bin434.fits outfile=/scratch/kocevski/23028/expmap_351820801_352080001_4FGL_J0757.1+0956_daily_bin434.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/23028/ltcube_351820801_352080001_4FGL_J0757.1+0956_daily_bin434.fits
.....................!
real 191.27
user 185.69
sys 5.21

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/23028/ft1_filtered_4FGL_J0757.1+0956_daily_bin434.fits scfile=/scratch/kocevski/23028/ft2_4FGL_J0757.1+0956_daily_bin434.fits outfile=/scratch/kocevski/23028/cmap_351820801_352080001_4FGL_J0757.1+0956_daily_bin434.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 1.25
user 0.38
sys 0.81

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/23028/ft1_filtered_4FGL_J0757.1+0956_daily_bin434.fits scfile=/scratch/kocevski/23028/ft2_4FGL_J0757.1+0956_daily_bin434.fits outfile=/scratch/kocevski/23028/cmap_HighResolution_351820801_352080001_4FGL_J0757.1+0956_daily_bin434.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 1.21
user 0.37
sys 0.83

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.6264       1.0000         .10000E-03   10000.    
     2 'norm      '    3.3374       1.0000         .10000E-03   10000.    
     3 'Prefactor '    86.062       1.0000         .10000E-03   10000.    
     4 'Prefactor '    32.213       1.0000         .10000E-03   10000.    
     5 'norm      '    2.3251       1.0000         .10000E-03   10000.    
     6 'norm      '    1.4383       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .21958E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10273E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.2347       1.0000         .10000E-03   10000.    
    10 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    24.556       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10041E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    48.508       1.0000         .10000E-03   10000.    
    15 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    5.4616       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10348E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .32421       1.0000         .10000E-03   10000.    
    21 'Prefactor '    1.2071       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.5105       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .70182       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=   6149.220     FROM MIGRAD    STATUS=CONVERGED    494 CALLS     2494 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.6260        2.3044        .24254E-06   -.50098E-04
   2  norm          3.3376        1.4506        .22962E-07   -.22429E-03
   3  Prefactor     86.056        71.204       -.80223E-06   -.36054E-04
   4  Prefactor     32.221        43.283        .70443E-06    .47446E-04
   5  norm          2.3253        1.5712       -.53041E-08   -.86583E-03
   6  norm          1.4385        1.6254        .11248E-06   -.41949E-04
   7  Prefactor     .10002E-03    6.6047        .76290E-06** at limit **
   8  Prefactor     .10000E-03    12.719        .41945E-07** at limit **
   9  Prefactor     1.2351        1.6977        .66242E-07   -.46789E-04
  10  norm          .10000E-03    19.251        .68191E-06** at limit **
  11  Prefactor     24.554        13.371        .81066E-07   -.23932E-04
  12  Prefactor     .10000E-03    36.220        .16907E-05** at limit **
  13  norm          .10000E-03    27.757       -.55737E-06** at limit **
  14  Prefactor     48.506        33.782       -.31697E-06   -.35629E-04
  15  norm          .10000E-03    4.0467       -.33823E-07** at limit **
  16  norm          .10000E-03    20.723       -.95299E-06** at limit **
  17  norm          5.4617        4.2862       -.27731E-06   -.40440E-03
  18  Prefactor     .10000E-03    46.862       -.13204E-05** at limit **
  19  Prefactor     .10000E-03    3.7758        .99358E-08** at limit **
  20  norm          .32422        .59479        .70014E-06   -.50315E-03
  21  Prefactor     1.1746        87.411       -.44600E-06   -.35625E-04
  22  Normalizat    1.5104        .20790       -.50861E-06   -.10940E-03
  23  Prefactor     .70186        .13739       -.44279E-07   -.11724E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.62596
  norm       = 3.33762
  Prefactor  = 86.0557
  Prefactor  = 32.2209
  norm       = 2.32527
  norm       = 1.43854
  Prefactor  = 0.000100023
  Prefactor  = 0.0001
  Prefactor  = 1.23514
  norm       = 0.0001
  Prefactor  = 24.5544
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 48.5055
  norm       = 0.0001
  norm       = 0.0001
  norm       = 5.46172
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.324219
  Prefactor  = 1.17456
  Normalizat = 1.5104
  Prefactor  = 0.701862
 **********
 **   18 **HESSE 
 **********

 FCN=   6149.220     FROM HESSE     STATUS=OK           366 CALLS     2860 TOTAL
                     EDM=   .99E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.6260        2.2708        .12803E-03   -1.5453    
   2  norm          3.3376        1.4481        .59503E-04   -1.5343    
   3  Prefactor     86.056        71.241        .43305E-04   -1.3850    
   4  Prefactor     32.221        43.244        .70599E-04   -1.4572    
   5  norm          2.3253        1.4268        .70806E-04   -1.5403    
   6  norm          1.4385        1.6006        .10143E-03   -1.5468    
   7  Prefactor     .10002E-03    30.263        .34037E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    12.727        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.2351        1.6672        .11598E-03   -1.5486    
  10  norm          .10000E-03    19.445        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     24.554        13.374        .80837E-04   -1.4717    
  12  Prefactor     .10000E-03    36.810        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    27.828        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     48.506        33.872        .57575E-04   -1.4314    
  15  norm          .10000E-03    4.0536        .15406E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    20.875        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          5.4617        4.3441        .14090E-03   -1.5241    
  18  Prefactor     .10000E-03    47.313        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    3.7794        .14881E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .32422        .60033        .21061E-03   -1.5594    
  21  Prefactor     1.1746        93.082        .41228E-03   -1.5491    
  22  Normalizat    1.5104        .23766        .25610E-03   -.77487    
  23  Prefactor     .70186        .15818        .23664E-03   -1.0345    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.94554e-10
Minuit parameter uncertainties:
  1  2.27091
  2  1.44812
  3  71.3114
  4  43.2864
  5  1.42687
  6  1.60066
  7  0.00166433
  8  1.30434e-06
  9  1.66731
  10  0.000103679
  11  13.376
  12  0.000403067
  13  0.000117232
  14  33.8856
  15  1.2314e-06
  16  0.000108307
  17  4.34431
  18  0.000283607
  19  1.86678e-06
  20  0.600336
  21  20.9451
  22  0.237832
  23  0.158283
Done.

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

Extracting fit parameters...

4FGL J0757.1+0956
   Spectrum: PowerLaw
272    Prefactor:  2.455e+01  1.338e+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.019e-01  1.583e-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.510e+00  2.378e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 10.47
Ra Dec: 119.286 9.949
Photon Index (Fixed Index): 2.15 +/- 0.00
Photon Flux (Fixed Index): 6.45e-08 +/- 3.51e-08
Energy Flux (Fixed Index): 3.19e-05 +/- 1.74e-05

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) = 6149.20349661
delta logL = 0.0160372194077

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6149.19474672
delta logL = 0.0247871091533

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    26.682       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0535       1.0000          .0000       10.000    
     3 'Normalizat'    1.5170       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .69916       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6149.195     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      238 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     26.684        17.445        .77554E-04   -.97350E-03
   2  Index         2.0534        .43828        .57432E-02   -.39516E-03
   3  Normalizat    1.5171        .23133        .25565E-03    .24391E-03
   4  Prefactor     .69915        .15140        .23705E-03    .29524E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 26.684
  Index      = 2.05339
  Normalizat = 1.51707
  Prefactor  = 0.69915
 **********
 **   18 **HESSE 
 **********

 FCN=   6149.195     FROM HESSE     STATUS=OK            23 CALLS      261 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     26.684        17.093        .15511E-04   -1.4674    
   2  Index         2.0534        .42922        .22973E-03   -.63022    
   3  Normalizat    1.5171        .23139        .51130E-04   -.77300    
   4  Prefactor     .69915        .15147        .94820E-05   -1.0356    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.65827e-09
Minuit parameter uncertainties:
  1  17.0961
  2  0.430027
  3  0.231551
  4  0.151562
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/23028': 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) = 6149.1947467
delta logL = 0.0247871361189

Extracting fit parameters...

4FGL J0757.1+0956
   Spectrum: PowerLaw
272    Prefactor:  2.668e+01  1.710e+01  1.000e-04  1.000e+04 ( 1.000e-13)
273        Index:  2.053e+00  4.300e-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:  6.992e-01  1.516e-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.517e+00  2.316e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.50
Ra Dec: 119.286 9.949
Photon Index (Free Index): 2.05 +/- 0.43
Photon Flux (Free Index): 5.91e-08 +/- 4.04e-08
Energy Flux (Free Index): 3.60e-05 +/- 2.88e-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/23028/cmap_HighResolution_351820801_352080001_4FGL_J0757.1+0956_daily_bin434.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.45e-08', energy_flux2='3.60e-05', photon_flux_error='3.51e-08', dlogl='2.48e-02', energy_flux='3.19e-05', photon_flux2='5.91e-08', job_status='DONE', time_completed='2021-08-28 20:35:15.270236', photon_index_error2='0.43', photon_index2='2.05', ts='10.47', fit_tolerance='1e-08', GAL='0.70', photon_index_error='0.00', energy_flux_error2='2.88e-05', EG='1.51', time_epoch_completed='1630208115.27', return_code='0', job_id='23028', GAL2='0.70', EG2='1.52', return_code2='0', energy_flux_error='1.74e-05', photon_flux_error2='4.04e-08', ts2='10.50', photon_index='2.15' WHERE bin_id='434' AND source_name='4FGL J0757.1+0956' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 20:35:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0088>
Subject: Job 23028: <4FGL_J0757.1+0956_daily_bin434> in cluster <slac> Done

Job <4FGL_J0757.1+0956_daily_bin434> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Aug 28 20:20:30 2021
Job was executed on host(s) <bullet0088>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 20:20:32 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:32 2021
Terminated at Sat Aug 28 20:35:15 2021
Results reported at Sat Aug 28 20:35:15 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0757.1+0956_daily_bin434 119.286 9.9491 351820801 352080001 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 :                                   641.24 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             241.15 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   883 sec.
    Turnaround time :                            885 sec.

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

