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


Performing analysis on: 4FGL_J0750.8+1229_daily_bin245
RA = 117.701, Dec = 12.494
tmin = 302832001, tmax = 303091201
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='941308', job_status='RUN', time_executed='2021-08-28 16:01:10.029116', time_epoch_executed='1630191670.03' WHERE source_name='4FGL J0750.8+1229' and cadence='daily' and bin_id='245'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/941308

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/941308/ft1_4FGL_J0750.8+1229_daily_bin245.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/941308/ft2_4FGL_J0750.8+1229_daily_bin245.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/941308/ft1_4FGL_J0750.8+1229_daily_bin245.fits outfile=/scratch/kocevski/941308/ft1_filteredMKT_4FGL_J0750.8+1229_daily_bin245.fits ra=117.701 dec=12.494 rad=12.0 tmin=302832001.0 tmax=303091201.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.82
user 3.31
sys 0.48

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/941308/ft2_4FGL_J0750.8+1229_daily_bin245.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/941308/ft1_filteredMKT_4FGL_J0750.8+1229_daily_bin245.fits evtable="EVENTS" outfile="/scratch/kocevski/941308/ft1_filtered_4FGL_J0750.8+1229_daily_bin245.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.84
user 0.32
sys 0.49

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/941308/ft1_filtered_4FGL_J0750.8+1229_daily_bin245.fits" evtable="EVENTS" scfile=/scratch/kocevski/941308/ft2_4FGL_J0750.8+1229_daily_bin245.fits sctable="SC_DATA" outfile=/scratch/kocevski/941308/ltcube_302832001_303091201_4FGL_J0750.8+1229_daily_bin245.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/941308/ft2_4FGL_J0750.8+1229_daily_bin245.fits
.....................!
real 12.15
user 11.35
sys 0.69

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/941308/ft1_filtered_4FGL_J0750.8+1229_daily_bin245.fits evtable="EVENTS" scfile=/scratch/kocevski/941308/ft2_4FGL_J0750.8+1229_daily_bin245.fits sctable="SC_DATA" expcube=/scratch/kocevski/941308/ltcube_302832001_303091201_4FGL_J0750.8+1229_daily_bin245.fits outfile=/scratch/kocevski/941308/expmap_302832001_303091201_4FGL_J0750.8+1229_daily_bin245.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/941308/ltcube_302832001_303091201_4FGL_J0750.8+1229_daily_bin245.fits
.....................!
real 191.57
user 185.94
sys 5.32

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/941308/ft1_filtered_4FGL_J0750.8+1229_daily_bin245.fits scfile=/scratch/kocevski/941308/ft2_4FGL_J0750.8+1229_daily_bin245.fits outfile=/scratch/kocevski/941308/cmap_302832001_303091201_4FGL_J0750.8+1229_daily_bin245.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 0.82
user 0.37
sys 0.42

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/941308/ft1_filtered_4FGL_J0750.8+1229_daily_bin245.fits scfile=/scratch/kocevski/941308/ft2_4FGL_J0750.8+1229_daily_bin245.fits outfile=/scratch/kocevski/941308/cmap_HighResolution_302832001_303091201_4FGL_J0750.8+1229_daily_bin245.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 0.87
user 0.39
sys 0.47

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/941308/ft1_filtered_4FGL_J0750.8+1229_daily_bin245.fits', '/scratch/kocevski/941308/ft2_4FGL_J0750.8+1229_daily_bin245.fits', expMap='/scratch/kocevski/941308/expmap_302832001_303091201_4FGL_J0750.8+1229_daily_bin245.fits', expCube='/scratch/kocevski/941308/ltcube_302832001_303091201_4FGL_J0750.8+1229_daily_bin245.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/941308/Model_4FGL_J0750.8+1229_daily_bin245.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/941308/ft1_filtered_4FGL_J0750.8+1229_daily_bin245.fits
Spacecraft file(s): /scratch/kocevski/941308/ft2_4FGL_J0750.8+1229_daily_bin245.fits
Exposure map: /scratch/kocevski/941308/expmap_302832001_303091201_4FGL_J0750.8+1229_daily_bin245.fits
Exposure cube: /scratch/kocevski/941308/ltcube_302832001_303091201_4FGL_J0750.8+1229_daily_bin245.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/941308/Model_4FGL_J0750.8+1229_daily_bin245.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) = 9058.86344604

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .23678E-01   1.0000         .10000E-03   10000.    
     2 'norm      '    3.5603       1.0000         .10000E-03   10000.    
     3 'norm      '    13.956       1.0000         .10000E-03   10000.    
     4 'Prefactor '    42.184       1.0000         .10000E-03   10000.    
     5 'Prefactor '    12.402       1.0000         .10000E-03   10000.    
     6 'norm      '    .43339       1.0000         .10000E-03   10000.    
     7 'norm      '    4.4168       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10101E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    38.265       1.0000         .10000E-03   10000.    
    10 'Prefactor '    56.383       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .15627E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    4.5959       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    31.242       1.0000         .10000E-03   10000.    
    15 'norm      '    49.120       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    5.4768       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10094E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    8.0546       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.6124       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .85601       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=   9058.443     FROM MIGRAD    STATUS=CONVERGED    494 CALLS     2483 TOTAL
                     EDM=   .88E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .21170        7.3600        .38684E-06   -.20872E-03
   2  norm          3.5637        3.1881       -.67480E-06   -.85999E-03
   3  norm          13.956        2.2871        .19956E-06   -.83559E-03
   4  Prefactor     42.199        122.70        .25697E-04   -.18031E-05
   5  Prefactor     12.410        17.244       -.14148E-04   -.36689E-04
   6  norm          .43501        1.0314        .22575E-07   -.12624E-02
   7  norm          4.4177        1.8956        .12750E-06   -.24148E-03
   8  Prefactor     .10000E-03    3.4923        .14171E-06** at limit **
   9  Prefactor     38.265        27.189        .22248E-04   -.44316E-04
  10  Prefactor     56.346        56.352       -.98283E-05   -.11664E-03
  11  Prefactor     .10001E-03    1.4381        .20064E-05** at limit **
  12  norm          4.5975        8.2200        .43995E-05   -.16997E-03
  13  Prefactor     .10000E-03    4.0177       -.62935E-08** at limit **
  14  Prefactor     31.185        106.64       -.73700E-04   -.80467E-04
  15  norm          49.155        113.14        .55126E-04   -.96456E-05
  16  Prefactor     .10000E-03    9.1097        .24344E-06** at limit **
  17  norm          .10000E-03    6.4388       -.22231E-06** at limit **
  18  norm          5.4776        4.2398       -.14203E-05   -.11279E-04
  19  Prefactor     .10000E-03    20.157       -.63963E-06** at limit **
  20  Prefactor     8.0564        14.937        .28998E-04   -.10066E-03
  21  Normalizat    1.6131        .20721       -.51354E-05   -.43693E-03
  22  Prefactor     .85528        .12983       -.95078E-06   -.76542E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.211697
  norm       = 3.56374
  norm       = 13.9558
  Prefactor  = 42.1989
  Prefactor  = 12.4105
  norm       = 0.435014
  norm       = 4.4177
  Prefactor  = 0.0001
  Prefactor  = 38.2653
  Prefactor  = 56.3462
  Prefactor  = 0.000100009
  norm       = 4.59751
  Prefactor  = 0.0001
  Prefactor  = 31.1853
  norm       = 49.1546
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 5.47763
  Prefactor  = 0.0001
  Prefactor  = 8.05642
  Normalizat = 1.61307
  Prefactor  = 0.855276
 **********
 **   18 **HESSE 
 **********

 FCN=   9058.443     FROM HESSE     STATUS=OK           350 CALLS     2833 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .21170        8.3769        .82476E-01   -1.5616    
   2  norm          3.5637        3.1613        .12152E-03   -1.5330    
   3  norm          13.956        2.2888        .55391E-04   -1.4961    
   4  Prefactor     42.199        121.85        .61721E-04   -1.4408    
   5  Prefactor     12.410        17.231        .11375E-03   -1.5003    
   6  norm          .43501        .83745        .14229E-02   -1.5576    
   7  norm          4.4177        1.8940        .82371E-04   -1.5288    
   8  Prefactor     .10000E-03    3.5008        .17357E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     38.265        27.170        .64793E-04   -1.4470    
  10  Prefactor     56.346        56.285        .53423E-04   -1.4205    
  11  Prefactor     .10001E-03    5.7370        .21621E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          4.5975        8.1998        .18776E-03   -1.5279    
  13  Prefactor     .10000E-03    4.0252        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     31.185        106.39        .71685E-04   -1.4591    
  15  norm          49.155        113.11        .57217E-04   -1.4305    
  16  Prefactor     .10000E-03    9.1182        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    6.4456        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          5.4776        4.2416        .16764E-03   -1.5240    
  19  Prefactor     .10000E-03    20.202        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     8.0564        14.934        .14127E-03   -1.5140    
  21  Normalizat    1.6131        .23703        .30597E-03   -.74649    
  22  Prefactor     .85528        .14928        .25143E-03   -.97722    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.67571e-09
Minuit parameter uncertainties:
  1  2.66313
  2  3.16145
  3  2.28884
  4  122.58
  5  17.2377
  6  0.837476
  7  1.89407
  8  2.49197e-05
  9  27.1789
  10  56.3381
  11  0.000448506
  12  8.20177
  13  2.81334e-06
  14  107.044
  15  113.609
  16  2.21887e-05
  17  9.08714e-06
  18  4.24182
  19  0.000105147
  20  14.9408
  21  0.237193
  22  0.14935
Done.

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

Extracting fit parameters...

4FGL J0750.8+1229
   Spectrum: PowerLaw
265    Prefactor:  1.000e-04  4.485e-04  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:  8.553e-01  1.493e-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:  1.613e+00  2.372e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 117.701 12.494
Photon Flux Upper Limit: 9.72e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.57e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/941308/likelihoodResults_302832001_303091201_4FGL_J0750.8+1229_daily_bin245.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9058.44354135
delta logL = -0.000830263988973

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9058.44271154
delta logL = -4.51451342087e-07

Fit tolerance = 1e-08

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

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

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9058.443     FROM MIGRAD    STATUS=CONVERGED    155 CALLS      328 TOTAL
                     EDM=   .73E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .28778E-01    .21042E-01** at limit **
   2  Index         3.7598        6.5225        .50000        .14481E-05
   3  Normalizat    1.6131        .16003E-02    .30597E-03   -.23780E-05
   4  Prefactor     .85528        .10033E-02    .25143E-03   -.43408E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 3.75984
  Normalizat = 1.61305
  Prefactor  = 0.855283
 **********
 **   18 **HESSE 
 **********

 FCN=   9058.443     FROM HESSE     STATUS=NOT POSDEF    39 CALLS      367 TOTAL
                     EDM=   .85E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    .51675E-01    .15858E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.7598        6.3063        .50000       -.25065    
   3  Normalizat    1.6131        .17291E-02    .12239E-04   -.74649    
   4  Prefactor     .85528        .10841E-02    .10057E-04   -.97722    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.51366e-12
Minuit parameter uncertainties:
  1  2.28413e-06
  2  9.74201
  3  0.00172908
  4  0.00108409
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/941308': 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): 102
logL (Free Index) = 9058.44270262
delta logL = 8.47262344905e-06

Extracting fit parameters...

4FGL J0750.8+1229
   Spectrum: PowerLaw
265    Prefactor:  1.000e-04  2.284e-06  1.000e-04  1.000e+04 ( 1.000e-12)
266        Index:  3.760e+00  9.742e+00  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:  8.553e-01  1.084e-03  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:  1.613e+00  1.729e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 117.701 12.494

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/941308/cmap_HighResolution_302832001_303091201_4FGL_J0750.8+1229_daily_bin245.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.57e-03', job_status='DONE', photon_flux_upper_limit='9.72e-08', time_completed='2021-08-28 16:15:06.897810', job_id='941308', GAL2='0.86', fit_tolerance='1e-08', EG2='1.61', EG='1.61', time_epoch_completed='1630192506.9', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.86', dlogl='8.47e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='245' AND source_name='4FGL J0750.8+1229' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 16:15:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0260>
Subject: Job 941308: <4FGL_J0750.8+1229_daily_bin245> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0750.8+1229_daily_bin245 117.701 12.494 302832001 303091201 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 :                                   838.60 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             312.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   863 sec.
    Turnaround time :                            865 sec.

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

