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


Performing analysis on: 4FGL_J0750.8+1229_daily_bin326
RA = 117.701, Dec = 12.494
tmin = 323827201, tmax = 324086401
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='941421', job_status='RUN', time_executed='2021-08-28 16:04:00.122667', time_epoch_executed='1630191840.12' WHERE source_name='4FGL J0750.8+1229' and cadence='daily' and bin_id='326'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/941421

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/941421/ft1_4FGL_J0750.8+1229_daily_bin326.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/941421/ft2_4FGL_J0750.8+1229_daily_bin326.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/941421/ft1_4FGL_J0750.8+1229_daily_bin326.fits outfile=/scratch/kocevski/941421/ft1_filteredMKT_4FGL_J0750.8+1229_daily_bin326.fits ra=117.701 dec=12.494 rad=12.0 tmin=323827201.0 tmax=324086401.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 5.93
user 3.12
sys 2.65

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/941421/ft2_4FGL_J0750.8+1229_daily_bin326.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/941421/ft2_4FGL_J0750.8+1229_daily_bin326.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/941421/ft1_filteredMKT_4FGL_J0750.8+1229_daily_bin326.fits evtable="EVENTS" outfile="/scratch/kocevski/941421/ft1_filtered_4FGL_J0750.8+1229_daily_bin326.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 2.97
user 0.33
sys 2.63

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/941421/ft1_filtered_4FGL_J0750.8+1229_daily_bin326.fits" evtable="EVENTS" scfile=/scratch/kocevski/941421/ft2_4FGL_J0750.8+1229_daily_bin326.fits sctable="SC_DATA" outfile=/scratch/kocevski/941421/ltcube_323827201_324086401_4FGL_J0750.8+1229_daily_bin326.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/941421/ft2_4FGL_J0750.8+1229_daily_bin326.fits
.....................!
real 14.91
user 11.70
sys 3.14

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/941421/ft1_filtered_4FGL_J0750.8+1229_daily_bin326.fits evtable="EVENTS" scfile=/scratch/kocevski/941421/ft2_4FGL_J0750.8+1229_daily_bin326.fits sctable="SC_DATA" expcube=/scratch/kocevski/941421/ltcube_323827201_324086401_4FGL_J0750.8+1229_daily_bin326.fits outfile=/scratch/kocevski/941421/expmap_323827201_324086401_4FGL_J0750.8+1229_daily_bin326.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/941421/ltcube_323827201_324086401_4FGL_J0750.8+1229_daily_bin326.fits
.....................!
real 193.86
user 185.39
sys 8.11

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 168 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 J0750.8+1229 @ 117.701 12.494

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/941421/ft1_filtered_4FGL_J0750.8+1229_daily_bin326.fits scfile=/scratch/kocevski/941421/ft2_4FGL_J0750.8+1229_daily_bin326.fits outfile=/scratch/kocevski/941421/cmap_323827201_324086401_4FGL_J0750.8+1229_daily_bin326.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=117.701 yref=12.494 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.99
user 0.36
sys 2.57

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/941421/ft1_filtered_4FGL_J0750.8+1229_daily_bin326.fits scfile=/scratch/kocevski/941421/ft2_4FGL_J0750.8+1229_daily_bin326.fits outfile=/scratch/kocevski/941421/cmap_HighResolution_323827201_324086401_4FGL_J0750.8+1229_daily_bin326.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=117.701 yref=12.494 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 3.10
user 0.38
sys 2.56

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/941421/ft1_filtered_4FGL_J0750.8+1229_daily_bin326.fits evtable="EVENTS" scfile=/scratch/kocevski/941421/ft2_4FGL_J0750.8+1229_daily_bin326.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/941421/Model_4FGL_J0750.8+1229_daily_bin326.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/941421/ft1_filtered_4FGL_J0750.8+1229_daily_bin326.fits.....................!
real 93.95
user 88.78
sys 4.41

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/941421/ft1_filtered_4FGL_J0750.8+1229_daily_bin326.fits', '/scratch/kocevski/941421/ft2_4FGL_J0750.8+1229_daily_bin326.fits', expMap='/scratch/kocevski/941421/expmap_323827201_324086401_4FGL_J0750.8+1229_daily_bin326.fits', expCube='/scratch/kocevski/941421/ltcube_323827201_324086401_4FGL_J0750.8+1229_daily_bin326.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/941421/Model_4FGL_J0750.8+1229_daily_bin326.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0750.8+1229'

4FGL J0750.8+1229
   Spectrum: PowerLaw
265    Prefactor:  1.506e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
266        Index:  2.517e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
267        Scale:  8.283e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/941421/ft1_filtered_4FGL_J0750.8+1229_daily_bin326.fits
Spacecraft file(s): /scratch/kocevski/941421/ft2_4FGL_J0750.8+1229_daily_bin326.fits
Exposure map: /scratch/kocevski/941421/expmap_323827201_324086401_4FGL_J0750.8+1229_daily_bin326.fits
Exposure cube: /scratch/kocevski/941421/ltcube_323827201_324086401_4FGL_J0750.8+1229_daily_bin326.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/941421/Model_4FGL_J0750.8+1229_daily_bin326.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) = 6845.43939307

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    28.747       1.0000         .10000E-03   10000.    
     2 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    7.4419       1.0000         .10000E-03   10000.    
     4 'Prefactor '    61.109       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    6.2650       1.0000         .10000E-03   10000.    
     8 'Prefactor '    19.015       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.6030       1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.4864       1.0000         .10000E-03   10000.    
    12 'norm      '    .10020E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    13.851       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10017E-03   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      '    .10005E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    8.9438       1.0000         .10000E-03   10000.    
    19 'Prefactor '    56.996       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .90700       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0462       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6845.409     FROM MIGRAD    STATUS=CONVERGED    475 CALLS     2383 TOTAL
                     EDM=   .11E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          28.748        15.840       -.60997E-06   -.75014E-05
   2  norm          .10000E-03    .98935       -.33684E-07** at limit **
   3  norm          7.4420        1.8402       -.61042E-07   -.31662E-04
   4  Prefactor     61.107        57.725       -.19437E-05   -.76172E-06
   5  Prefactor     .10000E-03    13.719        .54024E-05** at limit **
   6  norm          .10000E-03    .88418       -.40509E-07** at limit **
   7  norm          6.2652        2.5357       -.24279E-07   -.78733E-04
   8  Prefactor     19.016        9.7132        .16206E-06    .29722E-04
   9  Prefactor     .10000E-03    14.912       -.32215E-05** at limit **
  10  Prefactor     5.6022        71.597       -.38138E-05   -.93976E-05
  11  Prefactor     3.4864        3.4130       -.30138E-06   -.48152E-03
  12  norm          .10000E-03    6.0725        .88094E-07** at limit **
  13  Prefactor     13.851        11.986       -.29233E-06   -.29462E-05
  14  Prefactor     .10000E-03    143.86       -.24232E-05** at limit **
  15  norm          .10000E-03    23.261        .10154E-04** at limit **
  16  Prefactor     .10000E-03    14.864       -.17757E-05** at limit **
  17  norm          .10000E-03    22.364       -.84933E-05** at limit **
  18  norm          8.9434        5.3456       -.37138E-05    .14579E-03
  19  Prefactor     56.980        37.849       -.77343E-05    .72361E-04
  20  Prefactor     .10000E-03    10.607       -.69908E-06** at limit **
  21  Normalizat    .90705        .20864        .30943E-05   -.84493E-05
  22  Prefactor     1.0462        .13337       -.33786E-06    .18631E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 28.748
  norm       = 0.0001
  norm       = 7.44204
  Prefactor  = 61.1072
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 6.26522
  Prefactor  = 19.0165
  Prefactor  = 0.0001
  Prefactor  = 5.6022
  Prefactor  = 3.48639
  norm       = 0.0001
  Prefactor  = 13.8507
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100001
  norm       = 8.94345
  Prefactor  = 56.9804
  Prefactor  = 0.0001
  Normalizat = 0.907051
  Prefactor  = 1.04618
 **********
 **   18 **HESSE 
 **********

 FCN=   6845.409     FROM HESSE     STATUS=OK           340 CALLS     2723 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          28.748        15.843        .74723E-04   -1.4635    
   2  norm          .10000E-03    1.6322        .15869E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          7.4420        1.8409        .53250E-04   -1.5162    
   4  Prefactor     61.107        57.511        .51328E-04   -1.4143    
   5  Prefactor     .10000E-03    13.748        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    .89640        .15015E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          6.2652        2.5355        .80765E-04   -1.5207    
   8  Prefactor     19.016        9.5929        .91850E-04   -1.4836    
   9  Prefactor     .10000E-03    15.008        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     5.6022        71.513        .16972E-03   -1.5235    
  11  Prefactor     3.4864        3.4138        .14161E-03   -1.5335    
  12  norm          .10000E-03    6.0735        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     13.851        11.986        .10762E-03   -1.4963    
  14  Prefactor     .10000E-03    143.97        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    23.297        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    14.892        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    22.332        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          8.9434        5.3371        .13402E-03   -1.5110    
  19  Prefactor     56.980        37.884        .53137E-04   -1.4197    
  20  Prefactor     .10000E-03    10.669        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .90705        .23859        .32472E-03   -.96213    
  22  Prefactor     1.0462        .15260        .20441E-03   -.91206    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.44055e-10
Minuit parameter uncertainties:
  1  15.8455
  2  4.83555e-06
  3  1.8409
  4  57.5633
  5  7.96045e-06
  6  3.61383e-06
  7  2.53551
  8  9.59363
  9  1.5613e-05
  10  40.0904
  11  3.41397
  12  3.80712e-06
  13  11.9885
  14  2.18934e-05
  15  3.18151e-06
  16  6.92595e-05
  17  0.000281289
  18  5.33734
  19  37.8998
  20  2.13e-05
  21  0.23887
  22  0.152664
Done.

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

Extracting fit parameters...

4FGL J0750.8+1229
   Spectrum: PowerLaw
265    Prefactor:  3.486e+00  3.414e+00  1.000e-04  1.000e+04 ( 1.000e-12)
266        Index:  2.517e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
267        Scale:  8.283e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
552    Prefactor:  1.046e+00  1.527e-01  0.000e+00  1.000e+01 ( 1.000e+00)
553        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
554        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
551   Normalization:  9.071e-01  2.389e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.40
Ra Dec: 117.701 12.494
Photon Index (Fixed Index): 2.52 +/- 0.00
Photon Flux (Fixed Index): 4.71e-08 +/- 4.60e-08
Energy Flux (Fixed Index): 1.34e-05 +/- 1.31e-05

TS (Fixed Index): 1.40
Ra Dec: 117.701 12.494
Photon Flux Upper Limit: 1.42e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.10e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/941421/likelihoodResults_323827201_324086401_4FGL_J0750.8+1229_daily_bin326.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) = 6845.38712535
delta logL = 0.0214558845664

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6845.37852709
delta logL = 0.0300541444876

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6845.379     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      215 TOTAL
                     EDM=   .67E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.0134        79.435        .58427E-02    .74606E-03
   2  Index         2.6754        6.3377        .15379        .14549E-03
   3  Normalizat    .90174        .71485E-01    .73571E-01    .56528E-05
   4  Prefactor     1.0484        .48310E-01    .40004E-01   -.54662E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.01341
  Index      = 2.67537
  Normalizat = 0.90174
  Prefactor  = 1.04842
 **********
 **   18 **HESSE 
 **********

 FCN=   6845.379     FROM HESSE     STATUS=OK            31 CALLS      246 TOTAL
                     EDM=   .51E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.0134        3.8745        .12802E-03   -1.5361    
   2  Index         2.6754        .70766        .77844E-02   -.48355    
   3  Normalizat    .90174        .22593        .32556E-03   -.96399    
   4  Prefactor     1.0484        .14985        .20421E-03   -.91132    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.08359e-11
Minuit parameter uncertainties:
  1  3.8748
  2  0.71071
  3  0.22617
  4  0.149913
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/941421': 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) = 6845.37852635
delta logL = 0.0300548851283

Extracting fit parameters...

4FGL J0750.8+1229
   Spectrum: PowerLaw
265    Prefactor:  3.013e+00  3.875e+00  1.000e-04  1.000e+04 ( 1.000e-12)
266        Index:  2.675e+00  7.107e-01  0.000e+00  1.000e+01 (-1.000e+00)
267        Scale:  8.283e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
552    Prefactor:  1.048e+00  1.499e-01  0.000e+00  1.000e+01 ( 1.000e+00)
553        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
554        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
551   Normalization:  9.017e-01  2.262e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.46
Ra Dec: 117.701 12.494
Photon Index (Free Index): 2.68 +/- 0.71
Photon Flux (Free Index): 5.15e-08 +/- 4.99e-08
Energy Flux (Free Index): 1.26e-05 +/- 1.29e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/941421/cmap_HighResolution_323827201_324086401_4FGL_J0750.8+1229_daily_bin326.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.10e-02', comment='SUCCESS', photon_flux='4.71e-08', energy_flux2='1.26e-05', photon_flux_error='4.60e-08', dlogl='3.01e-02', energy_flux='1.34e-05', photon_flux2='5.15e-08', job_status='DONE', time_completed='2021-08-28 16:16:09.116524', photon_index_error2='0.71', photon_index2='2.68', ts='1.40', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', photon_flux_upper_limit='1.42e-07', energy_flux_error2='1.29e-05', EG='0.91', time_epoch_completed='1630192569.12', return_code='0', job_id='941421', GAL2='1.05', EG2='0.90', return_code2='0', energy_flux_error='1.31e-05', photon_flux_error2='4.99e-08', ts2='1.46', photon_index='2.52' WHERE bin_id='326' AND source_name='4FGL J0750.8+1229' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 16:16:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0137>
Subject: Job 941421: <4FGL_J0750.8+1229_daily_bin326> in cluster <slac> Done

Job <4FGL_J0750.8+1229_daily_bin326> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sat Aug 28 16:00:52 2021
Job was executed on host(s) <bullet0137>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 16:00: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 16:00:54 2021
Terminated at Sat Aug 28 16:16:10 2021
Results reported at Sat Aug 28 16:16:10 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0750.8+1229_daily_bin326 117.701 12.494 323827201 324086401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0750.8+1229 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   764.52 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             255.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   915 sec.
    Turnaround time :                            918 sec.

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

