/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)


Waiting 80 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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)

WARNIDone.


Performing analysis on: 4FGL_J0212.9+2244_daily_bin1736
RA = 33.2427, Dec = 22.7466
tmin = 689299201, tmax = 689558401
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI =Done.


Performing analysis on: 4FGL_J0212.9+2244_daily_bin1736
RA = 33.2427, Dec = 22.7466
tmin = 689299201, tmax = 689558401
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='951840', job_status='RUN', time_executed='2022-11-08 00:07:38.187059', time_epoch_executed='1667894858.19' WHERE source_name='4FGL J0212.9+2244' and cadence='daily' and bin_id='1736'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/951840

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/951840/ft1_4FGL_J0212.9+2244_daily_bin1736.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/951840/ft2_4FGL_J0212.9+2244_daily_bin1736.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/951840/ft1_4FGL_J0212.9+2244_daily_bin1736.fits outfile=/scratch/kocevski/951840/ft1_filteredMKT_4FGL_J0212.9+2244_daily_bin1736.fits ra=33.2427 dec=22.7466 rad=12.0 tmin=689299201.0 tmax=689558401.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.73
user 3.35
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/951840/ft2_4FGL_J0212.9+2244_daily_bin1736.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/951840/ft2_4FGL_J0212.9+2244_daily_bin1736.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/951840/ft1_filteredMKT_4FGL_J0212.9+2244_daily_bin1736.fits evtable="EVENTS" outfile="/scratch/kocevski/951840/ft1_filtered_4FGL_J0212.9+2244_daily_bin1736.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.63
user 0.31
sys 0.17

Number of photons that the gtmktime cut: 845

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/951840/ft1_filtered_4FGL_J0212.9+2244_daily_bin1736.fits" evtable="EVENTS" scfile=/scratch/kocevski/951840/ft2_4FGL_J0212.9+2244_daily_bin1736.fits sctable="SC_DATA" outfile=/scratch/kocevski/951840/ltcube_689299201_689558401_4FGL_J0212.9+2244_daily_bin1736.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/951840/ft2_4FGL_J0212.9+2244_daily_bin1736.fits
.....................!
real 12.26
user 11.80
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/951840/ft1_filtered_4FGL_J0212.9+2244_daily_bin1736.fits evtable="EVENTS" scfile=/scratch/kocevski/951840/ft2_4FGL_J0212.9+2244_daily_bin1736.fits sctable="SC_DATA" expcube=/scratch/kocevski/951840/ltcube_689299201_689558401_4FGL_J0212.9+2244_daily_bin1736.fits outfile=/scratch/kocevski/951840/expmap_689299201_689558401_4FGL_J0212.9+2244_daily_bin1736.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/951840/ltcube_689299201_689558401_4FGL_J0212.9+2244_daily_bin1736.fits
.....................!
real 194.05
user 187.84
sys 5.77

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
Added 160 point sources and 0 extended sources

Setting source of interest to:
4FGL J0212.9+2244 @ 33.2427 22.7466

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/951840/ft1_filtered_4FGL_J0212.9+2244_daily_bin1736.fits scfile=/scratch/kocevski/951840/ft2_4FGL_J0212.9+2244_daily_bin1736.fits outfile=/scratch/kocevski/951840/cmap_689299201_689558401_4FGL_J0212.9+2244_daily_bin1736.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=33.2427 yref=22.7466 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.74
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/951840/ft1_filtered_4FGL_J0212.9+2244_daily_bin1736.fits scfile=/scratch/kocevski/951840/ft2_4FGL_J0212.9+2244_daily_bin1736.fits outfile=/scratch/kocevski/951840/cmap_HighResolution_689299201_689558401_4FGL_J0212.9+2244_daily_bin1736.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=33.2427 yref=22.7466 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.61
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/951840/ft1_filtered_4FGL_J0212.9+2244_daily_bin1736.fits evtable="EVENTS" scfile=/scratch/kocevski/951840/ft2_4FGL_J0212.9+2244_daily_bin1736.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/951840/Model_4FGL_J0212.9+2244_daily_bin1736.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
Working on...
/scratch/kocevski/951840/ft1_filtered_4FGL_J0212.9+2244_daily_bin1736.fits.....................!
real 115.82
user 114.29
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/951840/ft1_filtered_4FGL_J0212.9+2244_daily_bin1736.fits', '/scratch/kocevski/951840/ft2_4FGL_J0212.9+2244_daily_bin1736.fits', expMap='/scratch/kocevski/951840/expmap_689299201_689558401_4FGL_J0212.9+2244_daily_bin1736.fits', expCube='/scratch/kocevski/951840/ltcube_689299201_689558401_4FGL_J0212.9+2244_daily_bin1736.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/951840/Model_4FGL_J0212.9+2244_daily_bin1736.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0212.9+2244'

4FGL J0212.9+2244
   Spectrum: PowerLaw
212    Prefactor:  1.178e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
213        Index:  2.054e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
214        Scale:  2.189e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/951840/ft1_filtered_4FGL_J0212.9+2244_daily_bin1736.fits
Spacecraft file(s): /scratch/kocevski/951840/ft2_4FGL_J0212.9+2244_daily_bin1736.fits
Exposure map: /scratch/kocevski/951840/expmap_689299201_689558401_4FGL_J0212.9+2244_daily_bin1736.fits
Exposure cube: /scratch/kocevski/951840/ltcube_689299201_689558401_4FGL_J0212.9+2244_daily_bin1736.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/951840/Model_4FGL_J0212.9+2244_daily_bin1736.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) = 9475.74637092

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .39060E-01   1.0000          .0000       .10000E+07
     2 'Prefactor '    36.682       1.0000          .0000       .10000E+07
     3 'norm      '    .21662       1.0000          .0000       .10000E+07
     4 'Prefactor '    3.8179       1.0000          .0000       .10000E+07
     5 'Prefactor '    29.947       1.0000          .0000       .10000E+07
     6 'norm      '    .17154E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    4.7447       1.0000          .0000       .10000E+07
     8 'Prefactor '    3.0866       1.0000          .0000       .10000E+07
     9 'norm      '    8.7251       1.0000          .0000       .10000E+07
    10 'Prefactor '    .15188E-06   1.0000          .0000       .10000E+07
    11 'norm      '    .16018E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .23037E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .44407E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    7.5408       1.0000          .0000       .10000E+07
    15 'norm      '    2.2083       1.0000          .0000       .10000E+07
    16 'Prefactor '    .84152E-04   1.0000          .0000       .10000E+07
    17 'norm      '    .43139       1.0000          .0000       .10000E+07
    18 'Prefactor '    .11392E-01   1.0000          .0000       .10000E+07
    19 'Prefactor '    .29035E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    18.923       1.0000          .0000       .10000E+07
    21 'Prefactor '    .10236E-02   1.0000          .0000       .10000E+07
    22 'norm      '    .72113E-04   1.0000          .0000       .10000E+07
    23 'Normalizat'    1.0692       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1330       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5180E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9475.744     FROM MIGRAD    STATUS=CONVERGED    148 CALLS     2087 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27728E-06    44.072       -.10337E-04** at limit **
   2  Prefactor     36.939        11.937        .11375E-05   -.15840    
   3  norm          .21666        .49137       -.23820E-07** at limit **
   4  Prefactor     3.8123        2.2400       -.63431E-06   -.72266E-03
   5  Prefactor     29.899        1.4379       -.73290E-07    .11404E-02
   6  norm          .55511E-10    3.6263        .69277E-07** at limit **
   7  Prefactor     4.7427        3.2126       -.28172E-07    .86127E-03
   8  Prefactor     3.0860        6.8034        .52868E-07   -.33287E-04
   9  norm          8.7360        7.7936       -.81553E-06   -.11337E-01
  10  Prefactor     .22204E-09    1.9189        .66749E-08** at limit **
  11  norm          .15854E-05    21.671        .20211E-05** at limit **
  12  Prefactor     .60729E-06    12.344       -.11669E-05** at limit **
  13  Prefactor     .21594E-06    18.872       -.25943E-05** at limit **
  14  Prefactor     7.5525        1.4205       -.10685E-07    .40033E-03
  15  norm          2.2085        2.0475       -.75680E-07   -.17631E-01
  16  Prefactor     .10936E-07    9.2491        .70481E-06** at limit **
  17  norm          .43145        .41011        .33563E-08   -.33557E-02
  18  Prefactor     .20189E-06    16.995       -.22146E-05** at limit **
  19  Prefactor     .18874E-08    4.5711       -.67711E-07** at limit **
  20  Prefactor     18.912        2.6192        .31408E-06   -.40975E-01
  21  Prefactor     .23870E-08    7.6961       -.77535E-06** at limit **
  22  norm          .99920E-09    5.0290        .31589E-06** at limit **
  23  Normalizat    1.0692        .23647        .92775E-05   -.63764E-04
  24  Prefactor     1.1329        .11341       -.22930E-05   -.30357E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.77278e-07
  Prefactor  = 36.9388
  norm       = 0.21666
  Prefactor  = 3.81231
  Prefactor  = 29.8986
  norm       = 5.55112e-11
  Prefactor  = 4.7427
  Prefactor  = 3.08605
  norm       = 8.73604
  Prefactor  = 2.22045e-10
  norm       = 1.5854e-06
  Prefactor  = 6.07292e-07
  Prefactor  = 2.15938e-07
  Prefactor  = 7.55249
  norm       = 2.20846
  Prefactor  = 1.09357e-08
  norm       = 0.431452
  Prefactor  = 2.01894e-07
  Prefactor  = 1.88738e-09
  Prefactor  = 18.9116
  Prefactor  = 2.38698e-09
  norm       = 9.99201e-10
  Normalizat = 1.06924
  Prefactor  = 1.13291
 **********
 **   18 **HESSE 
 **********

 FCN=   9475.744     FROM HESSE     STATUS=OK           455 CALLS     2542 TOTAL
                     EDM=   .16E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27728E-06    10.293        .99475E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     36.939        43.448        .16513E-03   -1.5586    
   3  norm          .21666        .49107        .23738E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.8123        8.9825        .51631E-03   -1.5669    
   5  Prefactor     29.899        28.074        .18276E-03   -1.5599    
   6  norm          .55511E-10    3.6019        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.7427        3.2218        .46169E-03   -1.5664    
   8  Prefactor     3.0860        7.0517        .57703E-03   -1.5673    
   9  norm          8.7360        7.9145        .33910E-03   -1.5649    
  10  Prefactor     .22204E-09    1.9241        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .15854E-05    23.568        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .60729E-06    30.078        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .21594E-06    31.244        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     7.5525        11.905        .36497E-03   -1.5653    
  15  norm          2.2085        2.0637        .69194E-03   -1.5678    
  16  Prefactor     .10936E-07    9.2666        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .43145        .46023        .13833E-02   -1.5695    
  18  Prefactor     .20189E-06    17.168        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .18874E-08    4.5894        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     18.912        11.066        .22996E-03   -1.5621    
  21  Prefactor     .23870E-08    7.7377        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .99920E-09    5.0468        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.0692        .22250        .87955E-01   -.90746    
  24  Prefactor     1.1329        .10143        .36450E-01   -.88422    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.57591e-06
Minuit parameter uncertainties:
  1  0.00337879
  2  43.4486
  3  0.491075
  4  8.98253
  5  28.0739
  6  2.25266e-05
  7  3.22181
  8  7.05174
  9  7.91456
  10  4.22339e-05
  11  0.0122254
  12  0.00854799
  13  0.00519515
  14  11.9048
  15  2.06367
  16  0.000637261
  17  0.460229
  18  0.0037235
  19  0.000187335
  20  11.0658
  21  0.000270305
  22  0.000143159
  23  0.222697
  24  0.101449
Done.

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

Extracting fit parameters...

4FGL J0212.9+2244
   Spectrum: PowerLaw
212    Prefactor:  2.220e-10  4.223e-05  0.000e+00  1.000e+06 ( 1.000e-13)
213        Index:  2.054e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
214        Scale:  2.189e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
515    Prefactor:  1.133e+00  1.014e-01  0.000e+00  1.000e+01 ( 1.000e+00)
516        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
517        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
514   Normalization:  1.069e+00  2.227e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 33.243 22.747
Photon Flux Upper Limit: 5.20e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.92e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/951840/likelihoodResults_689299201_689558401_4FGL_J0212.9+2244_daily_bin1736.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) = 9475.74424078
delta logL = -0.000733554032195

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9475.74350932
delta logL = -2.09497193282e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .43243E-07   1.0000          .0000       .10000E+07
     2 'Index     '    .64170       1.0000          .0000       10.000    
     3 'Normalizat'    1.0695       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1327       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5180E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9475.744     FROM MIGRAD    STATUS=CONVERGED     41 CALLS      239 TOTAL
                     EDM=   .58E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.5269        .42118E-03** at limit **
   2  Index         2.2339        1.6839        .17556E-04     .0000    
   3  Normalizat    1.0692        1.1808       -.18777E-04   -.99296E-04
   4  Prefactor     1.1329        1.1301        .53756E-05    .63677E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.23392
  Normalizat = 1.06924
  Prefactor  = 1.13291
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9475.744     FROM HESSE     STATUS=FAILED         9 CALLS      248 TOTAL
                     EDM=   .58E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.5269        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .55257        1.9175        .17556E-04   -.58622    
   3  Normalizat    1.0692        1.1808       -.18777E-04   -.90746    
   4  Prefactor     1.1329        1.1301        .53756E-05   -.88421    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.84579e-11
Minuit parameter uncertainties:
  1  7.38684e-06
  2  1.73354
  3  1.21194
  4  1.15555
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/951840': 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): 101
logL (Free Index) = 9475.74350723
delta logL = 4.0017766878e-11

Extracting fit parameters...

4FGL J0212.9+2244
   Spectrum: PowerLaw
212    Prefactor:  0.000e+00  7.387e-06  0.000e+00  1.000e+06 ( 1.000e-13)
213        Index:  2.234e+00  1.734e+00  0.000e+00  1.000e+01 (-1.000e+00)
214        Scale:  2.189e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
515    Prefactor:  1.133e+00  1.156e+00  0.000e+00  1.000e+01 ( 1.000e+00)
516        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
517        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
514   Normalization:  1.069e+00  1.212e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 33.243 22.747

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/951840/cmap_HighResolution_689299201_689558401_4FGL_J0212.9+2244_daily_bin1736.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.92e-03', job_status='DONE', photon_flux_upper_limit='5.20e-08', time_completed='2022-11-08 00:20:14.235099', job_id='951840', GAL2='1.13', fit_tolerance='1e-08', EG2='1.07', EG='1.07', time_epoch_completed='1667895614.24', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.13', dlogl='4.00e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.05' WHERE bin_id='1736' AND source_name='4FGL J0212.9+2244' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Nov  8 00:20:14 PST 2022

GL_J0212.9+2244_daily_bin1736> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Nov  8 00:05:25 2022
Job was executed on host(s) <bullet0163>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Nov  8 00:05:37 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Nov  8 00:05:37 2022
Terminated at Tue Nov  8 00:19:15 2022
Results reported at Tue Nov  8 00:19:15 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0212.9+2244_daily_bin1736 33.2427 22.7466 689299201 689558401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0212.9+2244 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   764.38 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             352.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   817 sec.
    Turnaround time :                            830 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0144>
Subject: Job 951840: <4FGL_J0212.9+2244_daily_bin1736> in cluster <slac> Done

Job <4FGL_J0212.9+2244_daily_bin1736> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Nov  8 00:05:29 2022
Job was executed on host(s) <bullet0144>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Nov  8 00:05:50 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Nov  8 00:05:50 2022
Terminated at Tue Nov  8 00:20:15 2022
Results reported at Tue Nov  8 00:20:15 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0212.9+2244_daily_bin1736 33.2427 22.7466 689299201 689558401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0212.9+2244 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   756.52 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             338.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   864 sec.
    Turnaround time :                            886 sec.

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

